# The graph of g(x) results when the graph of f(x) = |x| is shifted 4 units to the right, what is the equation of g(x)?

Jul 10, 2017

$g \left(x\right) = \left\mid x - 4 \right\mid$

#### Explanation:

Here's what $f \left(x\right) = \left\mid x \right\mid$ looks like:

graph{abs(x) [-10, 10, -5, 5]}

If $g \left(x\right)$ is $f \left(x\right)$ shifted 4 units to the right. Then:

$g \left(x\right) = \left\mid x - 4 \right\mid$

As a side note, if the question was $g \left(x\right)$ was shifted 4 units up, then:
$g \left(x\right) = \left\mid x \right\mid + 4$