Lesson 1 / 5 · 10 min read
Linear Equations
Solve for x, find slopes, and graph straight lines.
What is a linear equation?
A linear equation is an equation whose graph is a straight line. The most useful form is slope-intercept form:
y=mx+b
- m is the slope — how steep the line is (rise over run).
- b is the y-intercept — the y-value where the line crosses the y-axis.
Solving for x
To solve a linear equation, your job is to isolate x on one side. Whatever you do to one side, do to the other.
Example. Solve 3x+7=22.
- Subtract 7 from both sides: 3x=15
- Divide both sides by 3: x=5
Example with x on both sides. Solve 5x−4=2x+11.
- Subtract 2x from both sides: 3x−4=11
- Add 4: 3x=15
- Divide by 3: x=5
Finding slope from two points
Given two points (x1,y1) and (x2,y2), slope is:
m=x2−x1y2−y1
Example. Slope through (2,3) and (6,11):
m=6−211−3=48=2
Writing the equation of a line
If you know the slope m and one point (x1,y1), use point-slope form:
y−y1=m(x−x1)
Then rearrange to y=mx+b if you want slope-intercept form.
Key takeaways
- Linear equation → straight line graph.
- Slope m = rise / run.
- Slope-intercept: y=mx+b.
- To solve: do the same thing to both sides until x is alone.