Explanation
Welcome to The Grid City
Draw a grid, and every shape becomes an equation. In Grid City, lines become y equals m x plus c, circles become sums of squares, and slicing a cone gives four famous curves.
Coordinate geometry is the biggest-scoring chapter in JEE Main, so we'll take it street by street.
Slope m = (y₂ − y₁)/(x₂ − x₁) = tan θ
Slope is rise over run: the change in y over the change in x. It's also the tangent of the angle the line makes with the x-axis.
Slope m = (y₂ − y₁)/(x₂ − x₁) = tan θ
Y = mx + c · y − y₁ = m(x − x₁) · x/a + y/b = 1
Three forms of a line. Slope-intercept, y equals m x plus c.
Point-slope, through a known point. And intercept form, x over a plus y over b equals one.
y = mx + c · y − y₁ = m(x − x₁) · x/a + y/b = 1
Parallel
Parallel lines share a slope. Perpendicular lines have slopes that multiply to minus one: two and minus a half.
Parallel: m₁ = m₂ · perpendicular: m₁m₂ = −1
Distance from (x₁, y₁) to ax + by + c = 0
ax₁ + by₁ + c|/√(a² + b²) · between parallel lines: |c₁ − c₂|/√(a² + b²) | "To find a point's distance from a line, put the point into the line's equation, take the absolute value, and divide by root of a squared plus b squared.
Distance from (x₁, y₁) to ax + by + c = 0:
Angle between lines
(m₁ − m₂)/(1 + m₁m₂)| | "The acute angle between two lines comes from their slopes: tan theta is the difference over one plus the product.
Angle between lines: tan θ =
Centroid ((x₁ + x₂ + x₃)/3, (y₁ + y₂ + y₃)/3) ·…
x₁(y₂ − y₃) + x₂(y₃ − y₁) + x₃(y₁ − y₂)| | "The centroid of a triangle is the average of its vertices. The area comes from the shoelace-style formula: half the absolute value.
Centroid ((x₁ + x₂ + x₃)/3, (y₁ + y₂ + y₃)/3) · area = ½
Worked example
Line through (2, 3) with slope 2: y − 3 = 2(x − 2) → y = 2x − 1.