Lines & systems
Find the equation of a line from a graph, a point or two points
ALEKS placement
Point-slope builds a line from any point; slope-intercept is what you read off a graph.
Find the slope m first. Then use a point (x₁, y₁) in point-slope form, y − y₁ = m(x − x₁), and solve for y to get y = mx + b.
If the graph shows where the line crosses the y-axis, that value is b, and you only need the slope.
Try it here
Write one line at a time, as on paper.
Write the line with slope -2 and y-intercept 0.
Goal: The answer looks like y = an expression in x — an equation solved for y.
- givenm = -2,\quad b = 0
What this covers
- Find the slope first, from two points or from a parallel or perpendicular condition.
- Substitute one point and the slope into point-slope form.
- Distribute and solve for y to reach slope-intercept form.
- Parallel lines share m; perpendicular slopes multiply to -1.
Worked example
Write the line through (2, -1) with slope 3.
- y−(−1)=3(x−2)Point-slope with (x₁, y₁) = (2, -1).
- y+1=3x−6Simplify and distribute.
- y=3x−7Solve for y.
Find the line of slope −2 through (3, 1).
- y−1=−2(x−3)Insert the slope and point into point-slope form.
- y=−2x+7Distribute −2 and add 1. Check: at x = 3 the output is 1.
A common mistake
From
“Point-slope subtracts the point's coordinates: y − y₁ with y₁ = −1 is y − (−1) = y + 1. Writing y − 1 uses +1 as the y-coordinate. Check with the point itself: at (2, −1), y − (−1) = −1 + 1 = 0 matches 3(2 − 2) = 0, but y − 1 = −2 does not.”
Practice line equations free
No account or email needed.
Where this fits
Before this
After this
More in Lines & systems
Guides
Common questions
Equations of lines: what is the main idea?
Point-slope builds a line from any point; slope-intercept is what you read off a graph. Find the slope first, from two points or from a parallel or perpendicular condition. Substitute one point and the slope into point-slope form. Distribute and solve for y to reach slope-intercept form. Parallel lines share m; perpendicular slopes multiply to -1.
Equations of lines: what is the most common mistake?
Point-slope subtracts the coordinates, so the point (2, -1) produces (x - 2) and (y + 1). For example, Lemma flags this one: Point-slope subtracts the point's coordinates: y − y₁ with y₁ = −1 is y − (−1) = y + 1. Writing y − 1 uses +1 as the y-coordinate. Check with the point itself: at (2, −1), y − (−1) = −1 + 1 = 0 matches 3(2 − 2) = 0, but y − 1 = −2 does not.
Equations of lines: ALEKS, TEAS or both?
ALEKS placement only; it is not part of Lemma’s TEAS course. Lemma’s ALEKS plan includes it from a 46 target score upward.