Modulus PDF
Modulus PDF
y= x,
x, if x > 0
x = 0, if x = 0 .
− x, if x < 0
Exercise 1. Can you draw the graph of y = x ? On the scales below plot the graph of
y = x , for x lying between − 5 and + 5 .
0
-5 -4 -3 -2 -1 0 1 2 3 4 5
-1
-2
-3
-4
-5
Graphs like this which are symmetric in the y-axis are known as even functions of x.
Even functions are defined by the property
y = f (x ) = f (− x ),
where here f stands for any function of x. For instance y = x 2 is an even function of x
as y = x 2 = (− x ) . Plot the graph of y = x 2 on the axes below. Is it symmetric in the y-
2
axis?
0
-5 -4 -3 -2 -1 0 1 2 3 4 5
-1
-2
-3
-4
-5
Exercise 2 Can you plot the graphs of y = x + 1 and y = x − 1 . To help you, fill in the
table of y values below.
x y = x +1 y = x −1 y = x +1
-5
-4
-3
-2
-1
0
1
2
3
4
5
Now can you plot the graphs? Plot them both on the axes overleaf.
What do you have to do to your original graph of y = x , to obtain these two new
graphs?
The procedure you have just described is called a translation (which is just a special
word for a movement) along the y-axis. Many graphs can be obtained by using
translations. For instance we can plot the curve of the graph y = 2 + x 2 , from our
knowledge of the curve y = x 2 , simply by translating the curve of the latter 2 units up
along the y-axis.
0
-5 -4 -3 -2 -1 0 1 2 3 4 5
-1
-2
-3
-4
-5
Exercise 3. Can you plot the graph of y = x + 1 ? To help, first calculate the y values
for x = −5, − 4,......, 4, 5 and list them in the table on the previous page. Then using
these values plot the graph on the axes below.
0
-5 -4 -3 -2 -1 0 1 2 3 4 5
-1
-2
-3
-4
-5
Exercise 4 More applications of the modulus function. On the attached sheet the
graph of the curve y = x 4 − 5 x 2 + 4 is plotted. Is this an even function?
On the same graph can you plot y = x 4 − 5 x 2 + 4 , without doing any calculations?
x
On the second attached sheet there is a plot of the curve y = . On the same
x +1
2
x x
y= , y= .
x +1
2
x +1
2
Hints: First determine how many matches each box must contain for them to all have
the same amount. Now suppose the number of matches that are moved from box 1 to
box 2 (say) to give this number, is equal to x. (Note x could be negative, in which case
we must shift the matches the other way, from box 2 to box 1.) Now box 2 contains
9 + x matches. How many matches must be moved from box 2 to box 3 to give the
number we are interested in? How many matches are now in box 3 and how many
must be shifted to box 4? Carry on like this all the way around. Write down a formula
for the total number of matches shifted (it should be something like question 1 above)
and minimize it.