Algebra Examples

Factor (p-2)^3-125q^3
Step 1
Rewrite as .
Step 2
Since both terms are perfect cubes, factor using the difference of cubes formula, where and .
Step 3
Simplify.
Tap for more steps...
Step 3.1
Multiply by .
Step 3.2
Rewrite as .
Step 3.3
Expand using the FOIL Method.
Tap for more steps...
Step 3.3.1
Apply the distributive property.
Step 3.3.2
Apply the distributive property.
Step 3.3.3
Apply the distributive property.
Step 3.4
Simplify and combine like terms.
Tap for more steps...
Step 3.4.1
Simplify each term.
Tap for more steps...
Step 3.4.1.1
Multiply by .
Step 3.4.1.2
Move to the left of .
Step 3.4.1.3
Multiply by .
Step 3.4.2
Subtract from .
Step 3.5
Apply the distributive property.
Step 3.6
Rewrite using the commutative property of multiplication.
Step 3.7
Multiply by .
Step 3.8
Apply the product rule to .
Step 3.9
Raise to the power of .