document.write( "Question 1190912: Explain the transformations you would need to apply to the graph of y=f(x) to graph the function\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "y=-f(1/4x+6) -7
\n" ); document.write( "

Algebra.Com's Answer #822672 by greenestamps(13216)\"\" \"About 
You can put this solution on YOUR website!


\n" ); document.write( "For clarity, rewrite the new function as

\n" ); document.write( "\"y=-f%28%281%2F4%29x%2B6%29-7\"

\n" ); document.write( "Then rewrite the new function in the form

\n" ); document.write( "\"y=a%2Af%28b%28x-c%29%29%2Bd\"

\n" ); document.write( "The transformations will be, in order,

\n" ); document.write( "(1) translation of c units
\n" ); document.write( "(2) horizontal compression by a factor of b
\n" ); document.write( "(3) vertical stretch by a factor of a
\n" ); document.write( "(4) vertical translation by d

\n" ); document.write( "Note the \"(1/4)x+6\" needs to be rewritten as \"(1/4)(x+24)\".

\n" ); document.write( "The rest is straightforward....

\n" ); document.write( "\"y=-f%28%281%2F4%29x%2B6%29-7\" --> \"y=%28-1%29%28f%28%281%2F4%29%28x-%28-24%29%29%29%29%2B%28-7%29\"

\n" ); document.write( "That gives us a=-1, b=1/4, c=-24, and d=-7

\n" ); document.write( "The transformations are then, in order,
\n" ); document.write( "(1) translation 24 units left
\n" ); document.write( "(2) horizontal compression by a factor of 1/4
\n" ); document.write( "(3) vertical stretch by a factor of -1 (i.e., reflect over the x-axis)
\n" ); document.write( "(4) vertical translation down 7

\n" ); document.write( "-----------------------------------------------------------------------

\n" ); document.write( "In reply to the student's comment....

\n" ); document.write( "A horizontal compression by a factor of a is a horizontal stretch by a factor of 1/a. So in this example, the compression by a factor of 1/4 is a stretch by a factor of 4.

\n" ); document.write( "That is the correct interpretation.

\n" ); document.write( "As an example, consider f(x)=sin((1/4)x). The compression factor is 1/4 which means there is a horizontal stretch by a factor of 4.

\n" ); document.write( "This is correct, because the function sin((1/4)x) completes a cycle every 8pi (\"0%3C=%281%2F4%29x%3C-2pi\" --> \"0%3C=x%3C=8pi\"), while the function sin(x) completes a cycle every 2pi -- the graph is stretched horizontally by a factor of 4.

\n" ); document.write( "
\n" ); document.write( "
\n" );