Most lost points come from treating the bars as “erase the minus sign” instead of as an operation that waits until the inside is simplified. The sections below build the idea from the distance picture, then use it for equations, inequalities and graphs, with a check that catches bad answers.
What is the absolute value of a number?
Put a number on the number line and measure how many steps it is from zero. Direction does not matter, so and are both 7 steps away. That single picture is the whole concept, and the piecewise formula is only a way to write it for algebra:
The trap sits in the second line. The expression does not mean “a negative number”. It means “the opposite of ”, and the opposite of a negative number is positive. If , then , which is exactly why the formula works. It also explains why is true for every , zero included.
Absolute value is defined for every number in the real number system, integers, fractions and irrationals alike. One notation warning: the same vertical bar appears in number theory, where a|b means that a divides b. A matched pair of bars wrapped around an expression is absolute value; a single bar between two numbers is divisibility.
Quick check
Answer:
How do you find absolute value with negatives and fractions?

The bars behave like parentheses: simplify everything inside first, then take the distance, then apply anything outside the bars, such as a coefficient or a minus sign. This follows the same priorities as the order of operations, with the bars acting as a grouping symbol. So , because the bars produce and the outside minus sign then flips it.
Example 1. Evaluate .
First term: , and the outside minus makes it .
Second term: the inside needs a common denominator (the same skill as adding fractions with unlike denominators):
Combine: .
It works on a lone number, but not on an expression. In , deleting the minus gives , which is wrong. Simplify first to get .
Decimals work the same way: . For a quick mental check, estimate the inside as a signed number first, and only then drop the sign.
Why does the square root of x squared give the absolute value?
The square root symbol returns the nonnegative root only. Squaring erases the sign, and the root then returns the distance from zero, so , not . In general:
This is the single most useful link between absolute value and square roots. Writing is only correct when , and graders mark it wrong when could be negative. For example, , and the bars cannot be dropped until you know which side of the variable lives on.
The same fact gives a fast method for equations with bars on both sides. Since means the two quantities sit at equal distances from zero, the answer is or . For , the first case gives , so . The second gives , so . Both pass the check. The idea also holds for irrational values, where exactly, as covered in rational vs irrational numbers.
How does absolute value measure distance between two numbers?
The distance between and is . Order never matters, because and the bars discard the sign. The distance between and is , and reversing gives . If the double negatives feel shaky, review subtracting integers first.
This reading is the key to everything later. Read aloud as ” is 4 units from 3”. Those places are and , so you can solve it by inspection before touching any algebra. Read as ” is closer than 4 units to 3”, and the answer is every number between and .
When you see the form , the number is the center and the other number is the radius. Spotting that structure turns most textbook absolute value problems into a quick sketch on a number line.
Try this: Pick two numbers on opposite sides of zero, such as and . Compute and , then count the steps on a number line. All three results should be .
Quick check
Answer:
What rules does absolute value follow?
Multiplication and division pass through the bars cleanly, while addition and subtraction do not. That contrast explains most “why is my answer wrong” moments.
| Rule | Example |
|---|---|
| , | |
The first two rules hold because sign and size are independent: the sign rules from multiplying integers only decide whether the result is positive or negative, and the bars throw that decision away. Addition is different because opposite signs cancel before the bars act. With and , the left side is but .
The last row is the triangle inequality. Equality holds only when and have the same sign (or one is zero). The name comes from geometry: one side of a triangle is never longer than the other two sides added together. The statement is a false rule that students invent constantly, so test any suspicious step with a pair like and .
How do you solve an absolute value equation?

Solving means finding every place whose distance from zero equals . The process has a fixed order:
- Isolate the bars by moving everything else to the other side.
- Check the sign of the other side: if it is negative, there is no solution; if it is zero, solve only; if it is positive, continue.
- Split into two equations, and .
- Solve both and substitute each answer into the original equation.
Take . Subtract 3 to get . Then gives , and gives . Both work. The two cases exist because the properties of equality let you undo addition and multiplication, but nothing lets you “undo” bars directly, since two different inputs can produce the same output.
Step 4 is not optional when the variable also appears outside the bars, because one of the two cases can fail.
Example 2. Solve .
Check : the left side is and the right side is . It works.
Check : the left side is but the right side is . It fails, so it is an extraneous solution. The only answer is .
In , any solution needs . Here means , which rejects on sight and saves the substitution.
How do you solve absolute value inequalities?
Use the distance reading. The statement says is within of , and says is farther than from . Written as algebra:
- Less than: becomes , a single interval joined by “and”.
- Greater than: becomes or , two separate rays joined by “or”.
Two traps cost the most points. First, isolate the bars before splitting, and flip the inequality sign whenever you multiply or divide by a negative number. Second, watch the special cases: has no solutions, while is true for every real number, because a distance always beats a negative number.
Example 3. Solve .
The sign flipped when dividing by , which turned "" into "" and made this a “less than” case. Check a point inside: at , , which is true. Check a point outside: at , , which is not . The solution in interval notation is , with square brackets because the inequality includes equality.
What does the graph of an absolute value function look like?
The graph of is a V with its corner, the vertex, at the origin. The right arm is the line and the left arm is , so the graph is two straight lines with slopes and joined at a point. If you know slope-intercept form, you can sketch each arm in seconds, and this is the piecewise definition drawn out.
The general form has its vertex at . The number controls steepness and direction: a negative flips the V upside down. The classic trap is the horizontal shift, because moves the graph right by 2, not left. Rewrite as to see that it moves left.
Graphs also explain how many solutions an equation has. For the vertex is . Setting gives , so or : the horizontal line crosses the V twice. A line at touches only the vertex (one solution), and a line at misses the graph entirely (none). That matches the three cases from the equation section.
Quick check
Answer: Vertex , opens down
Where is absolute value used in real life?
Any time only the size of a gap matters and not its direction, absolute value is the tool. Manufacturing tolerances are the clearest case: a bolt that must be mm long within mm satisfies , which means . Thermostats, medicine doses and pH ranges all use the same center-and-radius structure.
Error measurement is another everyday use. Percent error compares the size of a miss with the true value:
If a scale reads when the true mass is , the error is . Without the bars, a reading that is too low would give a negative error, which is meaningless as a size. It differs from percent change, where the sign is kept because direction (increase or decrease) is the point.
The idea also scales up. In computing, the function abs() does exactly this operation. For a complex number, the absolute value (called the modulus) is the distance from the origin in the plane, so . For a vector, it is the length. Each of these is still “how far from zero”, which is why one simple definition keeps appearing across algebra, geometry and beyond.
Practice problems
0 of 5 solved
- Evaluate .
Answer:
Step 1: . Step 2: . Step 3: . - Solve .
Answer:
Step 1: Split into and . Step 2: or . Step 3: Check: and . - Solve .
Answer:
Step 1: Add 4, then divide by 3: . Step 2: gives , and gives . Step 3: Check : . - Solve .
Answer: or
Step 1: Greater than gives two pieces: or . Step 2: Dividing by flips each sign: or . Step 3: Test : , which is less than 5, so the middle is correctly excluded. - Solve .
Answer:
Step 1: The right side must be nonnegative, so . Step 2: gives , and gives . Step 3: , and the check gives on the left but on the right, so only works: .
Common questions
Is absolute value always positive?
It is always nonnegative, which is slightly different. The absolute value of any nonzero number is positive, but , and zero is neither positive nor negative.
What is the absolute value of a negative number?
It is the same number with the negative sign removed, because the distance from zero is the same in both directions. For example, .
How do you type or write the absolute value symbol?
Use two vertical bars around the number or expression, as in . On most keyboards the bar sits above the Enter key (Shift plus backslash). In code, the function is usually written abs(x).
Can an absolute value equation have no solution?
Yes. If the isolated absolute value equals a negative number, such as , no real number works, because a distance cannot be negative. Always isolate the bars before deciding how many cases to solve.
What is the difference between and ?
equals because the bars act first. equals because the bars give and then the outside minus sign flips it.
Why do absolute value equations have two answers?
Two different numbers can sit the same distance from a target. In , both and are four units from , so both are solutions.