document.write( "Question 163839: supposed f(x)=-4x+3 and g(x)=1/x+2. evaluated f(g(x)) and g(f(x)) for x. Note any restrictions. show your work.
\n" ); document.write( "THANK YOU!
\n" ); document.write( "

Algebra.Com's Answer #120707 by midwood_trail(310)\"\" \"About 
You can put this solution on YOUR website!
Supposed f(x)=-4x+3 and g(x)=1/x+2. Evaluated f(g(x)) and g(f(x)) for x. Note any restrictions. Show your work.\r
\n" ); document.write( "\n" ); document.write( "f(g(x)) means to plug the value of g(x) in the function f(x) and simplify.\r
\n" ); document.write( "\n" ); document.write( "f(1/(x+2))....Everywhere you see an x for f(x), replace it with the value
\n" ); document.write( "of g(x), which is the fraction 1/(x+2).\r
\n" ); document.write( "\n" ); document.write( "This is what it looks like:\r
\n" ); document.write( "\n" ); document.write( "f(1/(x+2)) = -4(1/(x+2)) + 3\r
\n" ); document.write( "\n" ); document.write( "f(1/(x+2)) = -4/(x + 2) + 3\r
\n" ); document.write( "\n" ); document.write( "We can write 3 as 3/1 to make our fraction work easier.\r
\n" ); document.write( "\n" ); document.write( "We add -4/(x + 2) + 3/1 and get (3x + 2)/(x + 2) for f(g(x)).\r
\n" ); document.write( "\n" ); document.write( "The restriction is the domain. In other words, the restriction will be the value(s) we can safely replace x with in the final answer without producing division by zero.\r
\n" ); document.write( "\n" ); document.write( "For the fraction, (3x + 2)/(x + 2), x can be all real numbers
\n" ); document.write( "EXCEPT x CANNOT = -2. If you replace x with -2 in the above fraction, you will create division by zero, which does not exist or is UNDEFINED.\r
\n" ); document.write( "\n" ); document.write( "So, f(g(x)) = (3x + 2)/(x + 2) with restriction x = all real numbers EXCEPT that x cannot = -2.\r
\n" ); document.write( "\n" ); document.write( "Is this clear?\r
\n" ); document.write( "\n" ); document.write( "======================================================\r
\n" ); document.write( "\n" ); document.write( "To find or evaluate g(f(x)), we replace every x that you see for
\n" ); document.write( "g(x) with -4x + 3 and simplify.\r
\n" ); document.write( "\n" ); document.write( "g(f(x)) = g(-4x + 3)\r
\n" ); document.write( "\n" ); document.write( "Then:\r
\n" ); document.write( "\n" ); document.write( "g(-4x + 3) = 1/(-4x + 3) + 2\r
\n" ); document.write( "\n" ); document.write( "We simplify the denominator in the fraction 1/(-4x + 3) + 2 and we get:\r
\n" ); document.write( "\n" ); document.write( "1/(-4x + 5)\r
\n" ); document.write( "\n" ); document.write( "So, g(f(x)) = 1/(-4x + 5) with restriction or domain x = all real numbers \r
\n" ); document.write( "\n" ); document.write( "EXCEPT x cannot = 5/4 because the fraction 5/4 will
\n" ); document.write( "create division by zero in the fraction 1/(-4x + 5), which does not exist or is UNDEFINED.\r
\n" ); document.write( "\n" ); document.write( "Did you follow?\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );