LunaNotes

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

Convert to note

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.

Heads up!

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

Generate a summary for free

Related Summaries

Buy us a coffee

If you found this summary useful, consider buying us a coffee. It would help us a lot!

Let's Try!

Start Taking Better Notes Today with LunaNotes!