TExcelTAD

Gradient and Intercept

A question to start

A cyclist rides past a row of marker posts and a friend records her position every two seconds. The points lie on a straight line. From that line alone you can read off how fast she was going and where she was when the clock started. Those two numbers are the line's gradient and intercept, and on a physics graph each has a unit and a meaning.

The idea

Every straight line can be written as

y=mx+cy = m x + c
  • mm is the gradient or slope (hệ số góc, độ dốc): how much yy goes up for each unit of xx;
  • cc is the intercept (tung độ gốc): the value of yy where the line crosses the yy-axis, at x=0x = 0.

(You know this from School Functions; in physics, xx and yy are measured quantities with units.)

The gradient from the graph: pick two points A(x1,y1)A(x_1, y_1) and B(x2,y2)B(x_2, y_2) on the best-fit line (not data points), far apart, at least half the length of the line, and draw the triangle:

m=ΔyΔx=y2−y1x2−x1,unit of m=unit of yunit of xm = \frac{\Delta y}{\Delta x} = \frac{y_2 - y_1}{x_2 - x_1}, \qquad \text{unit of } m = \frac{\text{unit of } y}{\text{unit of } x}

A big triangle makes the reading errors small compared with Δy\Delta y and Δx\Delta x. A line going down has a negative gradient.

The intercept: read yy where the line meets the yy-axis, if the xx-axis starts at zero. Otherwise calculate it from one point on the line: c=y1−mx1c = y_1 - m x_1. Its unit is the unit of yy.

Gradients and intercepts mean something

Graph (yy against xx) Gradient means Intercept means
position xx / m against time tt / s speed vv in m/s\text{m/s} starting position
speed vv / (m/s) against time tt / s acceleration aa in m/s2\text{m/s}^2 starting speed
voltage UU / V against current II / A resistance RR in V/A=Ω\text{V/A} = \Omega 00 for an ideal resistor
extension xx / cm against load FF / N 1k\frac{1}{k}, so the spring constant is k=1mk = \frac{1}{m} 00 if the spring obeys Hooke's law from the start
mass mm / g against volume VV / cm3\text{cm}^3 density ρ\rho in g/cm3\text{g/cm}^3 mass of the container, if it was weighed with it
T2T^2 / s2\text{s}^2 against length LL / m (pendulum) 4π2g\frac{4\pi^2}{g} in s2/m\text{s}^2/\text{m} 00 (non-zero means LL was measured to the wrong point)

Worked example 1: the cyclist

0 1 2 3 4 5 6 7 8 9 10 0 10 20 30 40 50 60 70 80 time t / s position x / m A (1.0, 25) B (9.0, 65) run = 9.0 - 1.0 = 8.0 s rise =65 - 25= 40 m intercept 20 m

Given: the best-fit line of position against time passes through A(1.0 s,25 m)A(1.0\ \text{s}, 25\ \text{m}) and B(9.0 s,65 m)B(9.0\ \text{s}, 65\ \text{m}) and meets the vertical axis (t=0t = 0) at 20 m20\ \text{m}. Find: the gradient and intercept, and what they mean. Formula: m=ΔxΔtm = \frac{\Delta x}{\Delta t}. Solve:

m=65 m−25 m9.0 s−1.0 s=40 m8.0 s=5.0 m/sm = \frac{65\ \text{m} - 25\ \text{m}}{9.0\ \text{s} - 1.0\ \text{s}} = \frac{40\ \text{m}}{8.0\ \text{s}} = 5.0\ \text{m/s}

Answer: gradient 5.0 m/s5.0\ \text{m/s}: the cyclist's speed. Intercept 20 m20\ \text{m}: she was 20 m20\ \text{m} past the first post when the clock started. The line's equation is x=(5.0 m/s) t+20 mx = (5.0\ \text{m/s})\,t + 20\ \text{m}. Check: 5 m/s=18 km/h5\ \text{m/s} = 18\ \text{km/h}, a normal cycling speed. Check with one more point: at t=6 st = 6\ \text{s}, x=5.0×6+20=50 mx = 5.0 \times 6 + 20 = 50\ \text{m}, and the data point there is 49.7 m49.7\ \text{m}.

In the simulation a car moves at a steady 5 m/s5\ \text{m/s} from the start line. Its distance–time graph is a straight line with gradient 5 m/s5\ \text{m/s} and intercept 00; its speed–time graph is flat, and the shaded area under it is the distance.

01020304050 mstartdots: the car's front every 1 sv = 5.0 m/s20406002468100distance–timet (s)x (m)24602468100speed–timet (s)v (m/s)area = 50.0 m

Worked example 2: a resistor

Given: in the simulation below, the line on the UU–II graph passes through (0.15 A,3 V)(0.15\ \text{A}, 3\ \text{V}) and (0.45 A,9 V)(0.45\ \text{A}, 9\ \text{V}) (the purple triangle). Find: the resistance. Formula: R=ΔUΔIR = \frac{\Delta U}{\Delta I}. Solve:

R=9 V−3 V0.45 A−0.15 A=6 V0.30 A=20 ΩR = \frac{9\ \text{V} - 3\ \text{V}}{0.45\ \text{A} - 0.15\ \text{A}} = \frac{6\ \text{V}}{0.30\ \text{A}} = 20\ \Omega

Answer: R=20 ΩR = 20\ \Omega, which the simulation also prints next to the line. Check: the line passes through the origin (intercept 0), as for any resistor that obeys Ohm's law. Drag RR and watch the gradient change.

R = 20 ΩV12.0 VA0.60 A+−battery U = 12.0 VI2468101200.20.40.6U (V)I (A)ΔUΔIslope ΔU/ΔI = R = 20 Ω

Worked example 3: a spring constant

Given: the spring graph from Plotting a Graph: its best-fit line goes through (0,0)(0, 0) and (6.0 N,15.1 cm)(6.0\ \text{N}, 15.1\ \text{cm}). Find: the spring constant kk in N/m\text{N/m}. Solve: gradient m=15.1 cm6.0 N=2.52 cm/Nm = \frac{15.1\ \text{cm}}{6.0\ \text{N}} = 2.52\ \text{cm/N}, so k=1m=12.52 cm/N=0.397 N/cm=39.7 N/mk = \frac{1}{m} = \frac{1}{2.52\ \text{cm/N}} = 0.397\ \text{N/cm} = 39.7\ \text{N/m}. Answer: k≈40 N/mk \approx 40\ \text{N/m} (2 s.f., like the load data). Check: 1 N/cm=100 N/m1\ \text{N/cm} = 100\ \text{N/m}; a soft school spring of a few tens of N/m is typical.

Try it: speed from a graph

Walk at a steady pace past a line of chalk marks 2 m2\ \text{m} apart while a friend calls out the time as you pass each mark (or film it). Plot distance against time, draw the best-fit line and find your walking speed from its gradient. Start the clock when you are already 4 m4\ \text{m} past the first mark, and check that the intercept shows it.

Common mistakes

  • Using data points for the triangle instead of points on the line.
  • A small triangle, which makes the gradient very uncertain.
  • Counting squares instead of reading the axis values: the two axes have different scales.
  • Forgetting the unit of the gradient (here m/s\text{m/s}, not just 5.05.0).
  • Reading the intercept where the line meets the drawn axis when the xx-axis doesn't start at zero.
  • Forgetting the sign of a falling line's gradient.

Practice

  1. A trolley's speed against time is a straight line through (0 s,0.40 m/s)(0\ \text{s}, 0.40\ \text{m/s}) and (2.5 s,1.40 m/s)(2.5\ \text{s}, 1.40\ \text{m/s}). Find its acceleration and initial speed.
Answer

a=1.40−0.402.5−0=1.002.5=0.40 m/s2a = \frac{1.40 - 0.40}{2.5 - 0} = \frac{1.00}{2.5} = 0.40\ \text{m/s}^2; the intercept, the initial speed, is 0.40 m/s0.40\ \text{m/s}.

  1. A cooling cup's temperature falls along a line from (0 min,80 ∘C)(0\ \text{min}, 80\,^\circ\text{C}) to (10 min,55 ∘C)(10\ \text{min}, 55\,^\circ\text{C}). Find the gradient with its unit.
Answer

m=55−8010−0=−2.5 ∘C/minm = \frac{55 - 80}{10 - 0} = -2.5\,^\circ\text{C/min}. The minus sign means the temperature falls by 2.5 ∘C2.5\,^\circ\text{C} every minute.

  1. A graph of mass (beaker plus liquid) against volume is a straight line through (20 cm3,76 g)(20\ \text{cm}^3, 76\ \text{g}) and (100 cm3,156 g)(100\ \text{cm}^3, 156\ \text{g}). Find the density of the liquid and the mass of the empty beaker.
Answer

ρ=156−76100−20=80 g80 cm3=1.0 g/cm3\rho = \frac{156 - 76}{100 - 20} = \frac{80\ \text{g}}{80\ \text{cm}^3} = 1.0\ \text{g/cm}^3 (water). Intercept: c=76−1.0×20=56 gc = 76 - 1.0 \times 20 = 56\ \text{g}, the empty beaker.

Test yourself

What is the unit of the gradient of a graph of distance (m) against time (s)?

  1. m\text{m}
  2. s\text{s}
  3. m/s\text{m/s}
  4. m⋅s\text{m} \cdot \text{s}

A line passes through (2,7)(2, 7) and (6,15)(6, 15). Its gradient is ...

  1. 22
  2. 0.50.5
  3. 88
  4. 44

On a UU–II graph for a resistor, the gradient is ...

  1. the current
  2. the power
  3. the resistance
  4. the charge

Which points should you use to find a gradient?

  1. The first and last data points
  2. Two points on the best-fit line, far apart
  3. Two neighbouring data points
  4. The origin and any data point