Absolute Value Graph Sketching: $||X-1|-1|$

Absolute Value Graph Sketching: $||X-1|-1|$
$\begingroup$

Where would you start if you were told to plot:

$$||x-1|-1|$$

I looked at just $f(x) = |x-1|$ and noticed that the two equations are: $\pm (x-1)$ for $x \geq 1$ and $x < 1$. Extrapolating then: $\pm(\pm(x-1)-1)$, but how would I know which regions which equation would work for?

$\endgroup$
1

3 Answers

$\begingroup$

1) $y=|x|$

2) $y=|x-1|$

3) $y=|x-1|-1$

4) $y=||x-1|-1|$

$\endgroup$
2
$\begingroup$

If you know the graph of $f(x)$, then the graph of $|f(x)|$ is just the result of “folding” $f$ about to the $x$ axis. Hence, plotting $f(x) = \bigl\lvert \lvert x - 1 \rvert - 1 \bigr\rvert$ goes like this.

  1. Plot $y = x - 1$ and fold the portion of it that lies below the $x$ axis over the $x$ axis. The result is the graph of $\lvert x - 1 \rvert$.

  2. Then shift this graph downward by $1$ and do the same folding again. Then you will get $\bigl\lvert \lvert x - 1 \rvert - 1 \bigr\rvert$.

$\endgroup$
4
$\begingroup$

Start by drawing $y = |x|$. Now move it right one and you get the graph of $y = |x - 1|$. Next yank it down one and get the graph of $y = |x-1|-1$. Finally, reflect up the stuff below the $x$-axis and you are done.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Marcus Vance
Author

Marcus Vance

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.