Graph of a Linear Equation
This is the centrepiece of the chapter. An equation like describes infinitely many points, and those points fit exactly onto a single straight line in the plane. Drawing that line is the most efficient way to see a linear equation. This lesson is the technique.
Definitions
The graph of a linear equation in two variables is the set of all points in the Cartesian plane that satisfy the equation. This graph is always a straight line.
Concept and graphing technique
The headline theorem. The graph of every linear equation (where and are not both zero) is a straight line. Conversely, every straight line in the plane is the graph of some linear equation. So "linear equation" and "straight line" are the same object in two languages.
The minimal recipe. To graph a linear equation:
- Find any two distinct solutions of the equation.
- Plot them on the Cartesian plane.
- Draw the straight line through them.
That's it. Two points determine a line, so two solutions are enough. A common practical choice: find the -intercept by setting , and the -intercept by setting . Those two are usually easy to compute and easy to plot.
A worked walk-through. Graph .
- Set : , so . Point .
- Set : , so . Point .
Plot and . Draw the straight line through them. That is the graph of . Every solution of the equation lies on this line; every point on this line is a solution.
Use a third point as a check. Compute one more solution and verify that it lies on the line you drew. For instance, , so should be on the line. If it is not, you have a plotting error somewhere.
When the line passes through the origin. If in the standard form, the line passes through the origin. The two-intercept method then gives the same point twice , useless. Instead, pick a non-zero value like to find the second point.
Example. Graph . Setting gives , one point . Setting gives , second point . Join.
When the line is parallel to an axis. If , the equation reduces to , a vertical line. If , the equation reduces to , a horizontal line. These need only one number to describe and you draw them by sight; we cover these in the next lesson.
Why is the graph a straight line and not a curve? Because the equation is first degree in and . Higher-degree equations give curves: is a circle, is a parabola, is a hyperbola. The first-degree restriction is what forces straightness. A complete proof requires some work; in this chapter we take it as known.
Reading a graph backwards. Given a line on a grid, you can recover its equation by reading off two of its points and writing down the equation that passes through them. For example, a line through and has equation , i.e. . Reading-and-writing graphs is a core skill.
Worked examples
Example 1. Draw the graph of .
Intercepts: , so . , so . Plot and join with a straight line. Check: : . Lies on the line.
Example 2. Draw the graph of .
Through origin, since . Pick (origin) and , so . Plot and join.
Example 3. Draw the graph of .
Intercepts: , so . , so . Plot and join. Check at : , so should lie on the line.
Example 4. Find the equation of a line that passes through and .
It has -intercept and -intercept . Equation: . Multiply through by : .
Example 5. Graph .
Through origin: . Pick . Pick . Plot and , join.
Try it yourself
- Draw the graph of .
- Draw the graph of .
- Draw the graph of .
- Find the - and -intercepts of , then draw the line.
- Draw the graph of .
- From the graph in question 1, read three integer solutions other than the intercepts.
- Write the equation of a line passing through and .
- Write the equation of a line passing through and .
- Draw the graphs of and on the same axes. Where do they cross?
- The graph of passes through . Find .
Pitfalls / Insight
- Always use at least two distinct points. A single point does not determine a line.
- Plot three when you can. The third is a check; if it doesn't fall on the line, recompute.
- Use a long ruler. A bumpy or curved line ruins the geometric picture.
- Intercepts are the cleanest pair when both axes are crossed. If the line passes through the origin, find a different second point.
Insight. The graph of is the picture of all its solutions. Each solution is one dot; the line is the assembled dot-picture. Once you can read this picture, you can solve problems by eye , and once two lines are drawn at once, the next chapter's "pair of linear equations" becomes simply "where do these two lines cross?"