SOLUTION: FOR THE INDICATED FUNCTIONS F AND G,FIND FUNCTIONS F0G AND G0F, FIND THE DOMAINS. F(X)=X^2;G(X)=X^3+2X+4

Algebra ->  Functions -> SOLUTION: FOR THE INDICATED FUNCTIONS F AND G,FIND FUNCTIONS F0G AND G0F, FIND THE DOMAINS. F(X)=X^2;G(X)=X^3+2X+4      Log On


   



Question 243864: FOR THE INDICATED FUNCTIONS F AND G,FIND FUNCTIONS F0G AND G0F, FIND THE DOMAINS.
F(X)=X^2;G(X)=X^3+2X+4

Answer by Theo(13342) About Me  (Show Source):
You can put this solution on YOUR website!
f(x) = x^2
g(x) = x^3 + 2x + 4

to get f(g(x)), you start with f(x) = x^2

you replace x with g(x) to get:

f(g(x)) = (g(x))^2

you replace g(x) with x^3 + 2x + 4 to get:

f(g(x)) = (x^3 + 2x + 4)^2

you simplify to get:

f(g(x) = x^6 + 4x^4 + 8x^3 + 4x^2 + 16x + 16

you confirm your answer is good by taking any value of x and substituting i the original equation and the final equation to see if the equations are true.

I did with x = 2 and confirmed the answers were the same so I believe the answer is good.

----------------------

to get g(f(x)):

you start with g(x) = x^3 + 2x + 4

you replace x with f(x) to get:

g(f(x)) = (f(x))^3 + 2*(f(x)) + 4

you replace f(x) with x^2 to get:

g(f(x)) = (x^2)^3 + 2*(x^2) + 4

you simplify to get:

g(f(x)) = x^6 + 2x^2 + 4

You confirm by replacing x with a random value and solving both the original equation and the final equation to see if they are the same.

I did with x = 3 and both equations came out the same so I believe the answer is good.

----------------------

The domains are all real values of x since there is no division of 0 and there are no even roots of negative numbers (square root, fourth root, etc). Those, if present, would restrict the domain.

Graph of x^2 looks like this:

graph%28400%2C400%2C-20%2C20%2C-20%2C20%2Cx%5E2%29

Graph of x^3 + 2x + 4 looks like this:

graph%28400%2C400%2C-20%2C20%2C-20%2C20%2Cx%5E3%2B2x%2B4%29

Graph of x^6 + 4x^4 + 8x^3 + 4x^2 + 16x + 16 looks like this:



Graph of x^6 + 2x^2 + 4 looks like this:

graph%28400%2C400%2C-20%2C20%2C-100%2C100%2Cx%5E6+%2B+2x%5E2+%2B+4%29

In the last 2 graphs, the scale of the y-axis was changed from +/- 20 to +/- 100 because they become very large.