Skip to content

Search topics

Practise for free Sign in

Calculator Algebra and functions

Modulus equation solver

In one sentence

Solves |ax + b| = c for x.

Last checked Source: uk-dfe-alevel-maths-subject-content Source: Department for Education, GCE AS and A level subject content for mathematics (topics derived; every example and value computed here), uk-dfe-alevel-maths-subject-content www.gov.uk (opens in a new tab)

Key facts

Modulus equation solver

Formula ref
ax + b = c or ax + b = −c
Topic
Algebra and functions

Inputs

  • a, b: coefficients
  • c: non-negative

Worked input

  • Input |3x − 2| = 10.
  • 3x − 2 = 10 gives x = 4; 3x − 2 = −10 gives x = −8/3.
  • Both satisfy the original equation.
  • Take |2x + 1| = 7, an ordinary modulus equation with a positive right-hand side, so two branches are needed. The positive branch 2x + 1 = 7 gives x = 3 and the negative branch 2x + 1 = −7 gives x = −4. The two branches of a modulus equation come from the sign of the expression inside, and each branch must be solved separately and then checked against the original equation. Check: |2 × 3 + 1| = 7 and |2 × (−4) + 1| = |−7| = 7, so both values satisfy the original.
  • Take |4x − 8| = 0, where the right-hand side is zero, so the positive and negative branches collapse into the same equation. Both give 4x − 8 = 0, so there is exactly 1 solution, x = 2. When the right-hand side is zero both branches coincide, so there is only one solution, and a student who lists two answers has not noticed that the plus and minus versions are the same equation. Check: a modulus is zero only when its content is zero, so 4 × 2 − 8 = 0 is the only way to satisfy it.
  • Take |3x − 1| = −5, a modulus set equal to a negative number, which is the case the tool must reject. The number of solutions is 0, and no value of x helps. A negative right-hand side has no solution at all, because a modulus measures a distance, and recognising this at once avoids pages of pointless algebra. Check: a modulus is never negative, so |3x − 1| ≥ 0 can never equal −5.

How to use it

  • Enter a, b, c.
  • If c < 0 there is no solution.
  • Check both answers.

Modulus equation solver in your study of A-level maths, set out with its source.

Related pages include Graph transformation tracker, Gradient calculator, Distance between two points calculator and Inverse of a linear function.

Study brief

  • For students preparing for the Pearson Edexcel Level 3 Advanced GCE in Mathematics, understanding the modulus of a linear function is a key requirement. The modulus of a value a is denoted as |a|. When working with equations involving the modulus, such as y = |2x - 1|, learners should be capable of sketching the graph to solve the equation. Students are expected to understand and use graphs of functions to assist in these mathematical processes. Additionally, modulus notation is used within the context of convergent geometric series, where the condition |r| < 1 must be met to find the sum to infinity. Mastering these graphing and notation techniques is essential for tackling algebra and series problems within the curriculum. These skills support the ability to handle complex equations and sequences, ensuring students can model various mathematical scenarios accurately using the necessary algebraic properties and functional representations.

Practise for free

Test yourself with exam-style questions and see why each answer is right or wrong.

Start practising
Free practice, no card Start without an account Sources checked Every fact names its official source
Works on any device Phone, tablet or desktop
Contact us Questions or a correction