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.
The 3 question types
The ideas you need
Gradient and the equation of a line
Gradient and the equation of a line
The gradient of a line is how much changes for each step of in : rise over run.
- : the line rises from left to right. : it falls. : it is horizontal, . A vertical line has no gradient, and its equation is .
- 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 m over a horizontal distance of m has gradient . It is syllabus content, but it has not been set since 2021.
- Gradient and angle: a line at an angle to the positive -axis has gradient (The angle of a line, Topic 3).
The three forms, all in the formula booklet:
- gradient-intercept
- Written as
- Best for
- reading and the -intercept
- general
- Written as
- Best for
- an answer asked for "with ". To read , rearrange to :
- point-gradient
- Written as
- Best for
- writing the line as soon as you have and one point
| Form | Written as | Best for |
|---|---|---|
| gradient-intercept | reading and the -intercept | |
| general | an answer asked for "with ". To read , rearrange to : | |
| point-gradient | writing the line as soon as you have and one point |
- Intercepts: the -intercept is where , and the -intercept is where .
- "" ( 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 (or ). Naming the line, "", scores A0. For a function, is correct.
Mini-example: the line through and . , so , which is , or . The -intercept is and the -intercept is . Check: the other point gives ✓
Rise over run between the two points is : the line falls from left to right, crossing the -axis at and the -axis at .
Parallel and perpendicular lines
Parallel and perpendicular lines
- Parallel: equal gradients, .
- Perpendicular: the gradients multiply to , . So the perpendicular gradient is the negative reciprocal: flip the fraction and change the sign. becomes ; becomes .
- The exception: a horizontal line () is perpendicular to a vertical line (), which has no gradient.
- Neither fact is in the formula booklet.
Mini-example: rearranges to , so its gradient is (not ). The parallel line through is . Every line perpendicular to it has gradient .
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 is perpendicular to the tangent there, so its gradient is (Tangents and normals).
Rearranged, is , so its gradient is , not . The parallel line through has the same gradient; any line perpendicular to them would have gradient .
Midpoint and distance
Midpoint and distance
For and (both formulas are in the booklet, as prior learning):
- The perpendicular bisector of (the line segment from to ) goes through the midpoint and is perpendicular to . Every point on it is the same distance from as from , which gives a check.
- This guide is 2D. In 3D the booklet's distance formula has a term too (SL 3.1, Coordinates in 3D).
Mini-example: and . and . The gradient of is , so the perpendicular bisector has gradient : , or . Check: is on it, and it is from both and ✓
The perpendicular bisector passes through the midpoint at right angles to , with gradient against the segment's . Every point on it, such as , is the same distance from as from .
Functions and notation
Functions and notation
A function gives each input exactly one output. is the output for the input , and the letters change with the context: for a velocity at time , for the cost of items. means "put in place of ".
- A function as a model. The input is often a time, and the value at the start is . In a linear model , is the starting (fixed) amount and is the change for each unit of .
- Evaluating is not solving. asks for the output when the input is . gives the output and asks for the input: that is an inverse question (The idea of an inverse function).
- Putting an expression in: or means the same substitution: replace every in by the expression, in brackets. For , . (Composite functions are worked in Form a composite function and use it.)
Mini-example: the cost, in dollars, of hiring a hall for guests is . is the fixed charge, each guest adds dollars, and . The number of guests for a bill of dollars solves : .
Domain and range
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 , the square root of a negative number, or the log of a number .
- 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 or , as an inequality or an interval: , or . "" describes inputs, not outputs.
Mini-examples:
- . The root needs , so the domain is . A root is never negative, so , and is reached: the range is .
- , for . The vertex gives the least value, . The ends give and , and the greatest value is at the open end, which is not included: .
Domain and range by family (each row is worked in the guide it links to):
- linear, with
- Domain
- all
- Range
- all
- Where
- this guide
- quadratic
- Domain
- all
- Range
- from the vertex : if , if
- Where
- Find the vertex
- rational,
- Domain
- Range
- Where
- Rational functions
- exponential,
- Domain
- all
- Range
- one side of the asymptote : if , if
- logarithm,
- Domain
- ; with a quadratic inside, a quadratic inequality
- Range
- all for ; with a quadratic inside, of the quadratic's positive values: and , but all if the quadratic takes every positive value, as does
- a transformed graph
- Domain
- horizontal changes move the domain
- Range
- vertical changes move the range; a reflection in the -axis turns it upside down: the ends swap places, and each keeps its type (a closed end stays closed)
- Where
- Transform a graph
- Domain
- the range of
- Range
- the domain of
- 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
| Function | Domain | Range | Where |
|---|---|---|---|
| linear, with | all | all | this guide |
| quadratic | all | from the vertex : if , if | Find the vertex |
| rational, | Rational functions | ||
| exponential, | all | one side of the asymptote : if , if | Exponential and log graphs |
| logarithm, | ; with a quadratic inside, a quadratic inequality | all for ; with a quadratic inside, of the quadratic's positive values: and , but all if the quadratic takes every positive value, as does | Exponential and log graphs |
| a transformed graph | horizontal changes move the domain | vertical changes move the range; a reflection in the -axis turns it upside down: the ends swap places, and each keeps its type (a closed end stays closed) | Transform a graph |
| the range of | the domain of | Find the inverse function, with its domain | |
| a continuous function on a given interval | the interval | 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 | Greatest and least values on an interval |
The least value is at the vertex, , and the greatest is at the open end, , which the domain leaves out: the range is .
Points on a graph
Points on a graph
The point is on the graph of exactly when . It is above the graph when , and below it when .
- A missing coordinate: substitute the coordinate you know into the equation, then solve.
- Above or below: evaluate at the point's , 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 above or below the graph of ? (define a function and evaluate it). , so the point is above the graph.
At the graph is at . The point has the larger , so it sits above the graph. Writing both numbers down is what earns the conclusion its mark.
Key features of a graph
Key features of a graph
- -intercept
- What it is
- where : the point
- How to give it
- coordinates, or
- zeros (roots, -intercepts)
- What it is
- the solutions of
- How to give it
- , or coordinates
- 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 near which the graph shoots up or down
- How to give it
- an equation,
- horizontal asymptote
- What it is
- a line that the graph approaches as gets very large (positive or negative)
- How to give it
- an equation,
| Feature | What it is | How to give it |
|---|---|---|
| -intercept | where : the point | coordinates, or |
| zeros (roots, -intercepts) | the solutions of | , or coordinates |
| local maximum or minimum (a turning point; for a parabola, the vertex) | the top of a hump or the bottom of a dip | coordinates, to 3 s.f. on P2 |
| greatest or least value on a domain | the highest or lowest point of the whole graph: a turning point or an end | the value, and where it is |
| vertical asymptote | a line near which the graph shoots up or down | an equation, |
| horizontal asymptote | a line that the graph approaches as gets very large (positive or negative) | an equation, |
- 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 ) or blow up (near a value of that makes a denominator , or a log's argument ).
- Symmetry is a sketching aid. If appears only through or through (as in or ; not , where something is added inside the cosine), the graph is symmetric about the -axis: each zero comes with , and if the graph meets the -axis it has a turning point there (the origin in Example 2.2). If every term changes sign when does, as in , the graph is symmetric about the origin: a maximum at comes with a minimum at . 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 ). (The names "odd" and "even" function, and their tests, are HL: AHL 2.14.)
Mini-example: . The -intercept is , and the zeros are , and . Every term changes sign with , so the graph is symmetric about the origin: the GDC's maximum at comes with a minimum at .
The zeros are , and , and the origin is also the -intercept. Every term changes sign with , so the graph is symmetric about the origin: the maximum comes with the minimum .
Sketching
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 as one function, and its zeros are the solutions of .
What sketch marks reward (as markschemes apply them):
- 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.
- 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?).
- Ends: stop the curve at the ends of the domain, with a closed dot where the end is included () and an open dot where it isn't (). A curve that runs on past the end loses the endpoint mark.
- 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.
- Asymptotes are dashed lines, labelled with their equations when the question asks, with the curve approaching them.
- 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.
- , by hand
- The marks reward
- the asymptotes, the intercepts and two branches
- the graph of , and or to sketch
- The marks reward
- the images of the key points
- the graph of , and to sketch
- The marks reward
- swapped intercepts and ends: a reflection in
- a quadratic
- The marks reward
- the vertex and the intercepts
- Type
- Find the vertex
- a function whose turning points you found with
- The marks reward
- the turning points and their nature, by calculus
- the graph of , and or to sketch
- The marks reward
- the zeros of below the turning points of
- a velocity
- The marks reward
- where , the sign of , the ends
- a sinusoid (a sine or cosine wave, or ), from its equation
- The marks reward
- the maximum and minimum points over whole cycles
- Type
- Read a sinusoid's features (Topic 3)
- 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
| Given | The marks reward | Type |
|---|---|---|
| , by hand | the asymptotes, the intercepts and two branches | Rational functions |
| the graph of , and or to sketch | the images of the key points | Transform a graph |
| the graph of , and to sketch | swapped intercepts and ends: a reflection in | The graphs of f and f⁻¹ |
| a quadratic | the vertex and the intercepts | Find the vertex |
| a function whose turning points you found with | the turning points and their nature, by calculus | Stationary points |
| the graph of , and or to sketch | the zeros of below the turning points of | Graphs of f, f′ and f″ |
| a velocity | where , the sign of , the ends | Velocity and acceleration |
| a sinusoid (a sine or cosine wave, or ), from its equation | the maximum and minimum points over whole cycles | Read a sinusoid's features (Topic 3) |
| any other function on a given domain, on P2 | the shape, the ends, the zeros and the turning points, read from the GDC | Sketch a function on a given domain with the GDC |
Solving equations graphically
Solving equations graphically
- : graph and . The solutions are the -coordinates of the points where the graphs meet. : the zeros of .
- 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 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: where the graph of is above the horizontal line . 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, , an asymptote). Two non-constant functions are compared only when both are linear or quadratic, such as : subtract, then solve a quadratic inequality (Quadratic inequalities, SL 2.7). Otherwise 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): can't be rearranged, but the graphs meet once, at (radians), found with zeros and intersections. The syllabus's own example is .
Solve : 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
- Type
- Above or below a level (Topic 3)
- one trig ratio on an interval, with no model, such as
- Method
- exact angles, then every solution in the interval
- Type
- Solve a trig equation (Topic 3)
- a quadratic in or in
- Method
- substitute , 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
- Type
- Solve an exponential equation (Topic 1)
- logs only: every is inside a log
- Method
- combine them, then write as a power
- Type
- Solve a logarithmic equation (Topic 1)
- for an unknown ("for which are there two solutions?"), with only in the constant and a formula for
- Method
- the -values of the turning points (and of the ends and any horizontal asymptote); for on its largest domain, only the horizontal asymptote: one solution for every , none for
- a sloping line and a parabola, or a sloping line and , with a parameter: how many meeting points
- Method
- the discriminant
- Type
- Two graphs
- Method
- , when is increasing
- mixed families with no algebraic method, a count from a given graph, or any P2 equation between two models
- Method
- graphs
| The equation | Method | Type |
|---|---|---|
| a sinusoidal model against a constant level; "for how long" | the crossings with the level, then the interval | Above or below a level (Topic 3) |
| one trig ratio on an interval, with no model, such as | exact angles, then every solution in the interval | Solve a trig equation (Topic 3) |
| a quadratic in or in | substitute , solve the quadratic, reject | Quadratic in disguise |
| an exponential model reaching a given value | substitute the value, then logs or the GDC | Exponential and log models |
| exponentials only, with the unknown only in the powers | take logs | Solve an exponential equation (Topic 1) |
| logs only: every is inside a log | combine them, then write as a power | Solve a logarithmic equation (Topic 1) |
| for an unknown ("for which are there two solutions?"), with only in the constant and a formula for | the -values of the turning points (and of the ends and any horizontal asymptote); for on its largest domain, only the horizontal asymptote: one solution for every , none for | Find the vertex, Stationary points, Rational functions: asymptotes, intercepts, sketch, range (the range) |
| a sloping line and a parabola, or a sloping line and , with a parameter: how many meeting points | the discriminant | Two graphs |
| , when is increasing | The graphs of f and f⁻¹ | |
| mixed families with no algebraic method, a count from a given graph, or any P2 equation between two models | graphs | Solve graphically |
cannot be rearranged, but the graphs show the answer: the line rises through the falling wave once, at (radians), and nowhere else, since never leaves to .
The idea of an inverse function
The idea of an inverse function
An inverse function undoes . If takes to , then takes back to :
So solving is the same as finding , and no formula for is needed.
- Notation: is the inverse function, not .
- The graph: the graph of is the reflection of the graph of in the line . Every point on becomes on , and a point on stays where it is. To describe how the two graphs are related, name the mirror line: "a reflection in the line ". Without the line, the mark is lost.
- Domain and range swap: the domain of is the range of , and the range of is the domain of .
- 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 one-to-one, such as for .
- Syllabus boundary: choosing or restricting a domain yourself so that an inverse exists ("the largest domain on which exists", "the largest for which is one-to-one") is HL (AHL 2.14), and it has not been set on an SL paper since 2021. Showing that exists because on the whole given domain is SL: Where is f increasing or decreasing?
Mini-example: converts a temperature from °C to °F. , so : °F is °C. On the graphs, on becomes on .
Where inverses are worked: the formula and its domain in Find the inverse function, with its domain; a value such as in Values of f, f∘g and f⁻¹; sketches and meeting points in The graphs of f and f⁻¹.
takes °C to °F, so takes back to : the point on becomes on , its reflection in the line , and the whole graph of is that reflection.
Where lines and graphs hide in other topics
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 with gradient . For at : and , so the normal is , that is,
- Watch for
- the gradient comes from , but the point comes from
- A tangent parallel to a given line (Find the point of contact)
- It becomes
- the line's gradient, then : the tangents to that are parallel to touch where , at and
- Watch for
- rearrange the line first (); 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: through gives
- 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
- , with measured from the positive -axis: at ,
- Watch for
- a line that falls has and an obtuse angle
- When a particle is at rest (Velocity and acceleration)
- It becomes
- the zeros of 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 -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 and , solved on the GDC: radius and area give , so and
- 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: against gives , so the point is above
- Watch for
- write both values down, and use radians
| You see | It becomes | Watch for |
|---|---|---|
| The normal to a curve (Tangent or normal at a given point) | a line through with gradient . For at : and , so the normal is , that is, | the gradient comes from , but the point comes from |
| A tangent parallel to a given line (Find the point of contact) | the line's gradient, then : the tangents to that are parallel to touch where , at and | rearrange the line first (); there can be more than one point |
| A regression line and the mean point (Topic 4, The mean point) | a line through a known point: through gives | the regression line is a straight line like any other |
| A gradient from an angle (Topic 3, The angle of a line) | , with measured from the positive -axis: at , | a line that falls has and an obtuse angle |
| When a particle is at rest (Velocity and acceleration) | the zeros of on the time interval, from the GDC on P2 | every zero in the interval, in radians |
| The limits of an area between two curves (Area between two curves) | the -coordinates of the meeting points, from the GDC on P2 | keep them at full accuracy inside the integral |
| A segment with a given area (Chords, segments and regions) | an equation in and , solved on the GDC: radius and area give , so and | radians, and only the solution the diagram allows |
| A system from a triangle (Area of a triangle) | two equations in two lengths, intersected on the GDC | give both equations the same subject before graphing them |
| A point above or below a trig model (Topic 3, The sinusoid) | Points on a graph: against gives , so the point is above | write both values down, and use radians |
More in Functions
Every topic of the course
- The binomial theorem
- Exponents and logarithms
- Proof
- Sequences and series
- Radians, arcs and sectors
- 3D geometry: solids and triangles in 3D
- Triangle trigonometry
- The unit circle, identities and trig equations
- Trig graphs and sinusoidal models
- Descriptive statistics: sampling, averages, spread and data displays
- The normal and binomial distributions
- Discrete random variables and expected value
- Probability: Venn diagrams, trees and conditional probability
- Correlation and regression
- Differentiation
- Integration and areas
- Kinematics
- Stationary points and optimisation