document.write( "Question 105814: I am not looking for any particular homework help, I would just like to get g(f(x)) explained to me. I don;t understand anything about it. \n" ); document.write( "
Algebra.Com's Answer #77010 by bucky(2189)\"\" \"About 
You can put this solution on YOUR website!
If you are given two functions ... one of them f(x) and the other g(x) all that it means if
\n" ); document.write( "you are asked to find g(f(x)) is to go to g(x) and for every x you find in it, substitute
\n" ); document.write( "f(x).
\n" ); document.write( ".
\n" ); document.write( "As an example. Suppose you are given:
\n" ); document.write( ".
\n" ); document.write( "f(x) = 2x - 1 and
\n" ); document.write( "g(x) = x^2 - 2x + 3
\n" ); document.write( ".
\n" ); document.write( "To find g(f(x)) means start with g(x) and in place of the x in the terms it contains,
\n" ); document.write( "substitute the right side of the equation for f(x).
\n" ); document.write( ".
\n" ); document.write( "Start with:
\n" ); document.write( ".
\n" ); document.write( "g(x) = x^2 - 2x + 3
\n" ); document.write( ".
\n" ); document.write( "In place of each of the x's in g(x) substitute 2x - 1 to get g(f(x))
\n" ); document.write( ".
\n" ); document.write( "g(f(x)) = (2x-1)^2 - 2(2x - 1) + 3
\n" ); document.write( ".
\n" ); document.write( "Look carefully at this ... see how the x's in g(x) have been replaced by 2x -1 which is f(x).
\n" ); document.write( ".
\n" ); document.write( "Now all you have to do is the math. Square out (2x - 1) to get 4x^2 - 4x + 1 and multiply
\n" ); document.write( "-2 times (2x - 1) to get -4x + 2
\n" ); document.write( ".
\n" ); document.write( "Substitute these multiplications to get:
\n" ); document.write( ".
\n" ); document.write( "g(f(x)) = 4x^2 - 4x + 1 - 4x + 2 + 3
\n" ); document.write( ".
\n" ); document.write( "On the right side combine the -4x and the -4x to get -8x and combine the +1 with the +2 and
\n" ); document.write( "the +3 to get +6. Insert these results and the equation for g(f(x)) becomes:
\n" ); document.write( ".
\n" ); document.write( "g(f(x)) = 4x^2 - 8x + 6
\n" ); document.write( ".
\n" ); document.write( "Hopefully this example makes sense to you and you can see how g(f(x)) is found when you
\n" ); document.write( "are given both g(x) and f(x).
\n" ); document.write( ".
\n" ); document.write( "
\n" );