This les­son sets up the basic lan­guage of coor­di­nate geom­e­try: where a point lies, the incli­na­tion and slope of a line, and the dis­tance between two points.

Posi­tion of a point

Let P(x,y)P(x, y) be a point in the plane.

  1. The dis­tance from PP to the x-axis is ∣y∣|y|, and the dis­tance from PP to the y-axis is ∣x∣|x|.
  2. PP is in the first quad­rant if x>0,y>0x > 0, y > 0; sec­ond if x<0,y>0x < 0, y > 0; third if x<0,y<0x < 0, y < 0; fourth if x>0,y<0x > 0, y < 0.
  3. PP is the ori­gin if x=0x = 0 and y=0y = 0.
  4. PP lies on the pos­i­tive x-axis if x>0,y=0x > 0, y = 0, on the neg­a­tive x-axis if x<0,y=0x < 0, y = 0, and on the x-axis if y=0y = 0 (x∈Rx \in \mathbb{R}).
  5. PP lies on the pos­i­tive y-axis if y>0,x=0y > 0, x = 0, on the neg­a­tive y-axis if y<0,x=0y < 0, x = 0, and on the y-axis if x=0x = 0 (y∈Ry \in \mathbb{R}).

So any point on the x-axis has the form (x,0)(x, 0) and any point on the y-axis has the form (0,y)(0, y). On a hor­i­zon­tal line all points have the same y-coor­di­nate; on a ver­ti­cal line all points have the same x-coor­di­nate.

Incli­na­tion of a line

If a line makes an angle θ\theta with the pos­i­tive direc­tion of the x-axis, mea­sured anti­clock­wise, then θ\theta is called the incli­na­tion of the line. It always sat­is­fies 0≤θ<π0 \le \theta < \pi. For a line ris­ing to the right, θ\theta is acute; for a line falling to the right, θ\theta is obtuse.

For exam­ple, if a line makes an angle of 135∘135^\circ with the x-axis mea­sured clock­wise from the pos­i­tive direc­tion, then mea­sured anti­clock­wise it makes 180∘−135∘=45∘180^\circ - 135^\circ = 45^\circ, so its incli­na­tion is 45∘45^\circ.

Slope of a line

If θ\theta is the incli­na­tion of a line, then tan⁡θ\tan\theta is called its slope, writ­ten mm.

  1. The x-axis and every hor­i­zon­tal line have slope 00 (θ=0\theta = 0).
  2. The y-axis and every ver­ti­cal line have unde­fined slope (θ=90∘\theta = 90^\circ).
  3. 0∘<θ<90∘  ⟺  m>00^\circ < \theta < 90^\circ \iff m > 0, and 90∘<θ<180∘  ⟺  m<090^\circ < \theta < 180^\circ \iff m < 0.
  4. θ=0∘  ⟺  m=0\theta = 0^\circ \iff m = 0, and θ=90∘  ⟺  m\theta = 90^\circ \iff m is unde­fined.
  5. The slope of the line through A(x1,y1)A(x_1, y_1) and B(x2,y2)B(x_2, y_2) is

m=y1−y2x1−x2=y2−y1x2−x1.\displaystyle m = \frac{y_1 - y_2}{x_1 - x_2} = \frac{y_2 - y_1}{x_2 - x_1}.

  1. Two non-ver­ti­cal lines are par­al­lel if and only if their slopes are equal.
  2. Two non-ver­ti­cal lines are per­pen­dic­u­lar if and only if the prod­uct of their slopes is −1-1. So if a line has slope m≠0m \ne 0, any line per­pen­dic­u­lar to it has slope −1m\displaystyle -\dfrac{1}{m}.

Dis­tance between two points

The dis­tance between A(x1,y1)A(x_1, y_1) and B(x2,y2)B(x_2, y_2) is

AB=(x2−x1)2+(y2−y1)2,AB = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2},

which is Pythago­ras' the­o­rem on the right tri­an­gle with legs ∣x2−x1∣|x_2 - x_1| and ∣y2−y1∣|y_2 - y_1|. In par­tic­u­lar the dis­tance of P(x,y)P(x, y) from the ori­gin is OP=x2+y2OP = \sqrt{x^2 + y^2}, and:

  1. A(x1,0)A(x_1, 0) and B(x2,0)B(x_2, 0) are ∣x2−x1∣|x_2 - x_1| apart.
  2. A(x1,y1)A(x_1, y_1) and B(x2,y1)B(x_2, y_1) (same height) are ∣x2−x1∣|x_2 - x_1| apart.
  3. A(0,y1)A(0, y_1) and B(0,y2)B(0, y_2) are ∣y2−y1∣|y_2 - y_1| apart.
  4. A(x1,y1)A(x_1, y_1) and B(x1,y2)B(x_1, y_2) (same ver­ti­cal line) are ∣y1−y2∣|y_1 - y_2| apart.

Exam­ple 1

Find the slope and incli­na­tion of the line through (2,3)(2, 3) and (5,9)(5, 9).

m=9−35−2=2,\displaystyle m = \frac{9 - 3}{5 - 2} = 2,

so the incli­na­tion is θ=tan⁡−12\theta = \tan^{-1}2, an acute angle.

Exam­ple 2

A line has slope −1-1. Find its incli­na­tion.

tan⁡θ=−1\tan\theta = -1 with 0≤θ<π0 \le \theta < \pi gives θ=135∘\theta = 135^\circ.

Exam­ple 3

Find the dis­tance between (1,2)(1, 2) and (4,6)(4, 6).

(4−1)2+(6−2)2=9+16=5\sqrt{(4 - 1)^2 + (6 - 2)^2} = \sqrt{9 + 16} = 5

Prac­tice

  1. In which quad­rant is (−3,5)(-3, 5)?
  2. Find the dis­tances of (−3,5)(-3, 5) from the x-axis and from the y-axis.
  3. Find the slope of the line through (1,−2)(1, -2) and (4,7)(4, 7).
  4. Find the incli­na­tion of a line with slope 3\sqrt{3}.
  5. Find the slope of a line per­pen­dic­u­lar to a line of slope 23\displaystyle \dfrac{2}{3}.
  6. Find the dis­tance between (−2,3)(-2, 3) and (4,−5)(4, -5).
  7. Is the line through (1,1)(1, 1) and (3,5)(3, 5) par­al­lel to the line through (0,2)(0, 2) and (2,6)(2, 6)?
  8. Find kk if the dis­tance between (k,3)(k, 3) and (1,−1)(1, -1) is 55.

Answers

Show answers
  1. The sec­ond quad­rant
  2. 55 from the x-axis and 33 from the y-axis
  3. 7+24−1=3\displaystyle \dfrac{7 + 2}{4 - 1} = 3
  4. 60∘60^\circ
  5. −32\displaystyle -\dfrac{3}{2}
  6. 36+64=10\sqrt{36 + 64} = 10
  7. Yes: both slopes are 22
  8. (k−1)2+16=25(k - 1)^2 + 16 = 25, so k−1=±3k - 1 = \pm 3 and k=4k = 4 or k=−2k = -2