sketch the graph of f(x)=|x-1|+|x-2|

Dear Student ,
Please find below the solution to the asked query :

fx=x-1 + x-2x-1=0  x=1x-2=0  x=2Now ,When x1Then,fx=- x-1 + - x-2 =-x+1-x+2=-2x+3When 1x2fx=x-1 + - x-2 =x-1-x+2=1When x2fx=x-1 + x-2 =x-1+x-2=2x-3Now , plot these equations of line to obtain graph

Hope this information will clear your doubts about the topic .
If you have any more doubts just ask here on the forum and our experts will try to help you out as soon as possible .


  • 3
What are you looking for?