document.write( "Question 639388: Given that a(x)=x^2-5 and b(x)=6x+1
\n" ); document.write( "Evaluate (aob)(x) and (boa)(x)\r
\n" ); document.write( "\n" ); document.write( "I understand that this is (fog)(x) and (gof)(x)
\n" ); document.write( "So a(b(x)) is how I should insert the functions, but I'm not sure if I'm doing it right? Please help,
\n" ); document.write( "Thank You
\n" ); document.write( "

Algebra.Com's Answer #402716 by jim_thompson5910(35256)\"\" \"About 
You can put this solution on YOUR website!
The idea is to start with the outer function first. Then replace the input with the inner function.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "a(x) = x^2-5\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "a(b(x)) = (b(x))^2-5 ... Replace ALL 'x' terms with b(x)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "a(b(x)) = (6x+1)^2-5 ... Replace b(x) on the right side with 6x+1 (since b(x) = 6x+1)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I'll let you expand and simplify this.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-------------------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Now we reverse what we just did \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "b(x)=6x+1\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "b(a(x))=6(a(x))+1\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "b(a(x))=6(x^2-5)+1\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I'll let you simplify.
\n" ); document.write( "
\n" ); document.write( "
\n" );