A line can be described by where it crosses the axes. Two such descrip­tions are espe­cially use­ful: the slope-inter­cept form, which shows the slope and the point where the line cuts the yy-axis, and the inter­cept form, which shows where it cuts both axes. Each form makes cer­tain ques­tions very quick, so it pays to be able to move between them.

Inter­cepts

If a line cuts the xx-axis at (a,0)(a, 0), the num­ber aa is called its xx-inter­cept. If it cuts the yy-axis at (0,b)(0, b), the num­ber bb is its yy-inter­cept. Inter­cepts can be pos­i­tive, neg­a­tive or zero; they are num­bers, not dis­tances.

To find the inter­cepts from an equa­tion: put y=0y = 0 to get the xx-inter­cept, and x=0x = 0 to get the yy-inter­cept.

Slope-inter­cept form

Result. The line with slope mm and yy-inter­cept cc is

y=mx+cy = mx + c

Why. The line passes through (0,c)(0, c) with slope mm. By the point-slope form, y−c=m(x−0)y - c = m(x - 0), that is, y=mx+cy = mx + c.

In this form you can read off the slope and the yy-inter­cept at once: they are the coef­fi­cient of xx and the con­stant term, once the equa­tion has been solved for yy.

A line through the ori­gin has c=0c = 0, so its equa­tion is y=mxy = mx.

Exam­ple 1

Find the line with slope 33 and yy-inter­cept −2-2.

y=3x−2y = 3x - 2, or 3x−y−2=03x - y - 2 = 0.

Exam­ple 2

Find the slope and the yy-inter­cept of 4x+2y−6=04x + 2y - 6 = 0.

Solve for yy: 2y=−4x+62y = -4x + 6, so y=−2x+3y = -2x + 3. The slope is −2-2 and the yy-inter­cept is 33.

Exam­ple 3

Find the line with yy-inter­cept −3-3 that is par­al­lel to 2x−y+7=02x - y + 7 = 0.

The given line is y=2x+7y = 2x + 7, with slope 22. A par­al­lel line has the same slope, so the required line is y=2x−3y = 2x - 3.

Inter­cept form

Result. The line with xx-inter­cept aa and yy-inter­cept bb (both non-zero) is

xa+yb=1\displaystyle \frac{x}{a} + \frac{y}{b} = 1

Why. The line passes through (a,0)(a, 0) and (0,b)(0, b), so its slope is b−00−a=−ba\displaystyle \frac{b - 0}{0 - a} = -\frac{b}{a}, and by the slope-inter­cept form y=−bax+b\displaystyle y = -\frac{b}{a}x + b. Divide by bb and rearrange: yb=−xa+1\displaystyle \frac{y}{b} = -\frac{x}{a} + 1, that is, xa+yb=1\displaystyle \frac{x}{a} + \frac{y}{b} = 1.

Check: putting y=0y = 0 gives x=ax = a, and putting x=0x = 0 gives y=by = b.

Area cut off. The line and the two axes enclose a right tri­an­gle with legs of lengths ∣a∣|a| and ∣b∣|b|, so its area is 12∣ab∣\displaystyle \frac{1}{2}|ab|.

Exam­ple 4

Write 3x+4y=123x + 4y = 12 in inter­cept form, and find the area of the tri­an­gle it makes with the axes.

Divide by 1212: 3x12+4y12=1\displaystyle \frac{3x}{12} + \frac{4y}{12} = 1, that is,

x4+y3=1\displaystyle \frac{x}{4} + \frac{y}{3} = 1

The inter­cepts are 44 and 33, and the area is 12×4×3=6\displaystyle \frac{1}{2} \times 4 \times 3 = 6 square units.

Exam­ple 5

Find the line through (2,3)(2, 3) whose inter­cepts on the axes are equal.

Let both inter­cepts be aa: xa+ya=1\displaystyle \frac{x}{a} + \frac{y}{a} = 1, that is, x+y=ax + y = a. Since (2,3)(2, 3) is on the line, a=2+3=5a = 2 + 3 = 5. The line is x+y=5x + y = 5.

Exam­ple 6

The point (3,2)(3, 2) is the mid­point of the part of a line cut off between the axes. Find the line.

Let the line meet the axes at (a,0)(a, 0) and (0,b)(0, b). Their mid­point is (a2,b2)=(3,2)\displaystyle \left(\frac{a}{2}, \frac{b}{2}\right) = (3, 2), so a=6a = 6 and b=4b = 4. The line is

x6+y4=1,that is,2x+3y=12\displaystyle \frac{x}{6} + \frac{y}{4} = 1, \quad \text{that is,} \quad 2x + 3y = 12

Prac­tice

  1. Find the line with slope 22 and yy-inter­cept 55.
  2. Find the line with slope −12\displaystyle -\frac{1}{2} and yy-inter­cept 33.
  3. Find the slope and yy-inter­cept of 4x−2y+6=04x - 2y + 6 = 0.
  4. Find the line whose xx-inter­cept is 33 and yy-inter­cept is −4-4.
  5. Find the inter­cepts of 5x+2y=105x + 2y = 10 and the area of the tri­an­gle it makes with the axes.
  6. Find the line through (3,4)(3, 4) with equal inter­cepts.
  7. Find the line through (2,−3)(2, -3) whose inter­cepts are equal in size but oppo­site in sign.
  8. The point (2,3)(2, 3) is the mid­point of the part of a line between the axes. Find the line.
  9. Find the line with yy-inter­cept 44 that is per­pen­dic­u­lar to x+3y−1=0x + 3y - 1 = 0.
  10. Find the inter­cepts of 3x−5y+15=03x - 5y + 15 = 0.

Answers

Show answers
  1. y=2x+5y = 2x + 5.
  2. y=−12x+3\displaystyle y = -\frac{1}{2}x + 3, that is, x+2y−6=0x + 2y - 6 = 0.
  3. 2y=4x+62y = 4x + 6 gives y=2x+3y = 2x + 3: slope 22, yy-inter­cept 33.
  4. x3+y−4=1\displaystyle \frac{x}{3} + \frac{y}{-4} = 1, that is, 4x−3y=124x - 3y = 12.
  5. x2+y5=1\displaystyle \frac{x}{2} + \frac{y}{5} = 1: inter­cepts 22 and 55; area 12×2×5=5\displaystyle \frac{1}{2} \times 2 \times 5 = 5 square units.
  6. x+y=ax + y = a with a=3+4=7a = 3 + 4 = 7: x+y=7x + y = 7.
  7. xa+y−a=1\displaystyle \frac{x}{a} + \frac{y}{-a} = 1, that is, x−y=ax - y = a, with a=2+3=5a = 2 + 3 = 5: x−y=5x - y = 5.
  8. The inter­cepts are 44 and 66: x4+y6=1\displaystyle \frac{x}{4} + \frac{y}{6} = 1, that is, 3x+2y=123x + 2y = 12.
  9. The given line has slope −13\displaystyle -\frac{1}{3}, so the per­pen­dic­u­lar slope is 33: y=3x+4y = 3x + 4.
  10. y=0y = 0 gives x=−5x = -5; x=0x = 0 gives y=3y = 3. So the xx-inter­cept is −5-5 and the yy-inter­cept is 33.