Junior Cycle Mathematics17.6 The general form ax + by + c = 0

All books

17.6 The general form ax + by + c = 0 — Learn

Prerequisites: the equation of a line from Section 17.5, and rearranging a formula from Section 13.2.

Objectives: write a line in the form ax+by+c=0ax+by+c=0; change between the general form and y=mx+cy=mx+c; read the slope and the intercepts from the general form; test whether a point lies on a line.

By the end of this section, you can work with a line in any of its forms.

The general form

A straight line can be written with all its terms on one side.

ax+by+c=0ax + by + c = 0

Here aa, bb and cc are numbers, and aa and bb are not both 0. This is called the general form of the equation of a line.

Every line has a general form, including vertical lines. A vertical line has b=0b=0, so the yy term disappears. For example, x−3=0x-3=0 is the vertical line x=3x=3.

Example 1. Write the line y=3x+2y=3x+2 in general form.

Move every term to the left. Subtract yy from both sides.

0=3x−y+20 = 3x - y + 2

The general form is 3x−y+2=03x-y+2=0.

Example 2. Write the line y=−2x+4y=-2x+4 in general form.

Add 2x2x to both sides and subtract 4.

2x+y−4=02x + y - 4 = 0

Changing back to y = mx + c

To find the slope and the intercept, rearrange the general form so that yy is on its own.

Example 3. Write 2x+3y−6=02x+3y-6=0 in the form y=mx+cy=mx+c.

Move the xx term and the constant to the right.

3y=6−2x3y = 6 - 2x

Divide every term by 3.

y=2−23xy = 2 - \frac{2}{3}x

The slope is −23-\tfrac{2}{3} and the intercept is 2.

Reading the slope and intercepts

When bb is not 0, the slope and the yy-intercept can be read straight from the general form.

slope=−aby-intercept=−cb\text{slope} = -\frac{a}{b} \qquad \text{$y$-intercept} = -\frac{c}{b}

The xx-intercept is found by setting y=0y=0, which gives x=−cax=-\frac{c}{a}.

Example 4. Find the slope of the line 4x−2y+6=04x-2y+6=0.

Use the slope rule with a=4a=4 and b=−2b=-2.

−ab=−4−2=2-\frac{a}{b} = -\frac{4}{-2} = 2

The slope is 2. Check by rearranging: 2y=4x+62y=4x+6, so y=2x+3y=2x+3.

Example 5. Find the yy-intercept of the line 3x+4y−12=03x+4y-12=0.

Set x=0x=0, because the yy-axis is the line x=0x=0.

4y−12=04y - 12 = 0 4y=12y=34y = 12 \qquad y = 3

The yy-intercept is 3. The line crosses the yy-axis at (0,3)(0,3).

Example 6. Find the xx-intercept of the line 5x+2y−10=05x+2y-10=0.

Set y=0y=0, because the xx-axis is the line y=0y=0.

5x−10=05x - 10 = 0 5x=10x=25x = 10 \qquad x = 2

The xx-intercept is 2. The line crosses the xx-axis at (2,0)(2,0).

Testing a point

A point lies on a line when substituting its coordinates makes the left-hand side equal to 0.

Example 7. Does the point (2,3)(2,3) lie on the line 2x+y−7=02x+y-7=0?

Substitute x=2x=2 and y=3y=3.

2×2+3−7=4+3−7=02 \times 2 + 3 - 7 = 4 + 3 - 7 = 0

The result is 0, so the point lies on the line.

Clearing a fraction

When a line has a fractional slope, multiply every term by the denominator to get whole-number coefficients.

Example 8. Write y=12x+3y=\tfrac{1}{2}x+3 in general form with whole-number coefficients.

Multiply every term by 2.

2y=x+62y = x + 6

Move every term to the left.

x−2y+6=0x - 2y + 6 = 0

Watch out

The sign of the constant is the trap.

A second trap is a line with b=0b=0. The line x−3=0x-3=0 is vertical, so it has no yy-intercept and no slope in the form y=mx+cy=mx+c.

Progress check

Return to the chapter problem. The main path is y=34x+54y=\tfrac{3}{4}x+\tfrac{5}{4}.

  1. Write the main path in general form with whole-number coefficients.
  2. Check that the gate G(1,2)G(1,2) lies on your line.
  3. Check that the kiosk K(9,8)K(9,8) lies on your line.

In Section 17.7 you will read a straight-line graph in a real situation.

You should now be able to

Settings

Colour scheme

Light or dark pages. Your colour and layout stay the same.

Colour

The paper, ink and lettering. Your layout stays the same.

Quiet colours
Bold colours
Layout

How pages are arranged. Your colours stay the same.

Reading offline

Keep this book on this device and read it offline.