Find the maximum and minimum values of f(x) on the given intervals.

f(x)=abs(x+1)+abs(x-1)

1>x<4 Should be greater/less than or equal to, but I dont know how to type that in.

I know how to approach normal fxns but with the absolute values I don't know. I know to just take the derivitive, set equal to zero, and solve for x, giving you the critical points. Thanks for the help!