0             1             (x + y)^0 = 1
1           1   1           (x + y)¹ = x + y
2         1   2   1         (x + y)² = x² + 2xy + y²
3       1   3   3   1       (x + y)³ = x³ + 3x²y + 3xy² + y³
4     1   4   6   4   1     (x + y)⁴ = x⁴ + 4x³y + 6x²y² + 4xy³ + y⁴
5   1   5   10   10   5   1   (x + y)^5 = x^5 + 5x⁴y + 10x³y² + 10x²y³ + 5xy⁴ + y^5
    0   1   2   3   4   5    

ROW[5][1] = ROW[4][1] + ROW[4][2] = 1 + 4 = 5

ROW[4][3] = ROW[3][2] + ROW[3][3] = 3 + 1 = 4

ROW[2][1] = ROW[1][0] + ROW[1][1] = 1 + 1 + 2

 

 

Pascal's rule (or Pascal's formula) is a combinatorial identity about binomial coefficients.

It states that for positive natural numbers n and k,

where

is a binomial coefficient;

  • one interpretation of which is the coefficient of the x^k term in the expansion of (1 + x)ⁿ. 
  • There is no restriction on the relative sizes of n and k, since if n < k the value of the binomial coefficient is zero and the identity remains valid.

 

Combinatorial proof

Pascal's rule has an intuitive combinatorial meaning, which is clearly expressed in this counting proof.

equals the number of subsets with k elements from a set with n elements.

 

Suppose one particular element is uniquely labelled X in a set with n elements.

  1. To construct a subset of k elements containing X, include X and choose k - 1 elements from the remaining n - 1 elements in the set. There are
    such subsets.
  2. To construct a subset of k elements not containing X, choose k elements from the remaining n - 1 elements in the set. There are
    such subsets.

The total number of subsets with k elements in a set of n elements is

  • the number of subsets containing X (1) + the number of subsets that do not contain X (2)

 

Algebraic proof

 

'Mathematics' 카테고리의 다른 글

Moore-Penrose inverse 무어-펜로즈 의사역행렬  (0) 2023.09.13
Gram-Schmidt orthogonalization  (0) 2023.07.24
Combinations with repetition  (0) 2021.08.26
Permutation with repetition  (0) 2021.08.26
Combinations without repetition  (0) 2021.08.26

+ Recent posts