Educerie

This whole subtopic is higher level. Nothing in it is on an SL paper.

Educerie · IB Diploma · Mathematics: analysis and approaches

IB Mathematics AA 2.16 · HL only

The graphs of |f(x)|, f(|x|), 1/f(x), f(ax + b) and [f(x)]², and modulus equations and inequalities

Given the graph of y=f(x)y = f(x), how do you draw ∣f(x)∣\lvert f(x)\rvert, f(∣x∣)f(\lvert x\rvert), 1f(x)\dfrac{1}{f(x)}, f(ax+b)f(ax + b) and [f(x)]2[f(x)]^{2} without plotting, and how do you solve equations and inequalities that contain a modulus?

What you will learn

  • HL Understand how the graphs of |f(x)| and f(|x|) are built from the graph of f.
  • HL Know how zeros, turning points and asymptotes change in the graphs of 1 ÷ f(x) and [f(x)]².
  • HL Understand f(ax + b) as a horizontal translation and stretch applied in the right order.
  • HL Know how to solve modulus equations and inequalities by cases, by squaring, by graph or with technology.

You must be able to

  1. HL Sketch y = 1 ÷ f(x) from the graph of f, labelling asymptotes and turning points.
  2. HL Sketch y = |f(x)| and y = f(|x|) from a given graph, with key points labelled.
  3. HL Solve a modulus equation by cases, rejecting any false roots.
  4. HL Solve a modulus inequality by squaring, by graph or on the GDC.
  5. HL Sketch y = [f(x)]², showing touching points, squared turning points and new asymptotes.
  6. HL Describe the transformations that map y = f(x) to y = f(ax + b) and find the image of a point.

In the exam. so far Paper 1 only, in parts of 1 to 6 marks, most often "sketch" (y=1f(x)y = \dfrac{1}{f(x)}, y=[f(x)]2y = [f(x)]^{2}, y=f(∣x∣)y = f(\lvert x\rvert), with asymptotes and key points labelled), then "find", "solve" and "state", often an inequality read off the graph just sketched. The guide's example ∣3xarccos⁡x∣>1\lvert 3x\arccos x\rvert > 1 needs technology, so belongs to Paper 2.

1The modulus function

The modulus (absolute value) of xx is its size without its sign:

∣x∣=x\lvert x\rvert = x when x≥0x \ge 0, and ∣x∣=−x\lvert x\rvert = -x when x<0x < 0

  • So ∣5∣=5\lvert 5\rvert = 5 and ∣−5∣=−(−5)=5\lvert -5\rvert = -(-5) = 5. Think of ∣x∣\lvert x\rvert as the distance from xx to 0, and ∣x−a∣\lvert x - a\rvert as the distance from xx to aa.
  • Figure 1(a) shows y=∣x∣y = \lvert x\rvert: the line y=xy = x for x≥0x \ge 0, and its reflection y=−xy = -x for x<0x < 0. It is a V with its corner at the origin.
Figure 1 · y = |x| and y = |2x − 3| (a) y = |x| x y −3 −1 1 3 1 3 (b) y = |2x − 3| x y −1 1.5 3 5 (−3, 3) (3, 3) (0, 3) y = 2x − 3 below the axis (a) |x| is the distance from 0. (b) |2x − 3| folds the line y = 2x − 3 up at its zero, x = 1.5.
Figure 1 · y = |x| and y = |2x − 3|
  • Three facts get used constantly:
    • ∣ab∣=∣a∣∣b∣\lvert ab\rvert = \lvert a\rvert\lvert b\rvert and ∣ab∣=∣a∣∣b∣\left\lvert \dfrac{a}{b}\right\rvert = \dfrac{\lvert a\rvert}{\lvert b\rvert}. But ∣a+b∣\lvert a + b\rvert is not ∣a∣+∣b∣\lvert a\rvert + \lvert b\rvert in general: ∣3+(−5)∣=2\lvert 3 + (-5)\rvert = 2, while ∣3∣+∣−5∣=8\lvert 3\rvert + \lvert -5\rvert = 8.
    • ∣x∣2=x2\lvert x\rvert^{2} = x^{2}, and ∣x∣=x2\lvert x\rvert = \sqrt{x^{2}}. That is why squaring both sides of an equation between two moduli is safe.
    • ∣x∣≥0\lvert x\rvert \ge 0 always, so an equation like ∣x−2∣=−3\lvert x - 2\rvert = -3 has no solution.
  • Figure 1(b) shows y=∣2x−3∣y = \lvert 2x - 3\rvert. The line y=2x−3y = 2x - 3 is negative for x<1.5x < 1.5. Those outputs are made positive, so that piece of the line is reflected up in the xx-axis. The corner of the V is at the zero of the inside, (1.5,0)(1.5, 0).

Taking the bars off

  • A modulus is two formulas glued at the zero of its inside. With several bars, list the zeros in order, split the number line there, and in each piece decide each bar's sign.
  • For h(x)=∣x+2∣−∣x−1∣h(x) = \lvert x + 2\rvert - \lvert x - 1\rvert the zeros are −2-2 and 11:
x<−2: h(x)=−(x+2)+(x−1)=−3x < -2: \ h(x) = -(x + 2) + (x - 1) = -3−2≤x≤1: h(x)=(x+2)+(x−1)=2x+1-2 \le x \le 1: \ h(x) = (x + 2) + (x - 1) = 2x + 1x>1: h(x)=(x+2)−(x−1)=3x > 1: \ h(x) = (x + 2) - (x - 1) = 3

The graph is flat at −3-3. It climbs along y=2x+1y = 2x + 1, then is flat at 3. The pieces join at x=−2x = -2 and x=1x = 1.

2y=∣f(x)∣y = \lvert f(x)\rvert and y=f(∣x∣)y = f(\lvert x\rvert)

These two look alike but do different things. Figure 2 shows both, for f(x)=x2−2x−3f(x) = x^{2} - 2x - 3.

Figure 2 · y = |f(x)| and y = f(|x|), for f(x) = x² − 2x − 3 (a) y = |f(x)| x y −1 1 3 −4 4 (b) y = f(|x|) x y −3 −1 1 3 (1, 4) (1, −4) was the vertex of f (1, −4) (−1, −4) (0, −3) (a) Reflect the part below the x-axis upwards. (b) Keep the right half and reflect it in the y-axis.
Figure 2 · y = |f(x)| and y = f(|x|), for f(x) = x² − 2x − 3

y=∣f(x)∣y = \lvert f(x)\rvert: the modulus acts on the output

  • Every point with f(x)≥0f(x) \ge 0 stays where it is. Every point with f(x)<0f(x) < 0 is reflected in the xx-axis, (x,y)→(x,−y)(x, y) \to (x, -y).
  • In Figure 2(a) the part of the parabola that was below the axis, between the zeros −1-1 and 3, is flipped up. The vertex (1,−4)(1, -4) becomes a maximum at (1,4)(1, 4).
  • The zeros stay where they are: points on the xx-axis are invariant. There the graph usually has a sharp point, a cusp, which you draw as a corner, not a curve.
  • The whole graph lies on or above the xx-axis, so its range is y≥0y \ge 0.

y=f(∣x∣)y = f(\lvert x\rvert): the modulus acts on the input

  • For x≥0x \ge 0, ∣x∣=x\lvert x\rvert = x, so the graph is exactly the graph of ff. For x<0x < 0, f(∣x∣)=f(−x)f(\lvert x\rvert) = f(-x), so the left half is the reflection of the right half in the yy-axis.
  • In practice, rub out the left of the yy-axis and reflect the right across.
  • Figure 2(b) shows the result. The minimum at (1,−4)(1, -4) is copied to (−1,−4)(-1, -4), and the zero at 3 is copied to −3-3. The original zero at −1-1 has gone, because it was on the discarded left half.
  • f(∣x∣)f(\lvert x\rvert) is always an even function (2.14). Its graph is symmetric in the yy-axis. Any point on the yy-axis, such as the yy-intercept (0,−3)(0, -3), is invariant.

∣f(x)∣\lvert f(x)\rvert reflects what is below the xx-axis upwards. f(∣x∣)f(\lvert x\rvert) replaces the left half by the mirror image of the right half.

Worked example 1 · a cubic (Paper 1). For f(x)=x3−3x+2=(x−1)2(x+2)f(x) = x^{3} - 3x + 2 = (x - 1)^{2}(x + 2), sketch y=∣f(x)∣y = \lvert f(x)\rvert and y=f(∣x∣)y = f(\lvert x\rvert).

  • ff has a zero at −2-2, a double zero at 1 (where it touches the axis), a local maximum (−1,4)(-1, 4), a local minimum (1,0)(1, 0) and yy-intercept (0,2)(0, 2). It is negative only for x<−2x < -2.
  • ∣f∣\lvert f\rvert: only the tail left of −2-2 flips up, leaving a cusp at (−2,0)(-2, 0). Everything else, including (−1,4)(-1, 4) and the touching point (1,0)(1, 0), is unchanged.
  • f(∣x∣)f(\lvert x\rvert): keep x≥0x \ge 0 and mirror it. The graph touches the axis at ±1\pm 1. It has a sharp local maximum at (0,2)(0, 2), since the right half leaves (0,2)(0, 2) going down and so does its mirror image.
  • The maximum (−1,4)(-1, 4) and the zero −2-2 were on the discarded half, so they are gone.

Domain and range

  • For ∣f(x)∣\lvert f(x)\rvert the domain is unchanged and every output becomes non-negative. If ff has range −5≤y≤2-5 \le y \le 2, then ∣f∣\lvert f\rvert has range 0≤y≤50 \le y \le 5.
  • For f(∣x∣)f(\lvert x\rvert), what the discarded half contributed to the range is lost. For f(x)=(x+3)2f(x) = (x + 3)^{2}, the range is y≥0y \ge 0, reached at x=−3x = -3, on the discarded side. So f(∣x∣)=(∣x∣+3)2f(\lvert x\rvert) = (\lvert x\rvert + 3)^{2} has range y≥9y \ge 9, with a sharp minimum at (0,9)(0, 9).

3Modulus equations

Three shapes cover almost every question. Remember the definition: ∣A∣=B\lvert A\rvert = B means A=BA = B or A=−BA = -B, and BB must not be negative.

∣f(x)∣=k\lvert f(x)\rvert = k, with kk a positive number

  • Split: f(x)=kf(x) = k or f(x)=−kf(x) = -k. For ∣x2−7∣=2\lvert x^{2} - 7\rvert = 2: x2=9x^{2} = 9 or x2=5x^{2} = 5, so x=±3x = \pm 3 or x=±5x = \pm\sqrt5.
  • When the equation is quadratic in ∣x∣\lvert x\rvert, treat ∣x∣\lvert x\rvert as the unknown, then undo it. x2−5∣x∣+6=0x^{2} - 5\lvert x\rvert + 6 = 0 gives ∣x∣=2\lvert x\rvert = 2 or 33, so x=±2x = \pm 2 or ±3\pm 3.

∣f(x)∣=g(x)\lvert f(x)\rvert = g(x), with gg a function. Split into f(x)=g(x)f(x) = g(x) and f(x)=−g(x)f(x) = -g(x) and solve each. Then check every root in the original equation, since a root that makes g(x)g(x) negative is false.

Worked example 2 · one false root (Paper 1). Solve ∣x−2∣=3x+2\lvert x - 2\rvert = 3x + 2.

case 1: x−2=3x+2,x=−2check: 3x+2=−4<0 × reject\text{case 1: } x - 2 = 3x + 2, \quad x = -2 \qquad \textcolor{#838c91}{\text{check: }3x + 2 = -4 < 0\text{ }\times\text{ reject}}case 2: x−2=−(3x+2),4x=0,x=0check: ∣−2∣=2=3(0)+2 ✓\text{case 2: } x - 2 = -(3x + 2), \quad 4x = 0, \quad x = 0 \qquad \textcolor{#838c91}{\text{check: }\lvert -2\rvert = 2 = 3(0) + 2\text{ }\checkmark}x=0x = 0

Worked example 3 · a quadratic inside (Paper 1). Solve ∣x2−9∣=2x+3\lvert x^{2} - 9\rvert = 2x + 3, leaving exact answers.

case 1: x2−9=2x+3,x2−2x−12=0,x=1±13\text{case 1: } x^{2} - 9 = 2x + 3, \quad x^{2} - 2x - 12 = 0, \quad x = 1 \pm \sqrt{13}case 2: x2−9=−2x−3,x2+2x−6=0,x=−1±7\text{case 2: } x^{2} - 9 = -2x - 3, \quad x^{2} + 2x - 6 = 0, \quad x = -1 \pm \sqrt{7}2x+3≥0 needs x≥−1.5:1+13≈4.61 ✓,1−13≈−2.61 ×2x + 3 \ge 0 \ \text{needs}\ x \ge -1.5: \quad 1 + \sqrt{13} \approx 4.61 \ \checkmark, \quad 1 - \sqrt{13} \approx -2.61 \ \times2x+3≥0 needs x≥−1.5:−1+7≈1.65 ✓,−1−7≈−3.65 ×\phantom{2x + 3 \ge 0 \ \text{needs}\ x \ge -1.5: \quad} -1 + \sqrt{7} \approx 1.65 \ \checkmark, \quad -1 - \sqrt{7} \approx -3.65 \ \timesx=1+13 or x=−1+7x = 1 + \sqrt{13} \ \text{or}\ x = -1 + \sqrt{7}

Four candidates, two survivors. Testing g(x)≥0g(x) \ge 0 is quicker than substituting back into a surd.

∣f(x)∣=∣g(x)∣\lvert f(x)\rvert = \lvert g(x)\rvert.

  • Split into f=gf = g or f=−gf = -g. Both sides are non-negative automatically, so no checking is needed.
  • Square both sides. This is safe here because ∣A∣2=A2\lvert A\rvert^{2} = A^{2}.
∣2x−1∣=∣x+4∣\lvert 2x - 1\rvert = \lvert x + 4\rvert(2x−1)2=(x+4)2(2x - 1)^{2} = (x + 4)^{2}4x2−4x+1=x2+8x+164x^{2} - 4x + 1 = x^{2} + 8x + 163x2−12x−15=0,x2−4x−5=0,(x−5)(x+1)=03x^{2} - 12x - 15 = 0, \quad x^{2} - 4x - 5 = 0, \quad (x - 5)(x + 1) = 0x=5 or x=−1x = 5 \ \text{or}\ x = -1

Two moduli added. With ∣x−2∣+∣x+3∣\lvert x - 2\rvert + \lvert x + 3\rvert, each bar changes its rule at its own zero, 22 and −3-3. Split the number line there. Drop the bars in each piece, as in section 1:

∣x−2∣+∣x+3∣=9\lvert x - 2\rvert + \lvert x + 3\rvert = 9x<−3: −(x−2)−(x+3)=−2x−1=9,x=−5 ✓ (in the piece)x < -3: \ -(x - 2) - (x + 3) = -2x - 1 = 9, \quad x = -5 \ \checkmark \ (\text{in the piece})−3≤x≤2: (2−x)+(x+3)=5≠9,no solution-3 \le x \le 2: \ (2 - x) + (x + 3) = 5 \ne 9, \quad \text{no solution}x>2: (x−2)+(x+3)=2x+1=9,x=4 ✓ (in the piece)x > 2: \ (x - 2) + (x + 3) = 2x + 1 = 9, \quad x = 4 \ \checkmark \ (\text{in the piece})x=−5 or x=4x = -5 \ \text{or}\ x = 4
  • Each answer must lie inside its own piece, the same check as rejecting a false root.
  • The left-hand side is a flat-bottomed V, so ∣x−2∣+∣x+3∣<9\lvert x - 2\rvert + \lvert x + 3\rvert < 9 is −5<x<4-5 < x < 4.

Graphically

  • Every modulus equation is also an intersection question (2.4). In Figure 3, ∣2x−3∣=x+1\lvert 2x - 3\rvert = x + 1: the line meets the V once on each arm.
  • The left arm is y=−(2x−3)=3−2xy = -(2x - 3) = 3 - 2x, giving 3−2x=x+13 - 2x = x + 1, so x=23x = \tfrac{2}{3}. The right arm gives 2x−3=x+12x - 3 = x + 1, so x=4x = 4.
  • The picture shows which arm each solution is on, so which case is real.
Figure 3 · |2x − 3| = x + 1 and |2x − 3| < x + 1 x y 1.5 4 3 5 (2/3, 5/3) (4, 5) y = |2x − 3| y = x + 1 Two meeting points, x = 2/3 and x = 4, one on each arm of the V. Between them the V is below the line.
Figure 3 · |2x − 3| = x + 1 and |2x − 3| < x + 1

4Modulus inequalities

The distance rule. Since ∣x−a∣\lvert x - a\rvert is the distance from xx to aa:

∣x−a∣<b\lvert x - a\rvert < b means a−b<x<a+ba - b < x < a + b. ∣x−a∣>b\lvert x - a\rvert > b means x<a−bx < a - b or x>a+bx > a + b.

  • "Within bb of aa" is one interval. "Further than bb from aa" is two.
  • Example: ∣5−2x∣<3\lvert 5 - 2x\rvert < 3 gives −3<5−2x<3-3 < 5 - 2x < 3, so −8<−2x<−2-8 < -2x < -2. Dividing by −2-2 reverses both signs: 1<x<41 < x < 4.
  • Example: ∣3x+1∣≥5\lvert 3x + 1\rvert \ge 5 gives x≥43x \ge \tfrac{4}{3} or x≤−2x \le -2.

∣f(x)∣\lvert f(x)\rvert compared with g(x)g(x).

  • Graph. Solve the equation first, as in section 3, and read the inequality off the sketch. In Figure 3 the V is below the line between the two meeting points. So ∣2x−3∣<x+1\lvert 2x - 3\rvert < x + 1 exactly when 23<x<4\tfrac{2}{3} < x < 4, with strict signs because the inequality is strict.
  • Cases. Split at the zero of the inside, solve each inequality, and keep only answers inside their own piece.

For ∣x+1∣<2x\lvert x + 1\rvert < 2x:

x≥−1: x+1<2x,x>1inside the piece, so keep x>1x \ge -1: \ x + 1 < 2x, \quad x > 1 \qquad \textcolor{#838c91}{\text{inside the piece, so keep }x > 1}x<−1: −(x+1)<2x,x>−13outside the piece x<−1, so nothingx < -1: \ -(x + 1) < 2x, \quad x > -\tfrac{1}{3} \qquad \textcolor{#838c91}{\text{outside the piece }x < -1\text{, so nothing}}x>1x > 1

∣f(x)∣\lvert f(x)\rvert compared with ∣g(x)∣\lvert g(x)\rvert. Both sides are non-negative, so squaring keeps the direction of the inequality.

Worked example 4 (Paper 1). Solve ∣2x+3∣≤∣x−6∣\lvert 2x + 3\rvert \le \lvert x - 6\rvert.

(2x+3)2≤(x−6)2(2x + 3)^{2} \le (x - 6)^{2}4x2+12x+9≤x2−12x+364x^{2} + 12x + 9 \le x^{2} - 12x + 363x2+24x−27≤0,x2+8x−9≤03x^{2} + 24x - 27 \le 0, \quad x^{2} + 8x - 9 \le 0(x+9)(x−1)≤0(x + 9)(x - 1) \le 0−9≤x≤1-9 \le x \le 1
  • Check with x=0x = 0: 3≤63 \le 6, true.
  • Squaring is safe only when both sides are non-negative. For ∣x+1∣<2x\lvert x + 1\rvert < 2x the right-hand side can be negative, so use the case method or the graph.

With technology. The guide's own example is ∣3xarccos⁡x∣>1\lvert 3x\arccos x\rvert > 1. No algebra solves 3xarccos⁡x=13x\arccos x = 1, so on Paper 2:

  1. Note the domain: arccos⁡x\arccos x is defined only for −1≤x≤1-1 \le x \le 1.
  2. Graph y=∣3xarccos⁡x∣y = \lvert 3x\arccos x\rvert and y=1y = 1 on that domain (Figure 4).
  3. Intersect: x=−0.189x = -0.189, 0.2540.254 and 0.9370.937 (3 s.f.).
  4. Read where the curve is above the line. On the left, the curve starts at (−1,3π)(-1, 3\pi) and falls to 1 at x=−0.189x = -0.189. On the right, it rises above 1 at 0.2540.254 and falls back at 0.9370.937.
  5. Answer: −1≤x<−0.189-1 \le x < -0.189 or 0.254<x<0.9370.254 < x < 0.937. The end point −1-1 is included because it is in the domain and the curve is above 1 there.
Figure 4 · |3x arccos(x)| > 1, with technology x y −1 −0.5 0.5 1 1 5 9 (−1, 3π) y = 1 |3x arccos x| Domain −1 ≤ x ≤ 1. The curve is above y = 1 for −1 ≤ x < −0.189 and for 0.254 < x < 0.937.
Figure 4 · |3x arccos(x)| > 1, with technology

The dashed grey piece in Figure 4 is 3xarccos⁡x3x\arccos x before the modulus. It is negative for x<0x < 0; the modulus reflected it up. Without it, the left-hand piece of the answer would be missed.

5y=1f(x)y = \dfrac{1}{f(x)}

Replace each height yy of the original graph by 1y\dfrac{1}{y}. Everything about the new graph follows from how 1y\dfrac{1}{y} behaves.

On y=f(x)y = f(x)On y=1f(x)y = \dfrac{1}{f(x)}Why
a zero, f(a)=0f(a) = 0a vertical asymptote x=ax = a1 divided by something near 0 is huge
a vertical asymptote x=ax = aa zero (the graph approaches (a,0)(a, 0))1 divided by something huge is near 0
f(x)→±∞f(x) \to \pm\infty as x→±∞x \to \pm\inftyhorizontal asymptote y=0y = 0the same reason
horizontal asymptote y=ky = k, k≠0k \ne 0horizontal asymptote y=1ky = \dfrac{1}{k}the reciprocal of kk
f(x)=1f(x) = 1 or f(x)=−1f(x) = -1the same point: invariant11=1\dfrac{1}{1} = 1 and 1−1=−1\dfrac{1}{-1} = -1
positive / negativepositive / negativethe sign never changes
a maximum at (a,b)(a, b), b≠0b \ne 0a minimum at (a,1b)\left(a, \dfrac{1}{b}\right), and the other way roundbigger heights give smaller reciprocals
increasing (away from zeros)decreasingthe same reason

The domain of 1f\dfrac{1}{f} leaves out every zero of ff. And 1f\dfrac{1}{f} is never 0, so its graph can only approach the xx-axis, never reach it.

Worked example 5 · 1f\dfrac{1}{f} for our parabola (Paper 1). Sketch y=1x2−2x−3y = \dfrac{1}{x^{2} - 2x - 3}.

  • Zeros of ff at −1-1 and 3 give the vertical asymptotes x=−1x = -1 and x=3x = 3. f→+∞f \to +\infty at both ends, so the horizontal asymptote is y=0y = 0, approached from above.
  • The minimum of ff at (1,−4)(1, -4) becomes a maximum at (1,−14)\left(1, -\tfrac{1}{4}\right).
  • The yy-intercept of ff is −3-3, so the yy-intercept of 1f\dfrac{1}{f} is (0,−13)\left(0, -\tfrac{1}{3}\right).
  • Where f=1f = 1, x=1±5x = 1 \pm \sqrt{5}; where f=−1f = -1, x=1±3x = 1 \pm \sqrt{3}. At those four points the two graphs meet.
  • Figure 5 draws it.
    • Outer branches. Outside the zeros ff is positive, so both outer branches are above the axis, rising towards the asymptotes.
    • Middle branch. Between the zeros ff is negative, so this branch is below the axis. It is an upside-down arch that peaks at (1,−14)\left(1, -\tfrac{1}{4}\right) and falls to −∞-\infty at each asymptote.
  • For y=∣1f∣y = \left\lvert\dfrac{1}{f}\right\rvert reflect that middle branch upwards. 2.13 reaches the same graph as a rational function.
Figure 5 · y = 1/f(x) from y = f(x) = x² − 2x − 3 x y −1 3 −4 −1 1 (1, −¼) (1, −4) y = 1 y = −1 x = −1 x = 3 y = f(x) y = 1/f(x) Zeros of f become vertical asymptotes; the minimum (1, −4) becomes a maximum (1, −¼). Where f = ±1 the two graphs meet (amber dots). Far out, f is large, so 1/f approaches y = 0.
Figure 5 · y = 1 ÷ f(x) from y = f(x) = x² − 2x − 3

Worked example 6 · a horizontal asymptote. Let f(x)=2x−4x+1f(x) = \dfrac{2x - 4}{x + 1}, with asymptotes x=−1x = -1 and y=2y = 2 and zero at x=2x = 2. Then 1f\dfrac{1}{f} has:

  • vertical asymptote x=2x = 2
  • a zero at (−1,0)(-1, 0)
  • horizontal asymptote y=12y = \tfrac{1}{2}
  • yy-intercept (0,−14)\left(0, -\tfrac{1}{4}\right)
  • meeting points with ff at (5,1)(5, 1) and (1,−1)(1, -1)

ff is increasing on each branch, so 1f\dfrac{1}{f} is decreasing on each.

6y=f(ax+b)y = f(ax + b)

  • At SL you met y=f(x−a)y = f(x - a) and y=f(qx)y = f(qx) separately. HL combines them. Both changes are inside the bracket, so both are horizontal. The order matters.
  • The safe way is to build the expression in two steps, replacing xx each time:
  1. Replace xx by x+bx + b: f(x)f(x) becomes f(x+b)f(x + b). This is a translation by the vector (−b,0)(-b, 0), that is, bb units left.
  2. Replace xx by axax: f(x+b)f(x + b) becomes f(ax+b)f(ax + b). A horizontal stretch with scale factor 1a\dfrac{1}{a}.
  • Translate first, then stretch. Stretching first would give f(ax)f(ax), and then replacing xx by x+bx + b gives f(a(x+b))=f(ax+ab)f(a(x + b)) = f(ax + ab), which is different.
  • The other order works if the translation is adjusted. Write f(ax+b)=f ⁣(a(x+ba))f(ax + b) = f\!\left(a\left(x + \dfrac{b}{a}\right)\right). That is a horizontal stretch with scale factor 1a\dfrac{1}{a} followed by a translation by (−ba,0)\left(-\dfrac{b}{a}, 0\right).
  • A single point moves by solving for the new xx. The point (p,q)(p, q) on y=f(x)y = f(x) goes to the point where ax+b=pax + b = p, that is (p−ba,q)\left(\dfrac{p - b}{a}, q\right). Heights and horizontal asymptotes never change.

Worked example 7. For f(x)=x2−2x−3f(x) = x^{2} - 2x - 3, sketch y=f(2x+1)y = f(2x + 1).

  • Translate 1 left: y=f(x+1)y = f(x + 1). The vertex (1,−4)(1, -4) goes to (0,−4)(0, -4). The zeros −1-1 and 3 go to −2-2 and 2.
  • Stretch horizontally with scale factor 12\tfrac{1}{2}: y=f(2x+1)y = f(2x + 1). The vertex stays at (0,−4)(0, -4), since it is on the yy-axis. The zeros halve to −1-1 and 1.
  • Figure 6 shows both steps. The point rule gives the same directly: the zero at 3 goes to 3−12=1\dfrac{3 - 1}{2} = 1, and the vertex at 1 goes to 1−12=0\dfrac{1 - 1}{2} = 0.
  • A check by algebra: f(2x+1)=(2x+1)2−2(2x+1)−3=4x2−4f(2x + 1) = (2x + 1)^{2} - 2(2x + 1) - 3 = 4x^{2} - 4, with zeros ±1\pm 1 and vertex (0,−4)(0, -4).
Figure 6 · y = f(2x + 1), built in two steps (a) y = f(x + 1) x y −2 −1 2 3 4 (b) y = f(2x + 1) x y −2 −1 1 2 4 (0, −4) (0, −4) (a) Translate 1 left: y = f(x + 1). (b) Then stretch horizontally by ½: y = f(2x + 1). Zeros −1, 3 go to −1, 1.
Figure 6 · y = f(2x + 1), built in two steps

Worked example 8 · a negative aa. If y=f(x)y = f(x) has a maximum at (3,5)(3, 5), then y=f(1−2x)y = f(1 - 2x) is f(−2x+1)f(-2x + 1). Translate 1 left, stretch by scale factor 12\tfrac{1}{2} and reflect in the yy-axis.

Point rule: 1−2x=31 - 2x = 3 gives the maximum at (−1,5)(-1, 5). Horizontal asymptotes do not move.

7y=[f(x)]2y = [f(x)]^{2}

Square every height. Consequences:

  • Nothing is negative. The whole graph lies on or above the xx-axis.
  • Zeros stay zeros, and become touching points. Near a zero, f(x)f(x) is small and changes sign. Its square is smaller still and does not, so the graph touches the axis and turns, like a double root (2.12).
  • Heights ±1\pm 1 go to 1, and 1 is the dividing line. Where ∣f(x)∣>1\lvert f(x)\rvert > 1 the square is bigger than ∣f(x)∣\lvert f(x)\rvert; where ∣f(x)∣<1\lvert f(x)\rvert < 1 it is smaller.
  • Invariant points only where f=0f = 0 or f=1f = 1. Only those heights equal their own square. Where f=−1f = -1 the square is 1, so that point moves up to height 1. The two graphs do not meet there (unlike 1f\dfrac{1}{f}, where f=−1f = -1 is fixed).
  • Turning points stay at the same xx, with the height squared: (a,b)(a, b) becomes (a,b2)(a, b^{2}). Where b>0b > 0 the type stays. Where b<0b < 0 it swaps.
    • Example: a minimum of ff below the axis, such as (1,−4)(1, -4), becomes a maximum of [f]2[f]^{2} at (1,16)(1, 16), because moving away from x=1x = 1 brings ff closer to 0.
  • Asymptotes. A vertical asymptote x=ax = a stays, with the graph going to +∞+\infty on both sides. A horizontal asymptote y=ky = k becomes y=k2y = k^{2}.
    • If k>0k > 0 the side is kept. f→kf \to k from below gives [f]2→k2[f]^{2} \to k^{2} from below, and from above gives from above.
    • If k<0k < 0 the sides swap. f→−2f \to -2 from below means values like −2.1-2.1, whose squares like 4.41 are above 4. So [f]2→4[f]^{2} \to 4 from above.
    • If k=0k = 0 then [f]2→0[f]^{2} \to 0 from above, whichever side ff came from.

Figure 7 shows [f(x)]2=(x2−2x−3)2[f(x)]^{2} = (x^{2} - 2x - 3)^{2}. It touches at −1-1 and 3, humps to (1,16)(1, 16) in between, and has yy-intercept (0,9)(0, 9). It rises steeply further out, beyond x=1±5x = 1 \pm \sqrt{5}, where the parabola is above 1.

Figure 7 · The square of f(x) = x² − 2x − 3 x y −1 1 3 −4 16 (1, 16) (1, −4) y = [f(x)]² y = f(x) Zeros become touching points, the minimum (1, −4) becomes a maximum (1, 16), and y ≥ 0 everywhere.
Figure 7 · The square of f(x) = x² − 2x − 3

Do not confuse [f(x)]2[f(x)]^{2} with f(x2)f(x^{2}) or ∣f(x)∣\lvert f(x)\rvert. Both touch the axis at zeros, but ∣f∣\lvert f\rvert has a corner there and [f]2[f]^{2} is smooth.

Practice questions

17 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.