帕斯卡三角公式
概率是数学的支柱。它说明事件可能如何发生。它处理做出更可能的决定的数字理由。概率越高,事件发生的机会就越大,反之亦然。帕斯卡三角形是著名数学家布莱斯帕斯卡提出的一个美丽的概率概念,用于在任何二项式表达式的展开中求系数。
帕斯卡三角
帕斯卡三角法是一种了解二项式表达式 (x + y) n项的二项式系数的方法,其中 n 可以是任何正整数,x,y 是实数。帕斯卡三角形以三角形形式表示,它是一种三角形排列形式的数字模式。它从顶部的 1 开始,在三角形的两侧向下运行 1。在帕斯卡三角形中,两个数字及以下的每个新数字,其值是上面两个数字的总和。该三角形用于不同类型的概率条件。这里每一行代表 (x + y) n的膨胀系数。
零行 n = 0, (x + y) 0
第一行 n = 1 , (x + y) 1
第二行 n = 2, (x + y) 2
第三行 n = 3, (x + y) 3
第四行 n = 4, (x + y) 4
这里 (x + y) n的任何展开式中 y 的幂代表帕斯卡三角形的列。 n 代表帕斯卡三角形的行。行和列在帕斯卡三角中的索引为 0。
帕斯卡三角构造
制作帕斯卡三角形非常简单。从第一行(第 0 行)开始,只写数字 1。在相应的行中,帕斯卡三角形中的新正方形将是该正方形正上方并与之接触的平方和。例如,求第 4 行和第 2 列的平方和是第 3 行第 1 列和第 3 行第 2 列的平方和。所以第 4 行第 2 列的平方的值为 1 + 2 = 3。
帕斯卡三角形的性质
- 帕斯卡三角形中的每个数字都是上面两个数字的总和。
- 一行中的数字本质上是对称的。
- 每个数字代表一个二项式系数。
- 三角形左右两边的数字始终为 1。
- 第 n 行包含 (n+1) 个数字。
帕斯卡三角公式
The pascal’s triangle formula to find the elements in the nth row and kth column of the triangle is
= {p-1} \choose {q-1} {p-1} \choose {q-1} +
Here, 0 ≤ q ≤ p, p is a non-negative number
Or the formula to find number in the nth row and rth column is given by pCq = p!/(p – q)!q!
pCq =pCq-1 + p-1Cq-1
帕斯卡三角二项式展开
众所周知,帕斯卡三角定义了二项式 (x + y) n项的二项式系数,因此 (x + y) n的展开式为:
(x + y)n = a0xn + a1xn-1 + ……an-1xyn-1 + anyn
示例问题
问题 1:求 (x + y) 3展开式中 x 2y项的系数。
解决方案:
Method 1:
We look at the row 3rd row of Pascal’s Triangle because n is 3 and 1st column of the Pascal’s Triangle because power of y is 1 in the term x2y. So the coefficient is 3.
Method 2:
We simply apply nCr where n = 3, r = 1.
So coefficient of x2y in the expansion of (x + y)3 is 3C1 = 3
问题 2:求 (4x + 3y) 4展开式中 x 2 y 2项的系数。
解决方案:
Method 1:
We look at the row 4th row of Pascal’s Triangle because n is 4 and 2nd column of the Pascal’s Triangle because power of y is 2 in the term x2y2. So number in Pascal’s Triangle is 6.
But we see that coefficient of x is 4 and y is 3 now since power of x is 2 and y is 2 in the term x2y2 so pascal Triangle number will be multiplied by 42 and 32 to find the coefficient.
Coefficient = 6 x 42 x 32 = 864
Method 2:
We simply apply nCr where n = 4, r = 2.
So Pascal Triangle number of term x2y2 in the expansion of (4x +3y)4 is 4C2 = 6.
But we see that coefficient of x is 4 and y is 3 now since power of x is 2 and y is 2 in the term x2y2 so pascal Triangle number will be multiplied by 42 and 32 to find the coefficient.
Coefficient = 6 x 42 x 32 = 864
问题 3:写出帕斯卡三角形的第 6 行
解决方案:
6th row can be written as : 6C0 6C1 6C2 6C3 6C4 6C5 6C6
1, 6, 15, 20, 15, 6, 1
问题 4:求 (2x + y) 4的展开式中 x 4项的系数。
解决方案:
Method 1:
We look at the row 4th row of Pascal’s Triangle because n is 4 and 0th column of the Pascal’s Triangle because power of y is 0 in the term x4. So number in Pascal’s Triangle is 1.
But we see that coefficient of x is 2 and y is 0 now since power of x is 4 and y is 0 in the term x4 so Pascal Triangle’s number will be multiplied by 24 and 10 to find the coefficient.
Coefficient = 1 x 24 x 10= 16
Method 2:
We simply apply nCr where n = 4, r = 0.
So Pascal Triangle number of term x4 in the expansion of (2x + y)4 is 4C0 = 1.
But we see that coefficient of x is 2 and y is 0 now since power of x is 4 and y is 0 in the term x4 so Pascal Triangle’s number will be multiplied by 24 and 10 to find the coefficient.
Coefficient = 1
问题 5:求 (2x + y) 3展开式中 xy 2项的系数。
解决方案:
Method 1:
We look at the row 3rd row of Pascal’s Triangle because n is 3 and 2nd column of the Pascal’s Triangle because power of y is 2 in the term xy2. So number in Pascal’s Triangle is 3.
But we see that coefficient of x is 2 and y is 1 now since power of x is 2 and y is 1 in the term xy2 so Pascal Triangle’s number will be multiplied by 21 and 12 to find the coefficient.
Coefficient = 3 x 21 x 12 = 6
Method 2:
We simply apply nCr where n = 3, r = 2.
So Pascal Triangle number of term xy2 in the expansion of (2x + y)3 is 3C2 = 3.
But we see that coefficient of x is 2 and y is 1 now since power of x is 2 and y is 1 in the term xy^2 so Pascal Triangle’s number will be multiplied by 21 and 12 to find the coefficient.
Coefficient = 3 x 21 x 12 = 6