## Calculus: Early Transcendentals 8th Edition

$f(x)=x+|x|$ $f(-2)=-2+|-2|\Rightarrow f(-2)=0$ $f(-1)=-1+|-1|\Rightarrow f(-1)=0$ $f(0)=0+|0|\Rightarrow f(0)=0$ $f(1)=1+|1|\Rightarrow f(1)=2$ $f(2)=2+|2|\Rightarrow f(2)=4$ Plot the set of points: $(-2,0),(-1,0),(0,0),(1,2),(2,4)$ Algebraically, we have, for $x\ge0$: $x+|x|=x+x=2x$ And for $x\lt0$: $x+|x|=x-x=0$