Your Complete Guide to Linear Graphs

Have you ever noticed how some things increase steadily over time? For example, the cost of a taxi ride increases the further you travel. The amount of money saved increases the more you deposit each week. The distance you travel increases the longer you walk at a constant speed.

When a quantity changes at a constant rate, we can represent the relationship using a straight line. This straight-line relationship is called a linear graph.

Quick Summary: What is a Linear Graph?

  • A linear graph is a straight-line graph showing a relationship between two variables that change at a constant rate.
  • Its general equation is y = mx + c.
  • m is the gradient, which represents the rate of change.
  • c is the y-intercept, the value of y when x = 0.
  • Linear graphs are a core topic in Singapore’s Secondary Mathematics syllabus, forming the foundation for algebra, simultaneous equations, and coordinate geometry.

Linear graphs are one of the most important topics in Secondary Mathematics. They form the foundation for algebra, simultaneous equations, coordinate geometry and even advanced topics in later years. Mastering this topic will strengthen both your algebraic skills and your ability to interpret real-world information.

Before you read on, you might want to download this entire guide in PDF format to print it out, or to read it later.
This will be delivered to your email inbox.

 

What is a Linear Graph?

A linear graph represents a relationship between two variables where the rate of change is constant. When plotted on a Cartesian plane, the graph forms a straight
line.

The general form of a linear equation is:

y = mx + c

Here:
m represents the gradient (rate of change)
c represents the y-intercept (the value of y when x = 0)

Important pointers:
• “Linear” means straight line.
• Constant rate of change means that for every equal increase in x, y changes by the same amount.

Example:
Suppose you save $5 every week.
Week (x): 0, 1, 2, 3, 4
Savings (y): 0, 5, 10, 15, 20

Observe:
When x increases by 1 week each time, y increases by $5 each time.
The increase in y is always the same. That is a constant rate of change.

  • If the rate of change is not constant, the graph will not be a straight line.

Example:
Suppose the number of followers on a social media account increases like this:

Day (x): 1, 2, 3, 4
Number of followers gained that day (y): 2, 5, 9, 14

Now look at how the increase changes:

From Day 1 to Day 2: increase of 3
From Day 2 to Day 3: increase of 4
From Day 3 to Day 4: increase of 5

The amount added each time is not the same.

Because the rate of change is not constant, the graph will not form a straight line. Instead, the graph curves upwards because the increase becomes larger each day.

The Cartesian Plane

Linear graphs are drawn on the Cartesian plane.

• The horizontal axis is the x-axis.
• The vertical axis is the y-axis.
• The origin is (0, 0).
• Coordinates are written as (x, y).

Example
To plot (3, 2): Move 3 units to the right.
Then move 2 units up.
Always move horizontally first, then vertically.

To plot (–2, 1): Move 2 units to the left.
Then move 1 unit up.
Always move horizontally first, then vertically.

Example

Write down the coordinates of each point shown in the diagram.

Drawing Linear Graphs

To draw a straight line graph, two distinct points are sufficient because through any two distinct points, there is exactly one straight line. However, using three points ensure verification and accuracy.

Verification:

If all three plotted points lie on the same straight line, it confirms that your calculations and plotting are correct. If one point does not lie on the line, it signals a computational or plotting error.

Accuracy:

In practical graph drawing, especially with scales, slight inaccuracies in marking coordinates can occur. A third point helps stabilise the direction of the line before drawing it.

For beginners, a creation of a table of values is recommended.

Example

Plot the graph of y = 2x + 1, for –3 ≤ x ≤ 3, on the Cartesian plane below.

Solution:

Based on the equation y = 2x + 1, we can see that the y–intercept is 1. Hence we know the line passes through the coordinates (0, 1). Now we generate another two points for the line. Ideally the points should be well spaced out. We will locate a point on the left and right side of the y–axis. We shall select x = –3 and x = 3 to generate the coordinates for the line.

When x = –3,

y = 2(–3) + 1

   = –5

The line passes through (–3, –5).

When x = 3,

y = 2(3) + 1

   = 7

The line passes through (3, 7).

The table of values will look like this:

We plot the points on the graph, join the line and label it:

Note: Sometimes, the equation of the line is not always presented in the form y = mx + c.

Example: y – 2x – 1 = 0. It is always good practice to rewrite it in the form y = mx + c. This will make the generating of the coordinates easier.

Given y – 2x – 1 = 0       ⇒        y = 2x + 1

Points on a Line

Based on the previous example, we plot a linear line graph by first finding three points which the line passes through using the equation of the line. It is important to note that the line actually passes through an infinite number of points.

To verify if a given point lies on the line, substitute the x–coordinate value into the equation of the line and calculate the value of y. If the calculated y value matches the given y–coordinate, then the point lies on the line. Otherwise, the given point does not lie on the line.

Example

Given the equation of a line y = –4x – 12, determine if the following points lie on the line.

(i) (–4, 2)                                (ii) (6, –36)

Solution:

(i)

Substitute x = –4 into y = –4x – 12:

y = –4(–4) – 12

   = 16 – 12

   = 4 ≠ 2

Hence the point (–4, 2) does not lie on the line. (ans)

(ii)

Substitute x = 6 into y = –4x – 12:

y = –4(6) – 12

   = –24 – 12

   = –36

Hence the point (6, –36) lies on the line. (ans)

Gradient of a Line

Recall that a straight line can be expressed in the form y = mx + c, where m is the gradient of the line.

The term “gradient” is a measurement for the steepness of a slope on a part of a graph. It allows for comparison of steepness between two or more graphs.

– If a line has a positive gradient, then it must slope upwards. Eg. y = 2x + 5

– If a line has a negative gradient, then it must slope downwards. Eg. y = –2x + 5

– If a line has gradient = 0, then it must be a horizontal line. Eg. y = 4.

– If a line is vertical, then its gradient is undefined. Eg. x = 5.

Note that an undefined gradient is not the same as having gradient = 0.

Example: Finding the Value of the Gradient When Equation Is Given

Given the line 4y – 12x – 1 = 0. State the value of its gradient.

Solution:

4y – 12x – 1 = 0

4y = 12x + 1

y = 3x + 1/4

Ans: the gradient of the line is 3.

Example: Finding the Value of the Gradient Given Two Points

Recall that the gradient of a straight line is constant. Hence any points on the line would give us the same gradient value.

So if (1 , 1) and (2 , 2) are two distinct points on a line, then

The diagram below gives the sketch of a line. Find its gradient.

Solution:

Gradient of line = 5 − 0/3 − (−1)

= 5/4 (ans)

Example: Finding the Y–Intercept Given The Graph

A linear graph is shown below. What are the coordinates of the y–intercept of the line?

See that the line cuts the y–axis at 5.

Ans: The coordinates of the y–intercept are (0, 5).

Example: Finding the Y–Intercept Given The Equation of the Line.

Given the equation of a line is 4x + 12y = 3. State the value of the y–intercept of the line.

Solution:

Method 1

4x + 12y = 3

12y = –4x + 3

= − 1/3 + 1

The value of the y–intercept is 1/4 .

Method 2

The x–coordinate for the y–intercept is always 0.

Substitute x = 0 into 4x + 12y = 3:

4(0) + 12y = 3

12y = 3

y = 1/4 (ans)

Equation of a Line

The equation of a line can be expressed in the form y = mx + c, where m is gradient and c is the y–intercept.

To obtain the equation of a line, we only need to know the coordinates of two distinct points that the line passes through.

Example

Find the equation of the line that passes through the points (–9, 12) and (–12, 24).

Solution:

Gradient of line = 24 − 12 /−12 − (−9)

                            = −4 (ans)

Now the equation is y = –4x + c.

We know the line passes through (–9, 12).

To solve for c, substitute x = –9 and y = 12 into the equation:

12 = –4(–9) + c

c = –24

The equation of the line is y = –4x – 24. (ans)

Example [Real World Application of Linear Graph]

The cost of printing a personalised T–shirt at a shop is displayed in the graph below.

(a) Based on the graph above, complete the following table.

(b) In addition to charging for the number of t–shirts ordered, the shop will also charge for a printing mold so that each t–shirt can be printed with the same design. Based on the graph, state the cost of the printing mold.

(c) Calculate the gradient of the line and hence state what the gradient presents in this context.

(d) State the linear equation for N and C.

Solution:
(a)

(b)
The y–intercept is 50.
Ans: $50.

(c)
Using (0, 50) and (30, 200),

gradient of line =

200 − 50/30 − 0
= 5 (ans)

The gradient of the line represents the cost of each t–shirt.

(d)
The equation is
C = 5N + 50 (ans)

Frequently Asked Questions

What is a linear graph?

A linear graph is a straight-line representation of two variables that change at a constant rate. It has the general equation y = mx + c, where m is the gradient and c is the y-intercept.

What is the equation of a linear graph?

The equation of a linear graph is written as y = mx + c, where m represents the gradient (the rate of change) and c represents the y-intercept, the value of y when x = 0.

How do you find the gradient of a line from two points?

To find the gradient between two points (x1, y1) and (x2, y2), divide the difference in y-values by the difference in x-values: gradient = (y2 – y1) / (x2 – x1). The gradient is constant along any straight line, so any two points on the line give the same value.

How do you find the y-intercept of a line?

The y-intercept is where the line crosses the y-axis, where x = 0. If you have the equation, substitute x = 0 and solve for y. If you have the graph, read off the value where the line meets the y-axis.

How many points are needed to plot a linear graph?

Only two distinct points are needed, since exactly one straight line passes through any two points. Plotting a third point is recommended to verify that your calculations and plotting are correct.

What is the difference between a linear graph and a non-linear graph?

A linear graph has a constant rate of change between the two variables, so it forms a straight line. A non-linear graph has a rate of change that varies, so the graph curves instead.

Before you go, you might want to download this entire revision notes in PDF format to print it out, or to read it later. 

This will be delivered to your email inbox.

 

secondary math revision notes

 

Does your child need more help?

Find out more about our Math Tuition Class.

1) Live Zoom Lessons at Grade Solution Learning Centre

Grade Solution Learning Centre O Level and Secondary School Maths Class

At Grade Solution Learning Centre, we are a team of dedicated educators whose mission is to guide your child to academic success. Here are the services we provide:

– Live Zoom lessons
– Adaptably, a smart learning platform that tracks your child’s progress, strengths and weaknesses through personalised digital questions.
– 24/7 Homework Helper Service

We provide all these services above at a very affordable monthly fee to allow as many students as possible to access such learning opportunities.

We specialise in English, Math, Science, and Chinese subjects.

You can see our fees and schedules here >>

Primary Math Tuition

Secondary Math Tuition

 

2) Pre-recorded Online courses on Jimmymaths.com
Prerecorded Online Couses for Secondary School O Level Students

If you are looking for something that fits your budget, or prefer your child learn at his or her own pace, you can join our pre-recorded online Math courses. This will help your child as they will go beyond simply practising with past exam papers and revise more effectively.

Your child can:

– Learn from recorded videos

– Get access to lots of common exam questions to ensure sufficient practice

– Get unlimited support and homework help

You can see the available courses here >>

Math Online Courses

Translate »