Enter a problem...
Pre-Algebra Examples
x-yx+y-x+yx-y
Step 1
To write x-yx+y as a fraction with a common denominator, multiply by x-yx-y.
x-yx+y⋅x-yx-y-x+yx-y
Step 2
To write -x+yx-y as a fraction with a common denominator, multiply by x+yx+y.
x-yx+y⋅x-yx-y-x+yx-y⋅x+yx+y
Step 3
Step 3.1
Multiply x-yx+y by x-yx-y.
(x-y)(x-y)(x+y)(x-y)-x+yx-y⋅x+yx+y
Step 3.2
Multiply x+yx-y by x+yx+y.
(x-y)(x-y)(x+y)(x-y)-(x+y)(x+y)(x-y)(x+y)
Step 3.3
Reorder the factors of (x-y)(x+y).
(x-y)(x-y)(x+y)(x-y)-(x+y)(x+y)(x+y)(x-y)
(x-y)(x-y)(x+y)(x-y)-(x+y)(x+y)(x+y)(x-y)
Step 4
Combine the numerators over the common denominator.
(x-y)(x-y)-(x+y)(x+y)(x+y)(x-y)
Step 5
Step 5.1
Raise x-y to the power of 1.
(x-y)1(x-y)-(x+y)(x+y)(x+y)(x-y)
Step 5.2
Raise x-y to the power of 1.
(x-y)1(x-y)1-(x+y)(x+y)(x+y)(x-y)
Step 5.3
Use the power rule aman=am+n to combine exponents.
(x-y)1+1-(x+y)(x+y)(x+y)(x-y)
Step 5.4
Add 1 and 1.
(x-y)2-(x+y)(x+y)(x+y)(x-y)
Step 5.5
Rewrite (x+y)(x+y) as (x+y)2.
(x-y)2-(x+y)2(x+y)(x-y)
Step 5.6
Since both terms are perfect squares, factor using the difference of squares formula, a2-b2=(a+b)(a-b) where a=x-y and b=x+y.
(x-y+x+y)(x-y-(x+y))(x+y)(x-y)
Step 5.7
Simplify.
Step 5.7.1
Add x and x.
(2x-y+y)(x-y-(x+y))(x+y)(x-y)
Step 5.7.2
Add -y and y.
(2x+0)(x-y-(x+y))(x+y)(x-y)
Step 5.7.3
Add 2x and 0.
2x(x-y-(x+y))(x+y)(x-y)
Step 5.7.4
Apply the distributive property.
2x(x-y-x-y)(x+y)(x-y)
Step 5.7.5
Subtract x from x.
2x(-y+0-y)(x+y)(x-y)
Step 5.7.6
Add -y and 0.
2x(-y-y)(x+y)(x-y)
Step 5.7.7
Subtract y from -y.
2x⋅-2y(x+y)(x-y)
Step 5.7.8
Multiply -2 by 2.
-4xy(x+y)(x-y)
-4xy(x+y)(x-y)
-4xy(x+y)(x-y)
Step 6
Move the negative in front of the fraction.
-4xy(x+y)(x-y)