document.write( "Question 1104188: Please help me with this question: If f(x) = x^2-x-1 and f[g(x)]=4x^2 + 10x + 5, find g(x).
\n" ); document.write( "Any help will be greatly appreciated!
\n" ); document.write( "

Algebra.Com's Answer #718924 by KMST(5328)\"\" \"About 
You can put this solution on YOUR website!
There has to be a better way, but here it goes.
\n" ); document.write( "If f[g(x)] =\"4x%5E2+%2B+10x+%2B+5\"
\n" ); document.write( "\"g%28x%29\"=\"f%5E-1\"{ f[g(x)] } =\"f%5E-1%284x%5E2+%2B+10x+%2B+5%29\"
\n" ); document.write( "To find the inverse function of \"f%28x%29=x%5E2-x-1\" , \"graph%28300%2C300%2C-5%2C5%2C-2%2C8%2Cx%5E2-x-1%29\" ,
\n" ); document.write( "we exchange \"x\" and \"y\" in
\n" ); document.write( "\"y=x%5E2-x-1\" to get \"x=y%5E2-y-1\" and then solve for \"y\" .
\n" ); document.write( "We get \"y=%281+%2B-+sqrt%284x%2B5%29%29%2F2\" , .
\n" ); document.write( "That is really two functions,
\n" ); document.write( "and when working with real numbers,
\n" ); document.write( "it is only defined for \"x%3E=-5%2F4\" ,
\n" ); document.write( "but we continue, to see what we can get.
\n" ); document.write( "If \"f%5E-1%28x%29=%281+%2B+sqrt%284x%2B5%29%29%2F2\"
\n" ); document.write( " .
\n" ); document.write( "So, \"highlight%28g%28x%29=2x%2B3%29\" is a solution.
\n" ); document.write( "
\n" ); document.write( "NOTES:
\n" ); document.write( "1) There was no problem with \"f%5E-1%28x%29=%281+%2B+sqrt%284x%2B5%29%29%2F2\" being defined only for \"x%3E=-5%2F4\" ,
\n" ); document.write( "because we are going to apply it to
\n" ); document.write( "\"4x%5E2+%2B+10x+%2B+5=%282x%2B5%2F2%29%5E2-5%2F4%3E=-5%2F4\" .
\n" ); document.write( "2)
\n" ); document.write( "Would we get another solution out of \"f%5E-1%28x%29=%281-sqrt%284x%2B5%29%29%2F2\" ?
\n" ); document.write( "Let's check.
\n" ); document.write( "In that case, we would have
\n" ); document.write( " .
\n" ); document.write( "If \"f%28-2x-2%29=4x%5E2+%2B+10x+%2B+5\" ,
\n" ); document.write( "\"f%5E-1%284x%5E2+%2B+10x+%2B+5%29=-2x-2\" could be another \"g%28x%29\" .
\n" ); document.write( "Let's see.
\n" ); document.write( "\"f%28-2x-2%29=%28-2x-2%29%5E2-%28-2x-2%29-1=4x%5E2%2B4x%2B1%2B2x%2B2-1=4x%5E2%2B6x%2B1\"
\n" ); document.write( "No. It does not work.
\n" ); document.write( "
\n" );