But what is the reasoning behind this? This happens because it represents the distance from zero to a Number x on the Number Line.
The distance from zero to 2 is 2, and the distance from zero to -2 is also 2, therefore , and
Modulus function on the number line, Marilú García De Taylor - StudySmarter Originals
This is why represents the value of a number x disregarding its sign.
If you have an expression inside the modulus function, calculate the value inside, then find the positive version of the result.
If you have the function find
Equation of modulus functions
The equation of a modulus function is denoted as follows:
The domain of a modulus function is the set of all Real Numbers, and the range is the set of all Real Numbers greater than or equal to zero. From the equation, we can say that if the number inside the modulus function is already positive, you leave it like that, but if the number is negative, then the result will be the positive version of that number (as if you were multiplying the negative number by -1).
Properties of modulus functions
The properties of modulus functions are:
Sum:
Subtraction:
Keeping in mind that the value of x inside a modulus function could be positive or negative, you need to solve the equation considering both cases, therefore you will get two solutions.
For the equation , we can obtain 2 possible solutions as follows:
1) Solution 1:
2) Solution 2:
How do you graph modulus functions?
To draw a graph of a modulus function you need to substitute values of x into , to obtain the corresponding values of y, as . You will get a table of x and y values that you will need to plot on the coordinate plane. We will substitute the values of x from -2 to 2.
Modulus function graph, Marilú García De Taylor - StudySmarter Originals To sketch the graph of the modulus function , you need to sketch , and reflect the portion of the line that goes below the x-axis into the x-axis.
Sketch the graph for showing the points where they cross the coordinate axes.
Ignoring the modulus, you need to sketch the graph of
The line crosses the x-axis at (1, 0)
The line crosses the y-axis at (0, -1)
Modulus function graph example, Marilú García De Taylor - StudySmarter Originals
- For the negative values of y, reflect in the x-axis. In this case, (0, -1) becomes (0, 1)
Modulus function graph example, Marilú García De Taylor - StudySmarter Originals
Solving equations involving modulus functions
When you have an equation like , you can use its graph to help you find its solution by following these steps:
Solving Equations involving modulus functions, Marilú García De Taylor - StudySmarter Originals
Identify the intersection points of the two Graphs. In this case, A corresponds to the intersection point between y = 5 and the original section of the graph of , and B represents the intersection between and the reflected section of the graph of .
Find both solutions:
A:
B:
Solving inequalities involving modulus functions
Based on the previous example, now we are going to solve the inequality . You need to proceed in the same way as before to find the values of x at intersection points A and B, which are and .
After you have the points of intersection, you can look at the graph to identify the values of x that satisfy the inequality .
Solving inequalities involving modulus functions, Marilú García De Taylor - StudySmarter Originals
The inequality is true when the graph of is above the graph of , this happens when or . In set notation:
Inverse of a modulus function
The inverse of a modulus function is not a function unless you restrict its domain so that it can be a one-to-one function. To achieve this, we need to restrict its domain to only one half of the graph. You can choose either half if it is not specified in the question.
Find the inverse of the function
Inverse of modulus functions, Marilú García De Taylor - StudySmarter Originals
We will restrict the domain of the function to only the reflected section of the graph (left of x = -1), which can be denoted as for . Now we can find the inverse, because this section of the graph is a one-to-one function.
Following the steps to find the inverse of a function:
- Swap x and y, and solve for y
This is the inverse function of
The domain of the inverse function is the range of the original function, which is . Therefore, the domain of the inverse function is .
How do you differentiate a modulus function?
To find the derivative of the modulus function, we need to look at the equation of a modulus function again:
We know that , therefore we can say the following:
In general, for all values of x apart from
If we substitute some values of x in the previous equation, then we can see that the statements in the piecewise function above are true:
How do you integrate a modulus function?
To find the integral of a modulus function, we can proceed as follows:
We know that the modulus function is defined like this,
Therefore, we need to calculate the integral for x and -x.
Remember that x has an exponent of 1 ()
Using the Integration formula:
Modulus Functions - Key takeaways
- The modulus of a number x will be the same number, but positive.
- The modulus of a number x represents the distance from zero to that number x on the number line.
- To sketch the graph of the modulus function , you need to sketch , and reflect the portion of the line that goes below the x-axis into the x-axis.
- Sketching the graphs of equations or inequalities involving modulus functions can help to solve them, by finding the x-coordinates of the intersection points of the two graphs.
- The inverse of a modulus function is not a function, unless you restrict its domain to only one half of the graph, so that it can be a one-to-one function.
- When finding the derivative and integral of a modulus function, there will be two possible solutions, considering when (for ) and when (for ).
How we ensure our content is accurate and trustworthy?
At StudySmarter, we have created a learning platform that serves millions of students. Meet
the people who work hard to deliver fact based content as well as making sure it is verified.
Content Creation Process:
Lily Hulatt is a Digital Content Specialist with over three years of experience in content strategy and curriculum design. She gained her PhD in English Literature from Durham University in 2022, taught in Durham University’s English Studies Department, and has contributed to a number of publications. Lily specialises in English Literature, English Language, History, and Philosophy.
Get to know Lily
Content Quality Monitored by:
Gabriel Freitas is an AI Engineer with a solid experience in software development, machine learning algorithms, and generative AI, including large language models’ (LLMs) applications. Graduated in Electrical Engineering at the University of São Paulo, he is currently pursuing an MSc in Computer Engineering at the University of Campinas, specializing in machine learning topics. Gabriel has a strong background in software engineering and has worked on projects involving computer vision, embedded AI, and LLM applications.
Get to know Gabriel