Notes 2
Notes 2
A modulus function is a function which gives the absolute value of a number or variable. It produces the magnitude
of the number of variables. It is also termed as an absolute value function. The outcome of this function is always
positive, no matter what input has been given to the function.
It is represented as y = |x|. The plotting of such graphs is also an easy method where the domain will be all values of
input say x (all real numbers) and range will be all values of function (y = f(x) = all positive real numbers and 0).
f(x) = |x|
Or
y = |x|
If x is positive then the output of the function f(x) will be x only. But if x is negative, then the output of x will be the
magnitude of x. Hence, we can redefine the modulus function as:
According to the above statement, if the value of x is greater or equal to 0, then the modulus function takes the actual
value. But if the value of x is less than 0, then the function takes minus of the actual values. Let us see some examples
to understand it:
x<0 x≥0
x -3 -2 -1 0 1 2 3
y 3 2 1 0 1 2 3
As per the given values above, the graph of modulus function is plotted here.
You can see from the above graph, the values of modulus function stay positive for all the values of x, such as;
= - x, x < 0
(b) |x| ≥ a ⇒ x ≤ -a or x ≥ a a ≥ 0
or x ≤ 0 y ≤ 0
Example 1: Solve modulus and find the interval of x for |x2 – 5x + 6|