The Modulus Function
The Modulus Function
The modulus of a number is the size of the number, whether it is negative or positive, for example the modulus of is and the modulus of is .
Modulus Notation
The following notation is relevant to the modulus:
- The modulus of a number, e.g. is written as .
- Generally, for , and for
- Functions also have a modulus: e.g. if , then
- when and when
- If the modulus is inside the function, e.g. , then you apply the modulus to the -value before applying the function, i.e.
Graphs of Modulus Functions – Straight Lines
There are types of modulus graphs that you may be asked to draw:
- – all negative values of are made positive, by reflecting the negative section of the graph of in the -axis. This restricts the range to (or a subset within , e.g. .
- – the negative -values give the same result as the corresponding positive -values, so the graph of for is reflected in the -axis, for negative -values.
- – the -values swap sign (i.e. from positive to negative of from negative to positive), so the graph of is reflected in the -axis. Then, all negative values of are made positive by reflecting the negative section of the graph of in the -axis. The range is restricted, as with .
The best and easiest way to draw these graphs is to plot the graph of first, and then reflect it in the appropriate axis or axes.
Example: For , sketch the graphs of
Graphs of Modulus Functions – Quadratics and Cubics etc.
For modulus graphs where the function is a quadratic or cubic etc. the same rules apply as for straight lines – however, sketching them will be a little bit harder.
Example: For , sketch the graphs of
Solving Modulus Equations Graphically
To solve modulus equations of the form or , you can solve them graphically, using the following method:
Step 1: Sketch the graphs of and , on the same pair of axes.
Step 2: Work out the ranges of for which and from the graph.
e.g. for or and for
Step 3: Use step 2 to write new equations, one that holds for each range of :
for or
for
Step 4: Solve each equation in turn and check that the solutions are valid, and remove any that are outside the range of for that equation.
Step 5: Check that the solutions look correct, by looking at the graph.
Note: Use the same method for , by replacing with .
Solving Modulus Equations Algebraically
For equations of the form and you can solve them algebraically instead of graphically – if you feel that you understand the topic well enough.
Example: Solve
Step 1: Solve for positive values:
Step 2: Solve for negative values:
Step 3: Combine the solutions:
The solutions are and
For equations of the form , it is easier to do solve them algebraically, using the following rule:
“If , then ”
So if , then
Example: Solve
Step 1: Square both sides:
Step 2: Expand and simplify:
Step 3: So, the solutions are:
and
Note:
You can also solve modulus inequalities using these methods. The graphical method of solving inequalities will be helpful, since there will often be a quadratic involved. Another rule that will be helpful is:
Example 1: Solving Modulus Equations Graphically – Straight Lines
Solve
[3 marks]
Step 1: Sketch the graphs of and on the same pair of axes.
Step 2: Work out the ranges of for which and from the graph:
for and for
Step 3: Use step 2 to write new equations, one that holds for each range of :
(1) for
(2) for
Step 4: Solve each equation in turn and check that the solution are valid, and remove any that are outside the range of for that equation.
Solving (1): (this is valid since )
Solving (2): (this is valid since )
Step 5: Check that the solutions look correct, by looking at the graph. The two solutions appear to be correct.
Example 2: Solving Modulus Equations Graphically – Quadratics and Cubics etc.
Solve
[4 marks]
Step 1: Sketch the graphs of and on the same pair of axes.
Step 2: Work out the ranges of for which and from the graph:
for or
and for
Step 3: Use step 2 to write new equations, one that holds for each range of :
(1) for or
(2) for
Step 4: Solve each equation in turn and check that the solution are valid, and remove any that are outside the range of for that equation.
Solving (1): and (this is valid since and )
Solving (2): and (this is valid since and both lie within )
Step 5: Check that the solutions look correct, by looking at the graph. The four solutions appear to be correct.
The Modulus Function Example Questions
Question 1: For the function , find the following:
a)
b)
c)
d)
[4 marks]
Question 2:
a) For the function , , sketch the graphs of:
i)
ii)
iii)
b) Hence, or otherwise, solve the equation
[7 marks]
a)i) The negative section needs to be reflected in the -axis:

ii) For the negative -values, reflect the line in the -axis:

iii) Reflect in the -axis, and then reflect the negative section in the -axis:

b)
Firstly, sketch the graphs of (using part a)i)) and on the same pair of axes:

when and when
So, we can form two equations:
(1) for
(2) for
Then, we can solve these:
Solving (1): for (this is valid since )
Solving (2): for (this is valid since )
From looking at the graph, both solutions seem to be correct.
Question 3: Solve the equation
[3 marks]
Question 4: Solve the equation
[3 marks]
Actually, we need not do any calculation at all. On the left side of the equation, we have , which is defined to be always positive.
However, the right side of the equation is always negative (as we have multiplied by an always-positive term).
We can conclude, then, that there could only be a solution if both graphs meet at the -axis.
However, this is not the case as the first graph touches the -axis at while the second graph touches the -axis at .
Hence, there are no solutions.
Question 5: Solve the equation
[4 marks]
Specification Points Covered
B7 – Understand and use graphs of functions; sketch curves defined by simple equations including polynomials], the modulus of a linear function.
and (including their vertical and horizontal asymptotes);
interpret algebraic solution of equations graphically; use intersection points of graphs to solve equations
Understand and use proportional relationships and their graphs