Sign In
Use the function rule of h(x) as the input for g(x) to find g(h(x)), and use the function rule of g(x) as the input for h(x) to find h(g(x)).
[g∘ h](x)=- 2x^2-1
[h∘ g](x)=4x^2-4x+2
When we are given a composite function written as [g ∘ h](x), we can think of this as g(h(x)). [g ∘ h](x) ⇔ g(h(x)) For the given pair of functions, we will find both [g∘ h](x) and [h∘ g](x).
To find [g∘ h](x), which is g(h(x)), we will use h(x)= x^2+1 as the input for g(x).
h(x)= x^2+1
Distribute - 2
Add terms
We got that [g∘ h](x)=- 2x^2-1.
To find [h∘ g](x), which is h(g(x)), we will use g(x)= - 2x+1 as the input for h(x). h( x)= x^2+1 ⇓ h( g(x))=( g(x))^2+1 Now, let's substitute - 2x+1 for g(x) on the right-hand side and simplify it.
g(x)= - 2x+1
Commutative Property of Addition
(a-b)^2=a^2-2ab+b^2
Add terms
We found out that [h∘ g](x)=4x^2-4x+2.