Enter a problem...
Basic Math Examples
n2-m22m-3n÷m-n4m2-9n2n2−m22m−3n÷m−n4m2−9n2
Step 1
To divide by a fraction, multiply by its reciprocal.
n2-m22m-3n⋅4m2-9n2m-nn2−m22m−3n⋅4m2−9n2m−n
Step 2
Since both terms are perfect squares, factor using the difference of squares formula, a2-b2=(a+b)(a-b)a2−b2=(a+b)(a−b) where a=na=n and b=mb=m.
(n+m)(n-m)2m-3n⋅4m2-9n2m-n(n+m)(n−m)2m−3n⋅4m2−9n2m−n
Step 3
Step 3.1
Rewrite 4m24m2 as (2m)2(2m)2.
(n+m)(n-m)2m-3n⋅(2m)2-9n2m-n(n+m)(n−m)2m−3n⋅(2m)2−9n2m−n
Step 3.2
Rewrite 9n29n2 as (3n)2(3n)2.
(n+m)(n-m)2m-3n⋅(2m)2-(3n)2m-n(n+m)(n−m)2m−3n⋅(2m)2−(3n)2m−n
Step 3.3
Since both terms are perfect squares, factor using the difference of squares formula, a2-b2=(a+b)(a-b)a2−b2=(a+b)(a−b) where a=2ma=2m and b=3nb=3n.
(n+m)(n-m)2m-3n⋅(2m+3n)(2m-(3n))m-n(n+m)(n−m)2m−3n⋅(2m+3n)(2m−(3n))m−n
Step 3.4
Multiply 33 by -1−1.
(n+m)(n-m)2m-3n⋅(2m+3n)(2m-3n)m-n(n+m)(n−m)2m−3n⋅(2m+3n)(2m−3n)m−n
(n+m)(n-m)2m-3n⋅(2m+3n)(2m-3n)m-n(n+m)(n−m)2m−3n⋅(2m+3n)(2m−3n)m−n
Step 4
Step 4.1
Factor 2m-3n2m−3n out of (2m+3n)(2m-3n)(2m+3n)(2m−3n).
(n+m)(n-m)2m-3n⋅(2m-3n)(2m+3n)m-n(n+m)(n−m)2m−3n⋅(2m−3n)(2m+3n)m−n
Step 4.2
Cancel the common factor.
(n+m)(n-m)2m-3n⋅(2m-3n)(2m+3n)m-n
Step 4.3
Rewrite the expression.
(n+m)(n-m)2m+3nm-n
(n+m)(n-m)2m+3nm-n
Step 5
Step 5.1
Apply the distributive property.
(n(n-m)+m(n-m))2m+3nm-n
Step 5.2
Apply the distributive property.
(n⋅n+n(-m)+m(n-m))2m+3nm-n
Step 5.3
Apply the distributive property.
(n⋅n+n(-m)+mn+m(-m))2m+3nm-n
(n⋅n+n(-m)+mn+m(-m))2m+3nm-n
Step 6
Step 6.1
Combine the opposite terms in n⋅n+n(-m)+mn+m(-m).
Step 6.1.1
Reorder the factors in the terms n(-m) and mn.
(n⋅n-mn+mn+m(-m))2m+3nm-n
Step 6.1.2
Add -mn and mn.
(n⋅n+0+m(-m))2m+3nm-n
Step 6.1.3
Add n⋅n and 0.
(n⋅n+m(-m))2m+3nm-n
(n⋅n+m(-m))2m+3nm-n
Step 6.2
Simplify each term.
Step 6.2.1
Multiply n by n.
(n2+m(-m))2m+3nm-n
Step 6.2.2
Rewrite using the commutative property of multiplication.
(n2-m⋅m)2m+3nm-n
Step 6.2.3
Multiply m by m by adding the exponents.
Step 6.2.3.1
Move m.
(n2-(m⋅m))2m+3nm-n
Step 6.2.3.2
Multiply m by m.
(n2-m2)2m+3nm-n
(n2-m2)2m+3nm-n
(n2-m2)2m+3nm-n
Step 6.3
Multiply n2-m2 by 2m+3nm-n.
(n2-m2)(2m+3n)m-n
(n2-m2)(2m+3n)m-n
Step 7
Since both terms are perfect squares, factor using the difference of squares formula, a2-b2=(a+b)(a-b) where a=n and b=m.
(n+m)(n-m)(2m+3n)m-n
Step 8
Step 8.1
Cancel the common factor of n-m and m-n.
Step 8.1.1
Factor -1 out of n.
(n+m)(-1(-n)-m)(2m+3n)m-n
Step 8.1.2
Factor -1 out of -m.
(n+m)(-1(-n)-(m))(2m+3n)m-n
Step 8.1.3
Factor -1 out of -1(-n)-(m).
(n+m)(-1(-n+m))(2m+3n)m-n
Step 8.1.4
Reorder terms.
(n+m)(-1(m-n))(2m+3n)m-n
Step 8.1.5
Cancel the common factor.
(n+m)(-1(m-n))(2m+3n)m-n
Step 8.1.6
Divide ((n+m)⋅(-1))(2m+3n) by 1.
((n+m)⋅(-1))(2m+3n)
((n+m)⋅(-1))(2m+3n)
Step 8.2
Simplify by multiplying through.
Step 8.2.1
Apply the distributive property.
(n⋅-1+m⋅-1)(2m+3n)
Step 8.2.2
Reorder.
Step 8.2.2.1
Move -1 to the left of n.
(-1⋅n+m⋅-1)(2m+3n)
Step 8.2.2.2
Move -1 to the left of m.
(-1⋅n-1⋅m)(2m+3n)
(-1⋅n-1⋅m)(2m+3n)
(-1⋅n-1⋅m)(2m+3n)
Step 8.3
Simplify each term.
Step 8.3.1
Rewrite -1n as -n.
(-n-1⋅m)(2m+3n)
Step 8.3.2
Rewrite -1m as -m.
(-n-m)(2m+3n)
(-n-m)(2m+3n)
(-n-m)(2m+3n)
Step 9
Step 9.1
Apply the distributive property.
-n(2m+3n)-m(2m+3n)
Step 9.2
Apply the distributive property.
-n(2m)-n(3n)-m(2m+3n)
Step 9.3
Apply the distributive property.
-n(2m)-n(3n)-m(2m)-m(3n)
-n(2m)-n(3n)-m(2m)-m(3n)
Step 10
Step 10.1
Simplify each term.
Step 10.1.1
Rewrite using the commutative property of multiplication.
-1⋅2nm-n(3n)-m(2m)-m(3n)
Step 10.1.2
Multiply -1 by 2.
-2nm-n(3n)-m(2m)-m(3n)
Step 10.1.3
Rewrite using the commutative property of multiplication.
-2nm-1⋅3n⋅n-m(2m)-m(3n)
Step 10.1.4
Multiply n by n by adding the exponents.
Step 10.1.4.1
Move n.
-2nm-1⋅3(n⋅n)-m(2m)-m(3n)
Step 10.1.4.2
Multiply n by n.
-2nm-1⋅3n2-m(2m)-m(3n)
-2nm-1⋅3n2-m(2m)-m(3n)
Step 10.1.5
Multiply -1 by 3.
-2nm-3n2-m(2m)-m(3n)
Step 10.1.6
Rewrite using the commutative property of multiplication.
-2nm-3n2-1⋅2m⋅m-m(3n)
Step 10.1.7
Multiply m by m by adding the exponents.
Step 10.1.7.1
Move m.
-2nm-3n2-1⋅2(m⋅m)-m(3n)
Step 10.1.7.2
Multiply m by m.
-2nm-3n2-1⋅2m2-m(3n)
-2nm-3n2-1⋅2m2-m(3n)
Step 10.1.8
Multiply -1 by 2.
-2nm-3n2-2m2-m(3n)
Step 10.1.9
Rewrite using the commutative property of multiplication.
-2nm-3n2-2m2-1⋅3mn
Step 10.1.10
Multiply -1 by 3.
-2nm-3n2-2m2-3mn
-2nm-3n2-2m2-3mn
Step 10.2
Subtract 3mn from -2nm.
Step 10.2.1
Move n.
-3n2-2m2-2mn-3mn
Step 10.2.2
Subtract 3mn from -2mn.
-3n2-2m2-5mn
-3n2-2m2-5mn
-3n2-2m2-5mn
Step 11
Move -3n2.
-2m2-5mn-3n2