Basic Math Examples

Factor n^2-(m^2)/(n^2-2mn+m^2)
n2-m2n2-2mn+m2
Step 1
Factor using the perfect square rule.
Tap for more steps...
Step 1.1
Check that the middle term is two times the product of the numbers being squared in the first term and third term.
2mn=2nm
Step 1.2
Rewrite the polynomial.
n2-m2n2-2nm+m2
Step 1.3
Factor using the perfect square trinomial rule a2-2ab+b2=(a-b)2, where a=n and b=m.
n2-m2(n-m)2
n2-m2(n-m)2
Step 2
Rewrite n2-m2(n-m)2 in a factored form.
Tap for more steps...
Step 2.1
Rewrite m2(n-m)2 as (mn-m)2.
n2-(mn-m)2
Step 2.2
Since both terms are perfect squares, factor using the difference of squares formula, a2-b2=(a+b)(a-b) where a=n and b=mn-m.
(n+mn-m)(n-mn-m)
Step 2.3
Simplify.
Tap for more steps...
Step 2.3.1
To write n as a fraction with a common denominator, multiply by n-mn-m.
(n(n-m)n-m+mn-m)(n-mn-m)
Step 2.3.2
Combine the numerators over the common denominator.
n(n-m)+mn-m(n-mn-m)
Step 2.3.3
Rewrite n(n-m)+mn-m in a factored form.
Tap for more steps...
Step 2.3.3.1
Apply the distributive property.
nn+n(-m)+mn-m(n-mn-m)
Step 2.3.3.2
Multiply n by n.
n2+n(-m)+mn-m(n-mn-m)
Step 2.3.3.3
Rewrite using the commutative property of multiplication.
n2-nm+mn-m(n-mn-m)
n2-nm+mn-m(n-mn-m)
Step 2.3.4
To write n as a fraction with a common denominator, multiply by n-mn-m.
n2-nm+mn-m(n(n-m)n-m-mn-m)
Step 2.3.5
Combine the numerators over the common denominator.
n2-nm+mn-mn(n-m)-mn-m
Step 2.3.6
Rewrite n(n-m)-mn-m in a factored form.
Tap for more steps...
Step 2.3.6.1
Apply the distributive property.
n2-nm+mn-mnn+n(-m)-mn-m
Step 2.3.6.2
Multiply n by n.
n2-nm+mn-mn2+n(-m)-mn-m
Step 2.3.6.3
Rewrite using the commutative property of multiplication.
n2-nm+mn-mn2-nm-mn-m
n2-nm+mn-mn2-nm-mn-m
n2-nm+mn-mn2-nm-mn-m
n2-nm+mn-mn2-nm-mn-m
 [x2  12  π  xdx ]