Enter a problem...
Basic Math Examples
m(a-b)+a-bm(a−b)+a−b
Step 1
Apply the distributive property.
ma+m(-b)+a-bma+m(−b)+a−b
Step 2
Rewrite using the commutative property of multiplication.
ma-mb+a-bma−mb+a−b
Step 3
Step 3.1
Factor out the greatest common factor from each group.
Step 3.1.1
Group the first two terms and the last two terms.
(ma-mb)+a-b(ma−mb)+a−b
Step 3.1.2
Factor out the greatest common factor (GCF) from each group.
m(a-b)+1(a-b)m(a−b)+1(a−b)
m(a-b)+1(a-b)m(a−b)+1(a−b)
Step 3.2
Factor the polynomial by factoring out the greatest common factor, a-ba−b.
(a-b)(m+1)(a−b)(m+1)
(a-b)(m+1)(a−b)(m+1)