girgit.org

Straight Lines

Where is a point? A recap of coordinate geometry

The big ideaTwo numbers, \( (x, y) \), pin down any point on a flat sheet, and with them we can measure distances, find middles and work out areas using only arithmetic.

In simple words

Draw one line across the page and one line up the page, crossing in the middle. Now any dot on the page can be found with two numbers: how far across, and how far up. Once every dot has two numbers, you can find how far apart two dots are, or the dot exactly halfway between them, just by adding, taking away and multiplying. You never need a ruler.

Shapes turned into numbers

In 1637 the French thinker René Descartes published a book, La Géométrie, that did something new: it described lines and curves with equations. Geometry (shapes) and algebra (equations) became one subject. Today we call it coordinate geometry, or analytical geometry: studying shapes by giving every point a pair of numbers.

You met the basics in Class 9 and 10. Two number lines cross at right angles at a point O, the origin. The across line is the x-axis, the up line is the y-axis, and together they make the coordinate plane (the XY-plane). A point is written \( (x, y) \): \( x \) says how far it is to the right of the y-axis (negative means left), and \( y \) says how far it is above the x-axis (negative means below).

So the point \( (5, -2) \) is 5 units to the right of the y-axis and 2 units below the x-axis. The point \( (-4, 0) \) is 4 units to the left of the y-axis and sits right on the x-axis, because its height is zero.

Four formulas to carry forward

This chapter uses four results from earlier classes again and again. For points \( P(x_1, y_1) \) and \( Q(x_2, y_2) \):

  1. Distance formula. \[ PQ = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2} \] It is Pythagoras: the across gap and the up gap are the two short sides of a right triangle, and PQ is the long side.
  2. Section formula. The point that divides PQ internally in the ratio \( m : n \) (so it is \( m \) parts from P and \( n \) parts from Q) is \[ \left( \frac{m x_2 + n x_1}{m + n},\ \frac{m y_2 + n y_1}{m + n} \right) \]
  3. Mid-point formula. When \( m = n \), the dividing point is the middle: \[ \left( \frac{x_1 + x_2}{2},\ \frac{y_1 + y_2}{2} \right) \]
  4. Area of a triangle with corners \( (x_1, y_1) \), \( (x_2, y_2) \), \( (x_3, y_3) \): \[ \text{Area} = \frac{1}{2} \left| x_1 (y_2 - y_3) + x_2 (y_3 - y_1) + x_3 (y_1 - y_2) \right| \] The bars mean "take the value without its sign", because an area cannot be negative.

Try it: drag the two points, change the ratio, and watch the run, the rise and the dividing point update together.

Worked example

Take the points \( A(2, 1) \) and \( B(8, 10) \).

  1. Distance: \( AB = \sqrt{6^2 + 9^2} = \sqrt{117} = 3\sqrt{13} \approx 10.8 \) units.
  2. The point dividing AB in the ratio \( 1 : 2 \): \( x = \frac{1 \times 8 + 2 \times 2}{3} = 4 \), \( y = \frac{1 \times 10 + 2 \times 1}{3} = 4 \). So \( (4, 4) \), one third of the way from A to B.
  3. Mid-point: \( \left( \frac{2 + 8}{2}, \frac{1 + 10}{2} \right) = (5, 5.5) \).

Worked example: an area

Find the area of the triangle with corners \( (1, 1) \), \( (5, 1) \) and \( (1, 4) \).

  1. \( \frac{1}{2} \left| 1(1 - 4) + 5(4 - 1) + 1(1 - 1) \right| = \frac{1}{2} \left| -3 + 15 + 0 \right| = 6 \) square units.
  2. Check by picture: the corners make a right triangle whose flat side runs 4 units along \( y = 1 \) and whose upright side rises 3 units along \( x = 1 \). Half of 4 times 3 is 6.

When the area is zero

If the area formula gives 0 for three points, there is no triangle at all: the three points lie on one straight line. Such points are called collinear. For example, \( (1, 1) \), \( (3, 5) \) and \( (4, 7) \): \( \frac{1}{2} \left| 1(5 - 7) + 3(7 - 1) + 4(1 - 5) \right| = \frac{1}{2} \left| -2 + 18 - 16 \right| = 0 \). They are collinear. In the next pages you will see a quicker test using slopes.

Try it: put the three points of this example on the grid, then pull one corner off the line and watch the area grow from zero.

This chapter is about the simplest figure of all, the straight line, and how to describe it with an equation. The key to it is a single number called the slope.

Try it. (a) Find the distance between \( (2, -1) \) and \( (-3, 11) \). (b) Find the mid-point of the same two points. (c) Find the area of the triangle with corners \( (0, 0) \), \( (6, 0) \) and \( (2, 5) \).

Answer
(a) \( \sqrt{(-5)^2 + 12^2} = \sqrt{169} = 13 \). (b) \( \left( -\frac{1}{2}, 5 \right) \). (c) \( \frac{1}{2} \left| 0 + 6(5 - 0) + 2(0 - 0) \right| = 15 \) square units: a base of 6 along the x-axis and a height of 5.

Words to know

Coordinate geometry
Studying shapes by giving each point a pair of numbers; also called analytical geometry.
Origin
The point \( (0, 0) \) where the two axes cross.
Coordinates
The pair \( (x, y) \): how far right of the y-axis, and how far above the x-axis.
Section formula
Gives the point dividing a segment in a given ratio \( m : n \).
Collinear
Lying on one straight line; for three points, the triangle they make has zero area.

Where is the point \( (0, -3) \)?

  1. On the x-axis, 3 units left of O
  2. On the y-axis, 3 units below O
  3. 3 units from both axes

For three points, the area formula gives 0. What does that tell you?

  1. You made a mistake: areas are never zero
  2. The three points are collinear
  3. The triangle has a right angle

What is the distance from the origin to \( (6, 8) \)?

  1. 14
  2. 10
  3. 100