The modulus function[note 1] returns the magnitude of . For instance, will return , will return .
The modulus function can be defined as .
The modulus function as a graph.
Graphing the modulus function
Graphs of the modulus function are just a straight-line graph that has been reflected for negative output values. The graph of is like the graph of except that every point below the x-axis folds upwards to produce a V-shaped graph.
Here is an interactive graph which shows the relationship between the graph of a line and the graph of the modulus of that line.
Solving Equations & Inequalities
To solve equations and inequalities involving the modulus function, we can square both sides.
e.g. Solve
An alternative method is to look at the places where the functions inside the modulus change sign, i.e. where .
changes sign at
changes sign at
Dividing Polynomials
Dividing polynomials uses the same method as dividing numbers with long division.
Dividing Numbers
Suppose we need to find . We can use the method of long division:
______
17|22253
__1___
17|22253 17 goes into 22 once with 5 left over
-17↓
52 Next we bring down the 2
__13__
17|22253
-17↓↓
52↓ 17 goes into 52 thrice with 1 left over
-51↓
15 Next we bring down the 5
__1309
17|22253
-17↓↓↓ 17 doesn't go into 15, so we bring down the 3
52↓↓
-51↓↓
153 17 goes into 153 nine times with nothing left over
-153
0
Thus,
Dividing Polynomials
We can use the same method to divide polynomials.
e.g.
____________________
x + 1 |x^3 + 2x^2 + 2x + 1
________x^2_________
x + 1 |x^3 + 2x^2 + 2x + 1 (x + 1) goes into (x^3 + 2x^2) x^2 times with x^2 left over
-(x^3 + x^2) ↓
x^2 + 2x Bring down the 2x
________x^2_+__x____
x + 1 |x^3 + 2x^2 + 2x + 1 (x + 1) goes into (x^2 + 2x) x times with x left over
-(x^3 + x^2) ↓ ↓
x^2 + 2x ↓ Bring down the 1
-(x^2 + x) ↓
x + 1
________x^2_+__x___1
x + 1 |x^3 + 2x^2 + 2x + 1 (x + 1) goes into (x + 1) once with nothing left over
-(x^3 + x^2) ↓ ↓
x^2 + 2x ↓
-(x^2 + x) ↓
x + 1
-(x + 1)
0
Thus,
The Remainder Theorem
A remainder occurs when the divisor does not fit into the dividend a whole number of times.