Algebra Examples

Expand Using Pascal's Triangle (x-y)^12
(x-y)12(xy)12
Step 1
Pascal's Triangle can be displayed as such:
11
1-111
1-2-1121
1-10-45-120-210-252-210-120-45-10-11104512021025221012045101
1-11-55-165-330-462-462-330-165-55-11-11115516533046246233016555111
1-12-66-220-495-792-924-792-495-220-66-12-11126622049579292479249522066121
The triangle can be used to calculate the coefficients of the expansion of (a+b)n(a+b)n by taking the exponent nn and adding 11. The coefficients will correspond with line n+1n+1 of the triangle. For (x-y)12(xy)12, n=12n=12 so the coefficients of the expansion will correspond with line 1313.
Step 2
The expansion follows the rule (a+b)n=c0anb0+c1an-1b1+cn-1a1bn-1+cna0bn(a+b)n=c0anb0+c1an1b1+cn1a1bn1+cna0bn. The values of the coefficients, from the triangle, are 1-12-66-220-495-792-924-792-495-220-66-12-11126622049579292479249522066121.
1a12b0+12a11b+66a10b2+220a9b3+495a8b4+792a7b5+924a6b6+792a5b7+495a4b8+220a3b9+66a2b10+12ab11+1a0b121a12b0+12a11b+66a10b2+220a9b3+495a8b4+792a7b5+924a6b6+792a5b7+495a4b8+220a3b9+66a2b10+12ab11+1a0b12
Step 3
Substitute the actual values of aa xx and bb -yy into the expression.
1(x)12(-y)0+12(x)11(-y)1+66(x)10(-y)2+220(x)9(-y)3+495(x)8(-y)4+792(x)7(-y)5+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)121(x)12(y)0+12(x)11(y)1+66(x)10(y)2+220(x)9(y)3+495(x)8(y)4+792(x)7(y)5+924(x)6(y)6+792(x)5(y)7+495(x)4(y)8+220(x)3(y)9+66(x)2(y)10+12(x)1(y)11+1(x)0(y)12
Step 4
Simplify each term.
Tap for more steps...
Step 4.1
Multiply (x)12(x)12 by 11.
(x)12(-y)0+12(x)11(-y)1+66(x)10(-y)2+220(x)9(-y)3+495(x)8(-y)4+792(x)7(-y)5+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12(x)12(y)0+12(x)11(y)1+66(x)10(y)2+220(x)9(y)3+495(x)8(y)4+792(x)7(y)5+924(x)6(y)6+792(x)5(y)7+495(x)4(y)8+220(x)3(y)9+66(x)2(y)10+12(x)1(y)11+1(x)0(y)12
Step 4.2
Apply the product rule to -yy.
x12((-1)0y0)+12(x)11(-y)1+66(x)10(-y)2+220(x)9(-y)3+495(x)8(-y)4+792(x)7(-y)5+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12x12((1)0y0)+12(x)11(y)1+66(x)10(y)2+220(x)9(y)3+495(x)8(y)4+792(x)7(y)5+924(x)6(y)6+792(x)5(y)7+495(x)4(y)8+220(x)3(y)9+66(x)2(y)10+12(x)1(y)11+1(x)0(y)12
Step 4.3
Rewrite using the commutative property of multiplication.
(-1)0x12y0+12(x)11(-y)1+66(x)10(-y)2+220(x)9(-y)3+495(x)8(-y)4+792(x)7(-y)5+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12(1)0x12y0+12(x)11(y)1+66(x)10(y)2+220(x)9(y)3+495(x)8(y)4+792(x)7(y)5+924(x)6(y)6+792(x)5(y)7+495(x)4(y)8+220(x)3(y)9+66(x)2(y)10+12(x)1(y)11+1(x)0(y)12
Step 4.4
Anything raised to 00 is 11.
1x12y0+12(x)11(-y)1+66(x)10(-y)2+220(x)9(-y)3+495(x)8(-y)4+792(x)7(-y)5+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)121x12y0+12(x)11(y)1+66(x)10(y)2+220(x)9(y)3+495(x)8(y)4+792(x)7(y)5+924(x)6(y)6+792(x)5(y)7+495(x)4(y)8+220(x)3(y)9+66(x)2(y)10+12(x)1(y)11+1(x)0(y)12
Step 4.5
Multiply x12x12 by 11.
x12y0+12(x)11(-y)1+66(x)10(-y)2+220(x)9(-y)3+495(x)8(-y)4+792(x)7(-y)5+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12x12y0+12(x)11(y)1+66(x)10(y)2+220(x)9(y)3+495(x)8(y)4+792(x)7(y)5+924(x)6(y)6+792(x)5(y)7+495(x)4(y)8+220(x)3(y)9+66(x)2(y)10+12(x)1(y)11+1(x)0(y)12
Step 4.6
Anything raised to 00 is 11.
x121+12(x)11(-y)1+66(x)10(-y)2+220(x)9(-y)3+495(x)8(-y)4+792(x)7(-y)5+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12x121+12(x)11(y)1+66(x)10(y)2+220(x)9(y)3+495(x)8(y)4+792(x)7(y)5+924(x)6(y)6+792(x)5(y)7+495(x)4(y)8+220(x)3(y)9+66(x)2(y)10+12(x)1(y)11+1(x)0(y)12
Step 4.7
Multiply x12x12 by 11.
x12+12(x)11(-y)1+66(x)10(-y)2+220(x)9(-y)3+495(x)8(-y)4+792(x)7(-y)5+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12x12+12(x)11(y)1+66(x)10(y)2+220(x)9(y)3+495(x)8(y)4+792(x)7(y)5+924(x)6(y)6+792(x)5(y)7+495(x)4(y)8+220(x)3(y)9+66(x)2(y)10+12(x)1(y)11+1(x)0(y)12
Step 4.8
Simplify.
x12+12x11(-y)+66(x)10(-y)2+220(x)9(-y)3+495(x)8(-y)4+792(x)7(-y)5+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12x12+12x11(y)+66(x)10(y)2+220(x)9(y)3+495(x)8(y)4+792(x)7(y)5+924(x)6(y)6+792(x)5(y)7+495(x)4(y)8+220(x)3(y)9+66(x)2(y)10+12(x)1(y)11+1(x)0(y)12
Step 4.9
Rewrite using the commutative property of multiplication.
x12+12-1x11y+66(x)10(-y)2+220(x)9(-y)3+495(x)8(-y)4+792(x)7(-y)5+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12x12+121x11y+66(x)10(y)2+220(x)9(y)3+495(x)8(y)4+792(x)7(y)5+924(x)6(y)6+792(x)5(y)7+495(x)4(y)8+220(x)3(y)9+66(x)2(y)10+12(x)1(y)11+1(x)0(y)12
Step 4.10
Multiply 1212 by -1.
x12-12x11y+66(x)10(-y)2+220(x)9(-y)3+495(x)8(-y)4+792(x)7(-y)5+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.11
Apply the product rule to -y.
x12-12x11y+66x10((-1)2y2)+220(x)9(-y)3+495(x)8(-y)4+792(x)7(-y)5+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.12
Rewrite using the commutative property of multiplication.
x12-12x11y+66(-1)2x10y2+220(x)9(-y)3+495(x)8(-y)4+792(x)7(-y)5+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.13
Raise -1 to the power of 2.
x12-12x11y+661x10y2+220(x)9(-y)3+495(x)8(-y)4+792(x)7(-y)5+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.14
Multiply 66 by 1.
x12-12x11y+66x10y2+220(x)9(-y)3+495(x)8(-y)4+792(x)7(-y)5+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.15
Apply the product rule to -y.
x12-12x11y+66x10y2+220x9((-1)3y3)+495(x)8(-y)4+792(x)7(-y)5+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.16
Rewrite using the commutative property of multiplication.
x12-12x11y+66x10y2+220(-1)3x9y3+495(x)8(-y)4+792(x)7(-y)5+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.17
Raise -1 to the power of 3.
x12-12x11y+66x10y2+220-1x9y3+495(x)8(-y)4+792(x)7(-y)5+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.18
Multiply 220 by -1.
x12-12x11y+66x10y2-220x9y3+495(x)8(-y)4+792(x)7(-y)5+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.19
Apply the product rule to -y.
x12-12x11y+66x10y2-220x9y3+495x8((-1)4y4)+792(x)7(-y)5+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.20
Rewrite using the commutative property of multiplication.
x12-12x11y+66x10y2-220x9y3+495(-1)4x8y4+792(x)7(-y)5+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.21
Raise -1 to the power of 4.
x12-12x11y+66x10y2-220x9y3+4951x8y4+792(x)7(-y)5+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.22
Multiply 495 by 1.
x12-12x11y+66x10y2-220x9y3+495x8y4+792(x)7(-y)5+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.23
Apply the product rule to -y.
x12-12x11y+66x10y2-220x9y3+495x8y4+792x7((-1)5y5)+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.24
Rewrite using the commutative property of multiplication.
x12-12x11y+66x10y2-220x9y3+495x8y4+792(-1)5x7y5+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.25
Raise -1 to the power of 5.
x12-12x11y+66x10y2-220x9y3+495x8y4+792-1x7y5+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.26
Multiply 792 by -1.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924(x)6(-y)6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.27
Apply the product rule to -y.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6((-1)6y6)+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.28
Rewrite using the commutative property of multiplication.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924(-1)6x6y6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.29
Raise -1 to the power of 6.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+9241x6y6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.30
Multiply 924 by 1.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6+792(x)5(-y)7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.31
Apply the product rule to -y.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6+792x5((-1)7y7)+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.32
Rewrite using the commutative property of multiplication.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6+792(-1)7x5y7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.33
Raise -1 to the power of 7.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6+792-1x5y7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.34
Multiply 792 by -1.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6-792x5y7+495(x)4(-y)8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.35
Apply the product rule to -y.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6-792x5y7+495x4((-1)8y8)+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.36
Rewrite using the commutative property of multiplication.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6-792x5y7+495(-1)8x4y8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.37
Raise -1 to the power of 8.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6-792x5y7+4951x4y8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.38
Multiply 495 by 1.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6-792x5y7+495x4y8+220(x)3(-y)9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.39
Apply the product rule to -y.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6-792x5y7+495x4y8+220x3((-1)9y9)+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.40
Rewrite using the commutative property of multiplication.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6-792x5y7+495x4y8+220(-1)9x3y9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.41
Raise -1 to the power of 9.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6-792x5y7+495x4y8+220-1x3y9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.42
Multiply 220 by -1.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6-792x5y7+495x4y8-220x3y9+66(x)2(-y)10+12(x)1(-y)11+1(x)0(-y)12
Step 4.43
Apply the product rule to -y.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6-792x5y7+495x4y8-220x3y9+66x2((-1)10y10)+12(x)1(-y)11+1(x)0(-y)12
Step 4.44
Rewrite using the commutative property of multiplication.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6-792x5y7+495x4y8-220x3y9+66(-1)10x2y10+12(x)1(-y)11+1(x)0(-y)12
Step 4.45
Raise -1 to the power of 10.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6-792x5y7+495x4y8-220x3y9+661x2y10+12(x)1(-y)11+1(x)0(-y)12
Step 4.46
Multiply 66 by 1.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6-792x5y7+495x4y8-220x3y9+66x2y10+12(x)1(-y)11+1(x)0(-y)12
Step 4.47
Simplify.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6-792x5y7+495x4y8-220x3y9+66x2y10+12x(-y)11+1(x)0(-y)12
Step 4.48
Apply the product rule to -y.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6-792x5y7+495x4y8-220x3y9+66x2y10+12x((-1)11y11)+1(x)0(-y)12
Step 4.49
Rewrite using the commutative property of multiplication.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6-792x5y7+495x4y8-220x3y9+66x2y10+12(-1)11xy11+1(x)0(-y)12
Step 4.50
Raise -1 to the power of 11.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6-792x5y7+495x4y8-220x3y9+66x2y10+12-1xy11+1(x)0(-y)12
Step 4.51
Multiply 12 by -1.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6-792x5y7+495x4y8-220x3y9+66x2y10-12xy11+1(x)0(-y)12
Step 4.52
Multiply (x)0 by 1.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6-792x5y7+495x4y8-220x3y9+66x2y10-12xy11+(x)0(-y)12
Step 4.53
Anything raised to 0 is 1.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6-792x5y7+495x4y8-220x3y9+66x2y10-12xy11+1(-y)12
Step 4.54
Multiply (-y)12 by 1.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6-792x5y7+495x4y8-220x3y9+66x2y10-12xy11+(-y)12
Step 4.55
Apply the product rule to -y.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6-792x5y7+495x4y8-220x3y9+66x2y10-12xy11+(-1)12y12
Step 4.56
Raise -1 to the power of 12.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6-792x5y7+495x4y8-220x3y9+66x2y10-12xy11+1y12
Step 4.57
Multiply y12 by 1.
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6-792x5y7+495x4y8-220x3y9+66x2y10-12xy11+y12
x12-12x11y+66x10y2-220x9y3+495x8y4-792x7y5+924x6y6-792x5y7+495x4y8-220x3y9+66x2y10-12xy11+y12
(
(
)
)
|
|
[
[
]
]
7
7
8
8
9
9
4
4
5
5
6
6
/
/
^
^
×
×
>
>
1
1
2
2
3
3
-
-
+
+
÷
÷
<
<
π
π
,
,
0
0
.
.
%
%
=
=
 [x2  12  π  xdx ]