Algebra Examples

Factor x+y+x^2y+xy^2-x^3-y^3
Step 1
Regroup terms.
Step 2
Factor out of .
Tap for more steps...
Step 2.1
Factor out of .
Step 2.2
Factor out of .
Step 2.3
Factor out of .
Step 3
Factor.
Tap for more steps...
Step 3.1
Since both terms are perfect cubes, factor using the sum of cubes formula, where and .
Step 3.2
Remove unnecessary parentheses.
Step 4
Factor out the greatest common factor from each group.
Tap for more steps...
Step 4.1
Group the first two terms and the last two terms.
Step 4.2
Factor out the greatest common factor (GCF) from each group.
Step 5
Factor the polynomial by factoring out the greatest common factor, .
Step 6
Factor out of .
Tap for more steps...
Step 6.1
Factor out of .
Step 6.2
Factor out of .
Step 7
Apply the distributive property.
Step 8
Simplify.
Tap for more steps...
Step 8.1
Rewrite as .
Step 8.2
Multiply .
Tap for more steps...
Step 8.2.1
Multiply by .
Step 8.2.2
Multiply by .
Step 8.3
Rewrite as .
Step 9
Add and .
Step 10
Factor.
Tap for more steps...
Step 10.1
Rewrite in a factored form.
Tap for more steps...
Step 10.1.1
Rewrite as .
Step 10.1.2
Rewrite as .
Tap for more steps...
Step 10.1.2.1
Check that the middle term is two times the product of the numbers being squared in the first term and third term.
Step 10.1.2.2
Rewrite the polynomial.
Step 10.1.2.3
Factor using the perfect square trinomial rule , where and .
Step 10.1.3
Reorder and .
Step 10.1.4
Since both terms are perfect squares, factor using the difference of squares formula, where and .
Step 10.1.5
Simplify.
Tap for more steps...
Step 10.1.5.1
Apply the distributive property.
Step 10.1.5.2
Multiply .
Tap for more steps...
Step 10.1.5.2.1
Multiply by .
Step 10.1.5.2.2
Multiply by .
Step 10.2
Remove unnecessary parentheses.
Step 11
Factor.
Tap for more steps...
Step 11.1
Factor out of .
Tap for more steps...
Step 11.1.1
Move .
Step 11.1.2
Factor out of .
Step 11.1.3
Factor out of .
Step 11.1.4
Rewrite as .
Step 11.1.5
Factor out of .
Step 11.1.6
Factor out of .
Step 11.2
Remove unnecessary parentheses.
Step 12
Factor out negative.
Step 13
Remove unnecessary parentheses.