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


Take a look at NumberLinePlot.

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

Mathematica graphics


Your Answer

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

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