Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 21

Graphing Linear Functions: Slope-Intercept Method

Recommended resources

Hello!

In our last module, we built a solid foundation for understanding the properties of functions, culminating in our analysis of function symmetry. That was the last piece of our theoretical toolkit for now. Today, we begin a new module, "Graphing and Transforming Functions," where we will shift our focus from abstract properties to the visual representation of functions.

This lesson addresses the learning outcome: Graph linear functions using the gradient (slope) and y-intercept.

We'll start with the simplest type of function to graph: a linear function, which always produces a straight line. The method we'll learn today is efficient and powerful, and it relies on understanding two key components of a linear equation. Mastering this will be a crucial first step for graphing more complex functions later on.

1. The Anatomy of a Straight Line: y = mx + c

Any straight line (that isn't vertical) can be described by a simple equation. In your British-based schooling, you would have seen this as:

This is known as the gradient-intercept form. It's incredibly useful because it tells you everything you need to know to draw the line with just a glance.

  • c is the y-intercept: This is the point where the line crosses the vertical y-axis. Its coordinate is always .
  • m is the gradient (or slope): This is a measure of the line's steepness and direction.

Let's watch a short video that introduces these concepts clearly. It uses the British convention y = mx + c, which you're familiar with.

GCSE Maths - What on Earth is y = mx + c (2026/27 exams)

The video 'GCSE Maths - What on Earth is y = mx + c' from the Cognito channel provides a great introduction to the gradient-intercept form. It explains what 'm' and 'c' represent and shows how to use them for a quick sketch.

Watch the first 1 minute and 43 seconds of the video. Focus on how the narrator identifies the gradient (m) and the y-intercept (c) from an equation and uses them to plot the line.

A Note on Terminology

As the video showed, the gradient m tells you the "rise over run" – how many units the line goes up for every one unit it goes across to the right.

You should also be aware that in many American resources, the gradient-intercept form is written as y = mx + b. Here, b serves the exact same purpose as c—it represents the y-intercept. We will stick with y = mx + c, but it's important to recognise this alternative notation.

The resource from Math Angel provides a good written summary of these core ideas.

Gradient and Y-Intercept in Linear Equations

For a clear text-based summary, please read the first few sections of 'Gradient and Y-Intercept in Linear Equations' from Math Angel.

Read the sections titled 'What are Linear Equations?', 'What is the Gradient (m) of Linear Equations?', and 'How to Find Y-Intercept of a Linear Equation?'. This will reinforce the definitions of gradient and y-intercept.


2. The Step-by-Step Graphing Method

Now, let's turn this theory into a practical, repeatable method. To graph a line using its gradient and y-intercept, you only need two points. The y = mx + c form gives us a simple way to find them.

The Method:

  1. Plot the Point c: Find the value of c in your equation and place a dot at that value on the y-axis. This is your starting point, .
  2. Use the Gradient m: From your starting point, use the gradient m (rise/run) to find a second point.
    • The numerator (top number) tells you how many steps to move up (if positive) or down (if negative).
    • The denominator (bottom number) tells you how many steps to move to the right.
    • If m is an integer, like 3, you can write it as . This means "move 3 up and 1 to the right".
    • If m is negative, like , you can read this as "move 2 down and 3 to the right".
  3. Draw the Line: Connect the two points with a straight line and extend it in both directions.

The image below shows this process for the equation . The gradient, 0.5, is the same as , meaning "1 up for every 2 across". (Note: The image uses 0.5 up for 1 across, which is equivalent).

Plotting Linear Graphs Using Gradient and Y-intercept
Caption: A visual guide to graphing a linear function. First, the y-intercept (c=4) is plotted on the y-axis. Then, the gradient (m=0.5 or 1/2) is used to find a second point by moving 1 unit across and 0.5 units up.

This next video provides an excellent, detailed walkthrough of this method with multiple examples, including how to handle negative gradients.

Graph Linear Functions | Gradient Intercept

The video 'Graph Linear Functions | Gradient Intercept' by kevinmathscience is a fantastic practical guide. He walks through the 'rise over run' method in a very clear, step-by-step way.

Watch the video from the beginning to 08:58. Pay close attention to: The basic method (00:00 - 02:35): The first example of plotting c and using m. Positive vs. Negative Gradients (02:35 - 05:35): How the sign of m affects whether the line goes up or down. Handling Negative Gradients (05:35 - 08:58): How to interpret a negative fraction like -3/2. Notice that you get the same line whether you assign the negative to the rise (-3 down, 2 right) or the run (3 up, -2 left).

Here is another visual example, this time with a negative gradient.

Graphing Linear Functions Using Y-intercept and Gradient
Caption: Graphing the equation y = -2x + 4. The y-intercept (c=4) is marked first. The gradient (m=-2, or -2/1) is then used to find a second point by moving 2 units down and 1 unit to the right.
Test your understanding!

Describe the steps you would take to graph the equation using the gradient-intercept method. You don't need to draw it, just explain the process.

Show answer
  1. Identify m and c: In the equation , the y-intercept c is 2 and the gradient m is -3.
  2. Plot the y-intercept: Find the number 2 on the y-axis and mark your first point at .
  3. Use the gradient: The gradient is -3, which can be written as . This means "go 3 units down and 1 unit to the right".
  4. Find the second point: Starting from , move 3 units down to y=-1, and 1 unit right to x=1. Mark your second point at .
  5. Draw the line: Draw a straight line that passes through both points, and .

3. When the Equation Isn't in the Right Form

Often, linear equations aren't given to you neatly in the y = mx + c form. You might see something like 4x + 2y = 8.

The strategy here is simple: rearrange the equation to isolate y on one side. This puts it into the familiar gradient-intercept form, allowing you to easily identify m and c. This process will draw on the skills you developed in Module 1 for solving linear equations.

Let's return to the kevinmathscience video, which covers this exact scenario.

Graph Linear Functions | Gradient Intercept

We'll continue with the 'Graph Linear Functions' video, which now shows how to handle equations that need rearranging.

Watch from 08:58 to the end (13:05). The examples cover: A simple rearrangement to isolate y. An equation where you must divide by a number to get y by itself, resulting in fractional values for m and c. An equation where you must divide by a negative number.

For more practice and a comprehensive set of examples on rearranging equations, the following article is an excellent resource. It uses the American y = mx + b form, but the algebraic steps for isolating y are universal.

Slope Intercept Form - Math Steps, Examples & Questions

The article 'Slope Intercept Form' from Third Space Learning provides numerous worked examples of rearranging equations into the gradient-intercept form. It's a great reference for practising your algebraic manipulation.

Skim through the section titled 'y = mx + b examples'. You don't need to read every word, but notice the different starting forms of the equations (Examples 2 through 6) and the algebraic steps used to solve for y and find the slope (m) and y-intercept (b or c).

Test your understanding!

Find the gradient (m) and y-intercept (c) of the line given by the equation 3x + 2y = 12.

Show answer
  1. Goal: Rearrange the equation 3x + 2y = 12 into the form y = mx + c.
  2. Subtract 3x from both sides:
  3. Divide both sides by 2:
  4. Simplify:
  5. Identify m and c: By comparing this to y = mx + c, we can see that the gradient m is and the y-intercept c is 6.

Conclusion

Today we've established a fundamental and highly practical skill: graphing linear functions. By understanding the y = mx + c form, you can quickly deconstruct any linear equation to find its core visual properties.

Key Takeaways:

  • The equation of a straight line can be written as y = mx + c.
  • c is the y-intercept, your starting point on the y-axis .
  • m is the gradient (slope), which tells you the steepness and direction ("rise over run").
  • The process for graphing is: Plot c, use m to find a second point, and draw the line.
  • If an equation is not in the correct form, use algebra to isolate y first.

Preview of the Next Lesson:
Now that we know how to graph a basic function like a line from scratch, we'll move on to a more general concept. In the next lesson, "Perform transformations of functions, including vertical and horizontal translations (shifts)," we will learn rules that allow us to take the graph of any function and move it up, down, left, or right on the coordinate plane.