Educerie · IB Diploma · Mathematics: analysis and approaches
IB Mathematics AA 2.3 · SL and HL
Graphs of functions
How do you turn a function, a screen or a description into a graph on paper that an examiner can read and mark?
What you will learn
- Know that the graph of f is every point (x, y) with y = f(x), so a point is on it exactly when it fits the equation.
- Understand that draw asks for an accurate, scaled graph and sketch asks for the right shape with labelled features.
- Know how to turn a GDC screen, a list of facts or a described situation into a labelled sketch.
- Understand that the graph of f + g or f − g adds or subtracts heights at each x, and how technology draws it.
You must be able to
- Sketch a graph from your GDC, labelling intercepts, turning points, end points and asymptotes.
- Draw a graph accurately from a table of values on a given scale.
- Sketch a possible graph from a description or a list of properties.
- Show that a point lies on a graph, or find a missing coordinate.
- Graph a sum or difference of functions with technology and interpret it, such as profit from revenue and cost.
- Write down zeros, maximum values and intersection points read from a GDC graph.
In the exam. in almost every paper, usually as one part of a longer question. "Sketch the graph of " is worth 1 to 5 marks on Paper 1 and Paper 2, most often 3; Paper 2 expects you to use your GDC to see the graph first, then put it on paper with its key features labelled. "Draw" appears less often and asks for more: a scale and accurately plotted points. The same skills carry into 2.4, where you find the key features, and into calculus, where the sketch is how you check your answers.
1The graph of a function, and the equation
- For each input in the domain, gives one output . Plot the point for every input and the points join into a curve. That curve is the graph.
- Its equation is : the -coordinate of every point on it is of its -coordinate.
This gives a precise test.
A point lies on the graph of exactly when .
Take .
The test also works backwards, in many Paper 1 unknown-constant questions. If a point lies on a graph, substitute it and you have an equation.
2Shapes to know before you sketch
The guide allows functions that topic 2 never names. So a sketch starts from the family the equation belongs to. The family gives the general shape, and the GDC supplies the positions.
These are the families you meet in this course. The last column is the feature that decides the picture.
| Equation looks like | General shape | What to check | ||||||
|---|---|---|---|---|---|---|---|---|
| Straight line | Gradient sign (up or down), -intercept | |||||||
| Parabola, one turning point | opens upwards, downwards | |||||||
| Cubic: up-down-up or down-up-down, or no turns | Sign of gives the right-hand end | |||||||
| Two separate branches | Vertical asymptote , horizontal | |||||||
| or | One curve, always rising or always falling | Horizontal asymptote ; no -intercept when and have the same sign | ||||||
| Rises slowly, defined for only | Vertical asymptote , -intercept | |||||||
| Repeating wave between \(d - | a | \) and \(d + | a | \) | Period \(\dfrac{2\pi}{ | b | }\); GDC in radians | |
| \(y = | x | \) | V with a sharp corner | Corner at the origin; the only graph here with a pointed turn |
The family is also a check on odd GDC pictures. A cubic cannot have four turning points. An exponential cannot cross its own asymptote.
3"Draw" and "sketch" are different instructions
The guide expects you to know the difference between these two command terms.
Draw asks for accuracy.
- Work in pencil and to scale.
- Plot each point where it belongs.
- Rule any straight line.
- Join curved graphs with one smooth curve, and label it.
Sketch asks for the idea. The shape and the relationship must be right. Show and label the relevant features. Nothing has to be to scale.
Figure 1 puts the two side by side for .
In panel (a) the graph is drawn.
- Both axes have a scale.
- The domain is respected.
- The seven points from a table of values are plotted.
- One smooth curve joins them, not straight segments.
In panel (b) the graph is sketched. There is no scale, but the shape is right (a U-shaped parabola) and in the right place.
Every feature is labelled with its coordinates: the -intercept , the two -intercepts and , and the vertex .
The marker looks for different things.
- A drawn graph earns marks for accuracy: points in the right squares, a smooth curve, the correct domain.
- A sketch earns marks for shape and features: correct general shape, correct position, and labelled intercepts, turning points, end points and asymptotes.
A beautiful curve with no labels scores badly on a sketch.
Drawing from a table of values
- When a curve has to be drawn, make the table first. Choose the -values across the domain you were given.
- For on , the values are
- The scale must fit from to and from to . The table mirrors about , which locates the lowest point and checks your arithmetic.
Drawing a straight line from information
- A line needs two points and a ruler.
- Given the intercepts and , plot both and join them. Extend the line a little beyond each.
- Given a gradient and a -intercept, such as and , plot the intercept. Then move 3 right and 2 down to find a second point.
- Given an equation, substitute two convenient -values and plot the points.
Two related words:
- Plot = mark the positions of points on a diagram. You plot before you draw.
- Label = name the features, usually with coordinates or an equation.
4From screen to paper
- On Paper 2 you usually see the graph on your GDC first. The screen is a window onto the graph = a rectangle from some -minimum to some -maximum and some -minimum to some -maximum.
- Changing the window shows more or less of the function. A bad window can hide exactly what the question is about.
- Figure 2 shows the danger with . In the standard window ( to on both axes) you see a steep line crossing the -axis near . The turning points, at and , are off the top.
- Change the window to and and the whole shape appears.
Choosing a window.
- If the question gives a domain, such as , use it for .
- Then choose so that everything shows. Many GDCs have a zoom-fit or auto option that sets for your -range. A table of values tells you how high and low the function goes.
- If there is no domain, zoom out until you are confident nothing is happening off screen. Then zoom back in to a window that shows every feature.
Transferring the graph. With a good window, work through the same list every time.
- Draw and label both axes, and (or and , or whatever the variables are).
- Mark the scale lightly with the window limits, so the sketch has the right proportions. If the question gives the window, such as and , write those limits on the axes. Some markschemes give a mark for them.
- Find each key feature with the GDC: -intercept, -intercepts, maximum and minimum points, end points of the domain, and any asymptotes. How to find them is 2.4.
- Mark each feature as a point, with coordinates beside it (3 significant figures unless exact values are obvious). Keep positions about right: a minimum below the -intercept, or an end point at height about 7, must look so. Markschemes give a mark for "approximately correct positions", with little tolerance.
- Join the points with the shape you saw on the screen. Keep it smooth, with turning points rounded, not pointed.
- Stop at the end points of the domain. Make an asymptote look like one: the curve gets closer and closer to the line without crossing it (unless the screen shows that it does).
Figure 3 is the result for . The GDC gave the local maximum , the local minimum , the -intercept and the one -intercept .
Reading values from the screen
- Many Paper 2 parts say only "find" or "write down". They expect a number from the GDC graph, with no sketch: a zero, the maximum value, or a point where two graphs meet.
- The zeros of , the roots of and the -intercepts of are the same numbers. Where two graphs meet, the GDC's intersection tool gives the point directly.
- Use the GDC's own tools for each of these. Never trace the cursor along the curve, because trace only visits the pixels and gives an approximate value.
- Give the answer to 3 significant figures.
- Say which coordinate was asked for. A question that asks for the maximum value wants the -coordinate.
- State the units in a context.
A sketch is marked on shape and on labelled features. Every intercept, turning point, end point and asymptote on the screen should be on the paper, with coordinates or an equation beside it.
5A sketch from information or a context
Sometimes there is no formula. The question gives facts or describes a situation. The method is the same: turn each fact into a feature, place the features, and join them with a sensible shape.
From a description
- A pan of soup comes off the stove at into a kitchen at . It cools quickly at first, then more and more slowly, getting ever closer to the kitchen's temperature.
- Sketch its temperature against time .
Read the features out of the words:
- At , , so the graph starts at on the vertical axis.
- It decreases for all , since the soup only ever cools.
- It falls quickly at first, so it starts steep, then flattens.
- It approaches without reaching it, so the line is a horizontal asymptote, drawn dashed and labelled with its equation.
- Time cannot be negative, so the graph starts at and there is nothing to its left.
Figure 4 is that sketch. The formula behind it would be something like , an exponential model you meet in 2.9. The question did not need it: every mark is for a feature the words described.
Two habits help with every description.
- Ask whether a limit exists. Can the quantity ever pass a limit? A population that cannot exceed what its space allows has a horizontal asymptote above the graph. A falling temperature has one below it.
- Read speed as slope. "Faster" and "slower" mean steeper and flatter. A graph that rises ever more slowly bends over. One that rises ever faster bends upwards.
From a list of facts. A question might say:
- has domain , with and .
- has a maximum at and a minimum at .
- has a zero at .
Plot those five points first. The curve starts at and must rise to the maximum. So it also crosses the -axis once between and , and the question did not say where.
Draw that crossing in a believable spot but do not label it. Only stated features get labels.
Then fall through the zero at to the minimum and rise to the end point. Mark the end points as solid dots, because the domain includes them. Q2 below asks for the same with different information.
From properties that include asymptotes. Sketch a graph with:
- a vertical asymptote and a horizontal asymptote
- -intercept and -intercept
- no other intercepts.
Draw the two dashed asymptotes and plot the two intercepts. Both intercepts lie to the right of , so the right branch passes through them. It crosses the -axis only once.
- Left of the intercepts. Heading left from , the branch is below the axis. It must drop towards beside .
- Right of the intercepts. Heading right, the branch climbs through and flattens towards from below. Nothing given stops it crossing on the way, but nothing says it does. Staying below is the simplest curve that fits.
- The branch left of . It never meets the -axis. Far to the left it flattens towards , above the axis. So it stays above the axis and climbs to beside the asymptote. The simplest such branch lies above .
The function fits every property, but you do not need it.
Contexts with straight pieces
- Not every real graph is curved. Something that changes at a constant rate, stops, then changes at another constant rate is made of straight segments with corners. Think of a bath filling, standing, and draining.
- Draw each piece with a ruler. Match each gradient to its speed: filling slowly is a gentle slope, draining fast is a steep one.
6Sums and differences of functions
Two functions can be added or subtracted: and . On a graph that means one thing.
At every , the height of is the height of plus the height of .
- Figure 5 shows it for and . At , and , so .
- Do that at every and you get the amber curve, . Where is negative, the sum sits below . Where is positive, it sits above.
The guide asks you to graph sums and differences using technology, and every GDC does it the same way.
- Enter as the first function and as the second.
- Define the third as the first plus (or minus) the second. Use the calculator's own function names rather than retyping both formulas.
That keeps the three graphs linked. Change and the sum updates.
- The most useful difference in practice is .
- Example: a small workshop makes and sells items a day. Its daily revenue is dollars and its daily cost is dollars. Then its profit is
- Figure 6 graphs all three. The profit curve is the vertical gap between and . It is positive only where the revenue curve is above the cost line, between the two crossing points. Those are the break-even points, where .
- The GDC's zero tool on gives and . Its maximum tool gives the highest point of at .
- So the workshop makes a profit when it sells between 8 and 52 items a day, since is a whole number. The most it can make is $250 a day, by selling 30.
Solving is the same as solving . So the points where two graphs cross are exactly the zeros of their difference. That is one of the two ways 2.4 finds intersections with technology.
7Labels and axes: what every graph needs
The guide says all axes and key features should be labelled. On a sketch that list is short and fixed.
| Feature | How to show it |
|---|---|
| Axes | Both drawn and named: and , or the variables of the context with units, such as (min) and () |
| Intercepts | A point on the axis with its coordinates: , |
| Turning points | A point with coordinates, and a rounded (not pointed) turn. A parabola's turning point is its vertex, and the curve is symmetric about the vertical line through it |
| End points | Solid dot if included in the domain, open circle if not; coordinates beside it. If the graph carries on beyond the window, show it with an arrowhead instead |
| Asymptotes | A dashed line with its equation, written as an equation of a line (, ), never as a restriction such as . The curve approaches it and does not touch it at the ends. Show every branch: a graph with a vertical asymptote usually has two |
| More than one graph | On the same axes when the question says so, never on separate ones. Each curve named: , , and their positions relative to each other correct |
Coordinates from a GDC go to 3 significant figures unless a question says otherwise. If a value is exact and obvious, such as , write it exactly.
Practice questions
37 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.