Modulus Function: Definition and Graphical Representation

Collegedunia Team logo

Collegedunia Team

Content Curator

Modulus function gives us the magnitude of the number i.e the absolute value of the number. Another name for the modulus function is the Absolute Value Function. The basic rule for this function in the simplest language is that it always returns a positive answer whatever variable is given as the input to the function. The modulus function in arithmetic is denoted by |x| and is also referred to as the distance between the number and 0 or its origin. 

Also Read: Onto Function

Keyterms: Absolute value, Modulus Function, Domain, range, Number Line, Straight Line, Real Number, Function, Variable

Also Read: Complex Numbers and Quadratic Equations


Definition of the Modulus Function

[Click Here for Sample Questions]

The modulus function is defined as the function of a variable ‘a’ where f(a) = |a|

  • If the value of a is positive then the value of f(a) is ‘a’ itself. 
  • If the value of a is negative, then the value of f(a) is ‘- (a)’.
  • Therefore, the formula definition for this function should be:
    • f(a) = { a where a >= 0 }
    • f(a) = -a where a < 0 } where a ∈ R

Also Read: Relations and Functions Ncert Solutions


Graph of the Modulus Function

[Click Here for Sample Questions]

Let us understand the logic behind the graph of the modulus function before we see how to draw it. Let us discuss about the domain and range of the function:

  • Domain - The values you input into the function. The value can be any real number. Therefore, the domain is R. 
  • Range - The values you get as output from the function. The values are always positive. Therefore, the range is [0,∞).
  • Therefore, the graph should be a straight line inclined at 45° on the positive side of the x-axis and a straight line inclined at -45° on the negative side of the x-axis.
Graph of the Modulus Function
Graph of the Modulus Function

Also Read: Relations and Functions Important Questions


Things to Remember

  • The graph is fairly simple to remember and an easy way to remember is thinking of it as the letter ‘V’ with the base of it in the center of the graph at (0,0).
  • The modulus function gives the value of the number/variable by making its sign positive if negative and the number itself if positive. For 0, it is simply 0.
  • Modulus is also referred to as the distance from 0 on the number line. Distance is always positive, displacement can be negative.
  • The domain of a modulus function is any real number while the range of a modulus function is all numbers from 0 to infinity including 0. That’s why it is represented with a square bracket → [0,∞)
  • When solving for the value of a variable in a question, after getting the values, always put the values in the equations and solve the equations to verify that no calculation mistakes have been committed.

Also Read:


Sample Questions

Ques 1. Find the value of the modulus function |x| for x = -5 and x = 10 (2 marks)

Ans. The formula for modulus function is |x| = x when x >= 0 and |x |= - x when x < 0 

Therefore, |x| = -(-5) = 5 when x = -5 and |x| = 10 when x = 10

Ques 2. Solve | x + 12 | = 9 and verify your solution. (4 marks)

Ans. The formula for modulus function is |x| = x when x >= 0 and |x |= - x when x < 0 

So, we will solve the equation with both values :

Equation 1: x + 12 = 9

x = 9-12

x = -3

Equation 2: x + 12 = -9

x = -9 - 12

x = -21

We can also verify our answer by putting the values in the equation like:

For the value of x = -3,

| -3 + 12 | = 9

| 9 | = 9

9=9

L.H.S =R.H.S

Hence Proved.

For the value of x = -21,

| -21 + 12 | = 9

| -9 | = 9

9=9

L.H.S =R.H.S

Hence Proved.

Ques 3. For the function y = | x - 3 |. What is y(-1)? (2 marks)

Ans. The formula for modulus function is |x| = x when x >= 0 and |x | = - x when x < 0 

So, we will solve the equation with x = -1 :

y = | x - 3 |

y = | -1 - 3 |

y = | -4 |

y = 4.

Therefore, y(-1) = 4.

Q.E.D

Ques 4. Solve | x | < 6 |, | 6x | > 24, | x | <= - 7 and | x - 15 | + 6 < 7 (4 marks)

Ans. The formula for modulus function is |x| = x when x >= 0 and |x |= - x when x < 0

| x | < 6 → x < 6 and x > -6

-6 < x < 6

Therefore, x (-6,6)

| 6x | > 24 

| x | > 4 → x > 4 and x < - 4

Therefore,  ( - ∞, - 4 ) ? [ 4, ∞ )

 | x | <= - 7

The modulus of any function can never be a negative number. Therefore, this has no solution.

| x - 15 | + 6 < 7

| x - 15 | < 1 → x - 15 < 1 and x - 15 > - 1

- 1 < x - 15 < 1

Adding 15 on all sides 

- 1 + 15 < x - 15 + 15 < 1 + 15

14 < x 16

Therefore, x (14, 16)

Ques 5. If f(x) = 3 | x |+ 2 is modulus, then plot the graph for this function. (4 marks)

Ans. The formula for modulus function is |x| = x when x >= 0 and |x |= - x when x < 0

So, for x < 0 → f(x) = -3x + 2 and for x >=0 → f(x) = 3x + 2

x < 0

x -1 -2
f(x) 5 8
x >= 0
x 0 1 2
f(x) 2 5 8

So, for x < 0 → f(x) = -3x + 2 and for x >=0 → f(x) = 3x + 2

Ques 6. Solve | x + 6 | = 18 and verify your solution. (4 marks)

Ans. The formula for modulus function is |x| = x when x >= 0 and |x |= - x when x < 0 

So, we will solve the equation with both values :

Equation 1: x + 6 = 18

x = 18-6

x = 12

Equation 2: x + 6 = -18

x = -18 - 6

x = -24

We can also verify our answer by putting the values in the equation like:

For the value of x = 12,

| 12 + 6 | = 18

| 18 | = 9

18=9

L.H.S =R.H.S

Hence Proved.

For the value of x = -24,

| -24 + 6 | = 18

| -18 | = 18

18=18

L.H.S =R.H.S

Hence Proved.

Ques 7. Find domain and range of y = | 3 - x | (2 marks)

Ans. Clearly, the domain can be any real number.

Therefore, the domain is R.

For range, | 3-x | is always greater than or equal to 0.

Thus, the range is [0, ∞).

Ques 8. For y = | x + 2 |. Find y(-3) and y(4) (3 marks)

Ans. The formula for modulus function is |x| = x when x >= 0 and |x | = - x when x < 0 

So, we will solve the equation with x = -3 :

y = | x + 2 |

y = | - 3 + 2 |

y = | -1 |

y = 1.

Therefore, y(-3) = 1.

Next, we will solve the equation with x = 4 :

y = | x + 2 |

y = | 4 + 2 |

y = | 6 |

y = 6.

Therefore, y(4) = 6

Q.E.D

Ques 9. Find the domain for y =x | x | and draw its graph. (3 marks)

Ans. Clearly, the domain can be any real number.

Therefore, the domain is R.

The graph can be plotted as:

Find the domain for y =x | x | and draw its graph

For Latest Updates on Upcoming Board Exams, Click Here: https://t.me/class_10_12_board_updates


Check-Out: 

CBSE CLASS XII Related Questions

  • 1.
    A line passing through the points \(A(1,2,3)\) and \(B(6,8,11)\) intersects the line \[ \vec r = 4\hat i + \hat j + \lambda(6\hat i + 2\hat j + \hat k) \] Find the coordinates of the point of intersection. Hence write the equation of a line passing through the point of intersection and perpendicular to both the lines.


      • 2.

        A rectangle of perimeter \(24\) cm is revolved along one of its sides to sweep out a cylinder of maximum volume. Find the dimensions of the rectangle. 


          • 3.

            Sports car racing is a form of motorsport which uses sports car prototypes. The competition is held on special tracks designed in various shapes. The equation of one such track is given as 

            (i) Find \(f'(x)\) for \(0<x>3\). 
            (ii) Find \(f'(4)\). 
            (iii)(a) Test for continuity of \(f(x)\) at \(x=3\). 
            OR 
            (iii)(b) Test for differentiability of \(f(x)\) at \(x=3\). 
             


              • 4.

                The probability of hitting the target by a trained sniper is three times the probability of not hitting the target on a stormy day due to high wind speed. The sniper fired two shots on the target on a stormy day when wind speed was very high. Find the probability that 
                (i) target is hit. 
                (ii) at least one shot misses the target. 


                  • 5.
                    Mother, Father and Son line up at random for a family picture. Let events \(E\): Son on one end and \(F\): Father in the middle. Find \(P(E/F)\).


                      • 6.
                        If \[ P = \begin{bmatrix} 1 & -1 & 0 \\ 2 & 3 & 4 \\ 0 & 1 & 2 \end{bmatrix} \quad \text{and} \quad Q = \begin{bmatrix} 2 & 2 & -4 \\ -4 & 2 & -4 \\ 1 & -1 & 5 \end{bmatrix} \] find \( QP \) and hence solve the following system of equations using matrix method:
                        \[ x - y = 3,\quad 2x + 3y + 4z = 13,\quad y + 2z = 7 \]

                          CBSE CLASS XII Previous Year Papers

                          Comments


                          No Comments To Show