Numeracy, Maths and Statistics - Academic Skills Kit (2024)

Equation of a Straight Line

Definition

The equation of a straight line is \[y = mx + c\] $m$ is the gradient and $c$ is the height at which the line crosses the $y$-axis, also known as the $y$-intercept.

The gradient $m$ is the slope of the line - the amount by which the $y$-coordinate increases in proportion to the $x$-coordinate. If you have two points $(x_1,y_1)$ and $(x_2,y_2)$ on the line, the gradient is \[m = \dfrac{y_2 - y_1}{x_2 - x_1}\]

If you know one point $(x_1,y_1)$ on the line as well as its gradient $m$, the equation of the line is \[(y - y_1) = m(x - x_1)\]

If we are just given two points $(x_1, y_1)$ and $(x_2, y_2)$, we must first work out the gradient using the gradient formula above, and then choose either point to substitute into the straight line equation with this gradient.

Worked Examples

Example 1

Find the equation of the line with gradient $-2$ that passes through the point $(3,-4)$.

Solution

Put $m=-2$, $x_1=3$ and $y_1=-4$ straight into the formula $y-y_1=m(x-x_1)$.

\[y-y_1=m(x-x_1)\] \[y+4=-2(x-3)\]

Expand the brackets and simplify.

\[y+4=-2x+6\] \[y=-2x+2\]

Example 2

Find the equation of the straight line through the points $(-5,7)$ and $(1,3)$.

Solution

First, find the gradient by substituting the coordinates $x_1 = -5$, $y_1 = 7$, $x_2=1$ and $y_2=3$ into the formula for the gradient:

\begin{align} m &= \frac{y_2-y_1}{x_2-x_1}\\\\ &= \frac{3-7}{1-(-5)}\\\\ &= \frac{-4}{6}\\\\ &= -\frac{2}{3} \end{align}

Choose either point and put into the formula $y-y_1=m(x-x_1)$:

\begin{align} y-y_1 &= m(x-x_1) \\ y-7 &= - \frac{2}{3}(x-(-5)) \end{align}

Expand the brackets and simplify.

\begin{align} y - 7 &= -\frac{2}{3}x - \frac{10}{3} \\ y &= -\frac{2}{3}x +\frac{11}{3} \end{align}

Numeracy, Maths and Statistics - Academic Skills Kit (3)

|center

Video Examples

Example 1

Prof. Robin Johnson finds the equation of the straight line through the points $(1,2)$ and $(-3,4)$.

Example 2

Prof. Robin Johnson finds the equation of the straight line with gradient $m=-3$ that passes through the point $(-1,2)$.

Example 3

Hayley Bishop finds the equation of the straight line through the points $(0,2)$ and $(-1,4)$.

Workbook

This workbook produced by HELM is a good revision aid, containing key points for revision and many worked examples.

Test Yourself

Test yourself: Find the equation of a line through two points

External Resources

Numeracy, Maths and Statistics - Academic Skills Kit (2024)
Top Articles
Top 10 Highest Paying Civil Engineering Careers | Brighton College
2024 Financial Wellness Trends
Blorg Body Pillow
Davita Internet
Overton Funeral Home Waterloo Iowa
Www.fresno.courts.ca.gov
Craigslist Mpls Mn Apartments
Victoria Secret Comenity Easy Pay
Graveguard Set Bloodborne
CSC error CS0006: Metadata file 'SonarAnalyzer.dll' could not be found
Vocabulario A Level 2 Pp 36 40 Answers Key
Celsius Energy Drink Wo Kaufen
Detroit Lions 50 50
Explore Top Free Tattoo Fonts: Style Your Ink Perfectly! 🖌️
Walmart Windshield Wiper Blades
Minecraft Jar Google Drive
Define Percosivism
Mahpeople Com Login
eHerkenning (eID) | KPN Zakelijk
north jersey garage & moving sales - craigslist
Craigslist Org Appleton Wi
Ihub Fnma Message Board
Bocca Richboro
Defending The Broken Isles
Walmart Pharmacy Near Me Open
Www Pointclickcare Cna Login
Truvy Back Office Login
Taylored Services Hardeeville Sc
Perry Inhofe Mansion
Bursar.okstate.edu
How To Make Infinity On Calculator
Eaccess Kankakee
Metro By T Mobile Sign In
Japanese Pokémon Cards vs English Pokémon Cards
Car Crash On 5 Freeway Today
Back to the Future Part III | Rotten Tomatoes
Usf Football Wiki
Pepsi Collaboration
Ferguson Employee Pipeline
Clausen's Car Wash
Tricia Vacanti Obituary
Guided Practice Activities 5B-1 Answers
412Doctors
Mynord
Honkai Star Rail Aha Stuffed Toy
RubberDucks Front Office
Accident On 40 East Today
Marcel Boom X
De Donde Es El Area +63
Grandma's Portuguese Sweet Bread Recipe Made from Scratch
Ret Paladin Phase 2 Bis Wotlk
Latest Posts
Article information

Author: Saturnina Altenwerth DVM

Last Updated:

Views: 5697

Rating: 4.3 / 5 (44 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Saturnina Altenwerth DVM

Birthday: 1992-08-21

Address: Apt. 237 662 Haag Mills, East Verenaport, MO 57071-5493

Phone: +331850833384

Job: District Real-Estate Architect

Hobby: Skateboarding, Taxidermy, Air sports, Painting, Knife making, Letterboxing, Inline skating

Introduction: My name is Saturnina Altenwerth DVM, I am a witty, perfect, combative, beautiful, determined, fancy, determined person who loves writing and wants to share my knowledge and understanding with you.