Lines and Vectors in 2D: Equations, Slopes, and Relationships
Classified in Mathematics
Written on in English with a size of 6.44 KB
Fundamentals of 2D Analytical Geometry
This document outlines key concepts in the analytical geometry of straight lines within a two-dimensional plane.
Coordinate Systems and Vector Representation
An affine coordinate system (SdR) is defined by a triple (O, u, U), where O is a fixed point in the Euclidean plane (E2) serving as the origin, and (u, U) forms a basis for the vector space R2 (V2R). A point P in E2 is uniquely determined by its coordinates (x, y) relative to the chosen basis, which represent its position vector OP.
Points and Segments
The coordinates of the midpoint M of a segment AB are obtained by averaging the coordinates of its endpoints. If A = (xA, yA) and B = (xB, yB), then the midpoint M = ((xA + xB) / 2, (yA + yB) / 2).
Equations of a Straight Line
A straight line in R2 can be represented by various equations, often defined by a known point on the line and a direction vector.
Vector Equation
Given a point x1 on the line and a direction vector v, any point x on the line can be expressed as: x = x1 + tv, where t is a scalar parameter.
Parametric Equations
If x1 = (x1, y1) and v = (v1, v2), the vector equation expands into parametric equations:
- x = x1 + tv1
- y = y1 + tv2
Continuous Equation
By eliminating the parameter t from the parametric equations, we obtain the continuous equation:
(x - x1) / v1 = (y - y1) / v2
This form is valid when v1 ≠ 0 and v2 ≠ 0.
General Equation
The general (or implicit) equation of a line is given by: ax + by + c = 0. From this form, a direction vector can be derived as (-b, a) or (b, -a).
Point-Slope Form
If a line passes through a point (x1, y1) and has a slope m, its equation is: y - y1 = m(x - x1). The slope m is equivalent to v2/v1 from the direction vector.
Line Properties: Inclination and Slope
The inclination of a line is the angle it forms with the positive x-axis, measured counter-clockwise, typically between 0° and 180°. The slope (gradient) of a line, denoted by m, is the tangent of its inclination angle (m = tan θ).
If P1(x1, y1) and P2(x2, y2) are two distinct points on a line, the slope is calculated as: m = (y2 - y1) / (x2 - x1). The slope is independent of the specific points chosen on the line. For three points P1, P2, P3 to be collinear, the slopes between any two pairs must be equal.
Explicit Equation: Slope-Intercept Form
The slope-intercept form of a line's equation is: y = mx + b. Here, m is the slope, and b is the y-intercept, which is the y-coordinate where the line crosses the Y-axis (at point (0, b)).
Special Cases of Lines
Lines Parallel to Axes
- Parallel to X-axis: A horizontal line has a slope m = 0. Its equation is y = k, where k is a constant.
- Parallel to Y-axis: A vertical line has an undefined slope. Its equation is x = k, where k is a constant.
Angle Bisectors
- First Bisector: Passes through the origin, has an inclination of 45°, and a slope m = 1. Equation: y = x.
- Second Bisector: Passes through the origin, has an inclination of 135°, and a slope m = -1. Equation: y = -x.
Segment (Canonical) Equation
If a line intersects the X-axis at A(a, 0) and the Y-axis at B(0, b), its segment (or canonical) equation is: x/a + y/b = 1. This form is particularly useful when the x and y-intercepts are known.
Equation of a Line Through Two Points
Given two points P1(x1, y1) and P2(x2, y2), the equation of the line passing through them can be found using the point-slope form. First, calculate the slope m = (y2 - y1) / (x2 - x1). Then, use either point (e.g., P1) in the point-slope form: y - y1 = m(x - x1). This method is not applicable for vertical lines (where x1 = x2), which have the form x = k.
Relationships Between Lines
For two lines given by their general equations: L1: a1x + b1y + c1 = 0 and L2: a2x + b2y + c2 = 0:
Parallel Lines
Two lines are parallel if their slopes are equal (m1 = m2) or, in general form, if a1/a2 = b1/b2 ≠ c1/c2.
Coincident Lines
Two lines are coincident (the same line) if a1/a2 = b1/b2 = c1/c2.
Intersecting Lines
Two lines intersect at a single point if their slopes are different (m1 ≠ m2) or, in general form, if a1/a2 ≠ b1/b2.
Perpendicular Lines
Two lines are perpendicular if the product of their slopes is -1 (m1 * m2 = -1) or, in general form, if a1a2 + b1b2 = 0.