Grade by GradeEssential student suppliesSign in
CC. Curricular Competencies · Curricular Competencies: Investigating Like a Physicist

Constructing and Analyzing Graphs: Best-Fit Lines, Slopes and Areas

BC PHYS 11: construct graphs BC PHYS 11: interpret graphsAbout 70 minutes
Learning goals
  • I can construct a scientific graph with labelled axes, units, a good scale and a line of best fit.
  • I can calculate the slope of a best-fit line with correct units and significant figures, and say what it means.
  • I can interpolate and extrapolate from a graph, and interpret the area under a graph.

Words to know

line of best fit
A straight line (or smooth curve) drawn as close as possible to all the data points, with about as many points above it as below.
slope
Rise over run of a line: the change in the y-variable divided by the change in the x-variable, with units.
y-intercept
The value of the y-variable where the line crosses the y-axis (x = 0).
interpolation
Reading a value from a graph between measured data points.
extrapolation
Extending a graph beyond the measured data to predict a value.

Graphs turn data into patterns

The B.C. curriculum asks you to construct, analyze, and interpret graphs, models, and/or diagrams. A good graph lets anyone see the pattern in your data at a glance. Many teachers use a checklist like this one:

  1. Independent variable on the x-axis, dependent variable on the y-axis.
  2. Axis labels with units, such as time (s).
  3. Even scales that use most of the grid. Axes don't have to start at zero, but say so if they don't.
  4. Plot points carefully; don't join the dots.
  5. Draw one line of best fit (or smooth curve) through the trend, with points scattered evenly on both sides.
  6. Give the graph a title that says y versus x, such as Position versus Time for a Cart.
t (s)d (m)
0.00.02
0.50.36
1.00.71
1.51.03
2.01.40
2.51.72
Position of a cart on a level track, from a motion sensor.
0.00.51.01.52.02.53.00.00.51.01.52.0time (s)position (m)(0, 0.02)(2.5, 1.72)best-fit line: d = 0.68t + 0.02
Position versus time for the cart. The two marked points lie on the best-fit line, not on the data.
Worked example

Example 1: Slope of the best-fit line

Find the slope of the best-fit line for the cart data and say what it means.

  1. Choose two points on the line, far apart: (0, 0.02 m) and (2.5 s, 1.72 m). Don't use data points unless they sit exactly on the line.
  2. Rise: 1.72 − 0.02 = 1.70 m. Run: 2.5 − 0 = 2.5 s.
  3. Slope = 1.70 m ÷ 2.5 s = 0.68 m/s. Check: 0.68 × 2.5 = 1.70.
  4. Units of slope = y-units ÷ x-units = m/s, which is a velocity. Round to 2 sig figs (from 2.5 s).
  5. The y-intercept, 0.02 m, is the cart's starting position.

Slope = 0.68 m/s, the cart's velocity. The straight line shows the velocity is constant (uniform motion).

Worked example

Example 2: Interpolation and extrapolation

Use the line d = 0.68t + 0.02 to estimate the position at t = 1.20 s and at t = 4.0 s.

  1. Interpolate at 1.20 s: d = 0.68 × 1.20 + 0.02 = 0.816 + 0.02 = 0.836 m, about 0.84 m. Check on the graph: 1.20 s is 40% of the way from 1.0 s to 1.5 s, and 0.71 + 0.4 × (1.03 − 0.71) = 0.838 m. Reasonable.
  2. Extrapolate to 4.0 s: d = 0.68 × 4.0 + 0.02 = 2.72 + 0.02 = 2.74 m.
  3. Interpolation is fairly safe because it stays inside the measured data.
  4. Extrapolation assumes the pattern continues. The track might end, or friction might slow the cart, so treat 2.74 m as a prediction to test.

About 0.84 m at 1.20 s (interpolation) and 2.74 m at 4.0 s (extrapolation, less reliable).

0.000.100.200.300.400.500.60051015stretch (m)force (N)slope = spring constant = 25 N/m
Force versus stretch for a spring. A straight line through the origin shows force is directly proportional to stretch.
Worked example

Example 3: Slope with a physical meaning

From the spring graph, find the slope using the points (0.10 m, 2.5 N) and (0.50 m, 12.5 N) on the best-fit line.

  1. Rise: 12.5 − 2.5 = 10.0 N. Run: 0.50 − 0.10 = 0.40 m.
  2. Slope = 10.0 N ÷ 0.40 m = 25 N/m. Check: 25 × 0.40 = 10.0.
  3. The slope is the spring constant: about 25 N of force for each metre of stretch.
  4. Two sig figs (from 0.40 m).

25 N/m, the spring constant.

Worked example

Example 4: Area under a graph

A velocity-time graph for the same cart is a horizontal line at 0.68 m/s from 0 to 2.5 s. What does the area under it represent?

  1. The region under the line is a rectangle: height 0.68 m/s, width 2.5 s.
  2. Area = 0.68 m/s × 2.5 s = 1.7 m. The units, m/s × s = m, show it is a distance.
  3. Compare with the position graph: the cart moved from 0.02 m to 1.72 m, a displacement of 1.70 m. They agree.
  4. On a force-stretch graph, the area under the line would have units N × m = J: an energy (work).

The area is the displacement, 1.7 m. Multiplying the axis units tells you what an area means.

Units of slope and area

  • Slope units = y-units ÷ x-units.
  • Area units = y-units × x-units.

Working out the units first tells you what physical quantity you have found before you even calculate it.

Hands-on activity

Graph your pendulum data

Use the pendulum data you collected earlier (or this set: length 0.20, 0.40, 0.60, 0.80, 1.00 m; period 0.90, 1.27, 1.55, 1.79, 2.01 s).

  1. Plot period (y) versus length (x) on graph paper or a spreadsheet, following the checklist.
  2. Is the pattern a straight line? If not, draw a smooth curve.
  3. Interpolate the period for a 0.50 m pendulum.
  4. Extrapolate to 2.00 m. Why is this prediction less trustworthy?
  5. Keep the graph: the next lesson shows how to straighten it.
Puzzle

A position-time graph is a horizontal line. A classmate says the object is moving at a steady speed along the line. What is wrong? (Answer: a horizontal position-time line has slope 0, so the velocity is zero. The object is standing still.)

Your turn

1

Which variable goes on the x-axis when you test how mass affects a spring's stretch?

2

Points on a best-fit line: (1.0 s, 3.0 m) and (4.0 s, 12.0 m). Find the slope.

3

What are the units of the slope of a voltage (V) versus current (A) graph?

4

Using d = 0.68t + 0.02, find the time when the cart reaches 1.38 m.

5

A v-t graph shows 4.0 m/s for 6.0 s. Find the displacement.

6

Why should you not join the data points dot to dot?

More practice

1

A force-stretch best-fit line passes through (0, 0) and (0.30 m, 12.0 N). Find the spring constant.

2

Is reading a value at t = 10 s from data measured between 0 and 3 s interpolation or extrapolation?

3

On a force (N) versus displacement (m) graph, what does the area represent?

4

Your best-fit line misses the origin by a little when theory says it should pass through it. Name one possible cause.

Check your understanding

Quiz

1.

The slope of a position (m) versus time (s) graph gives:

2.

To find the slope of a best-fit line, you should use:

3.

A v-t graph shows a constant 2.5 m/s for 8.0 s. The displacement is:

4.

Which is extrapolation?

For parents and teachers

Your teen is learning to construct and analyze graphs: drawing best-fit lines, finding slopes with units, and reading values from the graph.

How to help: ask What does the slope mean here? and What are its units? Spreadsheets are fine for plotting, but your teen should still be able to draw a graph by hand and explain it.

Common mistakes: putting the variables on the wrong axes; leaving out units; joining dots instead of drawing a best-fit line; calculating slope from data points that are not on the line; trusting extrapolations too much.