Algebra 1Linear Functions4 of 7
Linear Functions · 4

Standard Form and Intercepts

Slope-intercept form (y=mx+by = \slope{m}x + \ypart{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\xpart{x} and y\ypart{y} terms sit together on the same side of an equation to add up to a total, like 2x+3y=12\xpart{2x} + \ypart{3y} = \total{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\ypart{y} by itself.

Standard Form and Graphing with Intercepts
x=tacos at $2y=burritos at $32x+3y=12intercepts=  ?\displaystyle \begin{gathered}\begin{aligned}\xpart{x} &= \text{tacos at } \$2\\ \ypart{y} &= \text{burritos at } \$3\end{aligned}\\[26pt]\begin{aligned}\xpart{2x} + \ypart{3y} &= \total{12}\\[14pt] \text{intercepts} &= \;?\end{aligned}\end{gathered}

Wherever the line crosses an axis, the other coordinate is 00, 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\xpart{4x} \ypart{- 2y} = \total{8}, we find the two intercepts by setting one variable at a time to 00 and covering up its term.

Text solution
Find the x\xpart{x}-intercept (y=0\ypart{y} = 0)Covering up the −2y\ypart{-2y} term leaves a one-step equation for where the line crosses the x\xpart{x}-axis.
4x=8x=2⟶(2,0)\displaystyle \begin{aligned} \xpart{4x} &= \total{8} \\ \xpart{x} &= 2 \quad \longrightarrow \quad \xpart{(2, 0)} \end{aligned}
Find the y\ypart{y}-intercept (x=0\xpart{x} = 0)Covering up 4x\xpart{4x} leaves the minus sign in the middle attached to 2y\ypart{2y}, so we divide by −2-2.
−2y=8y=−4⟶(0,−4)\displaystyle \begin{aligned} \ypart{-2y} &= \total{8} \\ \ypart{y} &= -4 \quad \longrightarrow \quad \ypart{(0, -4)} \end{aligned}
−1\htmlClass{lc-mute}{-1}
1\htmlClass{lc-mute}{1}
3\htmlClass{lc-mute}{3}
−2\htmlClass{lc-mute}{-2}
2\htmlClass{lc-mute}{2}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
(2, 0)\htmlClass{lc-blue}{(2,\,0)}
(0, −4)\htmlClass{lc-violet}{(0,\,-4)}
4x−2y=8\htmlClass{lc-blue}{4x}\htmlClass{lc-violet}{-2y}=\htmlClass{lc-green}{8}

Plotting (2,0)\xpart{(2, 0)} on the x\xpart{x}-axis and (0,−4)\ypart{(0, -4)} on the y\ypart{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)(0, 0), or one of the variables might be missing from the equation completely.

Three Intercept Curveballs
3x+5y=10\htmlClass{lc-blue}{3x}+\htmlClass{lc-violet}{5y}=\htmlClass{lc-green}{10}
1\htmlClass{lc-mute}{1}
2\htmlClass{lc-mute}{2}
3\htmlClass{lc-mute}{3}
4\htmlClass{lc-mute}{4}
5\htmlClass{lc-mute}{5}
1\htmlClass{lc-mute}{1}
2\htmlClass{lc-mute}{2}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}

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\xpart{3x} + \ypart{5y} = \total{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=10⟶y=2⟶(0,2)3x=10⟶x=103=313⟶(313,0)\displaystyle \begin{aligned} \ypart{5y} = \total{10} \quad &\longrightarrow \quad \ypart{y} = 2 \\ &\longrightarrow \quad \ypart{(0, 2)} \\[0.6em] \xpart{3x} = \total{10} \quad &\longrightarrow \quad \xpart{x} = \frac{10}{3} = 3\tfrac{1}{3} \\ &\longrightarrow \quad \xpart{\left(3\tfrac{1}{3}, 0\right)} \end{aligned}
Total of zero (2x−y=0\xpart{2x} \ypart{- y} = \total{0})Because the total is 0\total{0}, setting y=0\ypart{y} = 0 and x=0\xpart{x} = 0 both give (0,0)(0, 0), so we plug in an easy value like x=1\xpart{x} = 1 to get a second point on the line.
2(1)−y=02−y=0y=2⟶(1,2)\displaystyle \begin{aligned} \xpart{2(1)} \ypart{- y} &= \total{0} \\ \xpart{2} \ypart{- y} &= \total{0} \\ \ypart{y} &= 2 \quad \longrightarrow \quad (1, 2) \end{aligned}
Connecting the origin (0,0)(0, 0) to (1,2)(1, 2) completes the line.
Missing variable (x=4\xpart{x} = 4 and 2y=−6\ypart{2y} = \total{-6})When an equation has only one variable, that coordinate stays at a single number no matter what the other coordinate is.
x=4and2y=−6y=−3\displaystyle \xpart{x} = 4 \qquad \text{and} \qquad \begin{aligned} \ypart{2y} &= \total{-6} \\ \ypart{y} &= -3 \end{aligned}
2\htmlClass{lc-mute}{2}
−2\htmlClass{lc-mute}{-2}
2\htmlClass{lc-mute}{2}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
(4, 1)\htmlClass{lc-blue}{(4,\,1)}
(4, 0)\htmlClass{lc-blue}{(4,\,0)}
(4, −3)\htmlClass{lc-blue}{(4,\,-3)}
x=4\htmlClass{lc-blue}{x=4}
2\htmlClass{lc-mute}{2}
−2\htmlClass{lc-mute}{-2}
2\htmlClass{lc-mute}{2}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
(0, −3)\htmlClass{lc-violet}{(0,\,-3)}
y=−3\htmlClass{lc-violet}{y=-3}

So x=4\xpart{x} = 4 is a vertical line through (4,0)\xpart{(4, 0)} with no y\ypart{y}-intercept, and y=−3\ypart{y} = -3 is a horizontal line through (0,−3)\ypart{(0, -3)} with no x\xpart{x}-intercept.

If you rotate a line around a point like (4,−3)(4, -3), you can see all these cases happen: at the angle where the line passes through (0,0)(0, 0), the total in the equation becomes 0\total{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
6x=12−3yy=23x+4Standard Form=  ?\displaystyle \begin{gathered}\begin{aligned}\xpart{6x} &= \total{12} \ypart{- 3y}\\[10pt] \ypart{y} &= \xpart{\frac{2}{3}x} + \total{4}\end{aligned}\\[26pt]\text{Standard Form} = \;?\end{gathered}

In Standard Form, the x\xpart{x} and y\ypart{y} terms are on the left, the total is on the right, A\xpart{A}, B\ypart{B}, and C\total{C} are integers, and the first nonzero coefficient, A\xpart{A} or B\ypart{B}, is positive:

Ax+By\displaystyle \xpart{Ax} + \ypart{By} =C\displaystyle = \total{C}

To rewrite y=23x+4\ypart{y} = \xpart{\frac{2}{3}x} + \total{4} in Standard Form, we move the x\xpart{x} term to the left side and then clear the fraction and the negative sign in front of x\xpart{x}.

Text solution
Subtract 23x\xpart{\frac{2}{3}x} from both sidesMove the x\xpart{x} term to the left side in front of y\ypart{y} so both variables sit together.
−23x+y\displaystyle \xpart{-\frac{2}{3}x} + \ypart{y} =4\displaystyle = \total{4}
Multiply every term by 3\operation{3}Multiply every term on both sides by the denominator 3\operation{3} to clear the fraction.
3(−23x)+3(y)=3(4)−2x+3y=12\displaystyle \begin{aligned} \operation{3}\left(\xpart{-\frac{2}{3}x}\right) + \operation{3}(\ypart{y}) &= \operation{3}(\total{4}) \\ \xpart{-2x} + \ypart{3y} &= \total{12} \end{aligned}
Multiply every term by −1\operation{-1}Flip the sign of every term so the number in front of x\xpart{x} becomes positive.
2x−3y\displaystyle \xpart{2x} \ypart{- 3y} =−12\displaystyle = \total{-12}

With x\xpart{x} and y\ypart{y} on the left, integer coefficients, and a positive 2\xpart{2} in front of x\xpart{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\ypart{y} by itself to turn the equation into y=mx+by = \slope{m}x + \ypart{b}. A vertical line, like x=4\xpart{x} = 4, has undefined slope.

Finding Slope from Standard Form
3x−2y=8slope m=  ?\displaystyle \begin{aligned}\xpart{3x} \ypart{- 2y} &= \total{8}\\[14pt] \text{slope } \slope{m} &= \;?\end{aligned}

To find the slope of 3x−2y=8\xpart{3x} \ypart{- 2y} = \total{8}, we solve the equation for y\ypart{y}.

Text solution
Subtract 3x\xpart{3x} from both sidesMove the x\xpart{x} term to the right side, keeping the minus sign on −2y\ypart{-2y} and placing −3x\xpart{-3x} in front of +8\total{+8}.
−2y\displaystyle \ypart{-2y} =−3x+8\displaystyle = \xpart{-3x} + \total{8}
Divide every term by −2\operation{-2}Divide each term on both sides by −2\operation{-2} to get y\ypart{y} completely alone.
−2y−2=−3x−2+8−2y=32x−4\displaystyle \begin{aligned} \frac{\ypart{-2y}}{\operation{-2}} &= \frac{\xpart{-3x}}{\operation{-2}} + \frac{\total{8}}{\operation{-2}} \\ y &= \slope{\frac{3}{2}}x \ypart{- 4} \end{aligned}

Now that y\ypart{y} is by itself, the number in front of xx tells us the slope is 32\slope{\frac{3}{2}} (and the −4\ypart{-4} at the end matches the y\ypart{y}-intercept you get by covering up 3x\xpart{3x}).

Key concepts

Standard Form writes a line as Ax+By=C\xpart{Ax} + \ypart{By} = \total{C}, where A\xpart{A}, B\ypart{B}, and C\total{C} are integers and the first nonzero coefficient, A\xpart{A} or B\ypart{B}, is positive. Because the x\xpart{x} and y\ypart{y} terms sit together on the left to add up to a total C\total{C}, how you work with the equation depends on what you are asked to find:

To graph Ax+By=C\xpart{Ax} + \ypart{By} = \total{C}, don't solve for y\ypart{y}; use the cover-up method

Set y=0\ypart{y} = 0 to find the x\xpart{x}-intercept, and set x=0\xpart{x} = 0 to find the y\ypart{y}-intercept, keeping any middle minus sign attached to the y\ypart{y} term (in 4x−2y=8\xpart{4x} \ypart{- 2y} = \total{8}, covering 4x\xpart{4x} leaves −2y=8\ypart{-2y} = \total{8}, so y=−4\ypart{y} = -4).

  • If both variable terms are present and the total is 0\total{0} (like 2x−y=0\xpart{2x} \ypart{- y} = \total{0}), both intercepts land on (0,0)(0, 0), so plug in x=1\xpart{x} = 1 to get a second point, (1,2)(1, 2).
  • If a variable is missing, the coordinate still in the equation stays at one number: x=4\xpart{x} = 4 is a vertical line through (4,0)\xpart{(4, 0)} with no y\ypart{y}-intercept, and y=−3\ypart{y} = -3 is a horizontal line through (0,−3)\ypart{(0, -3)} with no x\xpart{x}-intercept.
To rewrite an equation into Standard Form

(like turning y=23x+4\ypart{y} = \xpart{\frac{2}{3}x} + \total{4} into 2x−3y=−12\xpart{2x} \ypart{- 3y} = \total{-12}), move the x\xpart{x} and y\ypart{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\ypart{y} if the line is not vertical. For 3x−2y=8\xpart{3x} \ypart{- 2y} = \total{8}, this gives y=32x−4y = \slope{\frac{3}{2}}x \ypart{- 4}, so the slope is 32\slope{\frac{3}{2}}. A vertical line has undefined slope.

5

Practice

1

You have $20\total{\$20} to spend on $4\$4 sandwiches (x\xpart{x}) and $5\$5 salads (y\ypart{y}). Write an equation in Standard Form for spending all $20\total{\$20}, and find the x\xpart{x}-intercept and y\ypart{y}-intercept.

Write the cost of x\xpart{x} sandwiches plus the cost of y\ypart{y} salads equal to the $20\total{\$20} total, then set one variable at a time to 00.

Write the equation for the $20\total{\$20} total
4x+5y\displaystyle \xpart{4x} + \ypart{5y} =20\displaystyle = \total{20}
Find the interceptsSet y=0\ypart{y} = 0 to get 4x=20  ⟹  x=5\xpart{4x} = \total{20} \implies \xpart{x} = 5, and set x=0\xpart{x} = 0 to get 5y=20  ⟹  y=4\ypart{5y} = \total{20} \implies \ypart{y} = 4. (Be careful not to combine the two intercepts into a single point (5,4)(5, 4) or swap their positions to (4,0)(4, 0) and (0,5)(0, 5). Each intercept pairs with 00 for the other coordinate.)
4x+5y\displaystyle 4x + 5y =20;x-intercept: (5,0),y-intercept: (0,4)\displaystyle = 20; \quad x\text{-intercept: } (5, 0), \quad y\text{-intercept: } (0, 4)
2

Find the x\xpart{x}-intercept and y\ypart{y}-intercept of the line 6x−3y=18\xpart{6x} \ypart{- 3y} = \total{18}.

Cover up −3y\ypart{-3y} to find the x\xpart{x}-intercept, then cover up 6x\xpart{6x} to find the y\ypart{y}-intercept. Watch the sign in front of 3y\ypart{3y}.

Find the x\xpart{x}-intercept (y=0\ypart{y} = 0)
6x=18x=3\displaystyle \begin{aligned} \xpart{6x} &= \total{18} \\ \xpart{x} &= 3 \end{aligned}
Find the y\ypart{y}-intercept (x=0\xpart{x} = 0)Keep the minus sign attached to 3y\ypart{3y} when covering 6x\xpart{6x}; dropping the minus sign and solving 3y=183y = 18 gives the wrong intercept (0,6)(0, 6).
−3y=18y=−6\displaystyle \begin{aligned} \ypart{-3y} &= \total{18} \\ \ypart{y} &= -6 \end{aligned}
x-intercept: (3,0),y-intercept: (0,−6)\displaystyle x\text{-intercept: } (3, 0), \quad y\text{-intercept: } (0, -6)
3

Find the x\xpart{x}-intercept and y\ypart{y}-intercept of the line 2x+3y=8\xpart{2x} + \ypart{3y} = \total{8}.

Set y=0\ypart{y} = 0 and x=0\xpart{x} = 0 one at a time; one of the coefficients will give a fraction when you divide.

Find the x\xpart{x}-intercept (y=0\ypart{y} = 0)
2x=8x=4\displaystyle \begin{aligned} \xpart{2x} &= \total{8} \\ \xpart{x} &= 4 \end{aligned}
Find the y\ypart{y}-intercept (x=0\xpart{x} = 0)Divide both sides by 33 (be careful not to divide the wrong way and get 38\frac{3}{8}).
3y=8y=83=223\displaystyle \begin{aligned} \ypart{3y} &= \total{8} \\ \ypart{y} &= \frac{8}{3} = 2\tfrac{2}{3} \end{aligned}
x-intercept: (4,0),y-intercept: (0,83) or (0,223)\displaystyle x\text{-intercept: } (4, 0), \quad y\text{-intercept: } \left(0, \frac{8}{3}\right) \text{ or } \left(0, 2\tfrac{2}{3}\right)
4

Find the xx-intercept and yy-intercept of the line 3y=−123y = -12, and state whether the line is horizontal or vertical.

Solve for yy first, then picture all the points whose height yy stays at that number.

Solve for y\ypart{y}
3y=−12y=−4\displaystyle \begin{aligned} \ypart{3y} &= \total{-12} \\ \ypart{y} &= -4 \end{aligned}
Identify the intercepts and directionBecause the height y\ypart{y} stays at −4-4 for every x\xpart{x}, the line crosses the y\ypart{y}-axis at (0,−4)\ypart{(0, -4)} and stays flat, never reaching y=0\ypart{y} = 0 on the x\xpart{x}-axis. (Don't confuse the direction of the y\ypart{y}-axis with the line y=−4\ypart{y} = -4: thinking "yy is vertical" leads to the wrong answer of a vertical line with an xx-intercept at (−4,0)(-4, 0).)
No x-intercept,y-intercept: (0,−4);horizontal line\displaystyle \text{No } x\text{-intercept}, \quad y\text{-intercept: } (0, -4); \quad \text{horizontal line}
5

Find the x\xpart{x}- and y\ypart{y}-intercepts of the line 3x−y=0\xpart{3x} \ypart{- y} = \total{0}, and find a second point on the line using x=1\xpart{x} = 1.

Notice the total on the right is 0\total{0}; after finding the intercepts, substitute 11 for x\xpart{x} and solve for y\ypart{y}.

Find the interceptsSetting y=0\ypart{y} = 0 gives 3x=0  ⟹  x=0\xpart{3x} = \total{0} \implies \xpart{x} = 0, and setting x=0\xpart{x} = 0 gives −y=0  ⟹  y=0\ypart{-y} = \total{0} \implies \ypart{y} = 0.
Substitute x=1\xpart{x} = 1 for a second pointWatch the negative sign on −y\ypart{-y} when solving 3−y=0\xpart{3} \ypart{- y} = \total{0}; losing the negative sign gives (1,−3)(1, -3) instead of (1,3)(1, 3).
3(1)−y=03−y=0y=3\displaystyle \begin{aligned} \xpart{3(1)} \ypart{- y} &= \total{0} \\ \xpart{3} \ypart{- y} &= \total{0} \\ \ypart{y} &= 3 \end{aligned}
Both intercepts are (0,0);second point: (1,3)\displaystyle \text{Both intercepts are } (0, 0); \quad \text{second point: } (1, 3)
6

Find the slope of the line 5x−2y=6\xpart{5x} \ypart{- 2y} = \total{6}.

You can't read the slope straight from Standard Form. How do you get y\ypart{y} completely by itself?

Subtract 5x\xpart{5x} from both sides(Don't use the number in front of xx right away and say the slope is 55. First get y\ypart{y} by itself so you can read the slope from the coefficient of xx.)
−2y\displaystyle \ypart{-2y} =−5x+6\displaystyle = \xpart{-5x} + \total{6}
Divide every term by −2\operation{-2}Dividing −5\xpart{-5} by −2\operation{-2} makes the fraction positive; forgetting that a negative divided by a negative is positive (or dropping the minus sign on −2y\ypart{-2y}) gives a wrong slope of −52-\frac{5}{2}.
−2y−2=−5x−2+6−2y=52x−3\displaystyle \begin{aligned} \frac{\ypart{-2y}}{\operation{-2}} &= \frac{\xpart{-5x}}{\operation{-2}} + \frac{\total{6}}{\operation{-2}} \\ y &= \slope{\frac{5}{2}}x \ypart{- 3} \end{aligned}
52\displaystyle \frac{5}{2}
7

Rewrite y=34x+2\ypart{y} = \xpart{\frac{3}{4}x} + \total{2} in Standard Form.

Move the x\xpart{x} term to the left side first, then look at the denominator of the fraction and the sign in front of x\xpart{x}.

Subtract 34x\xpart{\frac{3}{4}x} from both sides
−34x+y\displaystyle \xpart{-\frac{3}{4}x} + \ypart{y} =2\displaystyle = \total{2}
Multiply every term by 4\operation{4}Make sure to multiply y\ypart{y} and 2\total{2} by 4\operation{4} as well. Only multiplying the fraction leaves −3x+y=2-3x + y = 2 (which becomes 3x−y=−23x - y = -2).
−3x+4y\displaystyle \xpart{-3x} + \ypart{4y} =8\displaystyle = \total{8}
Multiply every term by −1\operation{-1}Flip the sign of every term on both sides so the x\xpart{x} term is positive (forgetting to flip the sign on the right side leaves +8+8 and gives 3x−4y=83x - 4y = 8).
3x−4y\displaystyle 3x - 4y =−8\displaystyle = -8