Sub topic 5
Solving a System by Graphing
Assume you can solve one-variable linear equations, plot points on a coordinate plane, and recognize slope-intercept form. A system of two linear equations is a pair of equations that must be true at the same time. To solve it by graphing, draw both lines and find their intersection.
The intersection point is the ordered pair \((x,y)\) that satisfies both equations. If the lines cross at \((3,1)\), then \(x=3\) and \(y=1\) make both equations true.
Rewrite Each Equation as a Line
Graphing is easiest when both equations are written in slope-intercept form:
\[ y=mx+b \]
Here, \(m\) is the slope, or vertical change divided by horizontal change. The value \(b\) is the \(y\)-intercept, where the line crosses the \(y\)-axis.
Consider this system:
\[ \begin{aligned} 2x+y&=7\\ x-y&=2 \end{aligned} \]
Solve each equation for \(y\).
For the first equation:
\[ 2x+y=7 \]
\[ y=7-2x \]
For the second equation:
\[ x-y=2 \]
\[ -y=2-x \]
\[ y=x-2 \]
The system is now:
\[ \begin{aligned} y&=-2x+7\\ y&=x-2 \end{aligned} \]
The first line has slope \(-2\) and \(y\)-intercept \(7\). The second line has slope \(1\) and \(y\)-intercept \(-2\).
Graph Both Lines
Plot the \(y\)-intercept for each line, then use its slope to find more points.
| Equation | \(y\)-intercept | Slope |
|---|---|---|
| \(y=-2x+7\) | \((0,7)\) | \(-2\) |
| \(y=x-2\) | \((0,-2)\) | \(1\) |
For \(y=-2x+7\), start at \((0,7)\). A slope of \(-2\) means move right 1 and down 2. This gives points such as \((1,5)\) and \((2,3)\).
For \(y=x-2\), start at \((0,-2)\). A slope of \(1\) means move right 1 and up 1. This gives points such as \((1,-1)\), \((2,0)\), and \((3,1)\).
The lines intersect at \((3,1)\). Therefore, the solution to the system is:
\[ \boxed{(3,1)} \]
Check the Intersection
A graph may give an approximate point, especially when the intersection is not at integer coordinates. Always check the ordered pair in the original equations.
For \((3,1)\):
\[ 2(3)+1=7 \]
\[ 3-1=2 \]
Both equations are true, so \((3,1)\) is confirmed.
Recognize the Three Possible Results
The two lines can have three different relationships:
- One solution: The lines have different slopes and cross once.
- No solution: The lines have the same slope but different \(y\)-intercepts. They are parallel.
- Infinitely many solutions: Both equations describe the same line.
For example, \(y=2x+1\) and \(y=2x-3\) have the same slope but different intercepts, so they never meet. This system has no solution.
If both equations simplify to the same line, every point on that line satisfies both equations. The system then has infinitely many solutions.
Common Graphing Errors
- Reversing the coordinates: \((x,y)\) means move horizontally using \(x\), then vertically using \(y\).
- Reading the intercept as the solution: the solution is where both lines cross, not where either line crosses an axis.
- Using the wrong direction for a negative slope.
- Relying on a rough drawing without checking the point algebraically.
Exercise
Solve the system by graphing: y = 2x + 1 and y = -x + 7. What is the intersection point?
Show answer
The lines intersect at (2, 5). Check: 5 = 2(2) + 1 and 5 = -2 + 7.