How to Find a Line Equation from a Graph: Gradient and Intercept Explained

Understanding the Equation of a Straight Line

The equation of a straight line is commonly written as:

[ y = mx + c ]

  • m represents the gradient or slope of the line (how steep the line is).
  • c is the y-intercept, the point where the line crosses the y-axis.

To find the equation of a line from its graph, you need to determine these two values.

Step 1: Identify the Y-Intercept (c)

Look at the graph and find the point where the line crosses the y-axis (where ( x = 0 )). This y-value is your intercept ( c ).

Example:

  • If the line crosses the y-axis at ( y = 2 ), then ( c = 2 ).

Step 2: Calculate the Gradient (m)

The gradient describes the steepness and direction of the line and is calculated as the "change in y" over the "change in x":

[ m = \frac{\text{change in } y}{\text{change in } x} ]

To calculate this:

  1. Select any two points on the line (label them Point 1 and Point 2).
  2. Find the vertical change (( \Delta y )) by subtracting the y-values of the two points.
  3. Find the horizontal change (( \Delta x )) by subtracting the x-values.
  4. Divide ( \Delta y ) by ( \Delta x ) to find ( m ).

Detailed Example:

  • Points: ( ( -1, 5 ) ) and ( ( 2, -4 ) )
  • Change in y: ( -4 - 5 = -9 )
  • Change in x: ( 2 - (-1) = 3 )
  • Gradient: ( m = \frac{-9}{3} = -3 )

To better understand how to calculate slope, you might find How to Find the Slope of Straight Lines: A Comprehensive Guide helpful.

Step 3: Write the Equation

Plug the values of ( m ) and ( c ) into the line equation:

[ y = mx + c ]

Using our example:

[ y = -3x + 2 ]

Additional Example

  • Y-intercept ( c = -3 ) (where the line crosses the y-axis at -3)
  • Points: ( (0, -3) ) and ( (4, -2) )
  • Change in y: ( -2 - (-3) = 1 )
  • Change in x: ( 4 - 0 = 4 )
  • Gradient: ( m = \frac{1}{4} )

Equation:

[ y = \frac{1}{4}x - 3 ]

For more insights on interpreting graphs related to motion, see Understanding Linear Motion: Position, Velocity, and Acceleration Explained.

Summary

  • Always start with ( y = mx + c ).
  • Identify the y-intercept directly from the graph.
  • Calculate the gradient using two points and the slope formula.
  • Substitute values into the equation.

By following these steps, you can confidently find the equation of any straight line from its graph.

Keep this summary

Save it to LunaNotes and it becomes a real note in your library — editable, searchable, and ready to turn into flashcards or a diagram. Free to start.

Save to LunaNotes

Or summarise for another video.

This summary and transcript were automatically generated using AI with the Free YouTube Transcript Summary Tool by LunaNotes.

Related summaries

Found this summary useful?

Take it with you. One click puts it in your own LunaNotes library.

Save to LunaNotes

Start taking better notes today with LunaNotes