Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store

Modulus Function

Reviewed by:
ffImage
hightlight icon
highlight icon
highlight icon
share icon
copy icon
SearchIcon

Modulus Function Definition

Modulus function is an interesting topic in Math and an important one from a competitive examinations’ point of view. The modulus function only gives a positive value of any variable or a number as the output. It is also known as the absolute value function because it gives a non-negative value for any independent variable, no matter if it is positive or negative. 


In other words, a modulus function gives the magnitude of a number. Therefore, this function is also considered as the distance of a number from the origin or zero on the graph. 


It is commonly represented as y = |x|, where x represents a real number, and y = f(x), representing all positive real numbers, including 0, and f:R→R and x ∈ R.


The expression in which a modulus can be defined is given below:


 f(x)   = \[\left\{\begin{matrix} x & if x \geq 0\\ -x & if x < 0 \end{matrix}\right.\]


Here, x represents any non-negative number, and the function generates a positive equivalent of x. For a negative number, x<0, the function generates (−x) where −(−x) = positive value of x. 


However, there are different cases for a modular function and can mean differently for various contexts. 

Case 1:

For y = |x|, where x is a real number, i.e., x > 0, since variables can have real values only. Here, the modulus function of the real variable stays the positive value of the real number. For example,


For x = 2, 


y = |2|, i.e., = 2.

Case 2: 

For y = |f(x)|, here we use f(x) instead of |x|, and therefore, the modulus changes the function value and properties, modifying the overall function. A few examples are given below: 


|f(x)| = a ;    a > 0    => f(x) = ± a


|f(x)| = a;    a = 0    => f(x) = 0


|f(x)|= a;    a < 0    => There is no solution to this equation because a modulus function can never result in a negative outcome. 

Modulus Function Graph 

In  modulus function, every time |x| = 4, the value of x = ±4.


For plotting the graph, we need to take certain values first,


When x = −5 then y = f(x) = |x|


y = |−5| = 5


Similarly, for x = −5, −4, −3, −2, −1, 0, 1, 2, 3, 4, 5, the respective values of y will be 5, 4, 3, 2, 1, 0, 1, 2, 3, 4, 5. 


(Image will be Uploaded Soon)


Here for x > 0, the graph represents a line where y = x. Similarly for x < 0, the graph is a line where y = −x. Also, the vertex of the modulus graph  y = |x| is given by (0,0).


Thus, from the graph, we can conclude that the values of the modulus function are always positive for all the values of x.


As the modulus function is understood as a non-negative value, therefore, it can be said that the modulus of a variable is similar to that of the square root of the square of the variable. Here's how:


|x| = \[\sqrt{x^{2}}\]

Domain and Range of Modulus Function

In the graph, both the lines hold true the definition of modulus functions and help define the domain and range of modulus function, i.e., 


the domain = R (or Real Numbers)


Range = [0,∞); where the range of modulus function is the upper half of the real numbers (R+), i.e., all the positive real numbers, including 0.

Properties of Modulus Function

Since the modulus function can be effective to find inequality between the numbers, here are the following properties of the modulus function:

Here are some other non-negative expressions that can explain the non-negative value of the modulus function:

  1. The even exponent of an expression or variable can be defined as x2n , where n ∈ Z.

  2. The even root of a variable can be defined as x1/2n, where n ∈ Z.

  3. The value of y can be defined as y = 1−sinx or y = 1−cosx, (since sinx ≤ 1 and cosx ≤1) 

  • When a > 0, 

Here, x lies between −a and a, not considering the endpoints of the interval, i.e.,

|x| < a; a > 0 ⇒ −a < x < a


|x| > a; a > 0  ⇒ x < − a or x > a ⇒ x ∈ (−∞, −a) ∪ (a, ∞)

Since the inequalities can be useful to express intervals in the compact form, here's an example of the cosec trigonometric function range that is defined as x ∈ (−∞, −1] ∪ [1,∞}, represented as:

|x| ≥ 1

|f(x)| < a; a > 0, ⇒ −a < f(x) < a

  • For x, y as real variables:

  1. |x − y| = 0, ⇔ x = y

  2. |x + y| ≤ |x| + |y|

  3. |x − y| ≥ ||x| − |y||

  4. |xy| = |x| * |y|

  5. |x/y| = |x| / |y|, where |y| ≠ 0.

  • For p and q as positive real numbers:

  1. x2 ≤ p2 ⇔ |x| ≤ p ⇔ −p ≤ x ≤ p

  2. x2 ≥ p2 ⇔ |x| ≥ p ⇔ x ≤ −p , x ≥ p

  3. x2 < p2 ⇔ |x| < p ⇔ −p < x < p

  4. x2 > p2 ⇔ |x| > p ⇔ x < −p, x > p 

  5. p2 ≤ x2 ≤ q2 ⇔ p ≤ |x| ≤ q ⇔ x ∈ [−q,−p] ∪ [p,q]

  6. p2 < x2 <q2⇔ p < |x| < q ⇔ x ∈ (−q, −p) ∪ (p, q)

Modulus Function Questions (Solved)

Example 1: A function f is defined on R as: 

f(x) = \[\left\{\begin{matrix} \frac{|x|}{x}, & x\neq 0\\ 0, & x = 0 \end{matrix}\right.\]

Plot the graph.

Solution:

When x is a positive integer, the function can be defined as: 


f (x) =  \[\frac{|x|}{x}\] = \[\frac{x}{x}\] = 1


When x is a negative integer, the function can be defined as:


f(x) =  \[\frac{|x|}{x}\] = \[\frac{-x}{x}\] = -1


Therefore, the f can be redefined as: 


f(x) =  \[\left\{\begin{matrix} 1, & &x>0 \\ 0 & & x=0\\ -1& & x<0 \end{matrix}\right.\]


The filled dot at (0,0), and the hollow dots at (0,1), (0,−1), represent that f(0) has the value as 0, instead of 1 or −1. Such a function is also known as the Signum function.

Example 2: Solve |x + 2| = 6 using modulus function.

Solution: We know that the modulus function always gives a non-negative output, therefore we have two cases:

If x + 2 > 0, then |x + 2| = x + 2 and

If x + 2 < 0, then |x + 2| = −(x + 2)


Case 1: If x + 2 > 0, we have

|x + 2| = x + 2

⇒ x + 2 = 6

⇒ x = 6 − 2 = 4


Case 2: If x + 2 < 0, we have

|x + 2| = − (x + 2)

⇒ − (x + 2) = 6

⇒ − x − 2 = 6

⇒ x = −2 − 6 = −8

Hence, the solution for x is −8 and 4.

We can say −8 < x < 4.

Practice Questions!

  1. Plot the graph for the modulus functions: 

  • y = 3x + 4

  • Y = x2 + 8

  1. Obtain the domain and range of the modulus functions:

  • f(x) = 7 + |3 − x|

  • f(x) = 2 − |x − 8|

Best Seller - Grade 12 - JEE
View More>
Previous
Next

FAQs on Modulus Function

1. What is the definition of the modulus function as per the CBSE Class 11 Maths syllabus?

The modulus function is defined as a function that gives the absolute value of a real number. Mathematically, it is represented as y = |x|, where for any real number x, |x| = x if x ≥ 0 and |x| = −x if x < 0. The output is always non-negative, reflecting the distance from zero on the real number line.

2. How do you graph the modulus function and what are its key features?

The graph of y = |x| is V-shaped with the vertex at the origin (0,0). Key features include:

  • The function is symmetric about the y-axis (even function).
  • For x ≥ 0, the graph is a straight line with slope 1 (y = x).
  • For x < 0, the graph is a straight line with slope −1 (y = −x).
  • The domain is all real numbers, and the range is all non-negative real numbers (y ≥ 0).

3. Why is the modulus function called the absolute value function, and how does it relate to real-world measurement?

The modulus function is called the absolute value function because it measures the distance of any real number from zero, regardless of direction. In real life, absolute value is used in contexts requiring non-negative measurements such as distance, speed, and magnitude, where only the size matters, not the sign.

4. What are the domain and range of the modulus function y = |x|?

The domain of y = |x| is all real numbers (x ∈ ℝ) and the range is all non-negative real numbers (y ≥ 0), since the output cannot be negative.

5. How can modulus function inequalities be converted into standard algebraic form for solving?

Modulus inequalities can be rewritten as compund inequalities:

  • For |x| < a where a > 0, rewrite as −a < x < a.
  • For |x| > a, write as x < −a or x > a.
  • For |x| ≤ a, write as −a ≤ x ≤ a.
  • For |x| ≥ a, write as x ≤ −a or x ≥ a.
Applying these conversions helps in solving equations and representing solution sets clearly.

6. Is the modulus function one-one or onto? Explain with reference to CBSE concept questions.

The modulus function y = |x| is neither one-one (injective) nor onto (surjective) on the set of real numbers. This is because different values of x (like −1 and 1) can map to the same value (1), and there is no x that gives a negative output, so negative values are not covered in the range.

7. What type of questions on modulus function are commonly seen in the CBSE exams?

CBSE exams often include:

  • Solving equations involving modulus (e.g., |x + a| = b)
  • Plotting and interpreting modulus function graphs
  • Solving inequalities using modulus
  • Application-based questions integrating modulus properties, such as triangle inequalities or distance concepts

8. How does the property |x + y| ≤ |x| + |y| hold true for all real numbers?

This is known as the triangle inequality. It states that the absolute value of the sum of two real numbers is less than or equal to the sum of their absolute values. This is always true and is foundational in both algebra and geometry because the direct path is always shorter or equal to the sum of two separate paths.

9. What mistakes should students avoid when solving equations with modulus functions?

Common mistakes to avoid include:

  • Assuming the modulus function always outputs positive values, when zero is also valid.
  • Forgetting to consider both positive and negative cases when solving |x| = a.
  • Misapplying modulus properties, such as |x − y| = |x| − |y|, which is incorrect.
  • Not checking if all ‘solutions’ satisfy the original equation, especially with inequalities.

10. How can you use the modulus function to solve the equation |x + 2| = 6 step by step?

To solve |x + 2| = 6:

  • Case 1: x + 2 ≥ 0 ⇒ x + 2 = 6 ⇒ x = 4
  • Case 2: x + 2 < 0 ⇒ −(x + 2) = 6 ⇒ x = −8
  • So, the solutions are x = 4 and x = −8.

11. Why is the modulus function important for understanding other functions in the CBSE Maths syllabus?

The modulus function builds foundational concepts for graph transformations, piecewise functions, and quantitative reasoning in higher classes. Its properties are frequently used in calculus, vectors, and coordinate geometry, making it essential for board exams and competitive tests.

12. Compare the modulus function y = |x| with the function y = √(x²). What do you observe?

Both y = |x| and y = √(x²) yield the same value for every real x, since both output the non-negative value of x. This demonstrates the relationship between modulus and even-powered roots, further connecting these concepts in algebra.