Basic Math Examples

Simplify (5q+1)/(4q^2+7q-2)-(2q+3)/(3q^2+5q-2)
5q+14q2+7q-2-2q+33q2+5q-25q+14q2+7q22q+33q2+5q2
Step 1
Simplify each term.
Tap for more steps...
Step 1.1
Factor by grouping.
Tap for more steps...
Step 1.1.1
For a polynomial of the form ax2+bx+c, rewrite the middle term as a sum of two terms whose product is ac=4-2=-8 and whose sum is b=7.
Tap for more steps...
Step 1.1.1.1
Factor 7 out of 7q.
5q+14q2+7(q)-2-2q+33q2+5q-2
Step 1.1.1.2
Rewrite 7 as -1 plus 8
5q+14q2+(-1+8)q-2-2q+33q2+5q-2
Step 1.1.1.3
Apply the distributive property.
5q+14q2-1q+8q-2-2q+33q2+5q-2
5q+14q2-1q+8q-2-2q+33q2+5q-2
Step 1.1.2
Factor out the greatest common factor from each group.
Tap for more steps...
Step 1.1.2.1
Group the first two terms and the last two terms.
5q+1(4q2-1q)+8q-2-2q+33q2+5q-2
Step 1.1.2.2
Factor out the greatest common factor (GCF) from each group.
5q+1q(4q-1)+2(4q-1)-2q+33q2+5q-2
5q+1q(4q-1)+2(4q-1)-2q+33q2+5q-2
Step 1.1.3
Factor the polynomial by factoring out the greatest common factor, 4q-1.
5q+1(4q-1)(q+2)-2q+33q2+5q-2
5q+1(4q-1)(q+2)-2q+33q2+5q-2
Step 1.2
Factor by grouping.
Tap for more steps...
Step 1.2.1
For a polynomial of the form ax2+bx+c, rewrite the middle term as a sum of two terms whose product is ac=3-2=-6 and whose sum is b=5.
Tap for more steps...
Step 1.2.1.1
Factor 5 out of 5q.
5q+1(4q-1)(q+2)-2q+33q2+5(q)-2
Step 1.2.1.2
Rewrite 5 as -1 plus 6
5q+1(4q-1)(q+2)-2q+33q2+(-1+6)q-2
Step 1.2.1.3
Apply the distributive property.
5q+1(4q-1)(q+2)-2q+33q2-1q+6q-2
5q+1(4q-1)(q+2)-2q+33q2-1q+6q-2
Step 1.2.2
Factor out the greatest common factor from each group.
Tap for more steps...
Step 1.2.2.1
Group the first two terms and the last two terms.
5q+1(4q-1)(q+2)-2q+3(3q2-1q)+6q-2
Step 1.2.2.2
Factor out the greatest common factor (GCF) from each group.
5q+1(4q-1)(q+2)-2q+3q(3q-1)+2(3q-1)
5q+1(4q-1)(q+2)-2q+3q(3q-1)+2(3q-1)
Step 1.2.3
Factor the polynomial by factoring out the greatest common factor, 3q-1.
5q+1(4q-1)(q+2)-2q+3(3q-1)(q+2)
5q+1(4q-1)(q+2)-2q+3(3q-1)(q+2)
5q+1(4q-1)(q+2)-2q+3(3q-1)(q+2)
Step 2
To write 5q+1(4q-1)(q+2) as a fraction with a common denominator, multiply by 3q-13q-1.
5q+1(4q-1)(q+2)3q-13q-1-2q+3(3q-1)(q+2)
Step 3
To write -2q+3(3q-1)(q+2) as a fraction with a common denominator, multiply by 4q-14q-1.
5q+1(4q-1)(q+2)3q-13q-1-2q+3(3q-1)(q+2)4q-14q-1
Step 4
Write each expression with a common denominator of (4q-1)(q+2)(3q-1), by multiplying each by an appropriate factor of 1.
Tap for more steps...
Step 4.1
Multiply 5q+1(4q-1)(q+2) by 3q-13q-1.
(5q+1)(3q-1)(4q-1)(q+2)(3q-1)-2q+3(3q-1)(q+2)4q-14q-1
Step 4.2
Multiply 2q+3(3q-1)(q+2) by 4q-14q-1.
(5q+1)(3q-1)(4q-1)(q+2)(3q-1)-(2q+3)(4q-1)(3q-1)(q+2)(4q-1)
Step 4.3
Reorder the factors of (4q-1)(q+2)(3q-1).
(5q+1)(3q-1)(3q-1)(4q-1)(q+2)-(2q+3)(4q-1)(3q-1)(q+2)(4q-1)
Step 4.4
Reorder the factors of (3q-1)(q+2)(4q-1).
(5q+1)(3q-1)(3q-1)(4q-1)(q+2)-(2q+3)(4q-1)(3q-1)(4q-1)(q+2)
(5q+1)(3q-1)(3q-1)(4q-1)(q+2)-(2q+3)(4q-1)(3q-1)(4q-1)(q+2)
Step 5
Combine the numerators over the common denominator.
(5q+1)(3q-1)-(2q+3)(4q-1)(3q-1)(4q-1)(q+2)
Step 6
Simplify the numerator.
Tap for more steps...
Step 6.1
Expand (5q+1)(3q-1) using the FOIL Method.
Tap for more steps...
Step 6.1.1
Apply the distributive property.
5q(3q-1)+1(3q-1)-(2q+3)(4q-1)(3q-1)(4q-1)(q+2)
Step 6.1.2
Apply the distributive property.
5q(3q)+5q-1+1(3q-1)-(2q+3)(4q-1)(3q-1)(4q-1)(q+2)
Step 6.1.3
Apply the distributive property.
5q(3q)+5q-1+1(3q)+1-1-(2q+3)(4q-1)(3q-1)(4q-1)(q+2)
5q(3q)+5q-1+1(3q)+1-1-(2q+3)(4q-1)(3q-1)(4q-1)(q+2)
Step 6.2
Simplify and combine like terms.
Tap for more steps...
Step 6.2.1
Simplify each term.
Tap for more steps...
Step 6.2.1.1
Rewrite using the commutative property of multiplication.
53qq+5q-1+1(3q)+1-1-(2q+3)(4q-1)(3q-1)(4q-1)(q+2)
Step 6.2.1.2
Multiply q by q by adding the exponents.
Tap for more steps...
Step 6.2.1.2.1
Move q.
53(qq)+5q-1+1(3q)+1-1-(2q+3)(4q-1)(3q-1)(4q-1)(q+2)
Step 6.2.1.2.2
Multiply q by q.
53q2+5q-1+1(3q)+1-1-(2q+3)(4q-1)(3q-1)(4q-1)(q+2)
53q2+5q-1+1(3q)+1-1-(2q+3)(4q-1)(3q-1)(4q-1)(q+2)
Step 6.2.1.3
Multiply 5 by 3.
15q2+5q-1+1(3q)+1-1-(2q+3)(4q-1)(3q-1)(4q-1)(q+2)
Step 6.2.1.4
Multiply -1 by 5.
15q2-5q+1(3q)+1-1-(2q+3)(4q-1)(3q-1)(4q-1)(q+2)
Step 6.2.1.5
Multiply 3q by 1.
15q2-5q+3q+1-1-(2q+3)(4q-1)(3q-1)(4q-1)(q+2)
Step 6.2.1.6
Multiply -1 by 1.
15q2-5q+3q-1-(2q+3)(4q-1)(3q-1)(4q-1)(q+2)
15q2-5q+3q-1-(2q+3)(4q-1)(3q-1)(4q-1)(q+2)
Step 6.2.2
Add -5q and 3q.
15q2-2q-1-(2q+3)(4q-1)(3q-1)(4q-1)(q+2)
15q2-2q-1-(2q+3)(4q-1)(3q-1)(4q-1)(q+2)
Step 6.3
Apply the distributive property.
15q2-2q-1+(-(2q)-13)(4q-1)(3q-1)(4q-1)(q+2)
Step 6.4
Multiply 2 by -1.
15q2-2q-1+(-2q-13)(4q-1)(3q-1)(4q-1)(q+2)
Step 6.5
Multiply -1 by 3.
15q2-2q-1+(-2q-3)(4q-1)(3q-1)(4q-1)(q+2)
Step 6.6
Expand (-2q-3)(4q-1) using the FOIL Method.
Tap for more steps...
Step 6.6.1
Apply the distributive property.
15q2-2q-1-2q(4q-1)-3(4q-1)(3q-1)(4q-1)(q+2)
Step 6.6.2
Apply the distributive property.
15q2-2q-1-2q(4q)-2q-1-3(4q-1)(3q-1)(4q-1)(q+2)
Step 6.6.3
Apply the distributive property.
15q2-2q-1-2q(4q)-2q-1-3(4q)-3-1(3q-1)(4q-1)(q+2)
15q2-2q-1-2q(4q)-2q-1-3(4q)-3-1(3q-1)(4q-1)(q+2)
Step 6.7
Simplify and combine like terms.
Tap for more steps...
Step 6.7.1
Simplify each term.
Tap for more steps...
Step 6.7.1.1
Rewrite using the commutative property of multiplication.
15q2-2q-1-24qq-2q-1-3(4q)-3-1(3q-1)(4q-1)(q+2)
Step 6.7.1.2
Multiply q by q by adding the exponents.
Tap for more steps...
Step 6.7.1.2.1
Move q.
15q2-2q-1-24(qq)-2q-1-3(4q)-3-1(3q-1)(4q-1)(q+2)
Step 6.7.1.2.2
Multiply q by q.
15q2-2q-1-24q2-2q-1-3(4q)-3-1(3q-1)(4q-1)(q+2)
15q2-2q-1-24q2-2q-1-3(4q)-3-1(3q-1)(4q-1)(q+2)
Step 6.7.1.3
Multiply -2 by 4.
15q2-2q-1-8q2-2q-1-3(4q)-3-1(3q-1)(4q-1)(q+2)
Step 6.7.1.4
Multiply -1 by -2.
15q2-2q-1-8q2+2q-3(4q)-3-1(3q-1)(4q-1)(q+2)
Step 6.7.1.5
Multiply 4 by -3.
15q2-2q-1-8q2+2q-12q-3-1(3q-1)(4q-1)(q+2)
Step 6.7.1.6
Multiply -3 by -1.
15q2-2q-1-8q2+2q-12q+3(3q-1)(4q-1)(q+2)
15q2-2q-1-8q2+2q-12q+3(3q-1)(4q-1)(q+2)
Step 6.7.2
Subtract 12q from 2q.
15q2-2q-1-8q2-10q+3(3q-1)(4q-1)(q+2)
15q2-2q-1-8q2-10q+3(3q-1)(4q-1)(q+2)
Step 6.8
Subtract 8q2 from 15q2.
7q2-2q-1-10q+3(3q-1)(4q-1)(q+2)
Step 6.9
Subtract 10q from -2q.
7q2-12q-1+3(3q-1)(4q-1)(q+2)
Step 6.10
Add -1 and 3.
7q2-12q+2(3q-1)(4q-1)(q+2)
7q2-12q+2(3q-1)(4q-1)(q+2)
 [x2  12  π  xdx ]