Algebra Examples

Factor p^3+125q^3
p3+125q3
Step 1
Rewrite 125q3 as (5q)3.
p3+(5q)3
Step 2
Since both terms are perfect cubes, factor using the sum of cubes formula, a3+b3=(a+b)(a2-ab+b2) where a=p and b=5q.
(p+5q)(p2-p(5q)+(5q)2)
Step 3
Simplify.
Tap for more steps...
Step 3.1
Rewrite using the commutative property of multiplication.
(p+5q)(p2-15pq+(5q)2)
Step 3.2
Multiply -1 by 5.
(p+5q)(p2-5pq+(5q)2)
Step 3.3
Apply the product rule to 5q.
(p+5q)(p2-5pq+52q2)
Step 3.4
Raise 5 to the power of 2.
(p+5q)(p2-5pq+25q2)
(p+5q)(p2-5pq+25q2)
 [x2  12  π  xdx ]