Precalculus Lesson 1.5: Absolute Value Functions, Equations and Inequalities
12th Grade Math · Chapter 1: Functions · Common Core F-IF.C.7
What is in the full lesson (30 activities)
Every item below opens free in the course.
- Video: Introduction To Modulus Function
- Video: Modulus Function: example 1
- Video: Modulus Function: example 2
- Video: Modulus Function: example 3
- Video: Modulus Function: example 4
- Video: Modulus Function: example 5
- Practice questions: Checkpoint 1: Absolute value (5 questions, 6 points)
- Video: A2.pm.02-06 The modulus Function 1
- Video: A2.pm.02-07 The modulus Function 2
- Video: Solving Modulus Problems: example 1
- Video: Solving Modulus Problems: example 2
- Video: A2.pm.02-16 Solving modulus problems
- Practice questions: Checkpoint 2: Absolute value (5 questions, 6 points)
- Geogebra: GeoGebra activity: The Modulus Function
- Geogebra: GeoGebra activity: Sketching modulus graphs y = |f(x)| and y = f(|x|)
- Geogebra: GeoGebra activity: Graphs with the absolute value function
- Geogebra: GeoGebra activity: Modulus Function
- Geogebra: GeoGebra activity: Explore the solution to an inequality of a absolute value function
- Geogebra: GeoGebra activity: Solving modulus problems
- Notes: Lesson notes: The Modulus Function
- Notes: Lesson notes: Modulus Equations and Inequalities
- Interactive lesson: Interactive lesson: Modulus Graph Folder
- Interactive lesson: Interactive practice: The Modulus Function Practice
- Interactive lesson: Interactive lesson: Modulus Equation Solver
- Interactive lesson: Interactive practice: Modulus Equations and Inequalities Practice
- Practice questions: Practice questions (12 questions, 18 points)
- Worksheet: Worksheet: The Modulus Function
- Answers: Worksheet answer key: The Modulus Function
- Worksheet: Worksheet: Modulus Equations and Inequalities
- Answers: Worksheet answer key: Modulus Equations and Inequalities
A free Precalculus lesson for grade 12 students from OBA School: Absolute Value Functions, Equations and Inequalities, aligned with the Common Core State Standards (CCSS F-IF.C.7). Watch the video, read the explanation and worked examples, then try the practice questions. The full lesson in our free online Precalculus course adds more videos, interactive activities, a self-checking quiz and printable worksheets.
What you will learn
- Understand |x| as the size of x (its distance from 0) and evaluate expressions involving it
- Sketch y = |ax + b|, giving the vertex and the intercepts
- Sketch transformed graphs such as y = a|x − p| + q
- Sketch y = |f(x)| and y = f(|x|) from the graph of y = f(x)
- Write a modulus expression without modulus signs on different intervals
Key words
- Modulus: |x| is the size of x, ignoring its sign: |x| = x if x ≥ 0 and |x| = −x if x < 0.
- Vertex: The corner point of a V-shaped graph, where the expression inside the modulus is zero.
- Piecewise: Defined by different rules on different intervals, as |x| is.
- Reflect in the x-axis: Used for y = |f(x)|: any part of the graph (drawn in the printable lesson notes) the x-axis is flipped above it.
- Reflect in the y-axis: Used for y = f(|x|): the part for x ≥ 0 is copied onto the left.
The modulus of a number
The modulus of a number is its distance from 0 on the number line, so it is never negative. |x − a| is the distance between x and a.
- |x| ≥ 0 for all x; Example |−6| = 6, |0| = 0
- |ab| = |a||b|; Example |(−3)(5)| = 15 = 3 × 5
- |a + b| ≤ |a| + |b|; Example |4 + (−7)| = 3 but |4| + |−7| = 11
- |x|² = x²; Example |−5|² = 25 = (−5)²
Worked example: evaluating
Evaluate (a) |2 − 9| + |−4| (b) |3 × (−2) + 1| (c) |−5| − |5|
(a) |−7| + |−4| = 7 + 4 = 11 (b) |−5| = 5 (c) 5 − 5 = 0
Answer: 11, 5 and 0. Work out the inside of each modulus first.
Graphs of y = |ax + b|
Draw y = ax + b, then reflect the part below the x-axis in the x-axis. The result is a V shape with its vertex on the x-axis where ax + b = 0, and arms of slope a and −a.
Worked example: sketching y = |5 − 2x|
Vertex: 5 − 2x = 0 at x = 2.5, giving (2.5, 0).
y-intercept: |5| = 5, giving (0, 5).
For x > 2.5 the graph is y = 2x − 5; for x < 2.5 it is y = 5 − 2x.
Answer: A V shape with vertex (2.5, 0), through (0, 5), symmetrical about x = 2.5.
Transformations of y = |x|
y = a|x − p| + q is y = |x| translated p right, stretched vertically by |a| (and reflected if a < 0), then translated q up. Its vertex is (p, q).
Worked example: an upside-down V
Sketch y = 3 − 2|x + 1|, giving the coordinates of the vertex and the intercepts.
Vertex where x + 1 = 0: (−1, 3), a maximum because of the −2.
y-intercept: 3 − 2|1| = 1. x-intercepts: 2|x + 1| = 3, so x + 1 = ± 1.5, x = 0.5 or x = −2.5.
Answer: Maximum (−1, 3); intercepts (0, 1), (0.5, 0), (−2.5, 0).
The graphs of y = |f(x)| and y = f(|x|)
- y = |f(x)|: keep the parts on or above the x-axis, and reflect any part below the x-axis in the x-axis.
- y = f(|x|): keep the part for x ≥ 0, delete the part for x < 0, then reflect the kept part in the y-axis.
Worked example: a quadratic
f(x) = x² − 3x − 4 = (x + 1)(x − 4). Sketch y = |f(x)| and y = f(|x|).
f has roots −1 and 4, y-intercept −4, and minimum (1.5, −6.25) (complete the square).
|f(x)|: the part between −1 and 4 flips up; the minimum becomes a maximum at (1.5, 6.25) and the y-intercept becomes 4.
f(|x|): for x ≥ 0 the roots and vertex are 4 and (1.5, −6.25); reflecting gives roots ± 4 and minima (± 1.5, −6.25).
Answer: |f(x)| is never negative; f(|x|) is symmetrical about the y-axis.
Removing the modulus signs
Worked example: a sum of two moduli
Write y = |x − 1| + |x + 3| without modulus signs.
Critical values: x = 1 and x = −3.
x < −3: y = (1 − x) + (−x − 3) = −2x − 2. −3 ≤ x ≤ 1: y = (1 − x) + (x + 3) = 4. x > 1: y = 2x + 2.
Answer: The graph is flat (y = 4) between the critical values, with sloping arms either side.
Common mistakes
- Thinking |a + b| = |a| + |b|. It is only true when a and b have the same sign (or one is 0).
- Putting the vertex of y = |ax + b| at x = b/a instead of x = −b/a.
- Mixing up |f(x)| (reflect below the x-axis) and f(|x|) (reflect the right half in the y-axis).
- Forgetting that a minimum below the axis becomes a maximum on y = |f(x)|.
Revision questions
Try these, then check your answers below each one.
Question 1. Evaluate |3 − 11| − |−5|.
Answer: 3
Working: |−8| − |−5| = 8 − 5 = 3.
Question 2. How is the graph of y = |f(x)| obtained from the graph of y = f(x)? (Choose from: Any part below the x-axis is reflected in the x-axis; the rest is unchanged; The part to the left of the y-axis is reflected in the y-axis; The part for x < 0 is replaced by a reflection of the part for x > 0 in the y-axis; The whole graph is reflected in the x-axis.)
Answer: Any part below the x-axis is reflected in the x-axis; the rest is unchanged
Working: |f(x)| changes only negative outputs, flipping them above the axis. The third option describes y = f(|x|).
Question 3. True or false: |a − b| = |a| − |b| for all real numbers a and b.
Answer: False
Working: Counter example: a = 2, b = −3: |a − b| = 5 but |a| − |b| = −1.
Common Core standard
This lesson supports Common Core State Standard CCSS.MATH.CONTENT.HSF.IF.C.7, part of the high school Precalculus course usually taken in Grade 12 in the United States.
Related lessons
- Previous lesson: 1.4 Transformations of Functions
- Next lesson: 1.6 Inverse Functions
Continue in the full course
This lesson is section 1.5 (USPC0105) of our free Precalculus course for Grade 12. In the full course you get every video for this section, interactive lessons, a self-checking practice quiz, printable worksheets with an answer key, and your progress saved. Go to the full Precalculus course.
This lesson is part of the free Precalculus course. You can also browse all our free US high school math courses: Algebra 1, Geometry, Algebra 2 and Precalculus.