6 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?
Mission 5How can you add a quartic's four roots without finding any of them?
Mission 6A function is its own inverse. What must its graph look like?
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.
Mission 5
How can you add a quartic's four roots without finding any of them?
Make a guess: How can you add a quartic's four roots without finding any of them?
Functions · polynomials
Polynomial graphs, zeros and factors
A degree nn polynomial has at most nn real zeros: the xx-intercepts of y=P(x)y = P(x), the real roots of P(x)=0P(x) = 0.
Each root αα gives a factor(x−α)(x − α). Counting complex and repeated roots, there are exactly nn.
Single root: the graph crosses the axis. Double root: it touches and turns. Triple root: it crosses, flattening.
The sign of anaₙ and the parity of nn fix the ends: y=x4−3x3−…y = x⁴ − 3x³ − … rises at both ends.
Sort it
?At each given root, does the graph cross or touch the xx-axis?
Tap a statement, then tap the group it belongs in. Then press Check.
Functions · polynomials
The remainder and factor theorems
Remainder theorem: when P(x)P(x) is divided by (x−a)(x − a), the remainder is P(a)P(a).
Dividing by (ax−b)(ax − b), the remainder is P(ab)P(b/a): use the value of xx that makes the divisor zero.
Factor theorem:(x−a)(x − a) is a factor of P(x)P(x) if and only if P(a)=0P(a) = 0.
To find unknown coefficients, turn each piece of information into an equation in them, then solve simultaneously.
Worked exampleFunctions · polynomials
Finding unknown coefficients
Question
P(x)=x3+ax2+bx−6P(x) = x³ + ax² + bx − 6. (x−2)(x − 2) is a factor of P(x)P(x), and the remainder when P(x)P(x) is divided by (x+1)(x + 1) is −12−12. Find aa and bb.
1
Factor theorem, P(2)=0P(2) = 0: 8+4a+2b−6=08 + 4a + 2b − 6 = 0, so 2a+b=−12a + b = −1
2
Remainder theorem, P(−1)=−12P(−1) = −12: −1+a−b−6=−12−1 + a − b − 6 = −12, so a−b=−5a − b = −5
3
Add the two equations: 3a=−63a = −6, so a=−2a = −2, then b=3b = 3
Count every root: repeated roots as often as they occur, and complex roots too. x3−2x2+3x−6=0x³ − 2x² + 3x − 6 = 0 has roots 2 and ±3i±√3 i: sum 2, product 6.
The formula is in the formula booklet; the sign (−1)n(−1)ⁿ is where marks are lost.
Quick check
?What is the product of the roots of 3x4−5x3+2x−12=03x⁴ − 5x³ + 2x − 12 = 0?
Calculate
?The equation x3−6x2+kx−6=0x³ − 6x² + kx − 6 = 0 has three roots, one of which is equal to the sum of the other two. Find the value of kk.
Mission check
?How can you add a quartic's four roots without finding any of them? Take 2x4−14x3+18x2+14x−20=02x⁴ − 14x³ + 18x² + 14x − 20 = 0.
Expanding an(x−α)(x−β)(x−γ)(x−δ)aₙ(x − α)(x − β)(x − γ)(x − δ) puts −an(α+β+γ+δ)−aₙ(α + β + γ + δ) in front of x3x³. So for 2x4−14x3+18x2+14x−20=02x⁴ − 14x³ + 18x² + 14x − 20 = 0 the four roots add to 2−(−14)=7(−(−14))/2 = 7, without solving anything.
Mission 6
A function is its own inverse. What must its graph look like?
Make a guess: A function is its own inverse. What must its graph look like?
Functions · rational functions and transformations
Rational functions and their asymptotes
Vertical asymptotes: where the denominator is zero (and the numerator is not).
cx2+dx+eax+b(ax + b)/(cx² + dx + e): the denominator's degree is higher, so y→0y → 0: horizontal asymptotey=0y = 0. Up to two vertical asymptotes.
dx+eax2+bx+c(ax² + bx + c)/(dx + e): divide to get mx+k+dx+ermx + k + r/(dx + e). The last term →0→ 0, so y=mx+ky = mx + k is an oblique asymptote.
A full sketch shows every asymptote (with its equation) and every axis intercept.
Worked exampleFunctions · rational functions and transformations
Finding an oblique asymptote
Question
f(x)=x−22x2−x−3f(x) = (2x² − x − 3)/(x − 2). Find the asymptotes and the axis intercepts of the graph of ff.
the remainder is not part of the asymptote. y=2x+3y = 2x + 3 is the quotient only.
Quick check
?Which are all the asymptotes of y=x2−x−63x−6y = (3x − 6)/(x² − x − 6)?
Functions · rational functions and transformations
Odd, even and self-inverse functions
Even:f(−x)=f(x)f(−x) = f(x). The graph is symmetric in the yy-axis: x2x², cosxcos x.
Odd:f(−x)=−f(x)f(−x) = −f(x). Rotational symmetry of order 2 about the origin: x3x³, sinxsin x, tanxtan x.
f−1f⁻¹ exists only where ff is one-to-one, so you may need to restrict the domain: x2x² with x≥0x ≥ 0 has inverse x√x. The graph of f−1f⁻¹ is the reflection of ff in y=xy = x.
?The function f(x)=x−k3x+5f(x) = (3x + 5)/(x − k), x=kx ≠ k, is self-inverse. Find the value of the constant kk.
Sort it
?Is each function odd, even or neither?
Tap a statement, then tap the group it belongs in. Then press Check.
Worked exampleFunctions · rational functions and transformations
Solving g(x)≥f(x)g(x) ≥ f(x): a rational inequality
Question
Solve x−2x+1≥2(x + 1)/(x − 2) ≥ 2.
1
Don't multiply by x−2x − 2 (it may be negative). Subtract 2 and combine: x−2x+1−2(x−2)=x−25−x≥0(x + 1 − 2(x − 2))/(x − 2) = (5 − x)/(x − 2) ≥ 0
2
Critical values, where the top or the bottom is zero: x=5x = 5 and x=2x = 2
3
Sign table (the same method works for a factorised cubic ≥0≥ 0): negative for x<2x < 2, positive for 2<x<52 < x < 5, negative for x>5x > 5
4
Include x=5x = 5 (the fraction is 0), exclude x=2x = 2 (undefined)
5
Check with your GDC: y=x−2x+1y = (x + 1)/(x − 2) is on or above y=2y = 2 only for 2<x≤52 < x ≤ 5
Answer
2<x≤52 < x ≤ 5
⚠️ Watch out
multiplying both sides by x−2x − 2 gives x≤5x ≤ 5 alone, which wrongly includes values below 2, where x−2x − 2 is negative.
Functions · rational functions and transformations
Modulus and other transformations
Graph
How to get it from y=f(x)y = f(x)
y=∣f(x)∣y = | f(x) |
reflect the parts below the xx-axis in the xx-axis
y=f(∣x∣)y = f(| x |)
keep the part for x≥0x ≥ 0; reflect it in the yy-axis
y=f(x)1y = 1/(f(x))
zeros become vertical asymptotes; yy-values become reciprocals (y=±1y = ± 1 stay put)
y=f(ax+b)y = f(ax + b)
translate by −b−b horizontally, then stretch horizontally by scale factor a11/a
y=[f(x)]2y = [f(x)]²
never negative; zeros become points where the graph touches
Modulus equations: ∣f(x)∣=c|f(x)| = c means f(x)=cf(x) = corf(x)=−cf(x) = −c.
Modulus inequalities: ∣f(x)∣<c|f(x)| < c means −c<f(x)<c−c < f(x) < c; use a graph or GDC when it gets harder.
Calculate
?How many integers xx satisfy ∣x2−4∣<3|x² − 4| < 3?
Mission check
?A function is its own inverse. What must its graph look like?
Reflecting a graph in y=xy = x always gives the graph of the inverse. For a self-inverse function that reflection must give back the same graph, so the graph is symmetric in the line y=xy = x, like y=x1y = 1/x or y=x−22x+1y = (2x + 1)/(x − 2).
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.
A root αα of P(x)=0P(x) = 0 means a factor (x−α)(x − α) and an xx-intercept; single roots cross, double roots touch.
Remainder on dividing by (ax−b)(ax − b) is P(ab)P(b/a); (x−a)(x − a) is a factor exactly when P(a)=0P(a) = 0.
Sum of roots an−an−1(−aₙ₋₁)/aₙ, product an(−1)na0((−1)ⁿ a₀)/aₙ, counting complex and repeated roots.
Rational graphs: vertical asymptotes from the denominator; divide to find an oblique asymptote; mark all intercepts.
Inequalities: one side zero, critical values, sign table; never multiply by something that could be negative. ∣f(x)∣<c|f(x)| < c means −c<f(x)<c−c < f(x) < c.
🏆
Mini-lesson complete!
⭐⭐⭐
You've worked through Functions for IB Diploma Mathematics: Analysis & Approaches HL. 🎉
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?
Mission 5How can you add a quartic's four roots without finding any of them?
Mission 6A function is its own inverse. What must its graph look like?