Skip to main content

Absolute value functions - TCE Mathematics Specialised (Tasmania)

Syllabus dot point

“Sketch graphs involving absolute value and solve absolute value equations and inequalities.”

TCESpecialist MathematicsUnit 38 min read

Quick answer

The absolute value ∣x∣|x| is the distance of xx from zero, so it is never negative. To sketch y=∣f(x)∣y = |f(x)|, draw y=f(x)y = f(x) then reflect any part below the xx axis up above it. Solve ∣f(x)∣=a|f(x)| = a by setting f(x)=af(x) = a or f(x)=−af(x) = -a, and solve inequalities by splitting at the points where f(x)=0f(x) = 0.

What this dot point is asking

This dot point develops fluency with the absolute value (modulus) function, both as a graph to sketch and as something to solve. The single defining idea is that ∣x∣|x| measures size without regard to sign.

Absolute value

∣x∣={xif x≥0,−xif x<0. |x| = \begin{cases} x & \text{if } x \ge 0, \\ -x & \text{if } x < 0. \end{cases}

Equivalently ∣x∣=x2|x| = \sqrt{x^2}, and ∣x∣|x| is the distance from xx to 00 on the number line.

Sketching the basic graph

The graph of y=∣x∣y = |x| is a V shape with its vertex at the origin, made of the line y=xy = x for x≥0x \ge 0 and the line y=−xy = -x for x<0x < 0. Transformations work just like any function: y=∣x−2∣+1y = |x - 2| + 1 shifts the V two units right and one unit up, so its vertex sits at (2,1)(2, 1).

Sketching y equals the modulus of f of x

The reflection rule

To sketch y=∣f(x)∣y = |f(x)|, first sketch y=f(x)y = f(x). Wherever the graph is at or above the xx axis, leave it unchanged. Wherever it dips below, reflect that part upward in the xx axis. The result never goes below the xx axis and has corners where the original graph crossed it.

This is different from y=f(∣x∣)y = f(|x|), which instead takes the right-hand part of ff and reflects it across the yy axis to make an even function. Read carefully which version a question wants.

Sketching the modulus of a line

Sketch y=∣2x−4∣y = |2x - 4|.

Step 1: Sketch the underlying straight line

Before applying the absolute value, sketch the ordinary line y=2x−4y = 2x - 4. This line has gradient 22, crosses the xx axis at x=2x = 2 (set y=0y = 0), and crosses the yy axis at y=−4y = -4. Knowing where the line crosses zero is essential because that is exactly the point where the reflection must happen.

Step 2: Apply the reflection rule to get the modulus graph

The absolute value maps any output below zero to its positive mirror image. For x≥2x \ge 2 the line 2x−42x - 4 is zero or positive, so that part of the graph is unchanged. For x<2x < 2 the line is negative, so reflect that portion upward in the xx axis. The result is a V-shape with its vertex at (2,0)(2, 0), gradient 22 to the right and gradient −2-2 to the left. The original yy intercept of −4-4 becomes ∣−4∣=4|{-4}| = 4 after reflection.

Final answer: A V-shape with vertex at (2,0)(2, 0), gradient 22 for x≥2x \ge 2, gradient −2-2 for x<2x < 2, and yy intercept at 44.

Solving absolute value equations

To solve ∣f(x)∣=a|f(x)| = a (with a≥0a \ge 0), the inside can be either +a+a or −a-a:

f(x)=aorf(x)=−a. f(x) = a \quad\text{or}\quad f(x) = -a.

Always check solutions in the original equation, and reject any if a<0a < 0 since an absolute value can never be negative.

Solving an absolute value equation

Solve ∣3x−1∣=5|3x - 1| = 5.

Step 1: Split into two cases

The definition of absolute value says ∣A∣=5|A| = 5 whenever A=5A = 5 or A=−5A = -5, because both give ∣A∣=5|A| = 5. Applying this to the expression inside the modulus produces two separate linear equations that can each be solved independently:

3x−1=5⟹x=2,3x−1=−5⟹x=−43. 3x - 1 = 5 \quad\Longrightarrow\quad x = 2, \qquad 3x - 1 = -5 \quad\Longrightarrow\quad x = -\tfrac{4}{3}.

Step 2: Check both solutions in the original equation

It is good practice to verify each answer, since occasionally an extraneous solution can appear. Substituting back confirms both values satisfy the original equation: ∣3(2)−1∣=∣5∣=5|3(2) - 1| = |5| = 5 and ∣3(−43)−1∣=∣−5∣=5|3(-\tfrac43) - 1| = |-5| = 5.

Final answer: x=2x = 2 or x=−43x = -\tfrac{4}{3}.

Solving absolute value inequalities

Two standard patterns cover most cases:

∣f(x)∣<a  ⟺  −a<f(x)<a,∣f(x)∣>a  ⟺  f(x)>a or f(x)<−a. |f(x)| < a \iff -a < f(x) < a, \qquad |f(x)| > a \iff f(x) > a \text{ or } f(x) < -a.

The first traps the inside between −a-a and aa; the second lets the inside escape on either side.

Solving an absolute value inequality

Solve ∣x+2∣≤3|x + 2| \le 3.

Step 1: Rewrite using the "less than" inequality rule

The inequality ∣A∣≤k|A| \le k (with k>0k > 0) is equivalent to the compound inequality −k≤A≤k-k \le A \le k, because the absolute value is at most kk whenever the expression inside lies between −k-k and kk. Applying this standard pattern removes the modulus sign in one step and replaces it with a double inequality:

−3≤x+2≤3.-3 \le x + 2 \le 3.

Step 2: Isolate xx by subtracting throughout

The expression inside the inequality is x+2x + 2, so subtracting 22 from all three parts isolates xx without changing the direction of either inequality sign:

−5≤x≤1. -5 \le x \le 1.

Final answer: The solution set is the closed interval [−5,1][-5, 1], which is all real numbers within distance 33 of −2-2 on the number line.

Squaring carelessly or dropping a case

Two errors dominate. First, students solve ∣f(x)∣=a|f(x)| = a using only f(x)=af(x) = a and miss the negative case f(x)=−af(x) = -a, losing half the solutions. Second, when solving inequalities by squaring, students forget that squaring is only safe when both sides are non-negative; a stray sign can invert the inequality. Prefer the case-split method, and always test a sample point in the original inequality to confirm the final interval.

Solving graphically when two graphs meet

An equation such as ∣2x−1∣=x+3|2x - 1| = x + 3 is often quickest to read as the intersection of y=∣2x−1∣y = |2x - 1| and the line y=x+3y = x + 3.

Solving an equation by cases

Solve ∣2x−1∣=x+3|2x - 1| = x + 3.

Step 1: Identify the critical point and set up two cases

The expression inside the modulus, 2x−12x - 1, changes sign at x=12x = \tfrac12. For x≥12x \ge \tfrac12 the expression is non-negative, so ∣2x−1∣=2x−1|2x - 1| = 2x - 1; for x<12x < \tfrac12 it is negative, so ∣2x−1∣=−(2x−1)|2x - 1| = -(2x - 1). Splitting at this critical point means that within each region the modulus can be removed and the resulting equation is a straightforward linear one.

Step 2: Solve in each region and check validity

For x≥12x \ge \tfrac12, remove the modulus directly and solve:

2x−1=x+3⟹x=4.2x - 1 = x + 3 \quad\Longrightarrow\quad x = 4.

Since 4≥124 \ge \tfrac12, this solution lies in the correct region and is valid.

For x<12x < \tfrac12, the inside is negative so apply the negative case and solve:

−(2x−1)=x+3⟹1−2x=x+3⟹−3x=2⟹x=−23.-(2x - 1) = x + 3 \quad\Longrightarrow\quad 1 - 2x = x + 3 \quad\Longrightarrow\quad -3x = 2 \quad\Longrightarrow\quad x = -\tfrac23.

Since −23<12-\tfrac23 < \tfrac12, this also lies in its correct region and is valid.

Step 3: Confirm both solutions

A final substitution back into ∣2x−1∣=x+3|2x - 1| = x + 3 confirms there are no errors: ∣2(4)−1∣=7=4+3|2(4) - 1| = 7 = 4 + 3, and ∣2(−23)−1∣=∣−73∣=73=−23+3|2(-\tfrac23) - 1| = |-\tfrac73| = \tfrac73 = -\tfrac23 + 3. The right side x+3x + 3 is positive at both solutions, which is necessary because the left side is an absolute value.

Final answer: x=4x = 4 or x=−23x = -\tfrac23.

Why this matters

Absolute value graphs appear in piecewise modelling and in defining regions, and the case-split logic here is the same reasoning used for reciprocal and rational graphs. Mastering the reflection rule and the two inequality patterns makes those later graphs routine.

Exam-style questions

Questions in the style of TASC exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

Practice3 marks
Solve the inequality ∣3x−2∣<5|3x - 2| < 5.
Show worked answer →

An absolute value inequality of the form ∣A∣<k|A| < k (with k>0k > 0) is equivalent to the double inequality −k<A<k-k < A < k.

Rewrite without the modulus: −5<3x−2<5-5 < 3x - 2 < 5. Add 22 throughout: −3<3x<7-3 < 3x < 7. Divide by 33 (positive, so the inequality directions are unchanged): −1<x<73-1 < x < \dfrac{7}{3}.

The solution set is the open interval −1<x<73-1 < x < \dfrac{7}{3}. Marks are awarded for setting up the two-sided inequality, the correct algebra, and stating the final interval with strict inequalities.

Practice3 marks
Find the real values of xx for which ∣2−9x∣≥6|2 - 9x| \ge 6.
Show worked answer →

An inequality ∣A∣≥k|A| \ge k (with k>0k > 0) splits into two separate cases: A≥kA \ge k or A≤−kA \le -k.

Case 1: 2−9x≥62 - 9x \ge 6, so −9x≥4-9x \ge 4, and dividing by −9-9 (negative, so reverse the sign) gives x≤−49x \le -\dfrac{4}{9}.

Case 2: 2−9x≤−62 - 9x \le -6, so −9x≤−8-9x \le -8, and dividing by −9-9 (reverse the sign) gives x≥89x \ge \dfrac{8}{9}.

Combine: the solution is x≤−49x \le -\dfrac{4}{9} or x≥89x \ge \dfrac{8}{9}.

Markers reward splitting into the two cases, correctly reversing the inequality when dividing by the negative coefficient, and the complete solution set. A common trap is forgetting to flip the inequality sign.

Practise this

Sources & how we know this

ExamExplained