### Home > PC3 > Chapter 2 > Lesson 2.3.3 > Problem2-158

2-158.

​Ryan’s calculator got a virus from a game he copied from a friend. The virus has made the absolute value function non-functional. He wants to graph the function $f\left(x\right)=|x-3|+4$ on his calculator. Rewrite $f(x)$ as a piecewise-defined function that will allow him to graph the function using two pieces.

The vertex of the "V" is at $x=3$, $y=4$.
What is the equation of the line for $x\ge3$?
What is the equation of the line for $x<3$?