EngineerPlay

Graph formulas: slope, area under a graph and straight lines

The slope of a straight line is the change up divided by the change across, in the axes' units: metres per second on a distance-time graph is a speed. The area under a graph is up times across: under a speed-time graph it is the distance, under a power-time graph the energy.

The formulas

FormulaWhat it givesSymbols
m = (y₂ − y₁) ÷ (x₂ − x₁)The slope of a straight line(x₁, y₁) and (x₂, y₂) = two points on the line, best where it crosses grid lines; m has the unit of y over the unit of x
v = Δd ÷ ΔtSpeed from a distance-time graphΔd in m and Δt in s between two points on the line; v in m/s
a = Δv ÷ ΔtAcceleration from a speed-time graphΔv in m/s and Δt in s; a in m/s² (a falling line is a deceleration)
P = ΔE ÷ ΔtPower from an energy-time graphΔE in J and Δt in s; P in W (1 W = 1 J each second)
V = m × t + cThe equation of a straight linec = the value where the line meets the up axis (t = 0), m = its slope; use it to carry the line on past the graph
t = c ÷ mWhen a falling line reaches zeroc = the starting value, m = how fast it falls (without its minus sign); for example a candle's height
d = v × tDistance under a level speed-time linethe area of a rectangle: v in m/s, t in s, d in m
d = ½ × v × tDistance while speeding up from rest (or slowing to a stop)the area of a triangle, half the rectangle: v = the top speed, t = the time it takes
d = d₁ + d₂ + d₃Distance of a whole tripsplit the area under the speed-time graph into triangles and rectangles and add their areas
v_avg = d ÷ tAverage speed over a tripd = the whole distance (the area under the graph), t = the whole time, including speeding up and slowing down
E = P × tEnergy under a level power-time lineP in W and t in s give E in J; P in kW and t in hours give E in kWh
E = P₁ × t₁ + …Energy from a power-time graph with stepseach step of power P times its own time t, in hours for kWh (30 min = 0.5 h), all added
v = v₁ + (t − t₁) × (v₂ − v₁) ÷ (t₂ − t₁)A value between two readings(t₁, v₁) and (t₂, v₂) = the readings either side of t, taking the value to change steadily between them

Worked example

This example is made by the same code as the practice questions. Open the working to see every step.

The graph shows the speed of a car moving steadily. How far does it go in the time shown, in m?

A speed-time graph on a numbered gridLabels shown, in drawing order: 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 0, 1, 2, 3, 4, 5, Speed v (m/s), Time t (s).05101520253035404550012345Speed v (m/s)Time t (s)
Show the working
  1. The area under the line is a rectangle 40 s wide and 4 m/s high.
  2. The distance is the area under a speed-time graph: d = v × t.
  3. Work it out: d = 4 m/s × 40 s = 160 m.
  4. Check: m/s × s gives metres, a distance. Answer: 160 m.
Why not the others?
  • 44 m Adds the height and the width; an area multiplies them.

Remember: The area under a speed-time graph is the distance; under a power-time graph it is the energy. Formula sheet

Common mistakes

These are the wrong answers the practice questions offer, and the slip that leads to each.

Questions

What is the formula for the slope of a straight line?

m = (y₂ − y₁) ÷ (x₂ − x₁). Symbols: (x₁, y₁) and (x₂, y₂) = two points on the line, best where it crosses grid lines; m has the unit of y over the unit of x.

What is the formula for speed from a distance-time graph?

v = Δd ÷ Δt. Symbols: Δd in m and Δt in s between two points on the line; v in m/s.

What is the formula for acceleration from a speed-time graph?

a = Δv ÷ Δt. Symbols: Δv in m/s and Δt in s; a in m/s² (a falling line is a deceleration).