How to Write Linear Equations? (+FREE Worksheet!)
In this article, you learn how to write the equation of the lines by using their slope and one point or using two points on the line.

Related Topics
- How to Find Midpoint
- How to Find Slope
- How to Graph Linear Inequalities
- How to Find Distance of Two Points
- How to Graph Lines by Using Standard Form
Step by step guide to writing linear equations
- The equation of a line in slope intercept form is: y=mx+b
- Identify the slope.
- Find the y–intercept. This can be done by substituting the slope and the coordinates of a point (x,y) on the line.
The Absolute Best Books to Ace Pre-Algebra to Algebra II
Writing Linear Equations – Example 1:
What is the equation of the line that passes through (1,−2) and has a slope of 6?
Solution:
The general slope-intercept form of the equation of a line is y=mx+b, where m is the slope and b is the y-intercept.
By substitution of the given point and given slope, we have: −2=(6)(1)+b→−2=6+b
So, b=−2−6=−8, and the required equation is y=6x−8.
Writing Linear Equations – Example 2:
Write the equation of the line through (1,1) and (−1,3).
Solution:
Slop =y2−y1x2–x1=3−1−1−1=2−2=−1→m=−1
To find the value of b, you can use either point. The answer will be the same: y=−x+b
(1,1)→1=−1+b→1+1=b→b=2
(−1,3)→3=−(−1)+b→3−1=b→b=2
The equation of the line is: y=−x+2
Writing Linear Equations – Example 3:
What is the equation of the line that passes through (2,–2) and has a slope of 7?
Solution:
The general slope-intercept form of the equation of a line is y=mx+b, where m is the slope and b is the y−intercept.
By substitution of the given point and given slope, we have: −2=(7)(2)+b→−2=14+b
So, b=–2−14=−16, and the required equation is y=7x−16.
The Best Book to Help You Ace Pre-Algebra
Writing Linear Equations – Example 4:
Write the equation of the line through (2,1) and (−1,4).
Solution:
Slop =y2−y1x2–x1=4−1−1−2=3−3=−1→m=−1
You can use either point to find the value of b. The answer will be the same: y=−x+b
(2,1)→1=−2+b→1+2=b→b=3
(−1,4)→4=−(−1)+b→4−1=b→b=3
The equation of the line is: y=−x+3
Exercises for Writing Linear Equations
Write the slope–intercept form of the equation of the line through the given points.
- through:(–4,–2),(–3,5)
- through:(5,4),(–4,3)
- through:(0,–2),(–5,3)
- through:(–1,1),(–2,6)
- through:(0,3),(–4,–1)
- through:(0,2),(1,–3)
Download Writing Linear Equations Worksheet

- y=7x+26
- y=19x+319
- y= –x–2
- y= –5x–4
- y=x+3
- y= –5x+2
The Greatest Books for Students to Ace the Algebra
Related to This Article
More math articles
- How to Graph Inequality: Using Number Lines to Graph Inequalities
- 7th Grade OAA Math Worksheets: FREE & Printable
- 4th Grade TNReady Math Worksheets: FREE & Printable
- How to Prepare for the ParaPro Math Test?
- How to Unravel the Mysteries of Infinite Limits
- How to Fill in the Gaps: Finding Missing Angles of Quadrilaterals
- A Parents’ Guide To Supporting Teens With Their Math Skills
- The Math Adventure: The Quest for Probability and Predictions
- 7th Grade MCA Math Worksheets: FREE & Printable
- How to Master Inductive Reasoning from Patterns
What people say about "How to Write Linear Equations? (+FREE Worksheet!) - Effortless Math: We Help Students Learn to LOVE Mathematics"?
No one replied yet.