The Cartesian plane assigns to each point P a pair (x,y) , the coordinates. Every geometric quantity (distance, midpoint, slope) becomes an algebraic computation on these coordinates. This subtopic introduces the three workhorses you will use in every later subtopic.
Definitions
Distance between P(x1,y1) and Q(x2,y2):
∣PQ∣=(x2−x1)2+(y2−y1)2.
This is just the Pythagorean theorem applied to the right triangle with horizontal leg ∣x2−x1∣ and vertical leg ∣y2−y1∣.
Section formula (internal division). If R divides PQ internally in the ratio m:n, then
R=(m+nmx2+nx1,m+nmy2+ny1).
External division. If R divides PQ externally in the ratio m:n (so R lies outside segment PQ), replace n by −n:
R=(m−nmx2−nx1,m−nmy2−ny1).
Midpoint (special case m=n=1):
M=(2x1+x2,2y1+y2).
Slope of a line through P(x1,y1) and Q(x2,y2) (with x1=x2):
m=x2−x1y2−y1.
If x1=x2, the line is vertical and slope is undefined (sometimes said to be "infinite").
Geometric meaning of slope
The slope is the tangent of the angle θ that the line makes with the positive x-axis (measured counter-clockwise): m=tanθ. A line going up from left to right has positive slope; going down has negative slope; horizontal has slope 0.
Parallel lines have equal slopes. Perpendicular lines have slopes whose product is −1 (provided neither is vertical).
Worked examples
Example 1. Distance between (3,4) and (−1,2).
(3−(−1))2+(4−2)2=16+4=20=25.
Example 2. Find the point dividing the segment from (1,2) to (7,11) in the ratio 2:1 internally.
R=(32⋅7+1⋅1,32⋅11+1⋅2)=(315,324)=(5,8).
Example 3. Midpoint of (−2,5) and (4,−3).
M=(2−2+4,25+(−3))=(1,1).
Example 4. Slope of the line through (2,3) and (5,9).
m=5−29−3=36=2.
Example 5. Show that (1,2), (4,5), (7,8) are collinear.
Slope (1,2)→(4,5): 4−15−2=1. Slope (4,5)→(7,8): 7−48−5=1. Same slope, common point , collinear.
Try it yourself
Distance between (0,0) and (6,8).
Distance between (−5,3) and (7,−2).
Find R dividing A(2,−3) and B(8,9) in ratio 1:2 internally.
Find R dividing A(1,4) and B(7,−2) externally in ratio 3:1.
Midpoint of (p,q) and (p+4,q−6).
Slope of the line joining (−3,5) and (4,−2).
If three points A,B,C have slopes of AB and BC equal, what can you conclude?
Find the coordinates of the points that trisect the segment from (1,1) to (7,13).
Are the points (−2,1),(3,3),(8,5) collinear?
Find x such that the slope of the line through (x,4) and (1,2) is 3.
Show that the points A(1,1), B(4,5), C(8,8) form a right triangle.
Find the length of the median from A(2,5) to side BC where B=(4,7) and C=(−2,3).
Pitfalls / Tricks
For a vertical line (x1=x2), slope is undefined , not zero.
The section formula gives the coordinates with the same orientation as P to Q. Be careful which point is which.
For external division, the formula has a minus sign.
Insight. Every geometric question , collinearity, perpendicularity, midpoint, division , has a one-line algebraic test. Knowing those tests is half the chapter.