document.write( "Question 218207: Can someone help me with this please. IF f(x)=3x+1, and g(x)=(x^*2+5x)^*-1/2, find g(f(x)). Any explanation on how to do it would be appreciated.. \n" ); document.write( "
Algebra.Com's Answer #164366 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
This would look like the following if my assumption about what you are writing are correct:
\n" ); document.write( "-----
\n" ); document.write( "Whether my assumptions are correct or not, the concept is the same and you can apply it to the correct formula if I got it wrong.
\n" ); document.write( "-----
\n" ); document.write( "the function is a set of rules that operate on the argument to get a result.
\n" ); document.write( "If you say f(x) = x^2, then the function name is f and the argument is x and the set of rules are to square the argument to get a result.
\n" ); document.write( "-----
\n" ); document.write( "If you let x = 3, then f(x) = x^2 becomes f(3) = (3)^2
\n" ); document.write( "the name of the function is the same,
\n" ); document.write( "the argument changes from x to 3.
\n" ); document.write( "the set of rules is the same and operates on the argument which in this case is 3 rather than x.
\n" ); document.write( "the only thing you changed is the argument. everything else remains the same.
\n" ); document.write( "-----
\n" ); document.write( "now change the argument to (x^3)
\n" ); document.write( "f(x) = x^2 becomes f(x^3) = (x^3)^2 = x^6
\n" ); document.write( "the name of the function is the same.
\n" ); document.write( "the set of rules is the same.
\n" ); document.write( "the argument has changed so the same set of rules is being applied to the new argument of (x^3) rather than x.
\n" ); document.write( "-----
\n" ); document.write( "this is exactly what you are doing when you take g(f(x))
\n" ); document.write( "the argument that was x is being replaced with f(x)
\n" ); document.write( "-----
\n" ); document.write( "your equations are:
\n" ); document.write( "-----
\n" ); document.write( "f(x)=3x+1
\n" ); document.write( "and:
\n" ); document.write( "g(x)=(x^2+5x)^(-1/2)
\n" ); document.write( "-----
\n" ); document.write( "your first function is f(x) = 3x+1.
\n" ); document.write( "the argument is x and the function being performed is to take 3 times it and add 1 to it.
\n" ); document.write( "-----
\n" ); document.write( "your second function is g(x) = (x^2 + 5x)^(-1/2)
\n" ); document.write( "the argument is x and the function being performed is to square it and then add 5 times it and then raise the sum of them to the (-1/2) power.
\n" ); document.write( "-----
\n" ); document.write( "when you take g(f(x)), then the argument becomes f(x) rather than x. Since f(x) = (3x+1), then the new argument is (3x+1) and the function being performed remains the same except it is operating on (3x+1) rather than x.
\n" ); document.write( "-----
\n" ); document.write( "the function g(x) operating on the argument x is:
\n" ); document.write( "g(x) = (x^2 + 5x)^(-1/2)
\n" ); document.write( "-----
\n" ); document.write( "the function g(x) operating on the argument (3x+1) is:
\n" ); document.write( "g(f(x)) = g(3x+1) = ((3x+1)^2 + 5*(3x+1))^(-1/2)
\n" ); document.write( "-----
\n" ); document.write( "These formulas look like the following after putting them through the formula generating functions of algebra.com:
\n" ); document.write( "-----
\n" ); document.write( "\"f%28x%29=3x%2B1\"
\n" ); document.write( "-----
\n" ); document.write( "\"g%28x%29=%28x%5E2%2B5x%29%5E%28-1%2F2%29\"
\n" ); document.write( "-----
\n" ); document.write( "\"g%28f%28x%29%29+=+g%283x%2B1%29+=+%28%283x%2B1%29%5E2+%2B+5%2A%283x%2B1%29%29%5E%28-1%2F2%29\"
\n" ); document.write( "-----
\n" ); document.write( "This is your answer and should be correct, but you can simplify it further if you wish.
\n" ); document.write( "-----
\n" ); document.write( "This means to remove parentheses and combine like terms and take the negative out of the exponent I believe.
\n" ); document.write( "-----
\n" ); document.write( "We'll do that and see what we get.
\n" ); document.write( "-----
\n" ); document.write( "your equation of:
\n" ); document.write( "\"g%28f%28x%29%29+=+g%283x%2B1%29+=+%28%283x%2B1%29%5E2+%2B+5%2A%283x%2B1%29%29%5E%28-1%2F2%29\"
\n" ); document.write( "becomes:
\n" ); document.write( "\"g%283x%2B1%29+=+1%2F%289x%5E2+%2B+21x+%2B+6%29%5E%281%2F2%29\"
\n" ); document.write( "-----
\n" ); document.write( "How do we know we did this right?
\n" ); document.write( "-----
\n" ); document.write( "take any value of x and place it in the original equations and then place it in the final equation and see if you get the same answer.
\n" ); document.write( "-----
\n" ); document.write( "let's take x = 7
\n" ); document.write( "-----
\n" ); document.write( "\"f%28x%29+=+3x%2B1\"
\n" ); document.write( "when x = 7, then:
\n" ); document.write( "\"f%287%29+=+3%2A7+%2B+1+=+22\"
\n" ); document.write( "-----
\n" ); document.write( "\"g%28x%29+=+%28x%5E2+%2B+5x%29%5E%28-1%2F2%29\"
\n" ); document.write( "when x = 22, then:
\n" ); document.write( "
\n" ); document.write( "-----
\n" ); document.write( "\"g%28f%28x%29%29+=+%28%283x%2B1%29%5E2+%2B+5%2A%283x%2B1%29%29%5E%28-1%2F2%29\"
\n" ); document.write( "when x = 7, then:
\n" ); document.write( "\"g%28f%287%29%29+=+%28%283%2A7%2B1%29%5E2+%2B+5%2A%283%2A7%2B1%29%29%5E%28-1%2F2%29\"
\n" ); document.write( "this becomes:
\n" ); document.write( "\"g%28f%287%29%29+=+%28%2822%29%5E2+%2B+5%2A%2822%29%29%5E%28-1%2F2%29\"
\n" ); document.write( "this becomes:
\n" ); document.write( "
\n" ); document.write( "-----
\n" ); document.write( "The answers come out the same so the formulas are equivalent.
\n" ); document.write( "g(x) when x = 22 is the same as g(f(x)) when x = 7.
\n" ); document.write( "-----
\n" ); document.write( "Your answer is:
\n" ); document.write( "\"g%283x%2B1%29+=+1%2F%289x%5E2+%2B+21x+%2B+6%29%5E%281%2F2%29\" simplified as far as I can take it.
\n" ); document.write( "-----
\n" ); document.write( "That same answer is:
\n" ); document.write( "\"g%28f%28x%29%29+=+g%283x%2B1%29+=+%28%283x%2B1%29%5E2+%2B+5%2A%283x%2B1%29%29%5E%28-1%2F2%29\" before the simplification process was done.
\n" ); document.write( "-----
\n" ); document.write( "
\n" );