document.write( "Question 78018: Graph the function and state the domain and range.\r
\n" ); document.write( "\n" ); document.write( "\"y=abs%28x-2%29\"
\n" ); document.write( "

Algebra.Com's Answer #55944 by bucky(2189)\"\" \"About 
You can put this solution on YOUR website!
\"y=abs%28x-2%29\"
\n" ); document.write( ".
\n" ); document.write( "The easiest way to graph this is to plot some values. If you think about it, one value to
\n" ); document.write( "look at is when x = +2. Why? Because when x = 2 the term inside the absolute value signs
\n" ); document.write( "becomes +2 - 2 or zero, and therefore, y = 0.
\n" ); document.write( ".
\n" ); document.write( "Next, you can find out what the value of y is when the graph crosses the y-axis. You can do
\n" ); document.write( "that by letting x = 0. (Think about it ... by setting x = 0, the corresponding value of
\n" ); document.write( "y has to be on the y-axis.) When x = 0 the quantity inside the absolute value signs becomes
\n" ); document.write( "0 - 2 = -2. And when you take the absolute value of -2 you get +2. So when x = 0 the corresponding
\n" ); document.write( "value of y is +2.
\n" ); document.write( ".
\n" ); document.write( "Next try a few negative values of x. Let's let x = -5 and you get:
\n" ); document.write( ".
\n" ); document.write( "\"y+=+abs%28-5+-+2%29+=+abs%28-7%29+=+%2B7\"
\n" ); document.write( ".
\n" ); document.write( "Now let x = -8 and you get:
\n" ); document.write( ".
\n" ); document.write( "\"y+=+abs%28-8+-+2%29+=+abs%28-10%29+=+%2B10\"
\n" ); document.write( ".
\n" ); document.write( "Next let's look at a few positive values of x. Let's give x a value of +5. The equation
\n" ); document.write( "becomes:
\n" ); document.write( ".
\n" ); document.write( "\"y+=+abs%285+-+2%29+=+abs%283%29+=+%2B3\"
\n" ); document.write( ".
\n" ); document.write( "Now let's give x a value of +8. The equation then becomes:
\n" ); document.write( ".
\n" ); document.write( "\"y+=+abs%288+-+2%29+=+abs%286%29+=+%2B6\"
\n" ); document.write( ".
\n" ); document.write( "In summary, we know that the following are points on the graph:
\n" ); document.write( ".
\n" ); document.write( "(+2, 0); (0, +2); (-5, +7); (-8, + 10); (+5, +3), (+8, +6)
\n" ); document.write( ".
\n" ); document.write( "You can get more points if you like by doing the same sort of process with different
\n" ); document.write( "values of x. Let's draw the graph and then discuss the domain and range. The graph is:
\n" ); document.write( ".
\n" ); document.write( "\"graph%28600%2C600%2C+-15%2C%2B15%2C-5%2C%2B20%2Cabs%28x-2%29%29\"
\n" ); document.write( ".
\n" ); document.write( "By looking at the graph, you can see that there is no limit on the value of x. You can
\n" ); document.write( "assign to x any value from minus infinity to plus infinity. However, look at the values
\n" ); document.write( "that y can take (the range). You can get y = 0 and y = any positive value, depending
\n" ); document.write( "on what value you assign to x. But you can never get a value of y that is negative.
\n" ); document.write( "So you can say that y must be equal to or greater than zero. In summary the domain is:
\n" ); document.write( ".
\n" ); document.write( "-oo < x < + oo (where oo stands for infinity)
\n" ); document.write( ".
\n" ); document.write( "and the range is:
\n" ); document.write( ".
\n" ); document.write( "0 <= y (where <= represents greater than or equal to)
\n" ); document.write( ".
\n" ); document.write( "Hope this helps you to understand the concept of absolute value a little more. When you
\n" ); document.write( "take the absolute value of a quantity, the result is a positive value.
\n" ); document.write( "
\n" );