
Graphs and Relations
MYP Year 5 Mathematics — Number & Algebra strand: Graphs and Relations
A graph is just a frozen story — two quantities changing together, drawn so you can read the plot without watching the whole movie. The skill examiners actually test isn't plotting points (a computer does that); it's translating between three languages — the picture, the equation, and the real-world situation — without losing information crossing between them. Every question in this topic, from a cyclist's journey to a transformed parabola, is really asking: can you move fluently between graph, equation, and context?
Overview
What this topic actually covers
A relation connects two variables; a function is a relation where every input has exactly one output. Almost everything below is one of four skills applied to different graph families: reading a graph, plotting a graph from an equation, finding the equation of a graph, and predicting how a graph changes shape or position.
- Real-life graphs (distance-time, cost, temperature) test whether you can attach meaning to gradient and intercept, not just calculate them.
- The Cartesian plane is the shared language — coordinates, distance, midpoint — that every other subtopic depends on.
- Linear, quadratic, cubic and exponential graphs each have a signature shape; recognising the shape from the equation (and vice versa) is tested constantly.
- Parallel/perpendicular and transformations are really the same idea in disguise: how does changing a number in the equation change the picture?
The shape of the chapter
Command terms that drive the marks in this topic
| Command term | What it demands | AO | Mark-earning move |
|---|---|---|---|
| Interpret | Attach real-world meaning to a graph feature — say what the gradient/intercept means, not just its numeric value. | Criterion A/B | Full marks need the unit and the context sentence, not just the number. |
| Sketch | Show correct overall shape, intercepts and turning points — proportion matters more than precision plotting. | Criterion C | Missing an intercept or wrong end-behaviour loses marks even if the shape 'looks right'. |
| Determine / Calculate | Produce a specific numeric answer with working shown. | Criterion A | Method mark is separate from the answer mark — write the formula before substituting. |
| Analyse | Break down how a change in the equation affects the graph, and explain the connection. | Criterion B | A description with no algebraic link ('it's steeper') scores lower than one that names the cause. |
| Deduce | Use a given result plus reasoning to reach a new fact without re-deriving from scratch. | Criterion B | You may quote the earlier answer directly — re-doing the whole calculation wastes time, not marks, but skipping the logic link does lose marks. |
| Justify / Explain | Give a reasoned argument, not just a stated conclusion. | Criterion C | A bare 'yes' or 'no' answer without the supporting calculation earns close to zero. |
Key point
Interpreting Real-Life Graphs
Reading meaning off a graph
On a distance–time graph, gradient is always speed. A steeper line means faster travel; a flat (horizontal) line means the object hasn't moved at all during that interval, even though time is still passing.
- Gradient formula: — the units it produces (km/h, m/s, km/min) depend entirely on the axis units given, so always check the axes first.
- A negative gradient on a return leg doesn't mean 'negative speed' — it means the object is moving back towards the start; speed itself is always reported as a positive magnitude.
- Average speed for an entire multi-segment trip is total distance ÷ total time — this is very rarely equal to the average of the individual segment gradients.
- Turning points, intercepts and horizontal stretches all carry meaning in context: an intercept is a starting value, a turning point is often a maximum/minimum in the real situation.
Key terms
- Distance–time graph
- A graph with time on the horizontal axis and distance (from a fixed point) on the vertical axis.Gradient of this graph = speed.
- Gradient (in context)
- The rate of change of the vertical variable with respect to the horizontal variable.On distance-time: speed. On cost-quantity: price per unit.
- Average speed
- Total distance travelled divided by total time taken, over the whole journey.Not the same as the mean of the individual leg speeds unless every leg takes equal time.
Distance–time graph with an outward, resting and return segment
A trip out, a rest, then a return journey — the classic three-segment distance-time graph.
Speed and average speed
Gradient between two points on any graph.
- — gradient / rate of change
- — two known points on the line
Never substitute net displacement (final − start position) for total distance travelled.
Worked example
Out-and-back journey (based on a distance–time graph question)
Worked example
Average speed vs total distance (club qualification check)
Treating a flat segment as 'no data' instead of 'zero speed'
Some students skip commenting on horizontal segments, assuming there's 'nothing to say' since the line is flat.
Consequence: Loses the explicit interpretation mark — mark schemes specifically award a point for stating 'gradient = 0 → speed = 0 → stationary/resting', not just for drawing or describing the flat line.
Fix: Always write the three-step chain explicitly: gradient = 0, therefore speed = 0, therefore the object is not moving during that interval.
Examiner tip
Real-world application
Key takeaways
- Gradient of a distance-time graph is speed; its sign shows direction of travel, not whether the object is stationary.
- A horizontal segment always means gradient = 0 = stationary, regardless of how long it lasts.
- Average speed = total distance ÷ total time — never the mean of individual segment gradients, and never based on net displacement.
- Always state the units your gradient calculation produces — they come from the graph's axis units, not from memory.
Cartesian Plane and Coordinates
Locating points precisely
The Cartesian plane is two perpendicular number lines — the horizontal -axis and vertical -axis — crossing at the origin , splitting the plane into four quadrants.
- Every point is written as an ordered pair — (horizontal position) always comes first, (vertical position) second; swapping the order names a completely different point.
- Quadrant sign pattern: QI , QII , QIII , QIV — read anticlockwise starting top-right.
- The distance and midpoint formulas let you compute lengths and centre points directly from coordinates, without measuring anything on a diagram.
Key terms
- Origin
- The point where the -axis and -axis intersect.
- Quadrant
- One of the four regions the plane is divided into by the two axes, numbered I–IV anticlockwise from the top right.
- Ordered pair
- A coordinate where the order of the two numbers determines a unique, specific point.
- Midpoint
- The point exactly halfway between two given points along the straight line joining them.
The four quadrants with a plotted point in each
One point per quadrant, showing the sign pattern of coordinates.
Distance and midpoint
Straight-line distance between two points — derived from Pythagoras' theorem.
- — distance between the two points (same units as the axes)
Midpoint is simply the average of the two -coordinates and the average of the two -coordinates.
Worked example
Distance and midpoint between two points
Key point
Key takeaways
- Coordinate order matters: , never .
- Quadrant signs follow going anticlockwise from top-right.
- Distance formula is Pythagoras in disguise; midpoint is just an average of each coordinate.
- Use the midpoint formula to check properties like 'diagonals of a parallelogram bisect each other' without drawing anything.
Graphing Linear Equations
From equation to line and back
Every straight line (that isn't vertical) can be written as , where is the gradient and is the -intercept — the value of when .
- To sketch quickly: plot the -intercept first, then use the gradient as rise/run to plot a second point.
- To find the equation from two points: calculate using , then substitute either point into to solve for .
- The -intercept is found by setting and solving for — it's the point where the line crosses the horizontal axis.
Key terms
- Gradient ()
- The coefficient of in ; equals rise ÷ run between any two points on the line.
- -intercept ()
- The value of when — where the line crosses the vertical axis.
- -intercept
- The value of when — where the line crosses the horizontal axis.
Linear equations
Slope-intercept form of a straight line.
Gradient between two known points.
Line with gradient triangle
Plot the intercept first, then use rise/run to fix the line.
Worked example
Finding the equation of a line through two points
Mnemonic
Rise over Run
Gradient = vertical change (rise, from the -values) ÷ horizontal change (run, from the -values). Compute the -difference first, then the -difference, to avoid accidentally building the reciprocal fraction.
Flipping the gradient formula
Writing instead of .
Consequence: Produces the reciprocal of the correct gradient — every later step (equation, intercepts, parallel/perpendicular checks) is then wrong, costing the whole remaining chain of marks.
Fix: Write '' explicitly before substituting numbers, every single time.
Key takeaways
- : is the gradient, is the -intercept — read both directly off the equation.
- To find an equation from two points: calculate , then substitute one point to solve for .
- -intercept: set ; -intercept: set .
- Always verify a found equation using the point you didn't use to solve for .
Graphing Quadratic, Cubic and Exponential Functions
Recognising the signature shapes
Each function family has a distinct silhouette — spotting it from the equation (or the reverse) is what's actually tested, more than plotting by hand.
- Quadratic : a parabola. opens upward (has a minimum); opens downward (has a maximum). Axis of symmetry: .
- Cubic : an S-shaped curve with up to two turning points; end-behaviour is always opposite at the two ends (one side rises, one falls) — the sign of decides which way round.
- Exponential (): never crosses the -axis — it approaches a horizontal asymptote at ; grows explosively if , decays toward zero if ; -intercept is always .
- Roots (x-intercepts) of a quadratic come from its factorised form, or from setting and solving directly.
Key terms
- Vertex
- The turning point of a parabola — its minimum (if ) or maximum (if ).
- Axis of symmetry
- The vertical line through the vertex, about which the parabola is a mirror image of itself.
- Asymptote
- A line a curve approaches but never touches; exponential graphs have a horizontal asymptote at .
Quadratic with roots and vertex
Roots, axis of symmetry and vertex all come from the same equation.
Quadratic, cubic and exponential forms
Vertex form of a quadratic; vertex is at .
Axis of symmetry (and the -coordinate of the vertex) for .
General exponential function; is the -intercept, controls growth () or decay ().
Worked example
Analysing a quadratic from its equation
Linear vs quadratic vs cubic vs exponential
| Feature | Linear | Quadratic | Cubic | Exponential |
|---|---|---|---|---|
| General form | ||||
| Shape | Straight line | Parabola | S-curve | Curve approaching a flat line |
| Max turning points | 0 | 1 | 2 | 0 |
| End behaviour | Both ends go opposite ways at constant rate | Both ends go the same way (up or down) | Ends go opposite ways | One end flattens to an asymptote, other rises/falls without bound |
| Always has an x-intercept? | Yes (unless horizontal) | Not always (depends on discriminant) | Yes, at least one | Never — asymptote at , never crosses |
Examiner tip
Key takeaways
- Sign of in a quadratic decides upward (min) vs downward (max) opening; magnitude decides how narrow/wide.
- Axis of symmetry always sits midway between the two roots — use this as a self-check.
- Cubic graphs always have opposite end behaviour; exponential graphs never cross their asymptote.
- Roots come from factorising and setting ; vertex comes from substituting the axis-of-symmetry -value back in.
Parallel and Perpendicular Lines
Comparing gradients
Whether two lines are parallel or perpendicular is decided entirely by their gradients — you never need to look at the -intercepts.
- Parallel lines have exactly equal gradients: . They never meet (unless they're actually the same line).
- Perpendicular lines have gradients that multiply to : — each gradient is the negative reciprocal of the other.
- To compare gradients from any given equation, rearrange first into form so the gradient is isolated as the coefficient of .
Parallel and perpendicular conditions
Condition for two lines to be parallel.
Condition for two lines to be perpendicular — equivalently .
Don't mix these up
| Concept A | Concept B | The distinction that matters |
|---|---|---|
| Parallel lines | Perpendicular lines | Parallel share the identical gradient value; perpendicular gradients are negative reciprocals of one another (their product is exactly ) — they're never equal to each other unless both are undefined/zero cases. |
| A negative gradient | A perpendicular gradient | A line simply falling left-to-right has a negative gradient — that alone tells you nothing about perpendicularity. Perpendicularity requires the product of the two specific gradients to equal . |
Worked example
Equation of a perpendicular line through a given point
Reciprocal without the sign flip
Using for a 'perpendicular' gradient, without negating it.
Consequence: The resulting line isn't actually perpendicular — any follow-up mark asking to verify perpendicularity, or an angle calculation based on it, is lost even though the algebra 'worked'.
Fix: Always write and check explicitly before finalising the new equation.
Key takeaways
- Parallel: . Perpendicular: .
- Rearrange any equation into first so gradients are directly comparable.
- Perpendicular gradient = negative reciprocal — reciprocate AND negate, not just one or the other.
- Substitute a known point into to solve for the new -intercept once you have the correct gradient.
Transformations of Graphs
Changing a graph without redrawing from scratch
Every transformation acts directly on or inside the function notation. Translations move the graph without changing its shape; reflections flip it; stretches resize it.
- Vertical translation : shifts the whole graph up () or down () — every -coordinate changes, -coordinates stay put.
- Horizontal translation : shifts right () or left () — the sign inside the bracket is the opposite of the direction, which trips up almost everyone the first time.
- Reflections: flips in the -axis (negates every -value); flips in the -axis (negates every -value).
- Stretches: stretches vertically by factor ( taller, flatter); stretches horizontally by factor .
Key terms
- Translation
- A shift of every point on a graph by the same fixed amount, in a fixed direction, with no change in shape or size.
- Reflection
- A flip of the graph across a line (usually an axis), producing its mirror image.
- Dilation (stretch/compression)
- A resizing of the graph vertically or horizontally by a scale factor, changing its shape's proportions.
- Parent function
- The simplest, un-transformed version of a function family, e.g. for all quadratics.
Translating a parabola
Shifting a parabola right 2 and up 3 moves the vertex from (0,0) to (2,3), shape unchanged.
Transformation rules for
Vertical translation: up if , down if .
Horizontal translation: right if , left if .
Reflection in the -axis.
Reflection in the -axis.
Vertical stretch/compression by factor .
Horizontal stretch/compression by factor .
Transformation rules at a glance
| Transformation | Equation form | Effect on graph | Effect on point |
|---|---|---|---|
| Vertical translation | Shifts up () or down () | ||
| Horizontal translation | Shifts right () or left () | ||
| Reflection in x-axis | Flips top-to-bottom | ||
| Reflection in y-axis | Flips left-to-right | ||
| Vertical stretch | Taller () or flatter () | ||
| Horizontal stretch | Narrower () or wider () |
Worked example
Combining transformations in the correct order
Getting the horizontal shift direction backwards
Treating as a shift to the left because there's a minus sign in the bracket.
Consequence: The sketched graph, roots, and vertex all end up mirrored left-right from the correct graph — loses the accuracy marks for the sketch and any coordinate follow-up.
Fix: Test with a simple substitution: evaluated at gives — so the feature that used to sit at now sits at , confirming the shift is to the right.
Examiner tip
Key takeaways
- Translations shift a graph without changing its shape; stretches and reflections do change its shape.
- Horizontal shift direction is opposite to the sign inside the bracket: moves right when .
- Reflections negate one coordinate only: flips -values, flips -values.
- Apply combined transformations in order: horizontal shift, then stretch/reflection, then vertical shift.
Quick Reference
Graphs and Relations — everything on one page
Formulas
- Gradient between two points — order must match for both coordinates.
- Slope-intercept form; = gradient, = y-intercept.
- Distance formula — sign errors cancel because everything is squared.
- Midpoint = average of each coordinate.
- Never the average of individual gradients; never based on net displacement.
- Axis of symmetry / vertex x-coordinate for .
- Parallel lines condition.
- Perpendicular lines condition.
Key facts
- Gradient of a distance-time graph
- = speed
- Horizontal segment on distance-time graph
- = stationary (speed = 0)
- Perpendicular gradient rule
- Quadratic axis of symmetry
- Exponential asymptote
- (never crossed)
- Horizontal shift direction for
- Right if , left if
Mnemonics
- Rise over RunGradient = vertical change ÷ horizontal change; compute the -difference before the -difference.
Don't confuse
- Parallel lines vs Perpendicular lines: Equal gradients (parallel) vs gradients multiplying to (perpendicular).
- Average speed vs Average of segment speeds: Average speed = total distance ÷ total time; it is not the arithmetic mean of the individual leg speeds unless all legs take equal time.
- Horizontal translation vs What it looks like it should do: shifts RIGHT when — the bracket sign is opposite to the direction of the shift.
Command terms
- Interpret:
- State the numeric answer AND its real-world meaning with correct units.
- Analyse:
- Link the algebraic feature (sign, coefficient) to the visual feature (shape, direction) explicitly.
- Deduce:
- Use a previously found result plus one line of reasoning — don't re-derive from scratch.
- Justify/Explain:
- Give the reasoned working, not just a stated conclusion.
Exam checklist
- Have I checked which quantity each axis represents, and its units, before calculating any gradient?
- For distance-time questions: is my 'average speed' total distance ÷ total time, not an average of the segment speeds?
- For gradient calculations: did I subtract -values and -values in the same order?
- For perpendicular gradients: did I both flip AND negate, and check ?
- For horizontal shifts: did I remember the sign inside the bracket is opposite to the shift direction?
- For combined transformations: did I apply horizontal shift, then stretch/reflection, then vertical shift, in that order?