document.write( "Question 249140: Find f(g(2)) if f(x)=sqroot of x+2 and g(x)=2x+3 \n" ); document.write( "
Algebra.Com's Answer #181510 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
f(x) = sqrt(x+2)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "g(x) = (2x+3)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you want:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "f(g(2))\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "first find g(2)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "in the equation of g(x) = (2x+3), you replace x with 2 to get:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "g(2) = (2*2 + 3) = 4+3 = 7\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "in the equation of f(x) = sqrt(x+2), you replace x with g(x) to get:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "f(g(x) = sqrt(g(x)+2)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "since g(x) = 7, you replace g(x) with 7 to get:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "f(7) = sqrt(7+2) = sqrt(9) = 3\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the equation is the rules by which you relate the independent variable to the dependent variable.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the independent variable is the variable that does not depend on any rules to establish a value for it.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the dependent variable is the variable that depends on the rules of the equation to establish a value for it.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "when x is a certain value, y has to be a certain value.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x is also called the argument of the function.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the argument of the function is the variable that the rules of the equation are working on.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "y = f(x) = x^2 means the independent variable in the equation is x.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "y = f(a) = a^2 means the independent variable in the equation is a. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the rules are the same.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the only difference is the variable that the equation is working with.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "that is why when you say f(x) = x^2, f(x) becomes the dependent variable and x is the independent variable.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "when you say f(2) using the same equation, then the rules stay the same but the independent variable becomes 2 instead of x.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "f(2) = 2^2 = 4.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "when you say f(g(x)), then the independent variable in the equation becomes g(x).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "g(x), however, was the dependent variable in another equation, so it's value had to be calculated before you could put it into f(g(x)).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "that's exactly what we did above.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "we solved for g(2) to get 7.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "then we solved for f(g(x)) to get f(7) = 3.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you are placing g(x) into the argument of the equation f(x) = sqrt(x+2) which means you are replacing the existing argument of x with the argument of g(x).\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );