document.write( "Question 1087149: Consider the function f(x)= |x-1|+|x-2|\r
\n" );
document.write( "\n" );
document.write( "Show that f(x)= -2x+3, if x ≤ 1
\n" );
document.write( "1 if 1 < x < 2
\n" );
document.write( "2x-3 if x ≥ 2 \n" );
document.write( "
Algebra.Com's Answer #701422 by jim_thompson5910(35256)![]() ![]() ![]() You can put this solution on YOUR website! Given function: \n" ); document.write( "Let \n" ); document.write( "That means \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "We can write the absolute value functions, g(x) and h(x), into piecewise function form \n" ); document.write( "For g(x) we have \n" ); document.write( " ![]() \n" ); document.write( "which basically says \n" ); document.write( "and for h(x) we have \n" ); document.write( " ![]() \n" ); document.write( "which basically says \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "We have three intervals \n" ); document.write( "Interval A: the interval where \n" ); document.write( "Interval B: the interval where \n" ); document.write( "Interval C: the interval where \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Focus on interval A. Since \n" ); document.write( "Therefore, \n" ); document.write( "In short, \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Now move onto interval B. We have \n" ); document.write( " \n" ); document.write( "In short, \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Finally interval C. Now \n" ); document.write( "So, \n" ); document.write( "In short, \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "To recap, we found the following \n" ); document.write( " \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "Which can be combined to form the piecewise function \n" ); document.write( " ![]() \n" ); document.write( "So this proves that overall, \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "As visual confirmation, here is a graph showing a side by side comparision of f(x) and k(x). I let f(x) = |x-1|+|x-2| while k(x) is the piecewise function equivalent form. The two function curves are blue and brown respectively. As you can see, they are identical. If you laid them on the same xy coordinate system then you'd have the same graph. One function curve would overlap the other perfectly. \n" ); document.write( "Note: The graph was created with GeoGebra (free graphing software). \n" ); document.write( " |