document.write( "Question 1200475: If f(x) = {(2, 3), (4, 8), (7, - 1)} and g(x) = {(8, 2), ( - 1, 4), (2, 7)},
\n" ); document.write( "find (f o g)(x), if it exists.
\n" ); document.write( "

Algebra.Com's Answer #834614 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Answer: (f o g)(x) = {(8,3), (-1,8), (2,-1)}\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Explanation:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "(f o g)(x) is the same as f( g(x) )\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The g(x) function is
\n" ); document.write( "g(x) = {(8,2), (-1,4), (2,7)}
\n" ); document.write( "which means
\n" ); document.write( "g(8) = 2
\n" ); document.write( "g(-1) = 4
\n" ); document.write( "g(2) = 7
\n" ); document.write( "Each of those outputs (2,4 and 7) must be an input for the f(x) function to have f(g(x)) be possible.
\n" ); document.write( "Luckily that is indeed the case.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "f(x) = {(2,3), (4,8), (7,-1)}
\n" ); document.write( "breaks down to
\n" ); document.write( "f(2) = 3
\n" ); document.write( "f(4) = 8
\n" ); document.write( "f(7) = -1\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Let's rewrite those three items above to involve g(x)
\n" ); document.write( "f(2) = 3 ---> f(g(8)) = 3
\n" ); document.write( "f(4) = 8 ---> f(g(-1)) = 8
\n" ); document.write( "f(7) = -1 ---> f(g(2)) = -1\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "In short,
\n" ); document.write( "f(g(8)) = 3
\n" ); document.write( "f(g(-1)) = 8
\n" ); document.write( "f(g(2)) = -1
\n" ); document.write( "or
\n" ); document.write( "(f o g)(8) = 3
\n" ); document.write( "(f o g)(-1) = 8
\n" ); document.write( "(f o g)(2) = -1
\n" ); document.write( "Therefore,
\n" ); document.write( "(f o g)(x) = {(8,3), (-1,8), (2,-1)}\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Here's the input/output mapping diagram for each function piece.
\n" ); document.write( "Start at the left side and move toward the right along the pathway of arrows shown.
\n" ); document.write( "
\n" ); document.write( "For instance, if the input is x = 8, then
\n" ); document.write( "g(8) = 2
\n" ); document.write( "f(2) = 3 aka f(g(8)) = 3
\n" ); document.write( "Therefore, f(g(x)) = 3 when the input is x = 8.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The g(x) function acts as the input to the f(x) function.
\n" ); document.write( "Effectively g(x) takes on the role of x so to speak.
\n" ); document.write( "
\n" ); document.write( "
\n" );