1. Linear graphs

Learning outcomes
  • I can construct clear and accurate linear graphs from experimental data.
  • I can select appropriate scales and label graph axes correctly.
  • I can plot data points accurately.
  • I can distinguish between independent and dependent variables.
  • I can identify linear relationships from graphical data.

What Is a Linear Graph?

A linear graph is a graph in which the data points follow, or approximately follow, a straight-line pattern.

Graphs are extremely important in mathematics and science because they allow us to see relationships between variables.

For example, imagine measuring the distance travelled by an object every second.

Time (s) Distance (m)
0 0
1 4
2 8
3 12
4 16
5 20

When these data are plotted, they form a straight-line pattern.

The graph shows that as time increases, distance also increases at a constant rate.


Independent and Dependent Variables

Before constructing a graph, we need to identify the two variables being investigated.

Independent Variable

The independent variable is the variable that is deliberately changed or selected during an investigation.

It is normally placed on the:

x-axis​

The x-axis is the horizontal axis.

For example, if we measure distance every second, time is the independent variable.


Dependent Variable

The dependent variable is the variable that is measured or observed.

It changes in response to the independent variable.

It is normally placed on the:

y-axis​

The y-axis is the vertical axis.

In our example, distance is the dependent variable because we measure how distance changes with time.


Remembering the Variables

A useful way to think about the relationship is:

Independent variable → what we change or select

Dependent variable → what we measure

For our example:

Time goes on the x-axis and distance goes on the y-axis.


Labelling the Axes

Every graph should have clearly labelled axes.

A good axis label includes:

  1. The name of the variable
  2. The unit of measurement

For example:

Time (s)

Distance (m)

Other examples include:

  • Temperature (°C)
  • Mass (g)
  • Volume (cm³)
  • Force (N)
  • Length (cm)

Writing only "Time" or "Distance" may not provide enough information. The units tell the reader exactly what was measured.


Choosing an Appropriate Scale

A scale tells us what each interval on an axis represents.

Suppose our distance data range from:

0 m to 20 m

A sensible scale might be:

0, 5, 10, 15, 20

We would not choose:

0, 100, 200, 300

because almost all of our data would be crowded into a very small part of the graph.

A good scale should:

  • Include all the data.
  • Use most of the available graph space.
  • Increase by equal intervals.
  • Use convenient numbers.

Useful intervals often include:

1, 2, 5, 10, 20, 50, 100


Equal Intervals Are Essential

The numerical difference represented by equal distances along an axis must remain constant.

For example, this is a valid scale:

0, 10, 20, 30, 40

Each interval represents 10.

This is not a valid evenly spaced scale:

0, 10, 20, 50, 100

The numbers increase by different amounts even though they would appear equally spaced on the graph.

This can make the graph misleading.


Plotting Data Points

Once the axes and scales are ready, we can plot the experimental data.

Suppose we have the coordinate:

(3,12)

This means:

Start at 3 on the x-axis.

Move vertically until you reach 12 on the y-axis.

Mark the point carefully.

For our distance experiment, the coordinates are:

(0,0), (1,4), (2,8), (3,12), (4,16), (5,20)

Each point represents one pair of experimental measurements.


Drawing a Line of Best Fit

Real experimental data do not always produce points that sit perfectly on a straight line.

For example:

Time (s) Distance (m)
1 3.9
2 8.2
3 11.8
4 16.1
5 19.9

The points are still close to a straight-line pattern.

In an experiment, we may draw a line of best fit that follows the overall trend of the data.

A line of best fit:

  • Shows the overall relationship.
  • Does not need to pass through every point.
  • Should have points reasonably balanced around it.

Do not simply connect every experimental point with a series of short lines unless there is a reason to do so.


Identifying a Linear Relationship

A relationship is linear when the data follow approximately a straight line.

Consider:

Some values are:

x y
0 0
1 3
2 6
3 9
4 12

Every time x increases by 1, y increases by 3.

This is a constant rate of change, which produces a straight line.


Positive Linear Relationships

A graph has a positive relationship when the dependent variable increases as the independent variable increases.

The graph rises from left to right.

For example:

  • Time increases → distance increases.
  • Study time increases → number of questions completed increases.
  • Mass added to a spring increases → extension increases.

A positive linear relationship looks generally like:

↗


Negative Linear Relationships

A graph can also have a negative linear relationship.

In this case, the dependent variable decreases as the independent variable increases.

The graph falls from left to right.

For example:

As x increases, y decreases at a constant rate.

This is still a linear relationship because the graph is a straight line.


No Clear Linear Relationship

Not every set of data has a linear relationship.

The plotted points might:

  • Form a curve.
  • Be widely scattered.
  • Increase at a changing rate.
  • Show no obvious pattern.

We should not force a straight line onto data that clearly do not follow a linear trend.

The shape of the graph tells us something important about the relationship between the variables.


Constructing a Graph from Experimental Data

Suppose a student investigates how the length of a stretched spring changes as different forces are applied.

The results are:

Force (N) Length (cm)
0 10
1 12
2 14
3 16
4 18
5 20

 

Step 1: Identify the Variables

The student changes the force.

Therefore:

The student measures the length.

Therefore:


Step 2: Choose the Axes

Force goes on the horizontal x-axis.

Length goes on the vertical y-axis.

Label them:

Force (N)

Length (cm)


Step 3: Choose Appropriate Scales

The force ranges from 0 to 5 N.

A sensible scale is:

0, 1, 2, 3, 4, 5

The length ranges from 10 to 20 cm.

A sensible scale could use intervals of 2 cm.


Step 4: Plot the Points

Plot:

(0,10), (1,12), (2,14), (3,16), (4,18), (5,20)

Step 5: Identify the Pattern

The points form a straight-line pattern.

As force increases, the length of the spring increases at a constant rate.

Therefore, the data show a positive linear relationship.


Common Graphing Mistakes

When constructing graphs, watch out for these common errors:

  • Putting the independent variable on the wrong axis.
  • Forgetting to label the axes.
  • Forgetting units.
  • Using unequal scale intervals.
  • Choosing a scale that wastes most of the graph space.
  • Plotting points in the wrong position.
  • Drawing a thick or unclear line.
  • Connecting experimental points when a line of best fit would be more appropriate.
  • Assuming that every relationship must be linear.

Careful graph construction makes experimental results much easier to interpret.


A Graphing Checklist

Before finishing a graph, check:

Variables

  • Is the independent variable on the x-axis?
  • Is the dependent variable on the y-axis?

Labels

  • Are both axes labelled?
  • Are units included?

Scale

  • Are the intervals equal?
  • Does the scale use the graph space effectively?

Points

  • Are all points plotted?
  • Are they plotted accurately?

Relationship

  • Is there a clear trend?
  • Is the relationship linear?
  • Would a line of best fit be appropriate?

Did You Know?

Graphs are one of the most important tools for identifying patterns in experimental data.

A table containing dozens of measurements can be difficult to interpret. Once those same measurements are plotted on a graph, patterns may become immediately visible.

Scientists use graphs to identify relationships, test predictions, spot unusual results, and communicate experimental findings.


Key Vocabulary

Linear graph – A graph showing a relationship that follows approximately a straight line.

Independent variable – The variable that is changed or selected and normally plotted on the x-axis.

Dependent variable – The variable that is measured and normally plotted on the y-axis.

Axis – A reference line used to show values on a graph.

Scale – The numerical intervals used along an axis.

Data point – A plotted coordinate representing a pair of values.

Linear relationship – A relationship in which variables change at a constant rate, producing a straight-line pattern.

Line of best fit – A straight line drawn to represent the overall trend in a set of experimental data.

Positive relationship – A relationship in which one variable generally increases as the other increases.

Negative relationship – A relationship in which one variable generally decreases as the other increases.


Key Takeaways

  • Graphs help us identify relationships between variables.
  • The independent variable is normally placed on the x-axis.
  • The dependent variable is normally placed on the y-axis.
  • Axes should be clearly labelled with the variable and its unit.
  • Graph scales should use equal intervals and make good use of the available space.
  • Data points must be plotted accurately.
  • Experimental data may require a line of best fit rather than simply connecting every point.
  • A straight-line pattern indicates a linear relationship.
  • Linear relationships can be positive or negative.
  • A well-constructed graph should be clear enough that another person can understand the data without needing additional explanation.