Paper ZeroSign in

IB Maths Analysis and Approaches SL

Lines and graphs of functions: question types and practice

Lines and graphs of functions carried 2% of the marks in the 20 recent exams, through 3 kinds of question. The one worth the most marks is Equation of a straight line.

Syllabus: AA SL 2.1 (the forms of the equation of a straight line; gradient and intercepts; parallel lines, m1=m2m_1 = m_2, and perpendicular lines, m1m2=−1m_1 m_2 = -1), 2.2 (a function, its domain, range and graph; notation such as f(x)f(x), v(t)v(t), C(n)C(n); a function as a model; the informal idea of an inverse: it undoes ff, its graph is the reflection in y=xy = x, and the domain of f−1f^{-1} is the range of ff), 2.3 (the graph of y=f(x)y = f(x); "draw" and "sketch"; a sketch from given information or a context, including transferring a graph from the screen to paper; graphing sums and differences of functions with technology), 2.4 (key features: maximum and minimum values, intercepts, symmetry, vertex, zeros and roots, vertical and horizontal asymptotes, using technology; the points where two curves or lines meet, using technology), 2.10 (solving equations graphically and analytically; technology for equations with no analytic method). This guide is the language of graphs that every other functions guide uses.
Papers: Both. Straight lines are mostly P1 (14 of the 17 parts set since 2021), with exact fractions and surds. The GDC sketch is P2 only. Solving graphically is mostly P2, where the GDC finds the meeting points; on P1 it is a count or an inequality read off a sketch. Trig in a model or a graph is in radians unless a degree sign says otherwise.
Scope: AA SL only. Distances and midpoints are 2D here (3D coordinates are SL 3.1: Coordinates in 3D, Topic 3). Three boundaries are easy to cross: odd and even functions and their tests are HL (AHL 2.14), so symmetry is used here only as a sketching aid; choosing a domain yourself so that an inverse exists is HL (AHL 2.14); and solving g(x)≥f(x)g(x) \ge f(x) for two non-constant functions is HL (AHL 2.15), except when both are linear or quadratic: subtracting then gives a linear or quadratic inequality, which is prior learning (linear) or SL 2.7 (quadratic: Quadratic inequalities). Otherwise, at SL a graph is compared with a constant.
Formula booklet: y=mx+cy = mx + c, ax+by+d=0ax + by + d = 0, y−y1=m(x−x1)y - y_1 = m(x - x_1) and the gradient m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1} (SL 2.1); the distance between two points and the midpoint of a line segment (prior learning).

  • Not given: m1=m2m_1 = m_2 for parallel lines and m1m2=−1m_1 m_2 = -1 for perpendicular ones; that a line must be written as an equation; the sketch conventions (the shape first, labelled features, the curve stopped at the ends of the domain); that the solutions of f(x)=g(x)f(x) = g(x) are the xx-coordinates of the meeting points; the facts about inverses (f(a)=bf(a) = b exactly when f−1(b)=af^{-1}(b) = a; the reflection in y=xy = x; the domain of f−1f^{-1} is the range of ff).

Try one now

A Lines and graphs of functions question of the type "Equation of a straight line". Work it out on paper, then type your answer here.

Calculator[1]

Let f(x)=4−e0.4xf(x) = 4 - e^{0.4x}. The line L1L_1 has equation 2x−3y+6=02x - 3y + 6 = 0.

Write down the gradient of L1L_1.

Free, with no account. You see where each mark went.

The 3 question types

  1. Equation of a straight line

    Through a point, parallel or perpendicular, from a graph

    • In 8 of 20 recent exams

    Paper 1 (no calculator) mostly (14 of the 17 parts set since 2021), 1–3 marks a part. Either a short Section A question of 5–7 marks (question 1 in three versions), often split into the midpoint, the gradient and the line; or one or two parts of a longer Section B question, where the line goes with a parabola or into a chain of functions. On Paper 2 (calculator) it is a short chain inside a longer question: the gradient of a given line, then the perpendicular through a given point, with the GDC finding where a line meets the curve. Common (8 of 20 exam versions).

  2. Sketch on a domain with the GDC

    Sketch a function on a given domain with the GDC

    • In 6 of 20 recent exams

    Paper 2 (calculator) only: a 3-mark sketch, often after 2–4 marks of preparation parts (the values at the ends, then the zeros), usually in Section A (5 of the 6 versions so far; once as the first part of a Section B question). Common (6 of 20 exam versions). The same sketch skills earn marks in every other sketching type (the table in Sketching).

  3. Solve graphically

    Intersections, how many solutions, above or below a level

    • In 3 of 20 recent exams

    Paper 2 (calculator) more often (4 of the 7 parts set since 2021): the GDC's meeting points for 2–3 marks, usually with two models in a context. On Paper 1 (no calculator) it is a count or an inequality read off a sketch, for 1–2 marks at the end of a sketching question; a range of kk for a given number of solutions, read off a graph, is rare at SL. Typical (3 of 20 exam versions) as a part of its own, but the same GDC finish ends many other types: exponential models, segments, triangles, areas between curves.

The ideas you need

Gradient and the equation of a line

The gradient of a line is how much yy changes for each step of 11 in xx: rise over run.

m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}
  • m>0m > 0: the line rises from left to right. m<0m < 0: it falls. m=0m = 0: it is horizontal, y=cy = c. A vertical line has no gradient, and its equation is x=kx = k.
  • Subtract in the same order on the top and the bottom. Mixing the order changes the sign.
  • The gradient of an incline (SL 2.1) is its rise over its horizontal run: a ramp that rises 0.50.5 m over a horizontal distance of 66 m has gradient 0.56=112\frac{0.5}{6} = \frac{1}{12}. It is syllabus content, but it has not been set since 2021.
  • Gradient and angle: a line at an angle θ\theta to the positive xx-axis has gradient m=tan⁡θm = \tan\theta (The angle of a line, Topic 3).

The three forms, all in the formula booklet:

  • gradient-intercept
    Written as
    y=mx+cy = mx + c
    Best for
    reading mm and the yy-intercept (0,c)(0, c)
  • general
    Written as
    ax+by+d=0ax + by + d = 0
    Best for
    an answer asked for "with a,b,d∈Za, b, d \in \mathbb{Z}". To read mm, rearrange to y=…y = \ldots: m=−abm = -\frac{a}{b}
  • point-gradient
    Written as
    y−y1=m(x−x1)y - y_1 = m(x - x_1)
    Best for
    writing the line as soon as you have mm and one point
  • Intercepts: the yy-intercept is where x=0x = 0, and the xx-intercept is where y=0y = 0.
  • "a,b,d∈Za, b, d \in \mathbb{Z}" (Z\mathbb{Z} is the set of integers): multiply through by the lowest common denominator, then bring every term to one side.
  • A line is an equation. Write y=…y = \ldots (or x=…x = \ldots). Naming the line, "L=2x−1L = 2x - 1", scores A0. For a function, f(x)=2x−1f(x) = 2x - 1 is correct.

Mini-example: the line through (−1,4)(-1, 4) and (3,−2)(3, -2). m=−2−43−(−1)=−32m = \frac{-2 - 4}{3 - (-1)} = -\frac{3}{2}, so y−4=−32(x+1)y - 4 = -\frac{3}{2}(x + 1), which is y=−32x+52y = -\frac{3}{2}x + \frac{5}{2}, or 3x+2y−5=03x + 2y - 5 = 0. The yy-intercept is 52\frac{5}{2} and the xx-intercept is 53\frac{5}{3}. Check: the other point gives 3(3)+2(−2)−5=03(3) + 2(-2) - 5 = 0 ✓

  • 3x+2y−5=03x + 2y - 5 = 0

Rise over run between the two points is −64=−32\frac{-6}{4} = -\frac{3}{2}: the line falls from left to right, crossing the yy-axis at 52\frac{5}{2} and the xx-axis at 53\frac{5}{3}.

Parallel and perpendicular lines

  • Parallel: equal gradients, m1=m2m_1 = m_2.
  • Perpendicular: the gradients multiply to −1-1, m1m2=−1m_1 m_2 = -1. So the perpendicular gradient is the negative reciprocal: flip the fraction and change the sign. 25\frac{2}{5} becomes −52-\frac{5}{2}; −3-3 becomes 13\frac{1}{3}.
  • The exception: a horizontal line (m=0m = 0) is perpendicular to a vertical line (x=kx = k), which has no gradient.
  • Neither fact is in the formula booklet.

Mini-example: 2x−5y+1=02x - 5y + 1 = 0 rearranges to y=25x+15y = \frac{2}{5}x + \frac{1}{5}, so its gradient is 25\frac{2}{5} (not 22). The parallel line through (0,3)(0, 3) is y=25x+3y = \frac{2}{5}x + 3. Every line perpendicular to it has gradient −52-\frac{5}{2}.

Where these turn up. Since 2021, a parallel line has not been asked for on its own: it appears inside other questions, such as a tangent parallel to a given line (Find the point of contact). The normal to a curve at x=ax = a is perpendicular to the tangent there, so its gradient is −1f′(a)-\frac{1}{f'(a)} (Tangents and normals).

  • 2x−5y+1=02x - 5y + 1 = 0
  • y=25x+3y = \frac{2}{5}x + 3

Rearranged, 2x−5y+1=02x - 5y + 1 = 0 is y=25x+15y = \frac{2}{5}x + \frac{1}{5}, so its gradient is 25\frac{2}{5}, not 22. The parallel line through (0,3)(0, 3) has the same gradient; any line perpendicular to them would have gradient −52-\frac{5}{2}.

Midpoint and distance

For A(x1,y1)A(x_1, y_1) and B(x2,y2)B(x_2, y_2) (both formulas are in the booklet, as prior learning):

M=(x1+x22,y1+y22),AB=(x1−x2)2+(y1−y2)2M = \left(\frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2}\right), \qquad AB = \sqrt{(x_1 - x_2)^2 + (y_1 - y_2)^2}
  • The perpendicular bisector of [AB][AB] (the line segment from AA to BB) goes through the midpoint MM and is perpendicular to [AB][AB]. Every point on it is the same distance from AA as from BB, which gives a check.
  • This guide is 2D. In 3D the booklet's distance formula has a zz term too (SL 3.1, Coordinates in 3D).

Mini-example: A(−2,5)A(-2, 5) and B(4,1)B(4, 1). M=(1,3)M = (1, 3) and AB=62+(−4)2=52=213AB = \sqrt{6^2 + (-4)^2} = \sqrt{52} = 2\sqrt{13}. The gradient of [AB][AB] is 1−54−(−2)=−23\frac{1 - 5}{4 - (-2)} = -\frac{2}{3}, so the perpendicular bisector has gradient 32\frac{3}{2}: y−3=32(x−1)y - 3 = \frac{3}{2}(x - 1), or 3x−2y+3=03x - 2y + 3 = 0. Check: (3,6)(3, 6) is on it, and it is 26\sqrt{26} from both AA and BB ✓

  • 3x−2y+3=03x - 2y + 3 = 0

The perpendicular bisector passes through the midpoint M(1,3)M(1, 3) at right angles to [AB][AB], with gradient 32\frac{3}{2} against the segment's −23-\frac{2}{3}. Every point on it, such as (3,6)(3, 6), is the same distance from AA as from BB.

Functions and notation

A function gives each input exactly one output. f(x)f(x) is the output for the input xx, and the letters change with the context: v(t)v(t) for a velocity at time tt, C(n)C(n) for the cost of nn items. f(3)f(3) means "put 33 in place of xx".

  • A function as a model. The input is often a time, and the value at the start is f(0)f(0). In a linear model C(n)=a+bnC(n) = a + bn, aa is the starting (fixed) amount and bb is the change for each unit of nn.
  • Evaluating is not solving. C(20)C(20) asks for the output when the input is 2020. C(n)=610C(n) = 610 gives the output and asks for the input: that is an inverse question (The idea of an inverse function).
  • Putting an expression in: f(x+1)f(x + 1) or f(g(x))f(g(x)) means the same substitution: replace every xx in ff by the expression, in brackets. For f(x)=x2−4xf(x) = x^2 - 4x, f(x+1)=(x+1)2−4(x+1)f(x + 1) = (x + 1)^2 - 4(x + 1). (Composite functions are worked in Form a composite function and use it.)

Mini-example: the cost, in dollars, of hiring a hall for nn guests is C(n)=250+12nC(n) = 250 + 12n. C(0)=250C(0) = 250 is the fixed charge, each guest adds 1212 dollars, and C(20)=490C(20) = 490. The number of guests for a bill of 610610 dollars solves 250+12n=610250 + 12n = 610: n=30n = 30.

Domain and range

  • Domain: the inputs allowed. Unless the question states one, the domain is the largest possible, usually all real numbers. Inputs are lost to a denominator of 00, the square root of a negative number, or the log of a number ≤0\le 0.
  • Range: the outputs the function actually takes. Read it from the graph: the lowest and highest points (turning points and ends), whether each end is included, and any asymptote that the graph approaches but never reaches.
  • Write the range in yy or f(x)f(x), as an inequality or an interval: f(x)≥−3f(x) \ge -3, or [−3,∞)[-3, \infty). "x≥−3x \ge -3" describes inputs, not outputs.

Mini-examples:

  • g(x)=3−x+1g(x) = 3 - \sqrt{x + 1}. The root needs x+1≥0x + 1 \ge 0, so the domain is x≥−1x \ge -1. A root is never negative, so g(x)≤3g(x) \le 3, and g(−1)=3g(-1) = 3 is reached: the range is g(x)≤3g(x) \le 3.
  • h(x)=x2−4xh(x) = x^2 - 4x, for 0≤x<50 \le x < 5. The vertex gives the least value, h(2)=−4h(2) = -4. The ends give h(0)=0h(0) = 0 and h(5)=5h(5) = 5, and the greatest value is at the open end, which is not included: −4≤h(x)<5-4 \le h(x) < 5.

Domain and range by family (each row is worked in the guide it links to):

  • linear, y=mx+cy = mx + c with m≠0m \ne 0
    Domain
    all xx
    Range
    all yy
    Where
    this guide
  • quadratic
    Domain
    all xx
    Range
    from the vertex (h,k)(h, k): y≥ky \ge k if a>0a > 0, y≤ky \le k if a<0a < 0
  • rational, ax+bcx+d\frac{ax + b}{cx + d}
    Domain
    x≠−dcx \ne -\frac{d}{c}
    Range
    y≠acy \ne \frac{a}{c}
  • exponential, a+bekxa + be^{kx}
    Domain
    all xx
    Range
    one side of the asymptote y=ay = a: y>ay > a if b>0b > 0, y<ay < a if b<0b < 0
  • logarithm, ln⁡(px+q)\ln(px + q)
    Domain
    px+q>0px + q > 0; with a quadratic inside, a quadratic inequality
    Range
    all yy for ln⁡(px+q)\ln(px + q); with a quadratic inside, ln⁡\ln of the quadratic's positive values: ln⁡(x2+1)≥0\ln(x^2 + 1) \ge 0 and ln⁡(4−x2)≤ln⁡4\ln(4 - x^2) \le \ln 4, but all yy if the quadratic takes every positive value, as x2−4x^2 - 4 does
  • a transformed graph
    Domain
    horizontal changes move the domain
    Range
    vertical changes move the range; a reflection in the xx-axis turns it upside down: the ends swap places, and each keeps its type (a closed end stays closed)
  • f−1f^{-1}
    Domain
    the range of ff
    Range
    the domain of ff
  • a continuous function on a given interval
    Domain
    the interval
    Range
    from the least to the greatest of the end values and the turning points; the value at an open end is left out, unless the function takes it somewhere else in the interval
  • y=h(x)y = h(x)

The least value is at the vertex, h(2)=−4h(2) = -4, and the greatest is at the open end, h(5)=5h(5) = 5, which the domain 0≤x<50 \le x < 5 leaves out: the range is −4≤h(x)<5-4 \le h(x) < 5.

Points on a graph

The point (p,q)(p, q) is on the graph of y=f(x)y = f(x) exactly when q=f(p)q = f(p). It is above the graph when q>f(p)q > f(p), and below it when q<f(p)q < f(p).

  • A missing coordinate: substitute the coordinate you know into the equation, then solve.
  • Above or below: evaluate ff at the point's xx, then compare. Write both values down: markschemes give the conclusion its mark only when the two numbers being compared are stated.

Mini-example (P2): is the point (2.4,1.1)(2.4, 1.1) above or below the graph of f(x)=e0.5x−xf(x) = e^{0.5x} - x? f(2.4)=e1.2−2.4=0.920f(2.4) = e^{1.2} - 2.4 = 0.920 (define a function and evaluate it). 1.1>0.9201.1 > 0.920, so the point is above the graph.

  • y=e0.5x−xy = e^{0.5x} - x

At x=2.4x = 2.4 the graph is at f(2.4)=0.920f(2.4) = 0.920. The point (2.4,1.1)(2.4, 1.1) has the larger yy, so it sits above the graph. Writing both numbers down is what earns the conclusion its mark.

Key features of a graph

  • yy-intercept
    What it is
    where x=0x = 0: the point (0,f(0))(0, f(0))
    How to give it
    coordinates, or y=f(0)y = f(0)
  • zeros (roots, xx-intercepts)
    What it is
    the solutions of f(x)=0f(x) = 0
    How to give it
    x=…x = \ldots, or coordinates (a,0)(a, 0)
  • local maximum or minimum (a turning point; for a parabola, the vertex)
    What it is
    the top of a hump or the bottom of a dip
    How to give it
    coordinates, to 3 s.f. on P2
  • greatest or least value on a domain
    What it is
    the highest or lowest point of the whole graph: a turning point or an end
    How to give it
    the value, and where it is
  • vertical asymptote
    What it is
    a line x=ax = a near which the graph shoots up or down
    How to give it
    an equation, x=ax = a
  • horizontal asymptote
    What it is
    a line y=by = b that the graph approaches as xx gets very large (positive or negative)
    How to give it
    an equation, y=by = b
  • With technology (SL 2.4): zeros, turning points and meeting points come from the graph (graph a function on a given domain). An asymptote shows up as values that settle down (a table with large xx) or blow up (near a value of xx that makes a denominator 00, or a log's argument 00).
  • Symmetry is a sketching aid. If xx appears only through x2x^2 or through cos⁡kx\cos kx (as in x4−3x2x^4 - 3x^2 or 2+cos⁡3x2 + \cos 3x; not cos⁡(x−1)\cos(x - 1), where something is added inside the cosine), the graph is symmetric about the yy-axis: each zero a≠0a \ne 0 comes with −a-a, and if the graph meets the yy-axis it has a turning point there (the origin in Example 2.2). If every term changes sign when xx does, as in x3−4xx^3 - 4x, the graph is symmetric about the origin: a maximum at (a,b)(a, b) comes with a minimum at (−a,−b)(-a, -b). Either way, find one half and mirror it, then keep only what lies inside the given domain (the mirror image is a whole half only when the domain is symmetric, such as −3≤x≤3-3 \le x \le 3). (The names "odd" and "even" function, and their tests, are HL: AHL 2.14.)

Mini-example: f(x)=x3−4x=x(x−2)(x+2)f(x) = x^3 - 4x = x(x - 2)(x + 2). The yy-intercept is (0,0)(0, 0), and the zeros are x=−2x = -2, 00 and 22. Every term changes sign with xx, so the graph is symmetric about the origin: the GDC's maximum at (−1.15,3.08)(-1.15, 3.08) comes with a minimum at (1.15,−3.08)(1.15, -3.08).

  • y=x3−4xy = x^3 - 4x

The zeros are −2-2, 00 and 22, and the origin is also the yy-intercept. Every term changes sign with xx, so the graph is symmetric about the origin: the maximum (−1.15,3.08)(-1.15, 3.08) comes with the minimum (1.15,−3.08)(1.15, -3.08).

Sketching

"Draw" or "sketch"? "Draw" means an accurate, labelled graph to scale, usually on a grid provided: the points are plotted accurately (the key features, plus extra points from a table where the shape needs them) and joined with a ruler or a smooth curve. "Sketch" means the right shape, with the key features labelled and roughly in the right places (SL 2.3). A sketch needs no table of values: find the key features first, then join them with the right shape.

From the screen to paper. Set the GDC window to the domain and find each key feature. Then choose axes that fit them all, plot and label the features first, and join them with the shape you saw on the screen. The GDC can also graph sums and differences of functions: enter f(x)−g(x)f(x) - g(x) as one function, and its zeros are the solutions of f(x)=g(x)f(x) = g(x).

What sketch marks reward (as markschemes apply them):

  1. The shape is judged first. Some markschemes give the overall shape its own mark (how many humps and dips, which way each end goes). Others give it no mark of its own but award the zero and turning-point marks only if the shape is roughly right, and a few mark only the features, each in its window. So get the shape right before anything else: a wrong shape can cost most of the sketch's marks, and in two recent schemes it cost every one.
  2. Each feature is judged in a window around its true position. Place it roughly to scale, and in the right order compared with the others (is an end higher than the maximum?).
  3. Ends: stop the curve at the ends of the domain, with a closed dot where the end is included (≤\le) and an open dot where it isn't (<<). A curve that runs on past the end loses the endpoint mark.
  4. Label key points with coordinates, to 3 s.f. on P2. Coordinates listed beside the graph score only if the points are also marked in the right places.
  5. Asymptotes are dashed lines, labelled with their equations when the question asks, with the curve approaching them.
  6. Follow-through: a sketch drawn with your own earlier values, even wrong ones, can still earn its marks. A count read off a wrong sketch is the exception: it keeps the method mark but loses the answer (Solve graphically).

Sketch: which type? "Sketch" appears in many types. What is given, and what the marks reward, decides which. When more than one row fits, the more specific row wins: the last row is for a function on a domain that no other row describes.

  • ax+bcx+d\frac{ax + b}{cx + d}, by hand
    The marks reward
    the asymptotes, the intercepts and two branches
  • the graph of ff, and y=pf(x)+by = pf(x) + b or y=f(x−a)y = f(x - a) to sketch
    The marks reward
    the images of the key points
  • the graph of ff, and f−1f^{-1} to sketch
    The marks reward
    swapped intercepts and ends: a reflection in y=xy = x
  • a quadratic
    The marks reward
    the vertex and the intercepts
  • a function whose turning points you found with f′f'
    The marks reward
    the turning points and their nature, by calculus
  • the graph of ff, and f′f' or f′′f'' to sketch
    The marks reward
    the zeros of f′f' below the turning points of ff
  • a velocity v(t)v(t)
    The marks reward
    where v=0v = 0, the sign of vv, the ends
  • a sinusoid (a sine or cosine wave, y=asin⁡(b(x+c))+dy = a\sin(b(x + c)) + d or y=acos⁡(b(x+c))+dy = a\cos(b(x + c)) + d), from its equation
    The marks reward
    the maximum and minimum points over whole cycles
  • any other function on a given domain, on P2
    The marks reward
    the shape, the ends, the zeros and the turning points, read from the GDC

Solving equations graphically

  • f(x)=g(x)f(x) = g(x): graph y=f(x)y = f(x) and y=g(x)y = g(x). The solutions are the xx-coordinates of the points where the graphs meet. f(x)=0f(x) = 0: the zeros of ff.
  • How many solutions: count the meeting points. A sketch is enough when the features that decide the count (turning points, ends, asymptotes) are placed correctly. A graph that only rises and one that only falls meet at most once, and so do a rising (or falling) piece and a horizontal line. If one graph is above the other at one value of xx and below it at another, and neither graph has a break or an asymptote in between, they meet at least once between those values.
  • Above or below a constant: f(x)>kf(x) > k where the graph of ff is above the horizontal line y=ky = k. The crossings are the ends of each interval, and the graph shows which side is above.
  • Boundary: at SL a graph is read against a constant (a level, 00, an asymptote). Two non-constant functions are compared only when both are linear or quadratic, such as x2−3x<x+5x^2 - 3x < x + 5: subtract, then solve a quadratic inequality (Quadratic inequalities, SL 2.7). Otherwise g(x)≥f(x)g(x) \ge f(x) is HL (AHL 2.15). Where two non-constant graphs meet, and how many times, is still SL.
  • When there is no algebra (SL 2.10): cos⁡x=x\cos x = x can't be rearranged, but the graphs meet once, at x=0.739x = 0.739 (radians), found with zeros and intersections. The syllabus's own example is ex=sin⁡xe^x = \sin x.

Solve f(x)=g(x)f(x) = g(x): analytic or graphical? Use the first row that fits.

  • a sinusoidal model against a constant level; "for how long"
    Method
    the crossings with the level, then the interval
  • one trig ratio =k= k on an interval, with no model, such as sin⁡2x=0.5\sin 2x = 0.5
    Method
    exact angles, then every solution in the interval
    Type
    Solve a trig equation (Topic 3)
  • a quadratic in exe^x or in sin⁡x\sin x
    Method
    substitute uu, solve the quadratic, reject
  • an exponential model reaching a given value
    Method
    substitute the value, then logs or the GDC
  • exponentials only, with the unknown only in the powers
    Method
    take logs
  • logs only: every xx is inside a log
    Method
    combine them, then write as a power
  • f(x)=kf(x) = k for an unknown kk ("for which kk are there two solutions?"), with kk only in the constant and a formula for ff
    Method
    the yy-values of the turning points (and of the ends and any horizontal asymptote); for ax+bcx+d\frac{ax + b}{cx + d} on its largest domain, only the horizontal asymptote: one solution for every k≠ack \ne \frac{a}{c}, none for k=ack = \frac{a}{c}
  • a sloping line and a parabola, or a sloping line and ax+bcx+d\frac{ax + b}{cx + d}, with a parameter: how many meeting points
    Method
    the discriminant
  • f(x)=f−1(x)f(x) = f^{-1}(x)
    Method
    f(x)=xf(x) = x, when ff is increasing
  • mixed families with no algebraic method, a count from a given graph, or any P2 equation between two models
    Method
    graphs
  • y=cos⁡xy = \cos x
  • y=xy = x

cos⁡x=x\cos x = x cannot be rearranged, but the graphs show the answer: the line rises through the falling wave once, at x=0.739x = 0.739 (radians), and nowhere else, since cos⁡x\cos x never leaves −1-1 to 11.

The idea of an inverse function

An inverse function undoes ff. If ff takes aa to bb, then f−1f^{-1} takes bb back to aa:

f(a)=b  ⟺  f−1(b)=af(a) = b \iff f^{-1}(b) = a

So solving f(x)=10f(x) = 10 is the same as finding f−1(10)f^{-1}(10), and no formula for f−1f^{-1} is needed.

  • Notation: f−1(x)f^{-1}(x) is the inverse function, not 1f(x)\frac{1}{f(x)}.
  • The graph: the graph of y=f−1(x)y = f^{-1}(x) is the reflection of the graph of y=f(x)y = f(x) in the line y=xy = x. Every point (a,b)(a, b) on ff becomes (b,a)(b, a) on f−1f^{-1}, and a point on y=xy = x stays where it is. To describe how the two graphs are related, name the mirror line: "a reflection in the line y=xy = x". Without the line, the mark is lost.
  • Domain and range swap: the domain of f−1f^{-1} is the range of ff, and the range of f−1f^{-1} is the domain of ff.
  • Only one-to-one functions have inverses: each output must come from exactly one input, so every horizontal line meets the graph at most once. A question may state a domain that makes ff one-to-one, such as f(x)=x2−2f(x) = x^2 - 2 for x≥0x \ge 0.
  • Syllabus boundary: choosing or restricting a domain yourself so that an inverse exists ("the largest domain on which f−1f^{-1} exists", "the largest kk for which ff is one-to-one") is HL (AHL 2.14), and it has not been set on an SL paper since 2021. Showing that f−1f^{-1} exists because f′(x)>0f'(x) > 0 on the whole given domain is SL: Where is f increasing or decreasing?

Mini-example: F(c)=1.8c+32F(c) = 1.8c + 32 converts a temperature from °C to °F. F(35)=95F(35) = 95, so F−1(95)=35F^{-1}(95) = 35: 9595 °F is 3535 °C. On the graphs, (35,95)(35, 95) on FF becomes (95,35)(95, 35) on F−1F^{-1}.

Where inverses are worked: the formula f−1(x)f^{-1}(x) and its domain in Find the inverse function, with its domain; a value such as f−1(b)f^{-1}(b) in Values of f, f∘g and f⁻¹; sketches and meeting points in The graphs of f and f⁻¹.

  • F=1.8c+32F = 1.8c + 32
  • F−1F^{-1}
  • y=xy = x

FF takes 3535 °C to 9595 °F, so F−1F^{-1} takes 9595 back to 3535: the point (35,95)(35, 95) on FF becomes (95,35)(95, 35) on F−1F^{-1}, its reflection in the line y=xy = x, and the whole graph of F−1F^{-1} is that reflection.


Where lines and graphs hide in other topics

Lines and graph-reading turn up inside most other topics, usually as the first or the last step. The first move is to notice that a gradient, a point on a graph or a meeting point is what is really being asked for.

  • The normal to a curve (Tangent or normal at a given point)
    It becomes
    a line through (a,f(a))(a, f(a)) with gradient −1f′(a)-\frac{1}{f'(a)}. For y=x2−5xy = x^2 - 5x at x=3x = 3: f(3)=−6f(3) = -6 and f′(3)=1f'(3) = 1, so the normal is y+6=−(x−3)y + 6 = -(x - 3), that is, y=−x−3y = -x - 3
    Watch for
    the gradient comes from f′f', but the point comes from ff
  • A tangent parallel to a given line (Find the point of contact)
    It becomes
    the line's gradient, then f′(x)=mf'(x) = m: the tangents to y=x3y = x^3 that are parallel to 12x−y=512x - y = 5 touch where 3x2=123x^2 = 12, at (2,8)(2, 8) and (−2,−8)(-2, -8)
    Watch for
    rearrange the line first (y=12x−5y = 12x - 5); there can be more than one point
  • A regression line and the mean point (Topic 4, The mean point)
    It becomes
    a line through a known point: y=1.4x+cy = 1.4x + c through (xˉ,yˉ)=(5,11)(\bar{x}, \bar{y}) = (5, 11) gives c=4c = 4
    Watch for
    the regression line is a straight line like any other
  • A gradient from an angle (Topic 3, The angle of a line)
    It becomes
    m=tan⁡θm = \tan\theta, with θ\theta measured from the positive xx-axis: at 30°30°, m=33m = \frac{\sqrt{3}}{3}
    Watch for
    a line that falls has m<0m < 0 and an obtuse angle
  • When a particle is at rest (Velocity and acceleration)
    It becomes
    the zeros of v(t)v(t) on the time interval, from the GDC on P2
    Watch for
    every zero in the interval, in radians
  • The limits of an area between two curves (Area between two curves)
    It becomes
    the xx-coordinates of the meeting points, from the GDC on P2
    Watch for
    keep them at full accuracy inside the integral
  • A segment with a given area (Chords, segments and regions)
    It becomes
    an equation in θ\theta and sin⁡θ\sin\theta, solved on the GDC: radius 22 and area 22 give 12(22)(θ−sin⁡θ)=2\frac{1}{2}\left(2^2\right)(\theta - \sin\theta) = 2, so θ−sin⁡θ=1\theta - \sin\theta = 1 and θ=1.93\theta = 1.93
    Watch for
    radians, and only the solution the diagram allows
  • A system from a triangle (Area of a triangle)
    It becomes
    two equations in two lengths, intersected on the GDC
    Watch for
    give both equations the same subject before graphing them
  • A point above or below a trig model (Topic 3, The sinusoid)
    It becomes
    Points on a graph: (1,3)(1, 3) against y=2+sin⁡2xy = 2 + \sin 2x gives 2+sin⁡2=2.91<32 + \sin 2 = 2.91 < 3, so the point is above
    Watch for
    write both values down, and use radians

More in Functions

Every topic of the course

Guides