0
$\begingroup$

I'd like to ask you about the way to draw the number line for absolute value inequalities.

Is there any built-in tool?

In this case the input was $|x-6| > 3$.

My point is to achieve something like this:

enter image description here

$\endgroup$

1 Answer 1

4
$\begingroup$

Take a look at NumberLinePlot.

NumberLinePlot[Abs[x - 6] > 3, {x, -3, 15}]

Mathematica graphics

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.