Slope-intercept form (y=mx+b) is built for situations that start at a number and grow at a steady rate, but we need another way to write and graph lines when two quantities add up to a fixed total.
1
Standard Form and Graphing with Intercepts
When x and y terms sit together on the same side of an equation to add up to a total, like 2x+3y=12, the equation is in Standard Form. When a line crosses the axes at two different points, we can graph it straight from those intercepts instead of rearranging the equation to get y by itself.
Standard Form and Graphing with Intercepts
xy=tacos at $2=burritos at $32x+3yintercepts=12=?
Wherever the line crosses an axis, the other coordinate is 0, so that whole term disappears from the equation.
Landing on either axis makes one coordinate zero and wipes its matching term out of the equation.
To graph 4x−2y=8, we find the two intercepts by setting one variable at a time to 0 and covering up its term.
Text solution
Find the x-intercept (y=0)Covering up the −2y term leaves a one-step equation for where the line crosses the x-axis.
4xx=8=2⟶(2,0)
Find the y-intercept (x=0)Covering up 4x leaves the minus sign in the middle attached to 2y, so we divide by −2.
−2yy=8=−4⟶(0,−4)
Plotting (2,0) on the x-axis and (0,−4) on the y-axis gives us the two points we need to draw the line.
2
Three Special Cases with Intercepts
Covering up a term doesn't always give two whole-number points right away: a coefficient might not divide evenly into the total, both intercepts might land on the same point at (0,0), or one of the variables might be missing from the equation completely.
Three Intercept Curveballs
Each of these three cases uses the same intercept idea with one small adjustment to finish the graph.
Text solution
Fraction intercepts (3x+5y=10)When a coefficient does not divide evenly into the total, rewrite the fraction as a mixed number to see where to place the point between two whole numbers on the axis.
5y=103x=10⟶y=2⟶(0,2)⟶x=310=331⟶(331,0)
Total of zero (2x−y=0)Because the total is 0, setting y=0 and x=0 both give (0,0), so we plug in an easy value like x=1 to get a second point on the line.
2(1)−y2−yy=0=0=2⟶(1,2)
Connecting the origin (0,0) to (1,2) completes the line.
Missing variable (x=4 and 2y=−6)When an equation has only one variable, that coordinate stays at a single number no matter what the other coordinate is.
x=4and2yy=−6=−3
So x=4 is a vertical line through (4,0) with no y-intercept, and y=−3 is a horizontal line through (0,−3) with no x-intercept.
If you rotate a line around a point like (4,−3), you can see all these cases happen: at the angle where the line passes through (0,0), the total in the equation becomes 0, and whenever the line is parallel to an axis, one intercept and one variable disappear.
As you tilt the line, its two intercepts meet at the origin when the total reaches zero, and an intercept and its variable disappear whenever the line runs parallel to an axis.
3
Writing Equations in Standard Form
When a line is given in slope-intercept form or with its terms spread across both sides, we often need to rewrite it into Standard Form so all its numbers are integers.
Writing Equations in Standard Form
6xy=12−3y=32x+4Standard Form=?
In Standard Form, the x and y terms are on the left, the total is on the right, A,B, and C are integers, and the first nonzero coefficient, A or B, is positive:
Ax+By=C
To rewrite y=32x+4 in Standard Form, we move the x term to the left side and then clear the fraction and the negative sign in front of x.
Text solution
Subtract 32x from both sidesMove the x term to the left side in front of y so both variables sit together.
−32x+y=4
Multiply every term by 3Multiply every term on both sides by the denominator 3 to clear the fraction.
3(−32x)+3(y)−2x+3y=3(4)=12
Multiply every term by −1Flip the sign of every term so the number in front of x becomes positive.
2x−3y=−12
With x and y on the left, integer coefficients, and a positive 2 in front of x, the equation is in Standard Form.
4
Finding Slope from Standard Form
To find the slope of a nonvertical line in Standard Form, we can get y by itself to turn the equation into y=mx+b. A vertical line, like x=4, has undefined slope.
Finding Slope from Standard Form
3x−2yslope m=8=?
To find the slope of 3x−2y=8, we solve the equation for y.
Text solution
Subtract 3x from both sidesMove the x term to the right side, keeping the minus sign on −2y and placing −3x in front of +8.
−2y=−3x+8
Divide every term by −2Divide each term on both sides by −2 to get y completely alone.
−2−2yy=−2−3x+−28=23x−4
Now that y is by itself, the number in front of x tells us the slope is 23 (and the −4 at the end matches the y-intercept you get by covering up 3x).
Key concepts
Standard Form writes a line as Ax+By=C, where A,B, and C are integers and the first nonzero coefficient, A or B, is positive. Because the x and y terms sit together on the left to add up to a total C, how you work with the equation depends on what you are asked to find:
To graph Ax+By=C, don't solve for y; use the cover-up method
Set y=0 to find the x-intercept, and set x=0 to find the y-intercept, keeping any middle minus sign attached to the y term (in 4x−2y=8, covering 4x leaves −2y=8, so y=−4).
If both variable terms are present and the total is 0 (like 2x−y=0), both intercepts land on (0,0), so plug in x=1 to get a second point, (1,2).
If a variable is missing, the coordinate still in the equation stays at one number: x=4 is a vertical line through (4,0) with no y-intercept, and y=−3 is a horizontal line through (0,−3) with no x-intercept.
To rewrite an equation into Standard Form
(like turning y=32x+4 into 2x−3y=−12), move the x and y terms to the left, multiply every term on both sides by the denominator to clear fractions, and flip every sign if needed to make the first nonzero coefficient positive.
To find the slope from Standard Form
solve for y if the line is not vertical. For 3x−2y=8, this gives y=23x−4, so the slope is 23. A vertical line has undefined slope.
5
Practice
1
You have $20 to spend on $4 sandwiches (x) and $5 salads (y). Write an equation in Standard Form for spending all $20, and find the x-intercept and y-intercept.
Write the cost of x sandwiches plus the cost of y salads equal to the $20 total, then set one variable at a time to 0.
Write the equation for the $20 total
4x+5y=20
Find the interceptsSet y=0 to get 4x=20⟹x=5, and set x=0 to get 5y=20⟹y=4. (Be careful not to combine the two intercepts into a single point (5,4) or swap their positions to (4,0) and (0,5). Each intercept pairs with 0 for the other coordinate.)
4x+5y=20;x-intercept: (5,0),y-intercept: (0,4)
2
Find the x-intercept and y-intercept of the line 6x−3y=18.
Cover up −3y to find the x-intercept, then cover up 6x to find the y-intercept. Watch the sign in front of 3y.
Find the x-intercept (y=0)
6xx=18=3
Find the y-intercept (x=0)Keep the minus sign attached to 3y when covering 6x; dropping the minus sign and solving 3y=18 gives the wrong intercept (0,6).
−3yy=18=−6
x-intercept: (3,0),y-intercept: (0,−6)
3
Find the x-intercept and y-intercept of the line 2x+3y=8.
Set y=0 and x=0 one at a time; one of the coefficients will give a fraction when you divide.
Find the x-intercept (y=0)
2xx=8=4
Find the y-intercept (x=0)Divide both sides by 3 (be careful not to divide the wrong way and get 83).
3yy=8=38=232
x-intercept: (4,0),y-intercept: (0,38) or (0,232)
4
Find the x-intercept and y-intercept of the line 3y=−12, and state whether the line is horizontal or vertical.
Don't confuse the direction of the y-axis with the line y=−4: thinking "y is vertical" leads to the wrong answer of a vertical line with an x-intercept at (−4,0).
Solve for y first, then picture all the points whose height y stays at that number.
Solve for y
3yy=−12=−4
Identify the intercepts and directionBecause the height y stays at −4 for every x, the line crosses the y-axis at (0,−4) and stays flat, never reaching y=0 on the x-axis. (Don't confuse the direction of the y-axis with the line y=−4: thinking "y is vertical" leads to the wrong answer of a vertical line with an x-intercept at (−4,0).)
No x-intercept,y-intercept: (0,−4);horizontal line
5
Find the x- and y-intercepts of the line 3x−y=0, and find a second point on the line using x=1.
Notice the total on the right is 0; after finding the intercepts, substitute 1 for x and solve for y.
Find the interceptsSetting y=0 gives 3x=0⟹x=0, and setting x=0 gives −y=0⟹y=0.
Substitute x=1 for a second pointWatch the negative sign on −y when solving 3−y=0; losing the negative sign gives (1,−3) instead of (1,3).
3(1)−y3−yy=0=0=3
Both intercepts are (0,0);second point: (1,3)
6
Find the slope of the line 5x−2y=6.
Don't use the number in front of x right away and say the slope is 5. First get y by itself so you can read the slope from the coefficient of x.Dividing −5 by −2 makes the fraction positive; forgetting that a negative divided by a negative is positive (or dropping the minus sign on −2y) gives a wrong slope of −25.
You can't read the slope straight from Standard Form. How do you get y completely by itself?
Subtract 5x from both sides(Don't use the number in front of x right away and say the slope is 5. First get y by itself so you can read the slope from the coefficient of x.)
−2y=−5x+6
Divide every term by −2Dividing −5 by −2 makes the fraction positive; forgetting that a negative divided by a negative is positive (or dropping the minus sign on −2y) gives a wrong slope of −25.
−2−2yy=−2−5x+−26=25x−3
25
7
Rewrite y=43x+2 in Standard Form.
Move the x term to the left side first, then look at the denominator of the fraction and the sign in front of x.
Subtract 43x from both sides
−43x+y=2
Multiply every term by 4Make sure to multiply y and 2 by 4 as well. Only multiplying the fraction leaves −3x+y=2 (which becomes 3x−y=−2).
−3x+4y=8
Multiply every term by −1Flip the sign of every term on both sides so the x term is positive (forgetting to flip the sign on the right side leaves +8 and gives 3x−4y=8).