Algebra Examples

Find f(g(y)) f(y)=(2y^3-y^2+2y-1)/(y^3-y^2+y-1) , g(y)=(2y^2-3y+1)/(4y^2-4y+1)
,
Step 1
Set up the composite result function.
Step 2
Evaluate by substituting in the value of into .
Step 3
Remove parentheses.
Step 4
Multiply the numerator and denominator of the fraction by .
Tap for more steps...
Step 4.1
Multiply by .
Step 4.2
Combine.
Step 5
Apply the distributive property.
Step 6
Simplify by cancelling.
Tap for more steps...
Step 6.1
Factor by grouping.
Tap for more steps...
Step 6.1.1
For a polynomial of the form , rewrite the middle term as a sum of two terms whose product is and whose sum is .
Tap for more steps...
Step 6.1.1.1
Factor out of .
Step 6.1.1.2
Rewrite as plus
Step 6.1.1.3
Apply the distributive property.
Step 6.1.2
Factor out the greatest common factor from each group.
Tap for more steps...
Step 6.1.2.1
Group the first two terms and the last two terms.
Step 6.1.2.2
Factor out the greatest common factor (GCF) from each group.
Step 6.1.3
Factor the polynomial by factoring out the greatest common factor, .
Step 6.2
Factor using the perfect square rule.
Tap for more steps...
Step 6.2.1
Rewrite as .
Step 6.2.2
Rewrite as .
Step 6.2.3
Check that the middle term is two times the product of the numbers being squared in the first term and third term.
Step 6.2.4
Rewrite the polynomial.
Step 6.2.5
Factor using the perfect square trinomial rule , where and .
Step 7
Cancel the common factors.
Tap for more steps...
Step 7.1
Factor out of .
Step 7.2
Cancel the common factor.
Step 7.3
Rewrite the expression.
Step 8
Factor by grouping.
Tap for more steps...
Step 8.1
For a polynomial of the form , rewrite the middle term as a sum of two terms whose product is and whose sum is .
Tap for more steps...
Step 8.1.1
Factor out of .
Step 8.1.2
Rewrite as plus
Step 8.1.3
Apply the distributive property.
Step 8.2
Factor out the greatest common factor from each group.
Tap for more steps...
Step 8.2.1
Group the first two terms and the last two terms.
Step 8.2.2
Factor out the greatest common factor (GCF) from each group.
Step 8.3
Factor the polynomial by factoring out the greatest common factor, .
Step 9
Factor using the perfect square rule.
Tap for more steps...
Step 9.1
Rewrite as .
Step 9.2
Rewrite as .
Step 9.3
Check that the middle term is two times the product of the numbers being squared in the first term and third term.
Step 9.4
Rewrite the polynomial.
Step 9.5
Factor using the perfect square trinomial rule , where and .
Step 10
Factor by grouping.
Tap for more steps...
Step 10.1
For a polynomial of the form , rewrite the middle term as a sum of two terms whose product is and whose sum is .
Tap for more steps...
Step 10.1.1
Factor out of .
Step 10.1.2
Rewrite as plus
Step 10.1.3
Apply the distributive property.
Step 10.2
Factor out the greatest common factor from each group.
Tap for more steps...
Step 10.2.1
Group the first two terms and the last two terms.
Step 10.2.2
Factor out the greatest common factor (GCF) from each group.
Step 10.3
Factor the polynomial by factoring out the greatest common factor, .
Step 11
Factor using the perfect square rule.
Tap for more steps...
Step 11.1
Rewrite as .
Step 11.2
Rewrite as .
Step 11.3
Check that the middle term is two times the product of the numbers being squared in the first term and third term.
Step 11.4
Rewrite the polynomial.
Step 11.5
Factor using the perfect square trinomial rule , where and .
Step 12
Factor by grouping.
Tap for more steps...
Step 12.1
For a polynomial of the form , rewrite the middle term as a sum of two terms whose product is and whose sum is .
Tap for more steps...
Step 12.1.1
Factor out of .
Step 12.1.2
Rewrite as plus
Step 12.1.3
Apply the distributive property.
Step 12.2
Factor out the greatest common factor from each group.
Tap for more steps...
Step 12.2.1
Group the first two terms and the last two terms.
Step 12.2.2
Factor out the greatest common factor (GCF) from each group.
Step 12.3
Factor the polynomial by factoring out the greatest common factor, .
Step 13
Factor using the perfect square rule.
Tap for more steps...
Step 13.1
Rewrite as .
Step 13.2
Rewrite as .
Step 13.3
Check that the middle term is two times the product of the numbers being squared in the first term and third term.
Step 13.4
Rewrite the polynomial.
Step 13.5
Factor using the perfect square trinomial rule , where and .
Step 14
Factor by grouping.
Tap for more steps...
Step 14.1
For a polynomial of the form , rewrite the middle term as a sum of two terms whose product is and whose sum is .
Tap for more steps...
Step 14.1.1
Factor out of .
Step 14.1.2
Rewrite as plus
Step 14.1.3
Apply the distributive property.
Step 14.2
Factor out the greatest common factor from each group.
Tap for more steps...
Step 14.2.1
Group the first two terms and the last two terms.
Step 14.2.2
Factor out the greatest common factor (GCF) from each group.
Step 14.3
Factor the polynomial by factoring out the greatest common factor, .
Step 15
Factor using the perfect square rule.
Tap for more steps...
Step 15.1
Rewrite as .
Step 15.2
Rewrite as .
Step 15.3
Check that the middle term is two times the product of the numbers being squared in the first term and third term.
Step 15.4
Rewrite the polynomial.
Step 15.5
Factor using the perfect square trinomial rule , where and .
Step 16
Factor by grouping.
Tap for more steps...
Step 16.1
For a polynomial of the form , rewrite the middle term as a sum of two terms whose product is and whose sum is .
Tap for more steps...
Step 16.1.1
Factor out of .
Step 16.1.2
Rewrite as plus
Step 16.1.3
Apply the distributive property.
Step 16.2
Factor out the greatest common factor from each group.
Tap for more steps...
Step 16.2.1
Group the first two terms and the last two terms.
Step 16.2.2
Factor out the greatest common factor (GCF) from each group.
Step 16.3
Factor the polynomial by factoring out the greatest common factor, .
Step 17
Factor using the perfect square rule.
Tap for more steps...
Step 17.1
Rewrite as .
Step 17.2
Rewrite as .
Step 17.3
Check that the middle term is two times the product of the numbers being squared in the first term and third term.
Step 17.4
Rewrite the polynomial.
Step 17.5
Factor using the perfect square trinomial rule , where and .
Step 18
Simplify the numerator.
Tap for more steps...
Step 18.1
Factor out of .
Tap for more steps...
Step 18.1.1
Factor out of .
Step 18.1.2
Factor out of .
Step 18.1.3
Factor out of .
Step 18.1.4
Factor out of .
Step 18.1.5
Factor out of .
Step 18.1.6
Factor out of .
Step 18.2
Factor using the perfect square rule.
Tap for more steps...
Step 18.2.1
Rewrite as .
Step 18.2.2
Rewrite as .
Step 18.2.3
Check that the middle term is two times the product of the numbers being squared in the first term and third term.
Step 18.2.4
Rewrite the polynomial.
Step 18.2.5
Factor using the perfect square trinomial rule , where and .
Step 18.3
Factor out the greatest common factor from each group.
Tap for more steps...
Step 18.3.1
Group the first two terms and the last two terms.
Step 18.3.2
Factor out the greatest common factor (GCF) from each group.
Step 18.4
Factor the polynomial by factoring out the greatest common factor, .
Step 18.5
Cancel the common factors.
Tap for more steps...
Step 18.5.1
Factor out of .
Step 18.5.2
Cancel the common factor.
Step 18.5.3
Rewrite the expression.
Step 18.6
Combine and .
Step 18.7
To write as a fraction with a common denominator, multiply by .
Step 18.8
Combine and .
Step 18.9
Combine the numerators over the common denominator.
Step 18.10
Rewrite in a factored form.
Tap for more steps...
Step 18.10.1
Apply the distributive property.
Step 18.10.2
Multiply by .
Step 18.10.3
Apply the distributive property.
Step 18.10.4
Multiply by .
Step 18.10.5
Multiply by .
Step 18.10.6
Subtract from .
Step 18.10.7
Subtract from .
Step 18.10.8
Add and .
Step 18.11
Cancel the common factors.
Tap for more steps...
Step 18.11.1
Factor out of .
Step 18.11.2
Cancel the common factor.
Step 18.11.3
Rewrite the expression.
Step 18.12
Apply the product rule to .
Step 18.13
Write as a fraction with a common denominator.
Step 18.14
Combine the numerators over the common denominator.
Step 18.15
Rewrite in a factored form.
Tap for more steps...
Step 18.15.1
Rewrite as .
Step 18.15.2
Expand using the FOIL Method.
Tap for more steps...
Step 18.15.2.1
Apply the distributive property.
Step 18.15.2.2
Apply the distributive property.
Step 18.15.2.3
Apply the distributive property.
Step 18.15.3
Simplify and combine like terms.
Tap for more steps...
Step 18.15.3.1
Simplify each term.
Tap for more steps...
Step 18.15.3.1.1
Multiply by .
Step 18.15.3.1.2
Move to the left of .
Step 18.15.3.1.3
Rewrite as .
Step 18.15.3.1.4
Rewrite as .
Step 18.15.3.1.5
Multiply by .
Step 18.15.3.2
Subtract from .
Step 18.15.4
Rewrite as .
Step 18.15.5
Expand using the FOIL Method.
Tap for more steps...
Step 18.15.5.1
Apply the distributive property.
Step 18.15.5.2
Apply the distributive property.
Step 18.15.5.3
Apply the distributive property.
Step 18.15.6
Simplify and combine like terms.
Tap for more steps...
Step 18.15.6.1
Simplify each term.
Tap for more steps...
Step 18.15.6.1.1
Rewrite using the commutative property of multiplication.
Step 18.15.6.1.2
Multiply by by adding the exponents.
Tap for more steps...
Step 18.15.6.1.2.1
Move .
Step 18.15.6.1.2.2
Multiply by .
Step 18.15.6.1.3
Multiply by .
Step 18.15.6.1.4
Multiply by .
Step 18.15.6.1.5
Multiply by .
Step 18.15.6.1.6
Multiply by .
Step 18.15.6.2
Subtract from .
Step 18.15.7
Add and .
Step 18.15.8
Subtract from .
Step 18.15.9
Add and .
Step 18.16
Combine exponents.
Tap for more steps...
Step 18.16.1
Combine and .
Step 18.16.2
Multiply by .
Step 18.16.3
Multiply by by adding the exponents.
Tap for more steps...
Step 18.16.3.1
Multiply by .
Tap for more steps...
Step 18.16.3.1.1
Raise to the power of .
Step 18.16.3.1.2
Use the power rule to combine exponents.
Step 18.16.3.2
Add and .
Step 18.17
Cancel the common factor of and .
Tap for more steps...
Step 18.17.1
Factor out of .
Step 18.17.2
Cancel the common factors.
Tap for more steps...
Step 18.17.2.1
Factor out of .
Step 18.17.2.2
Cancel the common factor.
Step 18.17.2.3
Rewrite the expression.
Step 18.18
Move the negative in front of the fraction.
Step 19
Simplify the denominator.
Tap for more steps...
Step 19.1
Factor out of .
Tap for more steps...
Step 19.1.1
Factor out of .
Step 19.1.2
Factor out of .
Step 19.1.3
Factor out of .
Step 19.1.4
Factor out of .
Step 19.1.5
Factor out of .
Step 19.2
Factor using the perfect square rule.
Tap for more steps...
Step 19.2.1
Rewrite as .
Step 19.2.2
Rewrite as .
Step 19.2.3
Check that the middle term is two times the product of the numbers being squared in the first term and third term.
Step 19.2.4
Rewrite the polynomial.
Step 19.2.5
Factor using the perfect square trinomial rule , where and .
Step 19.3
Cancel the common factors.
Tap for more steps...
Step 19.3.1
Factor out of .
Step 19.3.2
Cancel the common factor.
Step 19.3.3
Rewrite the expression.
Step 19.4
Apply the product rule to .
Step 19.5
Cancel the common factors.
Tap for more steps...
Step 19.5.1
Factor out of .
Step 19.5.2
Cancel the common factor.
Step 19.5.3
Rewrite the expression.
Step 19.6
Apply the product rule to .
Step 19.7
To write as a fraction with a common denominator, multiply by .
Step 19.8
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 19.8.1
Multiply by .
Step 19.8.2
Multiply by by adding the exponents.
Tap for more steps...
Step 19.8.2.1
Multiply by .
Tap for more steps...
Step 19.8.2.1.1
Raise to the power of .
Step 19.8.2.1.2
Use the power rule to combine exponents.
Step 19.8.2.2
Add and .
Step 19.9
Combine the numerators over the common denominator.
Step 19.10
To write as a fraction with a common denominator, multiply by .
Step 19.11
Write each expression with a common denominator of , by multiplying each by an appropriate factor of .
Tap for more steps...
Step 19.11.1
Multiply by .
Step 19.11.2
Multiply by by adding the exponents.
Tap for more steps...
Step 19.11.2.1
Multiply by .
Tap for more steps...
Step 19.11.2.1.1
Raise to the power of .
Step 19.11.2.1.2
Use the power rule to combine exponents.
Step 19.11.2.2
Add and .
Step 19.12
Combine the numerators over the common denominator.
Step 19.13
Simplify the numerator.
Tap for more steps...
Step 19.13.1
Factor out of .
Tap for more steps...
Step 19.13.1.1
Factor out of .
Step 19.13.1.2
Factor out of .
Step 19.13.1.3
Factor out of .
Step 19.13.1.4
Factor out of .
Step 19.13.1.5
Factor out of .
Step 19.13.2
Rewrite as .
Step 19.13.3
Expand using the FOIL Method.
Tap for more steps...
Step 19.13.3.1
Apply the distributive property.
Step 19.13.3.2
Apply the distributive property.
Step 19.13.3.3
Apply the distributive property.
Step 19.13.4
Simplify and combine like terms.
Tap for more steps...
Step 19.13.4.1
Simplify each term.
Tap for more steps...
Step 19.13.4.1.1
Multiply by .
Step 19.13.4.1.2
Move to the left of .
Step 19.13.4.1.3
Rewrite as .
Step 19.13.4.1.4
Rewrite as .
Step 19.13.4.1.5
Multiply by .
Step 19.13.4.2
Subtract from .
Step 19.13.5
Apply the distributive property.
Step 19.13.6
Multiply by .
Step 19.13.7
Expand using the FOIL Method.
Tap for more steps...
Step 19.13.7.1
Apply the distributive property.
Step 19.13.7.2
Apply the distributive property.
Step 19.13.7.3
Apply the distributive property.
Step 19.13.8
Simplify and combine like terms.
Tap for more steps...
Step 19.13.8.1
Simplify each term.
Tap for more steps...
Step 19.13.8.1.1
Rewrite using the commutative property of multiplication.
Step 19.13.8.1.2
Multiply by by adding the exponents.
Tap for more steps...
Step 19.13.8.1.2.1
Move .
Step 19.13.8.1.2.2
Multiply by .
Step 19.13.8.1.3
Multiply by .
Step 19.13.8.1.4
Multiply .
Tap for more steps...
Step 19.13.8.1.4.1
Multiply by .
Step 19.13.8.1.4.2
Multiply by .
Step 19.13.8.1.5
Multiply by .
Step 19.13.8.1.6
Multiply by .
Step 19.13.8.2
Add and .
Step 19.13.9
Rewrite as .
Step 19.13.10
Expand using the FOIL Method.
Tap for more steps...
Step 19.13.10.1
Apply the distributive property.
Step 19.13.10.2
Apply the distributive property.
Step 19.13.10.3
Apply the distributive property.
Step 19.13.11
Simplify and combine like terms.
Tap for more steps...
Step 19.13.11.1
Simplify each term.
Tap for more steps...
Step 19.13.11.1.1
Rewrite using the commutative property of multiplication.
Step 19.13.11.1.2
Multiply by by adding the exponents.
Tap for more steps...
Step 19.13.11.1.2.1
Move .
Step 19.13.11.1.2.2
Multiply by .
Step 19.13.11.1.3
Multiply by .
Step 19.13.11.1.4
Multiply by .
Step 19.13.11.1.5
Multiply by .
Step 19.13.11.1.6
Multiply by .
Step 19.13.11.2
Subtract from .
Step 19.13.12
Subtract from .
Step 19.13.13
Add and .
Step 19.13.14
Add and .
Step 19.13.15
Subtract from .
Step 19.13.16
Subtract from .
Step 19.13.17
Add and .
Step 19.14
To write as a fraction with a common denominator, multiply by .
Step 19.15
Combine and .
Step 19.16
Combine the numerators over the common denominator.
Step 19.17
Simplify the numerator.
Tap for more steps...
Step 19.17.1
Expand by multiplying each term in the first expression by each term in the second expression.
Step 19.17.2
Simplify each term.
Tap for more steps...
Step 19.17.2.1
Rewrite using the commutative property of multiplication.
Step 19.17.2.2
Multiply by by adding the exponents.
Tap for more steps...
Step 19.17.2.2.1
Move .
Step 19.17.2.2.2
Multiply by .
Tap for more steps...
Step 19.17.2.2.2.1
Raise to the power of .
Step 19.17.2.2.2.2
Use the power rule to combine exponents.
Step 19.17.2.2.3
Add and .
Step 19.17.2.3
Rewrite using the commutative property of multiplication.
Step 19.17.2.4
Multiply by by adding the exponents.
Tap for more steps...
Step 19.17.2.4.1
Move .
Step 19.17.2.4.2
Multiply by .
Step 19.17.2.5
Multiply by .
Step 19.17.2.6
Multiply by .
Step 19.17.2.7
Multiply by .
Step 19.17.2.8
Multiply by .
Step 19.17.3
Subtract from .
Step 19.17.4
Add and .
Step 19.17.5
Use the Binomial Theorem.
Step 19.17.6
Simplify each term.
Tap for more steps...
Step 19.17.6.1
Apply the product rule to .
Step 19.17.6.2
Raise to the power of .
Step 19.17.6.3
Apply the product rule to .
Step 19.17.6.4
Raise to the power of .
Step 19.17.6.5
Multiply by .
Step 19.17.6.6
Multiply by .
Step 19.17.6.7
Multiply by .
Step 19.17.6.8
Raise to the power of .
Step 19.17.6.9
Multiply by .
Step 19.17.6.10
Raise to the power of .
Step 19.17.7
Apply the distributive property.
Step 19.17.8
Simplify.
Tap for more steps...
Step 19.17.8.1
Multiply by .
Step 19.17.8.2
Multiply by .
Step 19.17.8.3
Multiply by .
Step 19.17.8.4
Multiply by .
Step 19.17.9
Subtract from .
Step 19.17.10
Add and .
Step 19.17.11
Subtract from .
Step 19.17.12
Add and .
Step 19.17.13
Add and .
Step 19.17.14
Factor out of .
Tap for more steps...
Step 19.17.14.1
Factor out of .
Step 19.17.14.2
Factor out of .
Step 19.17.14.3
Factor out of .
Step 19.17.14.4
Factor out of .
Step 19.17.14.5
Factor out of .
Step 20
Simplify terms.
Tap for more steps...
Step 20.1
Combine and .
Step 20.2
Reduce the expression by cancelling the common factors.
Tap for more steps...
Step 20.2.1
Factor out of .
Step 20.2.2
Cancel the common factor.
Step 20.2.3
Rewrite the expression.
Step 21
Multiply the numerator by the reciprocal of the denominator.
Step 22
Cancel the common factor of .
Tap for more steps...
Step 22.1
Move the leading negative in into the numerator.
Step 22.2
Cancel the common factor.
Step 22.3
Rewrite the expression.
Step 23
Apply the distributive property.
Step 24
Simplify.
Tap for more steps...
Step 24.1
Multiply by .
Step 24.2
Multiply by .
Step 24.3
Multiply by .
Step 25
Cancel the common factor of .
Tap for more steps...
Step 25.1
Factor out of .
Step 25.2
Cancel the common factor.
Step 25.3
Rewrite the expression.