Free worked solutions · 2026 Edition

IB Maths AA SL Chapter 4: Functions and quadratics worked solutions

Worked solutions to the practice questions in Chapter 4 of The Ultimate Guide for the IB: Mathematics: Analysis and Approaches SL (2026 Edition). Each solution shows every step with the mark it earns, the way an IB mark scheme does.

  • Chapter 4 of 12
  • 24 practice questions
  • 4 Going further
  • Free, no sign-up

Basics

One idea at a time, in the order the chapter teaches them.

Question 1

[6 marks]
The line L passes through A(-2,\,9) and B(4,\,-3).
(a) Find the gradient of L.
[2]
(b) Find an equation for L in the form y=mx+c.
[2]
(c) Write the equation of L in the form ax+by+d=0, where a,\ b,\ d\in\mathbb{Z}.
[1]
(d) Find the x-intercept of L.
[1]
Show solutionHide solution
(a) m=\dfrac{-3-9}{4-(-2)}
M1
m=-2
A1
(b) y-9=-2(x+2)
M1
y=-2x+5
A1
(c) 2x+y-5=0
A1
(d) 0=-2x+5 \Rightarrow x=\dfrac{5}{2}
A1
Note: FT from their equation in (b) for (c) and (d).

Final answer

  • (a) -2
  • (b) y=-2x+5
  • (c) 2x+y-5=0
  • (d) \frac52.

Question 2

[6 marks]
Write down the largest possible domain of each function.
(a) f(x)=\sqrt{x-6}
[1]
(b) g(x)=\dfrac{1}{x+2}
[1]
(c) h(x)=\sqrt{10-2x}
[2]
(d) k(x)=\dfrac{3}{x^2-9}
[2]
Show solutionHide solution
(a) x\ge 6
A1
(b) x\in\mathbb{R},\ x\ne -2
A1
(c) 10-2x\ge 0 (M1)
x\le 5
A1
(d) x^2-9=0 \Rightarrow x=\pm 3 (M1)
x\in\mathbb{R},\ x\ne 3,\ x\ne -3
A1

Final answer

  • (a) x\ge6
  • (b) x\ne-2
  • (c) x\le5
  • (d) x\ne\pm3.

Question 3

[8 marks]
(a) Write 2x^2-20x+43 in the form a(x-h)^2+k.
[3]
(b) Write 3x^2+18x+31 in the form a(x-h)^2+k.
[3]
(c) Hence write down the minimum value of each expression, and the value of x at which it occurs.
[2]
Show solutionHide solution
(a) 2(x^2-10x)+43
M1
=2\left[(x-5)^2-25\right]+43 (A1)
=2(x-5)^2-7
A1
(b) 3(x^2+6x)+31=3\left[(x+3)^2-9\right]+31
M1
=3(x+3)^2-27+31 (A1)
=3(x+3)^2+4
A1
(c) minimum -7 when x=5
A1
minimum 4 when x=-3
A1
Note: a common error is 2(x-5)^2-25+43 (forgetting to multiply -25 by 2); this earns M1(A0)A0. FT in (c).

Final answer

  • (a) 2(x-5)^2-7
  • (b) 3(x+3)^2+4
  • (c) -7 at 5; 4 at -3.

Question 4

[7 marks]
The graph of a quadratic function f has vertex (-2,\ 18) and crosses the x-axis at (1,\ 0).
(a) Write down the coordinates of the other point where the graph crosses the x-axis.
[1]
(b) Write f(x) in the form a(x-p)(x-q), and find the value of a.
[2]
(c) Write f(x) in the form ax^2+bx+c.
[2]
(d) Write down the y-intercept of the graph and the range of f.
[2]
Show solutionHide solution
(a) the axis is x=-2 and (1,0) is 3 units to its right, so the other intercept is 3 units to its left: (-5,\ 0)
A1
(b) f(x)=a(x-1)(x+5) and f(-2)=18: 18=a(-2-1)(-2+5)=-9a
M1
a=-2
A1
(c) -2(x^2+4x-5)
M1
=-2x^2-8x+10
A1
(d) y-intercept (0,\ 10)
A1
a<0, so the vertex is a maximum: range f(x)\le 18
A1
Note: in (d) the range needs no new work: the maximum value is the y-coordinate of the vertex. FT from (a) in (b) and from (b) in (c).

Final answer

  • (a) (-5,0)
  • (b) -2(x-1)(x+5), a=-2
  • (c) -2x^2-8x+10
  • (d) (0,10), f(x)\le18.

Question 5

[7 marks]
(a) Solve the equation x+\dfrac{8}{x}=6.
[3]
(b) Solve the equation \dfrac{1}{x}+\dfrac{1}{x+3}=\dfrac{1}{2}.
[4]
Show solutionHide solution
(a) multiplying by x (x\ne 0): x^2+8=6x
M1
x^2-6x+8=0 \Rightarrow (x-2)(x-4)=0
A1
x=2 or x=4
A1
(b) multiplying by 2x(x+3): 2(x+3)+2x=x(x+3)
M1
x^2-x-6=0
A1
(x-3)(x+2)=0 \Rightarrow x=3 or x=-2
A1
neither value makes a denominator zero (x\ne 0,\ x\ne -3), so both are solutions
R1

Final answer

  • (a) 2,4
  • (b) -2,3.

Question 6

[7 marks]
Consider the equation x^2+kx+k-1=0, where k\in\mathbb{R}.
(a) Show that the discriminant of the equation is (k-2)^2.
[2]
(b) Hence explain why the equation has real roots for every value of k.
[1]
(c) Find the value of k for which the equation has a repeated root, and find this root.
[2]
(d) Show that x^2+kx+k-1=(x+1)(x+k-1), and hence write down the two roots in terms of k.
[2]
Show solutionHide solution
(a) \Delta=k^2-4(1)(k-1)
M1
=k^2-4k+4
A1
=(k-2)^2
AG
(b) a square is never negative, so \Delta\ge 0 for all k, hence the roots are always real
R1
(c) \Delta=0 \Rightarrow k=2
A1
x^2+2x+1=0 \Rightarrow x=-1
A1
(d) (x+1)(x+k-1)=x^2+kx-x+x+k-1=x^2+kx+k-1
M1
roots x=-1 and x=1-k
A1

Final answer

  • (a) (k-2)^2
  • (b) \Delta\ge0
  • (c) k=2, root -1
  • (d) roots -1, 1-k.

Question 7

[9 marks]
Let f(x)=\dfrac{3-x}{2x+1}, x\ne -\dfrac{1}{2}.
(a) Write down the equations of both asymptotes.
[2]
(b) Find the two axis intercepts.
[2]
(c) Sketch the graph of f, showing the asymptotes and intercepts.
[3]
(d) Solve f(x)=-2.
[2]
Show solutionHide solution
(a) x=-\dfrac{1}{2}
A1
y=-\dfrac{1}{2}
A1
(b) (3,\ 0)
A1
(0,\ 3)
A1
(c) A1A1A1
Two branches: above the horizontal asymptote on the right, below it on the left. Dashed asymptotes and both intercepts labelled.
Note: award A1 for two branches of the correct shape in the correct regions relative to the asymptotes, A1 for both asymptotes drawn (dashed) and labelled, A1 for the intercepts labelled.
(d) 3-x=-2(2x+1)=-4x-2
M1
3x=-5 \Rightarrow x=-\dfrac{5}{3}
A1

Final answer

  • (a) x=-\frac12, y=-\frac12
  • (b) (3,0), (0,3)
  • (c) two branches, right above y=-\frac12
  • (d) -\frac53.

Question 8

[8 marks]
The function f has domain -1\le x\le 5 and range -2\le f(x)\le 6.
For each of the following, write down the domain and the range.
(a) y=f(x-4)
[2]
(b) y=-f(x)
[2]
(c) y=f\left(\frac{1}{2}x\right)
[2]
(d) y=f(-x)
[2]
Show solutionHide solution
(a) domain 3\le x\le 9
A1
range -2\le y\le 6 (unchanged)
A1
(b) domain -1\le x\le 5
A1
y-values change sign: range -6\le y\le 2
A1
(c) horizontal stretch scale factor 2: domain -2\le x\le 10
A1
range -2\le y\le 6
A1
(d) domain -5\le x\le 1
A1
range -2\le y\le 6
A1
Note: in (b) the end points swap: -6 (from the old upper bound 6) becomes the lower bound.

Final answer

  • (a) 3\le x\le9, -2\le y\le6
  • (b) -1\le x\le5, -6\le y\le2
  • (c) -2\le x\le10, -2\le y\le6
  • (d) -5\le x\le1, -2\le y\le6.

Tutorial

Exam-style questions on each question type, with the marks the IB would give.

Question 9

[7 marks]
Use the rules f(x)=3x-2 and g(x)=x^{2}+1, both defined on \mathbb{R}.
(a) Write down an expression for (f\circ g)(x).
[1]
(b) Show that (g\circ f)(x)=9x^{2}-12x+5.
[2]
(c) Solve (g\circ f)(x)=37.
[4]
Show solutionHide solution
(a) (f\circ g)(x)=f(x^{2}+1)=3(x^{2}+1)-2=3x^{2}+1.
[1]
(b) (g\circ f)(x)=g(3x-2)=(3x-2)^{2}+1.
[1]
=9x^{2}-12x+4+1=9x^{2}-12x+5.
[1]
(c) 9x^{2}-12x+5=37.
[1]
9x^{2}-12x-32=0.
[1]
(3x-8)(3x+4)=0.
[1]
x=\tfrac83 or x=-\tfrac43.
[1]

Final answer

  • (a) 3x^2+1
  • (b) 9x^2-12x+5
  • (c) -\frac43,\frac83.

Question 10

[6 marks]
Use these three rules:
f(x)=\sqrt{x+1}, x\ge-1;
g(x)=x-5, x\in\mathbb{R};
h(x)=\frac1{x-2}, x\ne2.
(a) Find (f\circ g)(x) and state its domain.
[2]
(b) Find (g\circ f)(x) and state its range.
[2]
(c) State the largest possible domain of h\circ f.
[2]
Show solutionHide solution
(a) (f\circ g)(x)=f(x-5)=\sqrt{x-4}.
[1]
It needs x-4\ge 0: domain x\ge 4.
[1]
(b) (g\circ f)(x)=\sqrt{x+1}-5.
[1]
Since \sqrt{x+1}\ge 0 for x\ge-1, the range is y\ge -5.
[1]
(c) x must be in the domain of f, so x\ge -1.
[1]
Also f(x)\ne 2, i.e. \sqrt{x+1}\ne 2, so x\ne 3. Domain: x\ge -1, x\ne 3.
[1]

Final answer

  • (a) \sqrt{x-4}, x\ge4
  • (b) \sqrt{x+1}-5, range y\ge-5
  • (c) x\ge-1, x\ne3.

Question 11

[5 marks]
Use f(x)=x-3 on \mathbb{R}. The function g is such that (g\circ f)(x)=x^{2}+2x-5.
(a) Find g(x).
[3]
(b) Find the least value of (g\circ f)(x), and the value of x at which it occurs.
[2]
Show solutionHide solution
(a) Let u=x-3, so x=u+3. Then g(u)=(u+3)^{2}+2(u+3)-5.
[1]
g(u)=u^{2}+6u+9+2u+6-5=u^{2}+8u+10.
[1]
g(x)=x^{2}+8x+10.
[1]
(b) (g\circ f)(x)=x^{2}+2x-5=(x+1)^{2}-6.
[1]
The least value is -6, at x=-1.
[1]

Final answer

  • (a) x^2+8x+10
  • (b) -6 at x=-1.

Question 12

[7 marks]
Use f(x)=x^{2}+4x-1 only for x\ge-2.
(a) Write f(x) in the form (x+a)^{2}+b.
[2]
(b) Find f^{-1}(x).
[3]
(c) State the domain of f^{-1}.
[1]
(d) Find f^{-1}(11).
[1]
Show solutionHide solution
(a) f(x)=(x+2)^{2}-4-1.
[1]
f(x)=(x+2)^{2}-5.
[1]
(b) Let y=(x+2)^{2}-5 and swap: x+5=(y+2)^{2}.
[1]
y+2=\pm\sqrt{x+5}.
[1]
The range of f^{-1} is y\ge -2 (the domain of f), so y+2\ge 0 and we take the positive root: f^{-1}(x)=\sqrt{x+5}-2.
[1]
(c) The domain of f^{-1} is the range of f: x\ge -5.
[1]
(d) f^{-1}(11)=\sqrt{16}-2=2.
[1]

Final answer

  • (a) (x+2)^2-5
  • (b) \sqrt{x+5}-2
  • (c) x\ge-5
  • (d) 2.

Question 13

[6 marks]
A parabola has its vertex at (1,-8) and crosses the y-axis at (0,-6). It is the graph of y=f(x).
(a) Write f(x) in vertex form, a(x-h)^{2}+k.
[3]
(b) Find the x-intercepts of the graph.
[2]
(c) Write down the coordinates of the other point on the graph that has y-coordinate -6.
[1]
Show solutionHide solution
(a) The vertex gives f(x)=a(x-1)^{2}-8.
[1]
At (0,-6): -6=a(1)-8.
[1]
a=2, so f(x)=2(x-1)^{2}-8.
[1]
(b) 2(x-1)^{2}-8=0\Rightarrow (x-1)^{2}=4.
[1]
x-1=\pm2, so x=3 or x=-1.
[1]
(c) (0,-6) is 1 unit to the left of the axis x=1, so the mirror point is (2,-6).
[1]

Final answer

  • (a) 2(x-1)^2-8
  • (b) (-1,0),(3,0)
  • (c) (2,-6).

Question 14

[6 marks]
Solve each inequality.
(a) 2x^{2}-x-6<0
[3]
(b) 3-5x-2x^{2}>0
[3]
Show solutionHide solution
(a) 2x^{2}-x-6=(2x+3)(x-2).
[1]
The graph is a \cup-shape with roots x=-\tfrac32 and x=2.
[1]
It is below the axis between the roots: -\tfrac32<x<2.
[1]
(b) 3-5x-2x^{2}>0\Rightarrow 2x^{2}+5x-3<0 (multiplying by -1 reverses the inequality).
[1]
(2x-1)(x+3)<0, with roots x=\tfrac12 and x=-3.
[1]
-3<x<\tfrac12.
[1]

Final answer

  • (a) -\frac32<x<2
  • (b) -3<x<\frac12.

Question 15

[7 marks]
The equation 2x^{2}-kx+k=0, where k is a real constant, has two different real roots.
(a) Determine the allowed range of k.
[5]
(b) For k=10, solve the equation, giving your answers in exact form.
[2]
Show solutionHide solution
(a) Two distinct real roots need \Delta>0.
[1]
\Delta=(-k)^{2}-4(2)(k)=k^{2}-8k, so k^{2}-8k>0.
[1]
k(k-8)>0, with critical values k=0 and k=8.
[1]
The graph of k^{2}-8k is a \cup-shape, positive outside the roots.
[1]
k<0 or k>8.
[1]
(b) k=10 is allowed (since 10>8). The equation is 2x^{2}-10x+10=0\Rightarrow x^{2}-5x+5=0.
[1]
x=\dfrac{5\pm\sqrt{25-20}}{2}=\dfrac{5\pm\sqrt5}{2}.
[1]

Final answer

  • (a) k<0 or k>8
  • (b) \frac{5\pm\sqrt5}{2}.

Question 16

[7 marks]
Use f(x)=\dfrac{3x-7}{x-2}, excluding x=2.
(a) Show that f(x)=3-\dfrac{1}{x-2}.
[2]
(b) Start from y=\dfrac1x. Describe the successive transformations needed to produce y=f(x).
[3]
(c) Use the transformed axes to state both asymptotes and the range.
[2]
Show solutionHide solution
(a) 3-\dfrac{1}{x-2}=\dfrac{3(x-2)-1}{x-2}.
[1]
=\dfrac{3x-6-1}{x-2}=\dfrac{3x-7}{x-2}.
[1]
(b) A reflection in the x-axis maps y=\frac1x onto y=-\frac1x.
[1]
A translation of 2 units in the positive x-direction gives y=-\frac{1}{x-2}.
[1]
A translation of 3 units in the positive y-direction gives y=3-\frac{1}{x-2}.
[1]
(c) The asymptotes x=0 and y=0 of y=\frac1x move to x=2 and y=3.
[1]
Range: y\in\mathbb{R}, y\ne 3.
[1]

Final answer

  • (a) 3-\frac1{x-2}
  • (b) reflection in the x-axis, then translation by \binom{2}{3}
  • (c) x=2, y=3, range y\ne3.

Question 17

[7 marks]
Use f(x)=\dfrac{ax+b}{x+c}, with x\ne-c and real constants a,b,c. The graph of y=f(x) has vertical asymptote x=2, crosses the x-axis at (3,0) and crosses the y-axis at (0,6).
(a) Determine all three constants.
[4]
(b) State the equation of the horizontal asymptote of y=f(x).
[1]
(c) Show that the graph of y=f(x) does not meet the line y=x+1.
[2]
Show solutionHide solution
(a) The vertical asymptote is x=-c=2, so c=-2.
[1]
The zero at x=3 gives 3a+b=0, so b=-3a.
[1]
f(0)=\dfrac{b}{-2}=6\Rightarrow b=-12.
[1]
Then a=4: a=4, b=-12, c=-2.
[1]
(b) y=\dfrac{a}{1}=4.
[1]
(c) f(x)=x+1\Rightarrow 4x-12=(x+1)(x-2)\Rightarrow x^{2}-5x+10=0.
[1]
\Delta=25-40=-15<0, so there are no real solutions: the graphs do not meet.
[1]

Final answer

  • (a) a=4,b=-12,c=-2
  • (b) y=4
  • (c) \Delta=-15<0.

Mastery

Full exam questions that mix question types, at Paper 1 and Paper 2 standard.

Question 18

[7 marks]
For x \in \mathbb{R}, let f(x) = ax + b where a,\,b \in \mathbb{Z}, and let g(x) = x^{2} + 3x - 2.
Given that (g \circ f)(x) = 9x^{2} + 15x + 2, find the two possible functions f.
[7]
Show solutionHide solution
Substituting f into g and expanding:
(g\circ f)(x) = (ax+b)^{2} + 3(ax+b) - 2 = a^{2}x^{2} + (2ab + 3a)x + (b^{2} + 3b - 2).
Equating with 9x^{2} + 15x + 2:
a^{2} = 9,\qquad a(2b+3) = 15,\qquad b^{2} + 3b - 2 = 2.
From the constant terms: b^{2} + 3b - 4 = 0 \implies (b+4)(b-1) = 0, so b = -4 or b = 1.
From the x-terms:
; if b = 1, then 5a = 15, so a = 3 (consistent with a^{2}=9);
; if b = -4, then -5a = 15, so a = -3 (consistent with a^{2}=9).
The mixed pairs (a,b) = (3,-4) and (-3,1) would give x-coefficients -15, so they are rejected.
f(x) = 3x + 1 or f(x) = -3x - 4
[7]

Final answer

f(x)=3x+1 or f(x)=-3x-4.

Question 19

[8 marks]
For x \in \mathbb{R}, let
f(x) = -x^{2} + 8x + p, \qquad g(x) = x^{2} + qx + 2,
The constants p and q are non-zero. Let A be the vertex of the graph of f and B the vertex of the graph of g. Both A and B lie on the line y = 4x - 3.
(a) Show that p = -3.
[3]
(b) Determine the possible values of q.
[5]
Show solutionHide solution
(a) For f(x) = -x^{2} + 8x + p the vertex is at
x = \frac{-8}{2(-1)} = 4
Since A lies on y = 4x - 3, its y-coordinate is
y = 4(4) - 3 = 13
A also lies on the curve, so f(4) = 13:
-(4)^{2} + 8(4) + p = 13
-16 + 32 + p = 13 \implies 16 + p = 13 \implies p = -3
[3]
(b) For g(x) = x^{2} + qx + 2 the vertex is at x = -\dfrac{q}{2}, where
g\left(-\frac{q}{2}\right) = \frac{q^{2}}{4} - \frac{q^{2}}{2} + 2 = 2 - \frac{q^{2}}{4}
B lies on y = 4x - 3, so
2 - \frac{q^{2}}{4} = 4\left(-\frac{q}{2}\right) - 3 = -2q - 3
Multiplying through by 4:
8 - q^{2} = -8q - 12
q^{2} - 8q - 20 = 0 \implies (q - 10)(q + 2) = 0
q = 10 \quad \text{or} \quad q = -2
Both are non-zero, so both are admissible.
q = 10 or q = -2
[5]

Final answer

  • (a) p=-3
  • (b) q=10 or -2.

Question 20

[8 marks]
The graph of y = \dfrac{Ax + B}{x + 2}, where x \in \mathbb{R}, x \neq -2 and A, B \in \mathbb{Z}, passes through the points \mathrm{P}(1, -1) and \mathrm{Q}(-5, -3).
(a) Determine A and B.
[3]
(b) (i) Write y = \dfrac{Ax + B}{x + 2} in the form C + \dfrac{D}{x + 2}, where C, D \in \mathbb{Z}.
[2]
(ii) Use your answer to explain how the curve y = \dfrac{1}{x} can be turned into the curve y = \dfrac{Ax + B}{x + 2} by three successive geometric transformations, stating each one in full.
[3]
Show solutionHide solution
(a)
Point P has x + 2 = 3:
-1 = \frac{A + B}{3} \implies A + B = -3
Point Q has x + 2 = -3:
-3 = \frac{-5A + B}{-3} \implies -5A + B = 9
Taking the second equation minus the first gives -6A = 12, so
A = -2, \qquad B = -1
[3]
(b)(i)
Writing the numerator as -2(x+2) + 3:
\frac{-2x - 1}{x + 2} = -2 + \frac{3}{x + 2}
so C = -2 and D = 3.
[2]
(b)(ii)
Step 1: scale every y-value of y = \dfrac{1}{x} by 3 (stretch parallel to the y-axis, factor 3), obtaining y = \dfrac{3}{x}.
Step 2: slide the curve 2 units in the negative x direction, obtaining y = \dfrac{3}{x+2}.
Step 3: lower it by 2 units, obtaining y = \dfrac{3}{x+2} - 2.
(Steps 2 and 3 may be combined as the single translation \begin{pmatrix} -2 \\ -2 \end{pmatrix}.)
[3]

Final answer

  • (a) A=-2,B=-1
  • (b) -2+\frac3{x+2}; vertical stretch, scale factor 3; translation by \binom{-2}{0}; translation by \binom{0}{-2}.

Question 21

[6 marks]
The function f is defined by f(x)=8x-x^{3/2}, for x\ge 0.
(a) Use your GDC to sketch the graph of y=f(x) and find the coordinates of its highest point.
[2]
(b) Write down the range of f.
[2]
(c) Solve f(x)=40.
[2]
Show solutionHide solution
(a) Enter f_1(x)=8x-x^{1.5} with window 0\le x\le80, then Analyze Graph \rightarrow Maximum. The curve rises from (0,0), reaches a maximum and then falls without bound.
[1]
Highest point: (28.4,\ 75.9) (unrounded (28.444\ldots,\ 75.851\ldots)).
[1]
(b) The greatest output is 75.9, and the outputs decrease without bound as x grows.
[1]
Range: y\le 75.9 (3 s.f.).
[1]
(c) Graph y=40 as f_2(x) and use Intersection (the line meets the curve twice, once on each side of the maximum).
[1]
x=7.64 and x=52.4.
[1]

Final answer

  • (a) maximum (28.4,75.9); sketch starts at (0,0), crosses again at (64,0), then falls
  • (b) y\le75.9
  • (c) 7.64,52.4.

Question 22

[6 marks]
Use f(x)=x^{2}-4x+11 on the given domain x\ge2.
(a) Find the range of f.
[2]
(b) Find f^{-1}(x) and state its domain.
[3]
(c) Find f^{-1}(16).
[1]
Show solutionHide solution
(a) f(x)=(x-2)^{2}+7.
[1]
For x\ge 2 the least value is f(2)=7, so the range is y\ge 7.
[1]
(b) Let y=(x-2)^{2}+7 and swap: x-7=(y-2)^{2}.
[1]
y\ge 2 so y-2=+\sqrt{x-7}: f^{-1}(x)=2+\sqrt{x-7}.
[1]
The domain of f^{-1} is the range of f: x\ge 7.
[1]
(c) f^{-1}(16)=2+\sqrt{9}=5.
[1]

Final answer

  • (a) y\ge7
  • (b) 2+\sqrt{x-7}, x\ge7
  • (c) 5.

Question 23

[12 marks]
Let f(x)=x^{2}+2x+3, for x\in\mathbb{R}, and let L_k be the line y=kx, where k\in\mathbb{R}.
(a) Show that the x-coordinates of any points where L_k meets the graph of f satisfy x^{2}+(2-k)x+3=0.
[1]
(b) Find, in exact form, the set of values of k for which L_k does not meet the graph of f.
[4]
(c) Hence write down the smallest and the largest integer values of k for which L_k does not meet the graph.
[2]
(d) For k=7, find the x-coordinates of the points where L_7 meets the graph of f.
[2]
(e) For k=7, find the distance between the two points where L_7 meets the graph of f.
[3]
Show solutionHide solution
(a) x^{2}+2x+3=kx\Rightarrow x^{2}+(2-k)x+3=0.
[1]
(b) No common points needs \Delta<0.
[1]
\Delta=(2-k)^{2}-4(1)(3)=(k-2)^{2}-12<0.
[1]
(k-2)^{2}<12\Rightarrow |k-2|<2\sqrt3.
[1]
2-2\sqrt3<k<2+2\sqrt3.
[1]
(c) 2-2\sqrt3=-1.46\ldots and 2+2\sqrt3=5.46\ldots.
[1]
Smallest integer k=-1 and largest integer k=5.
[1]
(d) x^{2}-5x+3=0; use Solve or Intersection.
[1]
x=0.697 and x=4.30 (exactly \frac{5\pm\sqrt{13}}{2}).
[1]
(e) Both points lie on y=7x, so \Delta y=7\,\Delta x, where \Delta x=\sqrt{13}\approx3.606.
[1]
Distance =\sqrt{(\Delta x)^{2}+(\Delta y)^{2}}=\sqrt{1+49}\,\Delta x=\sqrt{50}\times\sqrt{13}.
[1]
=5\sqrt{26}=25.5 (3 s.f.).
[1]

Final answer

  • (a) x^2+(2-k)x+3=0
  • (b) 2-2\sqrt3<k<2+2\sqrt3
  • (c) -1,5
  • (d) 0.697,4.30
  • (e) 25.5.

Question 24

[16 marks]
A cooling test records a sensor response p(t)=1.8+4.2t e^{-0.6t} on 0\le t\le9, where t is in minutes.
(a) Find the readings at the start and end of the test.
[2]
(b) Use your GDC to find the coordinates of the highest point of the response curve.
[2]
(c) Draw a labelled sketch over the whole test interval and state the range.
[4]
(d) An alarm operates whenever p(t)>3. Find the time interval during which the alarm operates.
[3]
The displayed reading q(t) is produced by stretching the response graph vertically with factor 1.5, then translating it down 0.9.
(e) Write q(t) in terms of p(t) and explain why q(t)=3.6 at the same times as p(t)=3.
[3]
(f) State the range of the displayed reading.
[2]
Show solutionHide solution
(a) p(0)=1.8 and p(9)=1.8+37.8e^{-5.4}=1.97 A1A1.
(b) GDC maximum: (1.67,4.38); stored values (1.6666667,4.3751561) M1A1.
(c) The curve starts at (0,1.80), rises smoothly to the maximum and falls to (9,1.97). Label those three points and stop at t=9 A1A1A1. Range 1.80\le p\le4.38 A1.
(d) Intersections with y=3 occur at 0.3531453 and 4.6490393 M1A1. The graph is above the line between them: 0.353<t<4.65 minutes A1.
(e) q(t)=1.5p(t)-0.9 A1. Thus q=3.6 means 1.5p=4.5 M1, or p=3 R1.
(f) A positive vertical stretch preserves the order of heights. The lower bound becomes 1.5(1.8)-0.9=1.8 and the upper bound becomes 1.5(4.3751561)-0.9=5.6627341. Hence 1.80\le q\le5.66 A1A1.

Final answer

  • (a) 1.80,1.97
  • (b) (1.67,4.38)
  • (c) smooth curve, endpoints and peak labelled; range 1.80\le p\le4.38
  • (d) 0.353<t<4.65
  • (e) q=1.5p-0.9
  • (f) 1.80\le q\le5.66.

Going further

Beyond the syllabus: the worked examples and investigations of the chapter's Going further pages.

G1 Where a function meets its inverse

G1 Worked example

[12 marks]
Let f(x)=1-x^3 on \mathbb{R}.
(a) Show f is decreasing and find f^{-1}.
[2]
(b) Use your GDC to graph f and its inverse for -1.5\le x\le1.5. Write down the number of points the two graphs have in common.
[2]
(c) Show that (a,b) is common to both exactly when f(a)=b and f(b)=a.
[1]
(d) For a\ne b, show that a^2+ab+b^2=1 and a^3+b^3+a+b=2.
[2]
(e) Let s=a+b. Show that s^3-2s+1=0.
[2]
(f) Find the common points off y=x. Keep integer coordinates exact and give other coordinates to three significant figures.
[3]
Show solutionHide solution
(a) If a<b then a^3<b^3, so 1-a^3>1-b^3: f is decreasing
R1
x=1-y^3 gives f^{-1}(x)=\sqrt[3]{1-x}
A1
(b) Sketch: two curves, each the reflection of the other in y=x
A1
They meet at 5 points
A1
(c) (a,b) is on y=f^{-1}(x) exactly when b=f^{-1}(a), that is, when f(b)=a; it is on y=f(x) exactly when f(a)=b
R1
(d) b=1-a^3 and a=1-b^3. Subtracting, b-a=b^3-a^3=(b-a)(b^2+ab+a^2), and b-a\ne0
M1
so a^2+ab+b^2=1; adding the two equations, a+b=2-a^3-b^3, so a^3+b^3+a+b=2
A1
(e) a^2+ab+b^2=s^2-ab=1, so ab=s^2-1
M1
a^3+b^3=s^3-3abs=s^3-3s(s^2-1), so s^3-3s^3+3s+s=2, which is s^3-2s+1=0
A1AG
(f) s^3-2s+1=(s-1)(s^2+s-1), so s=1 or s=\dfrac{-1\pm\sqrt5}{2}
M1
s=1: ab=0, giving (0,1) and (1,0)
A1
Substitution b=s-a gives a^2-sa+s^2-1=0, with discriminant 4-3s^2. For s=\dfrac{-1+\sqrt5}{2}: (1.15,-0.536) and (-0.536,1.15); for s=\dfrac{-1-\sqrt5}{2} the discriminant is negative, so there are no points
A1
Check: 4 points off the line and 1 on it make the 5 seen in (b).

Final answer

  • (a) f^{-1}(x)=\sqrt[3]{1-x}
  • (b) 5
  • (f) (0,1), (1,0), (1.15,-0.536), (-0.536,1.15)

G1 Investigation

[12 marks]
For k\in\mathbb{R}, let f(x)=k-x^3, x\in\mathbb{R}. This investigation counts the points that the graph of f shares with the graph of its inverse, called meeting points below.
(a) Use your GDC to find the number of meeting points when k=0.5, k=1 and k=1.2. Suggest how the number depends on k.
[2]
(b) Show that, for every k, exactly one meeting point lies on the line y=x.
[2]
(c) Suppose that (a,b) is a meeting point with a\ne b, and let s=a+b. Show that a^2+ab+b^2=1 and that k=2s-s^3.
[3]
(d) Substitute b=s-a into a^2+ab+b^2=1 to show that a^2-sa+s^2-1=0. Hence show that -\dfrac{2}{\sqrt3}<s<\dfrac{2}{\sqrt3}.
[2]
(e) You are given that the greatest value of 2s-s^3 for s>0 is \dfrac{4\sqrt6}{9}. Find the exact set of values of k>0 for which the two graphs meet at exactly five points.
[3]
Show solutionHide solution
(a) k=0.5: 3 points; k=1: 5 points; k=1.2: 1 point
A1
For example: one meeting point when k is large, more when k is near 1, and the number is always odd
A1
(b) A meeting point on y=x has f(x)=x, that is x^3+x=k
M1
x^3+x is increasing and takes every real value, so this has exactly one solution
R1
(c) As for any f, (a,b) is a meeting point exactly when b=k-a^3 and a=k-b^3. Subtracting, b-a=(b-a)(a^2+ab+b^2), and a\ne b, so a^2+ab+b^2=1
M1A1
Adding, a+b=2k-(a^3+b^3)=2k-\left(s^3-3s(s^2-1)\right), using ab=s^2-1; so 2k=4s-2s^3, k=2s-s^3
A1
(d) b=s-a gives a^2+a(s-a)+(s-a)^2=1, hence a^2-sa+s^2-1=0
A1
They are real and different, so the discriminant s^2-4(s^2-1)=4-3s^2>0, which gives -\dfrac{2}{\sqrt3}<s<\dfrac{2}{\sqrt3}
A1
(e) Each s in this interval with 2s-s^3=k gives two meeting points (a,b) and (b,a). Five points need two such values of s
M1
On 0<s<\dfrac{2}{\sqrt3}, 2s-s^3 rises from 0 to \dfrac{4\sqrt6}{9} and falls back to \dfrac{4}{\sqrt3}-\dfrac{8}{3\sqrt3}=\dfrac{4\sqrt3}{9} at the end, and for s\le0 it is not positive
M1
Two values of s exactly when \dfrac{4\sqrt3}{9}<k<\dfrac{4\sqrt6}{9} (about 0.770<k<1.09)
A1
Note: the end s=\frac{2}{\sqrt3} is excluded because there a=b; at k=\frac{4\sqrt6}{9} the two values of s coincide.

Final answer

  • (a) 3, 5, 1
  • (e) \frac{4\sqrt3}{9}<k<\frac{4\sqrt6}{9}

G2 When do two transformations commute?

G2 Worked example

[8 marks]
Sequence T_1 stretches vertically by factor 2, then translates up 4, sending (x,y) to (x,2y+4). Sequence T_2 stretches vertically by factor 3, then translates up c.
(a) Write down the equation of the image under T_1 then T_2, and under T_2 then T_1.
[2]
(b) Find c so both orders agree for every f.
[2]
(c) For this c, show both sequences fix the height y=-4.
[2]
(d) Show that T_1 commutes with a vertical translation by d only when d=0.
[2]
Show solutionHide solution
(a) T_1 then T_2: y=3\bigl(2f(x)+4\bigr)+c=6f(x)+12+c
A1
T_2 then T_1: y=2\bigl(3f(x)+c\bigr)+4=6f(x)+2c+4
A1
(b) The same graph for every f needs 12+c=2c+4
M1
c=8
A1
(c) T_1: y=-4\mapsto2(-4)+4=-4
A1
T_2: y=-4\mapsto3(-4)+8=-4; x is unchanged by both
A1
(d) T_1 then the translation: y=2f(x)+4+d; the translation then T_1: y=2\bigl(f(x)+d\bigr)+4=2f(x)+2d+4
M1
4+d=2d+4 only when d=0
A1

Final answer

  • (a) y=6f(x)+12+c and y=6f(x)+2c+4
  • (b) c=8

G2 Investigation

[8 marks]
Sequence S stretches horizontally by factor \frac12; T translates six units right. Two sequences commute when either order gives the same graph for every f.
(a) Write the successive equations for S then T, and for the reverse order.
[2]
(b) Find the image of (x_0,y_0) under each order, and explain the difference.
[2]
(c) For stretch factor r>0 and translation distance h, show the orders agree exactly when (r-1)h=0.
[2]
(d) Use a point to explain why a horizontal stretch with factor r commutes with a vertical translation by b.
[2]
Show solutionHide solution
(a) S: f(2x), then T: f(2(x-6))=f(2x-12) A1. T: f(x-6), then S: f(2x-6) A1.
(b) S then T sends the point to (x_0/2+6,y_0) A1; the reverse sends it to ((x_0+6)/2,y_0)=(x_0/2+3,y_0) R1. The stretch halves a translation made before it.
(c) The two final abscissae are rx_0+h and r(x_0+h) M1. Equality for every x_0 means h=rh, or (r-1)h=0 A1. Thus the stretch factor is 1 or the translation distance is 0.
(d) With vertical translation distance b, either order gives (rx_0,y_0+b) M1; each step changes a different coordinate R1.

Final answer

  • (a) f(2x-12) and f(2x-6)
  • (b) (x_0/2+6,y_0) and (x_0/2+3,y_0)
  • (c) r=1 or h=0
  • (d) (rx_0,y_0+b).

TI-84 Plus CE keystrokes

The GDC panels in the book give keystrokes for the TI-Nspire CX II and the Casio fx-CG50. These are the TI-84 Plus CE keystrokes for the same calculator jobs. The full list of TI-84 keystrokes is in Chapter 12.

JobTI-84 Plus CE keystrokes
IntersectionsGraph screen: Y1 and Y2, 2nd TRACE (CALC), 5:intersect, three ENTERs per crossing
Polynomial rootsAPPS, PlySmlt2 (or graph and 2nd TRACE, 2:zero, for real roots)
Solve an equationMATH, Numeric Solver (MATH, 0:Solver on older OS versions): enter the equation, then SOLVE. Or graph both sides and use 2nd TRACE (CALC), 5:intersect

From the book

The Ultimate Guide for the IB: Mathematics: Analysis and Approaches SL

Chapter 4 teaches functions and quadratics from the basics to full exam questions: how the IB asks it, every question type with a marked example, and these practice questions in three steps.

About the book