Maths Week 2: Coordinate Geometry and Straight Lines
This week, we build the bridge between algebra and geometry. Coordinate geometry allows us to represent geometric shapes using algebraic equations, providing a powerful framework for analysis and problem-solving. We will focus on the most fundamental geometric object: the straight line.
π Table of Contents
- Fundamental Concepts
- Question Pattern Analysis
- Detailed Solutions by Pattern
- Practice Exercises
- Visual Learning: Mermaid Diagrams
- Common Pitfalls & Traps
- Quick Refresher Handbook
1. Fundamental Concepts
π― The Rectangular Coordinate System
Also known as the Cartesian plane, this system uses two perpendicular axes to define the position of any point.
- Axes: The horizontal x-axis and the vertical y-axis.
- Origin: The intersection point of the axes, .
- Coordinates: A point is represented by an ordered pair .
- Key Formulas:
- Distance between two points and :
- Section Formula (Internal Division): Coordinates of a point that divides the segment joining and in the ratio .
- Midpoint Formula (a special case of section formula where m=n=1):
π The Straight Line
Slope (m)
The slope measures the βsteepnessβ or inclination of a line.
- Formula: Given two points and :
- Special Cases:
- Horizontal line: .
- Vertical line: is undefined.
Forms of Linear Equations
| Form Name | Equation | When to Use It |
|---|---|---|
| Slope-Intercept | Given slope () and y-intercept (). | |
| Point-Slope | Given slope () and one point . | |
| General Form | Often used for final answers and formulas. | |
| Two-Point Form | Given two points . |
Parallel and Perpendicular Lines
Given two lines with slopes and :
- Parallel Lines: Their slopes are equal.
- Perpendicular Lines: The product of their slopes is -1.
Distance from a Point to a Line
The shortest distance from a point to a line given in the general form is:
π Straight-Line Fit (Sum of Squared Errors)
When we try to model a set of data points with a line, the Sum of Squared Errors (SSE) measures how well the line fits the data.
- Error (Residual): For a data point and a line , the error is the vertical distance between the actual point and the line:
- SSE Formula: A smaller SSE indicates a better fit.
2. Question Pattern Analysis
From the provided Week_2_Graded_Assignment, several distinct problem patterns emerge.
π― Pattern 1: Line Intersection & Collision
- Frequency: High
- Description: Determining if and where two lines intersect. Often framed as a βcollisionβ problem between objects moving in straight lines.
- Example: Questions 1, 12, 14.
π― Pattern 2: Geometric Properties & Formulas
- Frequency: High
- Description: Using coordinate geometry formulas (section, midpoint, area) to solve problems involving geometric shapes like parallelograms and triangles.
- Example: Questions 4, 13, 16.
π― Pattern 3: Data Fitting & Sum of Squared Errors (SSE)
- Frequency: High
- Description: Calculating the SSE for a given linear model and a set of data points to evaluate the βgoodness of fitβ.
- Example: Questions 9, 18.
π― Pattern 4: Shortest Distance Problems
- Frequency: Medium
- Description: Finding the shortest distance from a point to a line, often in a real-world context like building a road to a highway.
- Example: Questions 7, 8.
π― Pattern 5: Reflection Geometry
- Frequency: Medium
- Description: Problems involving the reflection of light rays off an axis.
- Example: Question 3.
π― Pattern 6: Rate & Application Problems
- Frequency: Medium
- Description: Simple real-world scenarios that combine basic geometry with rates of change or cost analysis.
- Example: Questions 2, 6.
3. Detailed Solutions by Pattern
π― Pattern 1: Line Intersection & Collision
Example (from Graded Assignment Q12):
A bird is flying along the straight line . An aeroplane follows a path with a slope of 2 and passes through the point . Let be the collision point. Find .
Step-by-Step Solution:
-
Find the Equation for the Birdβs Path: Rearrange the given equation into the familiar form.
-
Find the Equation for the Aeroplaneβs Path: Use the point-slope form with slope and point .
-
Find the Intersection Point: The collision occurs where the paths intersect. At this point, the coordinates are the same for both lines. So, we set the expressions for equal to each other. Now, substitute into either equation to find . Using the simpler Line 2: The collision point is .
-
Calculate the Final Value:
π‘ Key Insight: A βcollisionβ is just a geometric intersection. The problem is solved by finding the equations for both paths and solving them as a system of linear equations.
π― Pattern 3: Data Fitting & Sum of Squared Errors (SSE)
Example (from Graded Assignment Q18):
Radhika fits a line to her data of expenses () vs. outings (). What is the SSE for this fit? Data: (1, 6), (3, 14), (5, 24), (7, 29), (9, 39), (11, 45).
Step-by-Step Solution:
-
Understand the Goal: We need to calculate SSE = .
-
Create a Table to organize the calculations. For each data point, calculate the predicted using the formula , then find the error, and finally square the error.
| x (outings) | y (actual) | y (predicted) = 4x+2 | Error (actual - predicted) | ErrorΒ² |
|---|---|---|---|---|
| 1 | 6 | 0 | ||
| 3 | 14 | 0 | ||
| 5 | 24 | 4 | ||
| 7 | 29 | 1 | ||
| 9 | 39 | 1 | ||
| 11 | 45 | 1 |
- Sum the Squared Errors: Add the values in the last column:
π‘ Key Insight: SSE is a measure of total error. Each deviation from the line adds to the SSE, and squaring ensures that both positive and negative errors contribute positively.
4. Practice Exercises
Exercise 1: Parallel and Perpendicular Lines
Find the equation of a line that passes through the point and is perpendicular to the line .
Hint
First, find the slope of the given line. Then, use the perpendicular condition ($m_1 \times m_2 = -1$) to find the slope of the new line. Finally, use the point-slope form.Solution
1. **Find the slope of the given line:** Rearrange $4x - 2y + 5 = 0$ to the form $y=mx+c$. $2y = 4x + 5 \implies y = 2x + 2.5$. The slope of this line, $m_1$, is 2. 2. **Find the slope of the perpendicular line:** Let the new slope be $m_2$. We have $m_1 \times m_2 = -1$. $2 \times m_2 = -1 \implies m_2 = -1/2$. 3. **Find the equation of the new line:** Use the point-slope form with $m = -1/2$ and point $(2, -3)$. $y - (-3) = -\frac{1}{2}(x - 2)$ $y + 3 = -\frac{1}{2}x + 1$ $y = -\frac{1}{2}x - 2$ **Answer:** $y = -\frac{1}{2}x - 2$ or $x + 2y + 4 = 0$.Exercise 2: Section Formula
Find the coordinates of the point that divides the line segment connecting and in the ratio .
Hint
Apply the section formula directly with $(x_1, y_1) = (-1, 7)$, $(x_2, y_2) = (4, -3)$, $m=2$, and $n=3$.Solution
Using the section formula $P(x,y) = \left( \frac{mx_2 + nx_1}{m+n}, \frac{my_2 + ny_1}{m+n} \right)$: * **x-coordinate:** $x = \frac{2(4) + 3(-1)}{2+3} = \frac{8 - 3}{5} = \frac{5}{5} = 1$ * **y-coordinate:** $y = \frac{2(-3) + 3(7)}{2+3} = \frac{-6 + 21}{5} = \frac{15}{5} = 3$ **Answer:** The coordinates of the point are $(1, 3)$.5. Visual Learning: Mermaid Diagrams
Relationship Between Line Forms
graph TD A[Given: 2 Points] --> B(Calculate Slope); A --> C[Two-Point Form]; B --> D[Point-Slope Form]; D --> E[Slope-Intercept Form]; E --> F[General Form]; C --> F;
Geometry of Reflection
sequenceDiagram participant A as Original Point A(x,y) participant B as Reflection Point on x-axis participant C as Final Point participant A_prime as Reflected Point A'(x,-y) A->>B: Incident Ray B->>C: Reflected Ray Note over A_prime, B, C: These three points are collinear!
6. Common Pitfalls & Traps
- Slope Signs: Be careful with signs when calculating slope. A common mistake is instead of . Keep the order consistent.
- Perpendicular Slope: The perpendicular slope is the negative reciprocal (e.g., if , ), not just the negative () or the reciprocal ().
- Distance Formula Absolute Value: The numerator in the point-to-line distance formula, , uses an absolute value because distance must be non-negative. Forgetting this can lead to incorrect negative distances.
- SSE Calculation: Always remember to square the error . A common slip-up is to sum the errors directly, which can lead to cancellation and an incorrect, smaller result.
7. Quick Refresher Handbook
| Concept | Formula |
|---|---|
| Slope (m) | |
| Slope-Intercept Form | |
| Point-Slope Form | |
| General Form | |
| Parallel Lines | |
| Perpendicular Lines | |
| Distance (Point-Point) | |
| Distance (Point-Line) | $d = \frac{ |
| Midpoint Formula | |
| Section Formula (Internal) | |
| Sum of Squared Errors | SSE = |