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 #718920 by math_helper(2461)\"\" \"About 
You can put this solution on YOUR website!
I found it by trial and error, using hints from \"+f%28g%28x%29%29+=+4x%5E2+%2B+10x+%2B+5+\"\r
\n" ); document.write( "\n" ); document.write( "I assumed \"+g%28x%29+=+ax+%2B+b+\"
\n" ); document.write( "where a=2 because we need to end up with \"4x%5E2\"
\n" ); document.write( "and 2ab - a = 10 —> a(2b-1) = 10 (EDIT: because a=2, this implies b=3, missed that earlier)
\n" ); document.write( "Another hint/constraint is that \"+b%5E2+-+b+-+1+=+5+\" \r
\n" ); document.write( "\n" ); document.write( "I found a=2 and b=3 works. \"+g%28x%29+=+2x+%2B+3+\"
\n" ); document.write( "
\n" ); document.write( "—
\n" ); document.write( "Of course, this worked out because I guessed the proper form for g(x).
\n" ); document.write( "Maybe another tutor may have a more structured method. I'm often amazed at the talent base here.
\n" ); document.write( "—
\n" ); document.write( "
\n" ); document.write( "
\n" );