How do you graph f(x)=abs(x-3)+4f(x)=|x3|+4?

1 Answer
Feb 5, 2015

Actually there are two graphs

f(x)=(x-3)+4=x+1f(x)=(x3)+4=x+1
for all values of x>=3x3
and:
f(x)=-(x-3)+4=-x+7f(x)=(x3)+4=x+7
for all values of x<=3x3

The x=3x=3 is important, as at that point x-3x3 becomes negative and must be "saved" by the abs||-function.

At the value of x=3x=3 the two functions meet at (3,4)(3,4)
graph{abs(x-3)+4 [-28.88, 28.85, -14.43, 14.45]}