Algebra Examples

Simplify (x-y)^2
(x-y)2
Step 1
Rewrite (x-y)2 as (x-y)(x-y).
(x-y)(x-y)
Step 2
Expand (x-y)(x-y) using the FOIL Method.
Tap for more steps...
Step 2.1
Apply the distributive property.
x(x-y)-y(x-y)
Step 2.2
Apply the distributive property.
xx+x(-y)-y(x-y)
Step 2.3
Apply the distributive property.
xx+x(-y)-yx-y(-y)
xx+x(-y)-yx-y(-y)
Step 3
Simplify and combine like terms.
Tap for more steps...
Step 3.1
Simplify each term.
Tap for more steps...
Step 3.1.1
Multiply x by x.
x2+x(-y)-yx-y(-y)
Step 3.1.2
Rewrite using the commutative property of multiplication.
x2-xy-yx-y(-y)
Step 3.1.3
Rewrite using the commutative property of multiplication.
x2-xy-yx-1-1yy
Step 3.1.4
Multiply y by y by adding the exponents.
Tap for more steps...
Step 3.1.4.1
Move y.
x2-xy-yx-1-1(yy)
Step 3.1.4.2
Multiply y by y.
x2-xy-yx-1-1y2
x2-xy-yx-1-1y2
Step 3.1.5
Multiply -1 by -1.
x2-xy-yx+1y2
Step 3.1.6
Multiply y2 by 1.
x2-xy-yx+y2
x2-xy-yx+y2
Step 3.2
Subtract yx from -xy.
Tap for more steps...
Step 3.2.1
Move y.
x2-xy-1xy+y2
Step 3.2.2
Subtract xy from -xy.
x2-2xy+y2
x2-2xy+y2
x2-2xy+y2
 [x2  12  π  xdx ]