4 missions. Guess, learn, then check. Your place is saved.
Mission 1Two taxis, two price lines: when does the cheaper one switch?
Mission 2Undo "double it, then add 3": why do you subtract 3 first?
Mission 3A fountain jet traces a parabola. How far out does it land?
Mission 4Why does a drug's concentration never quite reach zero?
The specification points and sources are listed under the lesson: see Sources.
Mission 1
Two taxis, two price lines: when does the cheaper one switch?
Make a guess: Two taxis, two price lines: when does the cheaper one switch?
Functions · lines and graphs
Gradient and the forms of a line
Gradientm=x2−x1y2−y1m = (y₂ − y₁)/(x₂ − x₁): the rate of change of yy per unit of xx.
Gradient-intercept form: y=mx+cy = mx + c, where cc is the yy-intercept.
Point-gradient form: y−y1=m(x−x1)y − y₁ = m(x − x₁) through the point (x1,y1)(x₁, y₁).
General form: ax+by+d=0ax + by + d = 0.
A road climbing 1.2 m over 15 m horizontally has gradient 151.2=0.081.2/15 = 0.08, an 8% incline.
Worked exampleFunctions · lines and graphs
The line through two points
Question
Find the equation of the line through A(2,5)A(2, 5) and B(6,−3)B(6, −3). Give your answer in the form ax+by+d=0ax + by + d = 0, where aa, bb, d∈Zd ∈ ℤ.
Point-gradient form through AA: y−5=−2(x−2)y − 5 = −2(x − 2)
3
Expand: y=−2x+9y = −2x + 9
4
Move every term to one side: 2x+y−9=02x + y − 9 = 0
Answer
2x+y−9=02x + y − 9 = 0
⚠️ Watch out
subtract the coordinates in the same order. 6−25−(−3)=2(5 − (−3))/(6 − 2) = 2 has the wrong sign.
Functions · lines and graphs
Parallel and perpendicular lines
Parallel lines have equal gradients: m1=m2m₁ = m₂.
Perpendicular lines: m1×m2=−1m₁ × m₂ = −1, so m2=−m11m₂ = −1/m₁ (the negative reciprocal).
To read a gradient from general form, rearrange to y=mx+cy = mx + c. For 2x+5y−7=02x + 5y − 7 = 0: y=−52x+57y = −2/5x + 7/5, so m=−52m = −2/5.
Any line perpendicular to it has gradient 255/2.
Calculate
?The line LL passes through (3,1)(3, 1) and is perpendicular to 2x+5y−7=02x + 5y − 7 = 0. Find the yy-intercept of LL. Give your answer as a decimal.
Functions · lines and graphs
Functions, domain, range and inverses
A function gives each input exactly one output. Notation: f(x)f(x), v(t)v(t), C(n)C(n).
The domain is the set of allowed inputs; the range is the set of outputs. f(x)=2−xf(x) = √(2 − x) has domain x≤2x ≤ 2 and range f(x)≥0f(x) ≥ 0.
The inverse functionf−1f⁻¹ undoes ff: solving f(x)=10f(x) = 10 is the same as finding f−1(10)f⁻¹(10).
The graph of f−1f⁻¹ is the reflection of ff in y=xy = x. Only one-to-one functions have inverses; the domain of f−1f⁻¹ is the range of ff.
Quick check
?The function ff is defined by f(x)=x−3+1f(x) = √(x − 3) + 1, for x≥3x ≥ 3. Which is the range of ff?
Functions · lines and graphs
Key features of graphs, with technology
Sketch: the shape, with axes and key features labelled. Draw: accurate, to scale.
Key features: intercepts, zeros (roots of f(x)=0f(x) = 0), maximum and minimum points, vertex, symmetry, vertical and horizontal asymptotes.
To solve f(x)=g(x)f(x) = g(x), graph both on your GDC and find the intersection points. A GDC also graphs sums and differences such as y=f(x)−g(x)y = f(x) − g(x), whose zeros are the same xx-values.
On a no-calculator paper, set f(x)=g(x)f(x) = g(x) and solve algebraically instead.
Worked exampleFunctions · lines and graphs
Where two graphs meet
Question
f(x)=x2−3xf(x) = x² − 3x and g(x)=2x−3g(x) = 2x − 3. Find the xx-coordinates of the points where the graphs of ff and gg intersect. Give your answers to 3 significant figures.
1
Set the functions equal: x2−3x=2x−3x² − 3x = 2x − 3
2
Rearrange to zero: x2−5x+3=0x² − 5x + 3 = 0
3
Use the intersect tool on your GDC (or the quadratic formula): x=25±13x = (5 ± √13)/2
Answer
x=0.697x = 0.697 or x=4.30x = 4.30
⚠️ Watch out
a GDC finds one intersection at a time. Check the window shows every crossing so you do not miss one.
Calculate
?A ball is thrown upwards. Its height in metres after tt seconds is modelled by h(t)=−4.9t2+12t+2h(t) = −4.9t² + 12t + 2, for t≥0t ≥ 0. Use your GDC to find when the ball hits the ground. Give your answer to 3 significant figures.
seconds
Mission check
?Taxi A charges £3.50 plus £1.20 per km. Taxi B charges £6.00 plus £0.95 per km. When does the cheaper one switch?
Each cost is a linear function of distance: the fixed fee is the yy-intercept and the price per km is the gradient. The cheaper taxi switches where the lines intersect: 3.50+1.20d=6.00+0.95d3.50 + 1.20d = 6.00 + 0.95d gives d=10d = 10 km, where both cost £15.50. Below 10 km A's lower fee wins; beyond it B's smaller gradient wins.
Mission 2
Undo "double it, then add 3": why do you subtract 3 first?
Make a guess: Undo "double it, then add 3": why do you subtract 3 first?
Functions · composites, inverses and transformations
Composite functions
(f∘g)(x)=f(g(x))(f ° g)(x) = f(g(x)): apply ggfirst, then ff to the result.
With f(x)=2x+3f(x) = 2x + 3 and g(x)=x2g(x) = x²: (f∘g)(x)=2x2+3(f ° g)(x) = 2x² + 3 but (g∘f)(x)=(2x+3)2(g ° f)(x) = (2x + 3)². Order matters.
In context: n(t)=50tn(t) = 50t phones are made in tt hours and C(n)=200+4nC(n) = 200 + 4n is their cost in £. Then (C∘n)(t)=200+200t(C ° n)(t) = 200 + 200t is the cost after tt hours.
g(x)g(x) must lie in the domain of ff for f(g(x))f(g(x)) to exist.
a vertical stretch with scale factor 3, followed by a translation of 2 units up
⚠️ Watch out
in the other order, y=x2+2y = x² + 2 stretched by 3 gives y=3x2+6y = 3x² + 6. The order matters.
Calculate
?The point P(6,−4)P(6, −4) lies on the graph of y=f(x)y = f(x). The graph is transformed to y=−2f(x)+5y = −2f(x) + 5. Find the yy-coordinate of the image of PP.
Sort it
?Each equation is a transformation of y=f(x)y = f(x). Does it change the xx-coordinates or the yy-coordinates of points on the graph?
Tap a statement, then tap the group it belongs in. Then press Check.
Mission check
?f(x)=2x+3f(x) = 2x + 3 doubles, then adds 3. Why does f−1f⁻¹ subtract 3 first?
ff is a composite of two steps: double, then add 3. An inverse undoes them in reverse order, like taking off shoes before socks: subtract 3, then halve. So f−1(x)=2x−3f⁻¹(x) = (x − 3)/2, and f−1(13)=5f⁻¹(13) = 5.
Mission 3
A fountain jet traces a parabola. How far out does it land?
Make a guess: A fountain jet traces a parabola. How far out does it land?
Functions · quadratics
Three forms of a quadratic
A quadratic graph is a parabola: a>0a > 0 opens upwards (minimum), a<0a < 0 downwards (maximum).
Standard formf(x)=ax2+bx+cf(x) = ax² + bx + c: yy-intercept (0,c)(0, c); axis of symmetry x=−2abx = −b/2a.
f(x)=2x2+8x−10f(x) = 2x² + 8x − 10. Write f(x)f(x) in the form a(x−h)2+ka(x − h)² + k and in the form a(x−p)(x−q)a(x − p)(x − q). Hence state the vertex and the xx-intercepts.
1
Take out the factor 2 from the xx terms: 2(x2+4x)−102(x² + 4x) − 10
the −4−4 inside the square bracket is also multiplied by 2. Writing 2(x+2)2−4−102(x + 2)² − 4 − 10 gives the wrong vertex (−2,−14)(−2, −14).
Quick check
?f(x)=−3(x+2)2+5f(x) = −3(x + 2)² + 5. What are the coordinates of the vertex of the graph of ff?
Functions · quadratics
Solving, and the discriminant
Solve ax2+bx+c=0ax² + bx + c = 0 by factorising, completing the square or the quadratic formula:
x=2a−b±b2−4acx = (−b ± √(b² − 4ac))/2a
The solutions are the roots, or zeros of ff. Check them with your GDC where allowed.
The discriminantΔ=b2−4acΔ = b² − 4ac: Δ>0Δ > 0 two distinct real roots; Δ=0Δ = 0 two equal real roots (the graph touches the xx-axis); Δ<0Δ < 0 no real roots.
Sort it
?Use the discriminant to sort each equation by the nature of its roots.
Tap a statement, then tap the group it belongs in. Then press Check.
Calculate
?The equation 3kx2+2x+k=03kx² + 2x + k = 0 has two equal real roots. Find the positive value of kk. Give your answer to 3 significant figures.
Worked exampleFunctions · quadratics
A quadratic inequality
Question
Solve 2x2+x−6≤02x² + x − 6 ≤ 0.
1
Solve the equation first: 2x2+x−6=(2x−3)(x+2)=02x² + x − 6 = (2x − 3)(x + 2) = 0, so x=1.5x = 1.5 or x=−2x = −2
2
Sketch: a=2>0a = 2 > 0, so the parabola opens upwards and is below the xx-axis between its zeros
3
Include the endpoints, since the inequality is ≤≤
Answer
−2≤x≤1.5−2 ≤ x ≤ 1.5
⚠️ Watch out
for >0> 0 or ≥0≥ 0 with a>0a > 0, the solution is the two outside parts, x<px < p or x>qx > q, not one interval.
Quick check
?The equation 3kx2+2x+k=03kx² + 2x + k = 0 has two distinct real roots. Find the possible values of kk.
Calculate
?A farmer builds a rectangular pen against a long straight wall, using 40 m of fencing for the other three sides. The two sides at right angles to the wall are each xx m long. Show that the area is A=x(40−2x)A = x(40 − 2x), then find the maximum possible area.
m²
Mission check
?The jet follows h=−0.5x2+2x+0.5h = −0.5x² + 2x + 0.5, starting 0.5 m above the water. How far from the nozzle does it land in the water?
The jet lands where h=0h = 0. In vertex form h=−0.5(x−2)2+2.5h = −0.5(x − 2)² + 2.5, so the axis of symmetry is x=2x = 2; but the jet starts 0.5 m above the water, so symmetry only brings it back to nozzle height at 4 m. The quadratic formula gives x=2+5≈4.24x = 2 + √5 ≈ 4.24 m, so the bowl must reach at least that far.
Mission 4
Why does a drug's concentration never quite reach zero?
Make a guess: Why does a drug's concentration never quite reach zero?
Functions · rational, exponential and log functions
Reciprocal and rational functions
The reciprocal functionf(x)=x1f(x) = 1/x, x=0x ≠ 0, has asymptotes x=0x = 0 and y=0y = 0.
It is self-inverse: f−1(x)=x1f⁻¹(x) = 1/x, so its graph is symmetric in y=xy = x.
For f(x)=cx+dax+bf(x) = (ax + b)/(cx + d): vertical asymptotex=−cdx = −d/c (denominator zero); horizontal asymptotey=cay = a/c (value as xx grows large).
A sketch shows every asymptote, as a dashed line, and both axis intercepts.
Worked exampleFunctions · rational, exponential and log functions
Asymptotes and intercepts
Question
Sketch f(x)=x+32x−1f(x) = (2x − 1)/(x + 3), stating its asymptotes and axis intercepts.
1
Vertical asymptote, where the denominator is zero: x+3=0x + 3 = 0, so x=−3x = −3
When there is no analytic method, as in ex=sinxe^x = sin x or x4+5x−7=0x⁴ + 5x − 7 = 0, use your GDC: graph both sides and find the intersections, or graph one side minus the other and find the zeros.
Worked exampleFunctions · rational, exponential and log functions
ex>0e^x > 0 for every xx, so a negative value of uu would give no solution and must be rejected.
Calculate
?A cup of coffee cools so that its temperature, tt minutes after it is poured, is T(t)=20+70e−0.05tT(t) = 20 + 70e^(−0.05t) °C. Find the time taken for it to cool to 40 °C. Give your answer to 3 significant figures.
minutes
Calculate
?Use your GDC to solve 2x=x+32^x = x + 3. Give the positive solution to 3 significant figures.
Mission check
?A model gives C(t)=20e−0.3tC(t) = 20e^(−0.3t) mg per litre. Why does the model's concentration never reach zero?
In the model, each hour multiplies the concentration by the same positive factor e−0.3≈0.741e^(−0.3) ≈ 0.741, so it loses a fixed fraction, not a fixed amount. Since e−0.3t>0e^(−0.3t) > 0 for every tt, the graph gets ever closer to the horizontal asymptote C=0C = 0 but never reaches it. In reality the drug soon falls below a level anyone can measure.
Recap
Big ideas
A line has gradient m=x2−x1y2−y1m = (y₂ − y₁)/(x₂ − x₁) and can be written y=mx+cy = mx + c, y−y1=m(x−x1)y − y₁ = m(x − x₁) or ax+by+d=0ax + by + d = 0; parallel means m1=m2m₁ = m₂, perpendicular means m1m2=−1m₁ m₂ = −1.
A function has a domain (inputs) and a range (outputs); f−1f⁻¹ undoes ff, exists for one-to-one functions and is the reflection of ff in y=xy = x.
Key features (intercepts, zeros, maximum and minimum, asymptotes) and intersections come from a GDC or from solving f(x)=g(x)f(x) = g(x).
(f∘g)(x)=f(g(x))(f ° g)(x) = f(g(x)): apply gg first; in general f∘g=g∘ff ° g ≠ g ° f.
f−1f⁻¹ undoes ff (last step first); it needs ff to be one-to-one, possibly after restricting the domain, and the domain of f−1f⁻¹ is the range of ff.
f(x)+bf(x) + b, −f(x)−f(x), pf(x)pf(x) act on yy-values; f(x−a)f(x − a), f(−x)f(−x), f(qx)f(qx) act on xx-values; the order of transformations matters.
Standard form gives the yy-intercept, intercept form the xx-intercepts, vertex form the vertex (h,k)(h, k); the axis of symmetry is x=−2abx = −b/2a.
Solve by factorising, completing the square or x=2a−b±b2−4acx = (−b ± √(b² − 4ac))/2a; Δ=b2−4acΔ = b² − 4ac decides two, one repeated or no real roots.
For a quadratic inequality, find the roots, sketch the parabola and read off where it is above or below the axis.
f(x)=cx+dax+bf(x) = (ax + b)/(cx + d) has vertical asymptote x=−cdx = −d/c and horizontal asymptote y=cay = a/c; x11/x is its own inverse.
axa^x and logaxlog_a x are inverse functions: ax>0a^x > 0 with asymptote y=0y = 0; logaxlog_a x needs x>0x > 0 and has asymptote x=0x = 0; ax=exlnaa^x = e^(x ln a).
Solve with logs or a substitution such as u=exu = e^x when you can; otherwise find intersections or zeros on your GDC.
🏆
Mini-lesson complete!
⭐⭐⭐
You've worked through Functions for IB Diploma Mathematics: Analysis & Approaches SL. 🎉
Mission 1Two taxis, two price lines: when does the cheaper one switch?
Mission 2Undo "double it, then add 3": why do you subtract 3 first?
Mission 3A fountain jet traces a parabola. How far out does it land?
Mission 4Why does a drug's concentration never quite reach zero?