document.write( "Question 231507: What are the steps to graphing the function y=-2|x-5|and compare the graph of y=|x| I was absent for 3 days and am trying to follow the text book and it is not helping. I've been looking at many websites and I am stuck. \n" ); document.write( "
Algebra.Com's Answer #171314 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
If the equation was just
\n" ); document.write( "\"y+=+abs%28x-5%29\", then
\n" ); document.write( "\"y%285%29+=+0\",
\n" ); document.write( "If \"x+%3E+5\", \"y+%3E+0\", also
\n" ); document.write( "If \"x+%3C+5\", \"y+%3E+0\"
\n" ); document.write( "So, this is just \"abs%28x%29\" shifted \"5\" units to the right
\n" ); document.write( "plotting:
\n" ); document.write( "\"+graph%28+400%2C+400%2C+-8%2C+8%2C+-8%2C+8%2C+abs%28x%29%2Cabs%28x-5%29%29+\"
\n" ); document.write( "Now I have to factor in \"-2\". But first think. If I have
\n" ); document.write( "an expression for \"x\" which equals \"y\", and I multiply
\n" ); document.write( "that expression by some number greater than zero, what does that do to
\n" ); document.write( "\"y\"? It makes every \"y\" greater, and that makes the slope
\n" ); document.write( "of the line steeper. The minus sign means the function gets
\n" ); document.write( "flipped over vertically.
\n" ); document.write( "Now I'll plot again \"abs%28x%29\" and \"-2%2Aabs%28x-5%29\"
\n" ); document.write( "\"+graph%28+400%2C+400%2C+-8%2C+10%2C+-8%2C+8%2C+abs%28x%29%2C-2%2Aabs%28x-5%29%29+\"
\n" ); document.write( "
\n" );