Writing an Absolute Value Piecewise
Rewrite absolute values using the sign of the inner expression.
The bigger question: What does a function tell us—and what can it hide?
On this page
Idea
Absolute value measures distance from zero, so its result is nonnegative. A negative expression must have its sign reversed, while a nonnegative expression is left alone.
Method
For an expression , solve to locate the breakpoints before splitting into intervals.
Worked example
For , the breakpoint is . If , then and the value is . If , the value is . Both branches meet at zero when , producing a corner rather than a discontinuity.
Common mistake
is not generally . For , the two sides are and .
Check your understanding
Write piecewise.
Show answer
for , and for .
Explore
Try this. Switch functions and compare allowed inputs and outputs. Open circles exclude endpoints; filled circles include them.
Try it yourself.
Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.
Hint 1 · Find a starting point
The expression inside the absolute value is negative.
Hint 2 · Take the next step
For a negative a, |a|=−a.
Show the reasoning
Answer: 3−x
−(x−3)=3−x on this interval.
Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.
Pause before the next idea.
Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.