Student Lab | Class 1: Co-ordinate Geometry

The Big Three, Perpendicularity, and Parameter Proofs.

Gradient & Midpoint

Every line segment connecting $A(x_1, y_1)$ and $B(x_2, y_2)$ forms a right-angled triangle. The formulas are simply describing the horizontal and vertical changes.

A (x₁, y₁) B (x₂, y₂) M Run = x₂ - x₁ Rise = y₂ - y₁

Gradient ($m$)

Rate of Change

$$ m = \frac{y_2 - y_1}{x_2 - x_1} $$

Calculates the steepness. Rise over Run.

Midpoint ($M$)

The Average

$$ M = \left( \frac{x_1 + x_2}{2}, \frac{y_1 + y_2}{2} \right) $$

Finds the exact center by averaging the coordinates.

Scholarship Proof: Varignon's Theorem

Varignon's Theorem states that connecting the midpoints of any quadrilateral forms a perfect parallelogram. Let's prove the first half: showing that the line connecting the midpoints of AB and BC is exactly parallel to the diagonal AC.

A(2,2) B(4,8) C(10,6) D(8,0) Diag AC P Q

Step 1: Find Midpoint P of side AB.

P = ( , ) Incorrect ( attempts left) Ans: (3, 5)

Step 2: Find Midpoint Q of side BC.

Q = ( , ) Incorrect ( left) Ans: (7, 7)

Step 3: Calculate Gradient of PQ.

$m_{PQ} =$ Incorrect ( left) Ans: 0.5

Step 4: Calculate Gradient of Diagonal AC.

$m_{AC} =$ Incorrect ( left) Ans: 0.5
Since $m_{PQ} = m_{AC}$, the lines are parallel. Proof complete!

Distance Formula

The distance formula is not a new concept—it is literally just Pythagoras' Theorem ($a^2 + b^2 = c^2$) applied to the coordinate plane.

d = √(a² + b²) a = (x₂ - x₁) b = (y₂ - y₁)

Distance ($d$)

$$ d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2} $$

Data Science: 5D Audience Clustering

In machine learning, algorithms group similar users together by calculating the distance between them in high-dimensional space. The math is the same, we just add more brackets! Calculate the squared distance ($d^2$) between these 3 users based on their daily social media hours to find out who should receive the same targeted ads.

User Facebook Instagram TikTok YouTube X (Twitter)
User A 1 hr2 hrs3 hrs0 hrs1 hr
User B 2 hrs2 hrs1 hr1 hr1 hr
User C 1 hr5 hrs3 hrs0 hrs1 hr

Step 1: Calculate $d^2$ between User A and User B.

Hint: $(2-1)^2 + (2-2)^2 + (1-3)^2 + \dots$

$d^2_{AB} =$ Incorrect ( left) Ans: 6

Step 2: Calculate $d^2$ between User A and User C.

$d^2_{AC} =$ Incorrect ( left) Ans: 9

Step 3: Calculate $d^2$ between User B and User C.

$d^2_{BC} =$ Incorrect ( left) Ans: 15

Step 4: Conclusion. Which two users are closest together?

Incorrect ( left) Ans: User A & B

The Perpendicular Rule

If two lines intersect at exactly 90°, their gradients are negative reciprocals of each other. If you flip the fraction and change the sign, you have the perpendicular gradient.

m₁ = 2 m₂ = -½

The Golden Rule

$$ m_1 \times m_2 = -1 $$

Or rearranged: $m_2 = -\frac{1}{m_1}$

Concrete Example: Verify the Rule

Let's prove this rule works using two intersecting line segments.

Line 1

Passes through $A(1, 1)$ and $B(2, 3)$.

$m_1 = \frac{3 - 1}{2 - 1} = \frac{2}{1} = 2$

Line 2

Passes through $C(0, 3)$ and $D(4, 1)$.

$m_2 = \frac{1 - 3}{4 - 0} = \frac{-2}{4} = -0.5$

Check the perpendicular rule:

$2 \times -0.5 = -1$

The rule holds true!

Parameter Problems

In Scholarship and Excellence-level questions, you aren't asked to find the distance. You are given the distance, but one coordinate is an unknown parameter (like $k$). This requires algebraic solving.

Excellence Walkthrough

"The distance between the points $A(-1, 4)$ and $B(2, k)$ is exactly 5. Find the possible values of $k$."

1. Set up the Distance Formula:

$$ 5 = \sqrt{(2 - (-1))^2 + (k - 4)^2} $$

2. Square both sides to remove the root:

$$ 25 = (3)^2 + (k - 4)^2 $$

$$ 25 = 9 + (k - 4)^2 $$

3. Isolate the algebraic bracket:

$$ 16 = (k - 4)^2 $$

4. Square root both sides (Remember $\pm$!):

$$ \pm 4 = k - 4 $$

5. Solve the two separate equations:

$k = 4 + 4 \implies k = 8$

$k = 4 - 4 \implies k = 0$