Skip to content
IGCSE·Tuition
Additional Mathematics · Lesson

Solve an equation involving an absolute value

The bars look harmless, yet many students write one answer and miss the second case.

On this page
  1. What does the modulus actually do?
  2. Method, step by step
  3. Worked example
  4. The mistake to watch for
  5. Check yourself
  6. Where this leads next

To solve an equation with an absolute value (modulus), split it into two cases: the expression inside equals the right side, or it equals the negative of the right side. Then substitute each answer back to confirm it works.

This is part of algebraic equations and inequalities and pairs naturally with solving a quadratic inequality using sign intervals, since both rely on thinking about where an expression is positive or negative.

What does the modulus actually do?

|a| means the distance of a from zero, so it always returns a value that is zero or positive. |5| = 5 and |−5| = 5.

Because the bars hide the sign, an equation |A| = B can only be true if A = B or A = −B, and only when B ≥ 0. That single sentence is the whole method.

Method, step by step

  1. Isolate the modulus on one side, if it is not already alone.
  2. Check the right side: if it is a number, it must be positive or zero. If it contains x, remember it must end up non-negative.
  3. Write two equations: inside = right side, and inside = −(right side).
  4. Solve both as ordinary linear equations.
  5. Substitute each answer into the original equation and reject any that fail.

Worked example

Solve |3x − 1| = 2x + 4.

Case 1: 3x − 1 = 2x + 4, so x = 5.

Case 2: 3x − 1 = −(2x + 4) = −2x − 4. Then 5x = −3, so x = −3/5.

Check x = 5: left side |15 − 1| = 14. Right side 10 + 4 = 14. Matches.

Check x = −3/5: left side |−9/5 − 1| = |−14/5| = 14/5. Right side −6/5 + 4 = 14/5. Matches.

Answer: x = 5 or x = −3/5.

Both cases passed, but the check was still essential. The right side 2x + 4 is negative for x < −2, and any answer below −2 would have had to be rejected.

The mistake to watch for

The usual slip is to solve only the positive case, or to apply the negative to only part of the right side.

Mistaken working: 3x − 1 = −2x + 4

The student negated the 2x but left the 4 alone, which changes the equation.

The negative applies to the whole right side, so it must be written with brackets: 3x − 1 = −(2x + 4). Expanding gives −2x − 4, and the solution x = −3/5 follows. Writing the brackets every time removes this error.

Check yourself

Try these, then open each answer.

1. Solve |x + 3| = 8.

Show answer

Case 1: x + 3 = 8, so x = 5. Case 2: x + 3 = −8, so x = −11. Check: |8| = 8 and |−8| = 8.

x = 5 or x = −11

2. Solve |4x − 5| = 3x.

Show answer

Case 1: 4x − 5 = 3x, so x = 5. Case 2: 4x − 5 = −3x, so 7x = 5 and x = 5/7.

Check x = 5: |15| = 15 and 3(5) = 15. Check x = 5/7: |20/7 − 35/7| = 15/7 and 3(5/7) = 15/7.

x = 5 or x = 5/7

3. Explain why |2x + 1| = −3 has no solution.

Show answer

An absolute value is a distance, so it cannot equal a negative number. No value of x can make |2x + 1| equal −3.

No solution

Where this leads next

The same habit of testing answers returns in rejecting an extraneous root after squaring. When you are ready, try the mixed practice set, and use the non-calculator working trainer to practise the exact-fraction checks.

Modulus questions reward careful case-writing more than speed. If you would like someone to watch how you set out cases and catch slips as they happen, our teachers do this in online one-to-one Additional Mathematics tuition.

Questions people ask

Why does |x| = 5 have two answers?

The modulus gives the distance from zero, and there are two numbers exactly 5 units from zero: 5 and −5. So x = 5 or x = −5. Any equation of the form |expression| = positive number splits into the expression equal to that number or equal to its negative.

Can an absolute value equal a negative number?

No. A modulus is a distance, so it is never negative. An equation such as |2x + 1| = −3 has no solution. Spotting this early saves time, especially when the right side is itself an expression that might be negative for some x.

Do I always have to check my answers?

Check them whenever the right side contains x. Solving the two cases can produce a value that makes the right side negative, and that value must be rejected. When the right side is a plain positive number, both cases are valid, but a quick substitution still confirms your arithmetic.

How is |x − 2| < 3 different from an equation?

It asks for every x within 3 units of 2, which gives −3 < x − 2 < 3, so −1 < x < 5. The same distance idea applies. The equation picks the two boundary points, and the inequality picks everything between them.

Updated:

Your next step

If modulus questions sometimes give you one answer and sometimes two with no clear reason why, a one-to-one teacher can work through your cases with you until the pattern is obvious.

Paid one-hour trial at your assigned teacher’s confirmed rate, starting from RM80.

Tuition is arranged with a parent or guardian. Send them this page on WhatsApp and they can enquire for you.

Parents: enquire here

  • 9,000+ students helped through our service
  • 9+ years helping IGCSE students