girgit.org

Straight Lines

Intercept form and the general equation Ax + By + C = 0

The big ideaA line that cuts the axes at \( a \) and \( b \) is \( \dfrac{x}{a} + \dfrac{y}{b} = 1 \); and every line can be written as \( Ax + By + C = 0 \), from which slope and intercepts follow.

In simple words

A line usually crosses both axes, once each. If you know those two crossing places, you already know the line. And however you first wrote a line down, you can tidy it into one standard shape: some number times \( x \), plus some number times \( y \), plus a number, equals zero. From that shape you can read off everything else.

Intercept form

Suppose a line cuts the x-axis at \( (a, 0) \) and the y-axis at \( (0, b) \), so its x-intercept is \( a \) and its y-intercept is \( b \). Picture the line slicing off a right triangle in the corner of the axes, with legs \( a \) along the x-axis and \( b \) up the y-axis. Using the two-point form with these points:

\[ y - 0 = \frac{b - 0}{0 - a}(x - a) \quad \Rightarrow \quad ay = -bx + ab \quad \Rightarrow \quad bx + ay = ab \]

Divide by \( ab \) (both non-zero):

Intercept form

  • \( \dfrac{x}{a} + \dfrac{y}{b} = 1 \): the line with x-intercept \( a \) and y-intercept \( b \).

Check: putting \( y = 0 \) gives \( x = a \), and putting \( x = 0 \) gives \( y = b \). The slope is \( -\frac{b}{a} \).

Try it: slide the two crossing points along the axes and watch the equation, the slope and the corner triangle.

Worked example 1

Find the line with x-intercept 4 and y-intercept \( -3 \).

  1. \( \frac{x}{4} + \frac{y}{-3} = 1 \), that is \( \frac{x}{4} - \frac{y}{3} = 1 \).
  2. Multiply by 12: \( 3x - 4y = 12 \), so \( 3x - 4y - 12 = 0 \).

Worked example 2: the ladder as a line

A 5 m ladder stands with its foot 3 m from a wall and its top 4 m up the wall. Take the floor as the x-axis and the wall as the y-axis. What is the equation of the line along the ladder?

  1. The ladder touches the floor at \( (3, 0) \) and the wall at \( (0, 4) \): intercepts 3 and 4.
  2. \( \frac{x}{3} + \frac{y}{4} = 1 \), or \( 4x + 3y = 12 \).
  3. Its slope is \( -\frac{4}{3} \): it falls as you move away from the wall, rising 4 m over 3 m of floor.

Worked example 3: equal intercepts

Find the line through \( (3, 5) \) that cuts off equal intercepts on the two axes.

  1. Let both intercepts be \( a \): \( \frac{x}{a} + \frac{y}{a} = 1 \), so \( x + y = a \).
  2. It passes through \( (3, 5) \): \( a = 3 + 5 = 8 \). The line is \( x + y = 8 \).

A sharp JEE point: the line through \( (3, 5) \) and the origin, \( 5x - 3y = 0 \), has both intercepts equal to 0. Questions sometimes count it too; the intercept form cannot be used for it because you cannot divide by \( a = 0 \).

The general equation of a line

Every form we have met can be rearranged into

\[ Ax + By + C = 0, \qquad A \text{ and } B \text{ not both zero} \]

This is called the general linear equation, or the general equation of a line. "Linear" means \( x \) and \( y \) appear only to the first power: no \( x^2 \), no \( xy \). (If \( A \) and \( B \) were both 0 there would be no \( x \) or \( y \) left, and no line.)

From the general form you can get back every other form:

What you wantFrom \( Ax + By + C = 0 \)Needs
Slope-intercept form\( y = -\frac{A}{B}x - \frac{C}{B} \)\( B \ne 0 \)
Slope\( m = -\frac{A}{B} \), "minus coefficient of \( x \) over coefficient of \( y \)"\( B \ne 0 \)
y-intercept\( -\frac{C}{B} \)\( B \ne 0 \)
x-intercept\( -\frac{C}{A} \)\( A \ne 0 \)
Intercept form\( \frac{x}{-C/A} + \frac{y}{-C/B} = 1 \)\( A, B, C \) all \( \ne 0 \)

The special cases: if \( B = 0 \), the line is vertical, \( x = -\frac{C}{A} \). If \( A = 0 \), it is horizontal, \( y = -\frac{C}{B} \). If \( C = 0 \), it passes through the origin.

Try it: change the three numbers of the general equation and read the line off it.

Worked example 4

For \( 2x - 5y + 10 = 0 \), find the slope, both intercepts, and the intercept form.

  1. Solve for \( y \): \( 5y = 2x + 10 \), so \( y = \frac{2}{5}x + 2 \). Slope \( \frac{2}{5} \), y-intercept 2.
  2. x-intercept: put \( y = 0 \): \( 2x = -10 \), so \( x = -5 \).
  3. Intercept form: \( \frac{x}{-5} + \frac{y}{2} = 1 \). (Check: \( \frac{2x}{-10} + \frac{5y}{10} = 1 \) times \( -10 \) gives \( 2x - 5y = -10 \).)

Try it. (a) Write \( 3x + 4y - 12 = 0 \) in slope-intercept and intercept forms. (b) Find the slope of \( 8x + 2y - 3 = 0 \). (c) What kind of line is \( 5y - 3 = 0 \)?

Answer
(a) \( y = -\frac{3}{4}x + 3 \) (slope \( -\frac{3}{4} \), y-intercept 3); \( \frac{x}{4} + \frac{y}{3} = 1 \). (b) \( m = -\frac{8}{2} = -4 \). (c) \( A = 0 \): it is the horizontal line \( y = \frac{3}{5} \), with slope 0 and no x-intercept.

Words to know

Intercept form
\( \frac{x}{a} + \frac{y}{b} = 1 \), using the two places the line crosses the axes.
Intercepts
The x- and y-values where the line cuts the axes.
General equation of a line
\( Ax + By + C = 0 \), with \( A \) and \( B \) not both zero.
Linear equation
An equation where \( x \) and \( y \) appear only to the first power; its graph is a straight line.
Coefficient
The number multiplying a variable: in \( 2x - 5y \), the coefficient of \( y \) is \( -5 \).

What are the intercepts of \( \frac{x}{6} - \frac{y}{2} = 1 \)?

  1. 6 and 2
  2. 6 and \( -2 \)
  3. \( \frac{1}{6} \) and \( -\frac{1}{2} \)

What is the slope of \( 4x - 2y + 7 = 0 \)?

  1. \( -2 \)
  2. 2
  3. \( \frac{1}{2} \)

In \( Ax + By + C = 0 \), what does \( B = 0 \) tell you?

  1. The line is vertical
  2. The line is horizontal
  3. The line passes through the origin