IB Middle Years Programme · Mathematics (Extended) MYP Year 4

Graphs and Relations

Cover illustration for Graphs and Relations (Mathematics (Extended) MYP Year 4).
MYP · Mathematics (Extended) MYP Year 4

Graphs and Relations

MYP Mathematics Framework — Graphs and Relations (Year 5 Extended)

24 min readAdvancedCore strand of the Year 5 Extended course — assessed across Criteria A (Knowing/Understanding) and C (Communicating) in unit tests and the on-screen eAssessment; transformation and interpretation questions appear in almost every graphing paper.

This chapter is really three skills wearing one name: building a graph from an equation, reading a graph that's already drawn, and shifting a graph you already understand to describe a new situation. Examiners love the shift-and-read combination — give you , translate it, and ask what a specific point means in context (a drone's height, a sound level, a garden bed's depth). Get the sign conventions right and this whole topic becomes mechanical.

Overview — How This Topic Fits Together

What 'Graphs and Relations' actually tests

A relation links an input () to an output (). A function is a relation where every input gives exactly one output — that's the whole reason notation is safe to use. This chapter tests whether you can move between three representations of the same relationship: the equation, the table of values, and the graph — and translate between them without losing information (Q1 is built entirely around this trap).

  • Transformations describe how changing an equation moves, flips or stretches a graph — without needing to re-plot every point.
  • Real-life graphs need you to read gradient and area as physical quantities (rate of change, total distance), not just as lines on paper.
  • Linear, quadratic, cubic and exponential graphs each have a signature shape — recognising the shape from the equation (and vice versa) is non-negotiable at this level.
  • Parallel and perpendicular lines are just gradient rules dressed up in geometry language.

The shape of the chapter

Command terms this topic loves

Command termWhat it demandsAOMark-earning move
State / Write downGive the answer directly, no working requiredAO11 mark for the correct value alone — no method needed, but no credit if it's wrong even with correct-looking working nearby
CalculateObtain a numerical answer showing the working stepsAO2Method mark for correct substitution, answer mark for final value
DeduceReach a conclusion using given information or a previous result — not from scratchAO2/AO3Must explicitly link to the given data or earlier part; a bare correct answer with no link loses the reasoning mark
SketchDraw a graph showing general shape and key features (intercepts, vertex, asymptote) — not a precise plotAO2Marks for correct shape, correct intercept/vertex labels; axes must still be labelled
Interpret / ExplainConnect a mathematical feature to its real-world meaning in wordsAO3No marks for the number alone — the sentence explaining what it means in context is what's assessed
AnalyseBreak down a relationship and describe how the parts connect (e.g. how relates to )AO3Needs both the numerical pattern (add/subtract constant) and the graphical description (shift direction) for full marks

Key point

Every transformation rule secretly does the opposite of what it looks like inside the brackets: shifts the graph right, not left, and shifts it left. Outside the brackets, everything behaves normally: shifts up for positive .

Transformations of Graphs

Moving a graph without re-plotting it

If you know the shape of , you can generate a whole family of related graphs just by adding constants inside or outside the function. The exam bank for this course is dominated by translations (vertical and horizontal), so master those cold before worrying about stretches and reflections.

  • : vertical translation, up units if , down if . Every -value in the table changes; no -value changes.
  • : horizontal translation, right units if , left if . This is the one everyone gets backwards.
  • : reflection in the -axis (flips the graph upside down).
  • : reflection in the -axis (flips left-right).

Combined transformations (like Q1 — right 4, down 2) are applied as : the horizontal shift happens inside the function first conceptually, the vertical shift is simply added on afterwards. Order of writing doesn't change the answer here because the two shifts are independent, but always write the horizontal shift inside the brackets and the vertical shift outside.

Key vocabulary

Translation
A transformation that slides every point of a graph the same distance in the same direction, without changing its shape or orientation.
Image point
The new position of a point after a transformation has been applied — e.g. the image of under is .
Vertex
The turning point of a parabola — the maximum or minimum point of a quadratic graph.For , the vertex is always .

Transformation rules

vertical translation by (up if , down if )

Memorise

horizontal translation by (right if , left if )

Memorise

reflection in the -axis

reflection in the -axis

vertical stretch by factor (a squash if )

Translating

The original parabola (vertex ) translated to (vertex ).

y = x^2y = (x-3)^2 - 2vertex (0,0)vertex (3,-2)

Worked example

Q1-style — combined translation and why the table isn't enough

[3]
is translated 4 units right and 2 units down to give . Given : (a) write in terms of ; (b) calculate ; (c) explain why the table alone is insufficient to find .

Worked example

Q3-style — interpreting a horizontal translation in context

[2]
models sound level (dB) at time hours after midnight, with on the graph. models the same pattern at a neighbouring station. (a) State the image of . (b) Interpret this in context.

Horizontal vs vertical translation

Concept AConcept BThe distinction that matters
changes every -value by (vertical); changes which -value you plug in, shifting the whole graph sideways by (horizontal) — and the shift direction is opposite the sign inside the brackets.

Common mistake

Assuming shifts the graph left when is positive, because there's a minus sign written down.

Consequence: Every horizontal-shift question (like Q1 and Q3) gets the direction reversed — usually costs the answer mark even though the method is otherwise correct.

Fix: Ask: 'what do I need to plug into the original to get the same output?' For at , you need — the graph value that used to sit at now sits at , which is 4 units to the right.

Examiner tip

When a question says 'Analyse the relationship between and ' (Q6-style), you need TWO things for full marks: the numerical rule (add/subtract a constant to every -value) AND the graphical description (vertical/horizontal shift, direction, size). Giving only one loses a mark.

Key takeaways

  • is vertical (up/down); is horizontal (right/left) with the direction opposite the sign inside the brackets.
  • Combined transformations are written as one expression: right , down gives .
  • A table of values can become insufficient after a horizontal shift because it may not include the new -values needed — always check the domain before relying on a table.

Interpreting Real-Life Graphs

Graphs as stories, not just curves

Every real-life graph is a story told through gradient and area. Gradient tells you a rate — how fast something is changing per unit of the horizontal axis. Area under a graph tells you a total — the accumulated amount over an interval. Distance-time and velocity-time graphs are the classic pair: gradient of a distance-time graph is speed; area under a velocity-time graph is distance travelled.

  • Steeper section = faster rate of change (positive or negative).
  • Flat section (gradient 0) = constant value — no change over that interval, not necessarily zero speed unless it's a distance-time graph.
  • A curve that steepens is accelerating; one that flattens is decelerating, even while still rising overall.
  • Always check the units on both axes before describing 'how fast' anything is happening — a common way marks are lost is quoting a gradient with no units.

Reading features of a real-life graph

Graph featureWhat it means in context
Positive gradientThe quantity is increasing over that interval
Negative gradientThe quantity is decreasing over that interval
Gradient of zero (flat section)The quantity is constant — no change, e.g. object stationary or price fixed
-interceptThe starting/initial value at time zero (or )
-interceptWhen the quantity equals zero — e.g. ground level, break-even point
Curve steepeningRate of change is increasing (accelerating)
Area under a rate-vs-time graphThe total accumulated quantity over that time interval

Velocity-time graph of a delivery vehicle

The area under this velocity-time graph (a trapezium) gives the total distance travelled.

v (m/s)t (s)(0,0)(4,8)(10,8)(14,0)

Worked example

Extracting total distance from a non-rectangular area

[3]
A delivery drone accelerates from rest to 8 m/s over the first 4 seconds, holds 8 m/s for the next 6 seconds, then decelerates to rest over the final 4 seconds. Calculate the total distance travelled.

Drones, sound maps and rate graphs

Delivery-drone flight-path modelling (as in this course's exam questions) is a genuine engineering use of graph transformations: adjusting raises an entire flight path by 5 m to clear an obstacle without redesigning the whole trajectory. City noise-mapping stations use horizontal shifts, , to model how the same traffic-noise pattern reaches a second location a few hours later — the graph's shape doesn't change, only its position in time.

Common mistake

Reading the steepness of a graph as 'speed' even when the vertical axis isn't distance (e.g. it's height, temperature, or sound level).

Consequence: Interpretation answers get marked as vague or wrong context — the command term 'interpret' specifically checks you've matched the rate to the correct units from the axis labels.

Fix: Before interpreting any gradient, state explicitly: 'gradient = (change in [-axis units]) per (change in [-axis units])', then describe what that rate means for the specific scenario.

Key takeaways

  • Gradient = rate of change (units matter); area under a rate-time graph = total accumulated quantity.
  • Break irregular shapes (trapeziums) into triangles and rectangles to find area — don't force a single formula onto a compound shape.
  • Interpretation answers must connect the maths to the scenario in a full sentence, not just state a number.

Cartesian Plane and Coordinates

The grid everything else depends on

The Cartesian plane is divided into four quadrants by the -axis and -axis, meeting at the origin . Every point is an ordered pair — order matters, since and are different points. Beyond plotting, this course expects you to calculate the exact midpoint and distance between two points without needing to plot them at all.

  • Quadrant I: . Quadrant II: . Quadrant III: . Quadrant IV: (numbered anticlockwise from top-right).
  • The midpoint of a segment is the average of the -coordinates and the average of the -coordinates.
  • The distance formula is just Pythagoras' theorem applied to the horizontal and vertical legs between two points.

Midpoint and distance

midpoint of the segment joining and

Memorise

distance between and

Memorise

The four quadrants

Points plotted in each quadrant, with signs of coordinates shown.

Quadrant I (+,+)Quadrant II (-,+)Quadrant III (-,-)Quadrant IV (+,-)origin (0,0)

Worked example

Midpoint and distance between two points

[3]
Find the midpoint of, and distance between, and .

Vocabulary

Origin
The point where the -axis and -axis intersect.
Ordered pair
A coordinate written as where the order of the two values is fixed and meaningful.

Key takeaways

  • Quadrant location is determined entirely by the signs of and .
  • Midpoint averages coordinates; distance uses Pythagoras on the horizontal and vertical differences.
  • Always finish the distance formula by taking the square root — a bare value under the root sign isn't the final answer.

Graphing Linear Equations

Straight lines: the simplest relation

A linear equation produces a straight-line graph with constant gradient. The most useful form is slope-intercept: , where is the gradient and is the -intercept. Given any two points on the line, the gradient is the change in over the change in — get the order of subtraction consistent between numerator and denominator or the sign flips.

  • To sketch from an equation: plot the -intercept first, then use the gradient to step to a second point (rise over run).
  • To find the equation from a graph: read off the -intercept directly, then calculate from two clearly-marked points.
  • The -intercept is found by setting and solving for — useful for checking a sketch is correct.

Forms of a linear equation

gradient between two points

Memorise

slope-intercept form; is the -intercept

Memorise

point-slope form; use when you have a gradient and one point but no -intercept

Sketching

The line with a gradient triangle showing rise 4, run 2.

y = 2x + 4(0,4)(-2,0)(2,8)rise = 4run = 2

Worked example

Finding the equation of a line from two points on its graph

[3]
A straight-line graph passes through and . Find its equation and its -intercept.

Common mistake

Calculating gradient as run over rise () instead of rise over run.

Consequence: Every gradient value comes out as the reciprocal of the correct one — a line that should have gradient 2 gets reported as 0.5, and any 'parallel/perpendicular' follow-up question then fails too.

Fix: Say it out loud every time: gradient = change in (vertical) divided by change in (horizontal). over , always.

Examiner tip

When a question gives you a table of values instead of a graph, pick two widely-spaced rows to calculate the gradient — using adjacent rows increases the chance of small arithmetic slips going unnoticed.

Key takeaways

  • : read straight off the graph at ; calculate from any two points using rise over run.
  • -intercept comes from setting and solving — always double-check a sketch this way.
  • Keep the subtraction order in the gradient formula consistent between numerator and denominator.

Graphing Quadratic, Cubic and Exponential Functions

Three distinctive shapes

Quadratics () always make a symmetric U-shaped (or ∩-shaped) parabola with exactly one vertex. Cubics () make an S-shaped curve that can have up to two turning points and always has opposite end behaviour (one end goes up, the other goes down). Exponentials () never cross the -axis — they approach a horizontal asymptote and shoot off toward infinity on the other side, modelling growth or decay.

  • Vertex form gives the vertex directly as — the sign inside the bracket flips for the horizontal coordinate, just like with translations.
  • For specifically (Q8-style), the vertex is always — write as to correctly identify .
  • Exponential graphs with grow; with they decay — both pass through and never touch the -axis.

Key equations

vertex form of a quadratic; vertex at

Memorise

general cubic; is the -intercept

exponential; is the -intercept, controls growth () or decay ()

Memorise

Quadratic graph:

, vertex , roots at and .

y-intercept (0,3)vertex (2,-1)roots (1,0) and (3,0)

Cubic shape:

A cubic with three real roots at — note the opposite end behaviour.

(-2,0)(0,0)(2,0)

Exponential growth:

passes through and , with horizontal asymptote .

(0,1)(1,2)(2,4)asymptote y=0

Worked example

Q8-style — finding vertices from vertex form

[2]
Given , , , deduce the vertex of and of , then state a general rule.

Quadratic vs cubic vs exponential

FeatureQuadratic Cubic Exponential
ShapeSingle parabola (U or ∩)S-curveGrowth/decay curve
Turning pointsExactly 1 (the vertex)0 or 2None
End behaviourBoth ends point the same wayEnds point in opposite directionsOne end flattens to an asymptote, the other grows/shrinks without bound
-intercepts (roots)0, 1, or 21, 2, or 3Never crosses the -axis
-intercept
SymmetryVertical line through the vertexPoint symmetry about the inflection pointNone

Mnemonic

"In flips, out stays"

Numbers inside the brackets (with ) flip sign to find the horizontal shift; numbers outside the brackets keep their sign for the vertical shift — applies to both translations and vertex-form quadratics.

Common mistake

Assuming every U-shaped graph must be a quadratic, or every curve that levels off must be exponential.

Consequence: Misidentifying the function family leads to using the wrong formula to extract intercepts or turning points, losing the whole question.

Fix: Check the number of turning points and whether the graph ever touches the -axis on both sides: parabolas have exactly one turning point and can cross the -axis; exponentials never cross it at all.

Key takeaways

  • Vertex form gives vertex directly — always rewrite as before reading off .
  • Quadratics have 1 turning point and same-direction ends; cubics can have 2 turning points with opposite-direction ends; exponentials have no turning points and never cross the -axis.
  • Adding a constant to a function (Q6, Q7) always shifts the graph vertically by that amount without changing its shape or width.

Parallel and Perpendicular Lines

Two gradient rules, one geometry idea

Parallel lines never meet — they have exactly the same gradient. Perpendicular lines cross at a right angle — their gradients multiply to , which means the perpendicular gradient is always the negative reciprocal of the original. Once you have the required gradient, finding the actual equation of a new line through a given point uses point-slope form.

  • Parallel: .
  • Perpendicular: , so .
  • To flip a gradient into its negative reciprocal: flip the fraction, then change the sign — do both steps, not just one.

Gradient relationships

Memorise

Memorise

use this to build the new line's equation once the correct gradient is known

Parallel and perpendicular lines sharing a point

Line A () and Line B (, parallel) share gradient 2. Line C () is perpendicular to A.

Line A: y=2x+1Line B: y=2x-3Line C: y=-0.5x+1(0,1)

Worked example

Finding parallel and perpendicular line equations

[4]
Line has equation . Find the equation of the line through that is (a) parallel to , (b) perpendicular to .

Parallel vs perpendicular

Concept AConcept BThe distinction that matters
Parallel linesPerpendicular linesParallel lines share the exact same gradient (); perpendicular lines have gradients that are negative reciprocals of each other () — never the same value unless one gradient is undefined (vertical) and the other is zero (horizontal).

Examiner tip

If a gradient is given as a whole number like , write it as before finding the negative reciprocal — this stops the common slip of writing instead of .

Key takeaways

  • Parallel lines: identical gradient. Perpendicular lines: gradients multiply to .
  • To find a perpendicular gradient, flip the fraction AND change the sign — both steps are required.
  • Once you have the correct gradient, use point-slope form with the given point to build the final equation, then simplify to .

Quick Reference

Graphs and Relations — everything on one page

Formulas

  • vertical translation, up/down
  • horizontal translation, right/left — direction opposite the bracket sign
  • reflection in the -axis
  • reflection in the -axis
  • midpoint of two points
  • distance between two points
  • gradient between two points
  • slope-intercept form
  • point-slope form
  • vertex form of a quadratic; vertex
  • parallel lines
  • perpendicular lines

Key facts

Vertex of
Vertex of
Exponential graphs
never cross the -axis; horizontal asymptote at
Cubic end behaviour
always opposite directions at the two ends

Mnemonics

  • "In flips, out stays"Constants inside brackets with flip sign for the horizontal shift; constants outside keep their sign for the vertical shift.

Don't confuse

  • vs : Vertical shift (changes -values) vs horizontal shift (changes which is used) — direction of horizontal shift is opposite the bracket's sign.
  • Parallel lines vs Perpendicular lines: Same gradient vs gradients that multiply to .

Command terms

State/Write down:
Answer only, no working needed
Calculate:
Show substitution and working to reach a numerical answer
Deduce:
Must explicitly link to given data or a prior result
Interpret/Explain:
Full sentence connecting the maths to the real-world context
Sketch:
Correct general shape with key features labelled, not precise plotting

Exam checklist

  • Horizontal shift direction opposite the sign inside the brackets — checked?
  • Gradient calculated as rise over run, with consistent point order?
  • Perpendicular gradient found by flipping the fraction AND the sign?
  • Vertex of read as with any rewritten as first?
  • Interpretation answers written as full sentences linking maths to context, with correct units?
  • Distance formula finished with the square root, not left under the radical?