Given that f(x)=x+2 and g( f(x) ) = x^2 + 4x-2 then write down g(f(x))?
4 Answers
Explanation:
Let,
Now, given that,
Since,
But, we know that,
Hence, substituting
This is same as to say that,
See below.
Explanation:
If
and
then
so
or comparing coefficients
and solving for
Explanation:
Because of the property
This implies that we must find
Then substitute
The left side becomes x by definition:
Solve for
To verify that we have
Now that we are sure that we have
Evaluate at
The left side becomes
Expand the square:
Distribute the 4:
Explanation:
The term "write down" in an exam style question, typically suggest very little working (if any) or effort is required to form the solution:
We know that
g( f(x) ) = x^2 + 4x-2
We can complete the square to get:
g( f(x) ) = (x+2)^2 -2^2 -2
\ \ \ \ \ \ \ \ \ \ \ = (x+2)^2 -4 -2
\ \ \ \ \ \ \ \ \ \ \ = (x+2)^2 -6
We therefore have:
g( x+2 ) = (x+2)^2 -6
Hence:
g(x) = x^2- 6