How to Write Linear Equations? (+FREE Worksheet!)
Writing Linear Equations
Writing a linear equation means turning the facts you’re given, a slope and a point, or two points, into . Find the slope, find the intercept, and you’re done. We’ll cover every starting point, with a solver, practice, and a worksheet maker a tap away.
Type the problems from this lesson and check each step.
Write Linear Equations: what to notice and how to work it
What to notice first
Common student mistake
Key formulas and cues
A reliable path
- Find slopeUse two points, a table, or the coefficient of x in slope-intercept form.
- Find an anchorUse a point or intercept so the line is in the right location.
- Check directionPositive slope rises left to right; negative slope falls left to right.
Worked examples
Find slope from two points
- Change in y is 10 – 4 = 6.
- Change in x is 3 – 1 = 2.
- Divide rise by run.
Write slope-intercept form
- Use y = mx + b.
- Put m = 3 and b = -2.
- Write the line.
Try one before moving on
Write Linear Equations: pop-up practice

Writing a linear equation is the skill of turning whatever you’re given, a slope and a point, or two points, into the equation . It comes up constantly, because once you have the equation you can graph the line, predict values, and compare it to others. The recipe is always the same: find the slope, then find the intercept.
In short: find the slope , find the y-intercept (read it or solve for it), then write . For example, the line through and is .
Slope First, Intercept Second
Every non-vertical line is . The slope sets the tilt; the intercept sets where it crosses the y-axis. Whatever the problem gives you, your job is to pin down those two numbers.
How to write the equation (3 steps):
- Find the slope (from two points: ; or it’s given).
- Find : read it if you have the y-intercept, or plug a point into and solve.
- Write .
Through and
Slope ; the point gives . So . The line below climbs 3 for every 1 across, crossing the y-axis at 1.
Write a line’s equationWorked Examples
Slope first, intercept second, each finished line is graphed through its given point.
Example A, Two points (intercept given)
Through and .
- Slope: .
- One point has , so it’s the intercept: .
- Write it: .
Answer:
Example B, Slope and a point
Slope 2 through .
- Plug into : .
- Solve: , so .
- Write it: .
Answer:
Example C, Two points (solve for b)
Through and .
- Slope: .
- Use : , so .
- Write it: .
Answer:
Example D, A horizontal result
Through and .
- Slope: .
- Zero slope means a flat line at the shared -value.
- Write it: .
Answer:
Where You’ll Use It
Any steady real-world relationship becomes a linear equation: a gym’s flat fee plus a per-class rate, a tank draining at a constant speed, a phone plan’s monthly cost. Write the equation once and you can answer “what’s the cost at 30 classes?” or “when will the tank be empty?” without re-reading the data.
Slip-Ups That Cost Easy Points
- Run over rise. Slope is the change in over the change in , y on top.
- Forgetting to solve for . If the y-intercept isn’t given, plug a point in and solve; don’t guess .
- Sign mistakes plugging in. gives , not .
- Order of subtraction. Keep the points in the same order top and bottom of the slope fraction.
Your Turn: Write the Equation
Write each in . Reveal to check.
- Through and
- Through and
- Through and
- Through and
Show answers
Make Your Own Worksheet
Generate fresh write-the-equation problems with a full answer key, print or save as a PDF.
Frequently Asked Questions
How do you write linear equations in slope-intercept form?
Find the slope m and the y-intercept b, then substitute them into y = mx + b. If you know the slope and one point, plug them in to solve for b. With slope 4 through (2, 3): 3 = 4(2) + b, so b = −5 and the equation is y = 4x − 5. For a quick check, substituting x = 2 should give y = 3.
How do you write a linear equation given two points?
First find the slope with m = (y₂ − y₁)/(x₂ − x₁), then use either point to find b. For (1, 5) and (4, 11), the slope is (11 − 5)/(4 − 1) = 6/3 = 2. Substituting (1, 5) into y = 2x + b gives 5 = 2 + b, so b = 3. The equation is y = 2x + 3, and (4, 11) checks out: 2(4) + 3 = 11.
How do you write linear equations from a table?
Pick two rows and find the rate of change: the change in y divided by the change in x. Then find the y-value when x = 0, which is the y-intercept. If a table shows x = 0, 1, 2, 3 and y = 7, 10, 13, 16, y increases by 3 each time x increases by 1, so m = 3, and b = 7. The equation is y = 3x + 7.
How do you write linear equations from word problems?
Look for a rate, which becomes the slope, and a starting amount, which becomes the y-intercept. Phrases like per hour or each signal the rate; words like fee, initial or starts with signal the starting value. If a plumber charges a $60 visit fee plus $45 per hour, the cost is C = 45h + 60. For a 3-hour job, C = 45(3) + 60 = $195.
How do you write linear equations in standard form?
Standard form is Ax + By = C, where A, B and C are integers and A is usually positive. Start from any form, move the x and y terms to one side and clear fractions. For y = (2/3)x − 4, multiply every term by 3 to get 3y = 2x − 12, then subtract 2x from both sides: −2x + 3y = −12. Multiply by −1 to get 2x − 3y = 12.
How do you write linear equations in point-slope form?
Point-slope form is y − y₁ = m(x − x₁). Plug in the slope and the coordinates of one point, and you are done; there is no need to find the y-intercept first. For slope −2 through (3, 1), the equation is y − 1 = −2(x − 3). Distributing and adding 1 to both sides turns it into slope-intercept form: y = −2x + 7.
Related Topics
Continue Your Study
Ready for the next step? Pick up right where this lesson leaves off:
Watch Writing Linear Equations
Related to This Article
More math articles
- Best Mobile Laptop Stands for Presentation in Schools
- 7th Grade PACE Math Worksheets: FREE & Printable
- Mississippi MAAP Grade 8 Math Free Worksheets: 72 Free Skill-by-Skill PDFs with Answer Keys
- Free Grade 5 English Worksheets for Ohio Students
- Top 10 6th Grade NYSE Math Practice Questions
- Grade 3 Math: Comparing and Ordering Numbers
- Exit polls
- How to Solve Mixture Word Problems: Step-by-Step Guide for 2027
- Atlantic Trade and Mercantilism: Navigation Acts Explained
- Dominant Culture, Subcultures, and Countercultures


What people say about "How to Write Linear Equations"?
No one replied yet.