Equations in Two Variables
An equation in one variable, like , has a single solution. When we introduce a second variable, the situation changes dramatically: a single equation in two variables generally has infinitely many solutions.
Solutions as Ordered Pairs
A solution of an equation in two variables and is an ordered pair that makes the equation true when substituted. The solution set is the collection of all such ordered pairs.
Consider the equation . The pair is a solution because . But so is , , , and infinitely many others. Each solution is a point in the coordinate plane, and together they form the graph of the equation.
Graphing a Linear Equation
Every equation of the form (where and are not both zero) graphs as a straight line. To draw the line, we only need two points. The most convenient choices are usually the intercepts:
- x-intercept: set and solve for
- y-intercept: set and solve for
Graph .
Solution. Find the intercepts:
- When : . Point: .
- When : . Point: .
Plot and , then draw the line through them. Every point on this line is a solution to the equation.
Slope-Intercept and Standard Forms
Two common ways to write a linear equation:
- Standard form: , where are constants.
- Slope-intercept form: , where is the slope and is the y-intercept.
The slope measures steepness and direction: positive slope means the line rises left to right, negative slope means it falls.
Given two points and on a line with , the slope is:
Writing an Equation from Two Points
Write the equation of the line through and .
Solution. First, find the slope:
Using point-slope form with the point :
Special Cases
Not every line fits neatly into slope-intercept form:
- Horizontal line : the slope is . Every point has the same -coordinate.
- Vertical line : the slope is undefined. Every point has the same -coordinate. This cannot be written as .
Graph by finding its intercepts. Then rewrite the equation in slope-intercept form and identify the slope.