Lines, Slopes & Distance: Calculus Foundations
A comprehensive review of lines, slope formulas, angle of inclination, and the distance formula—essential algebra and trigonometry foundations for calculus. Covers deriving slope from two points, point-slope and slope-intercept forms, parallel and perpendicular lines, relating slopes to angles via tangent, and the distance formula via the Pythagorean theorem.
Slope: Definition and Formula
What defines a line
A line is straight, infinite, and defined by at least two points. To graph a line, you need either two points or one point plus the slope. Slope describes how a line rises or falls.
Deriving the slope formula
Given two generic points (X₁, y₁) and (X₂, y₂), slope is the ratio of vertical change to horizontal change. The rise is y₂ − y₁ and the run is X₂ − X₁, yielding m = (y₂ − y₁) / (X₂ − X₁). This formula works for any two points on a line.
Point-slope form
By fixing one point (X₁, y₁) and letting the other float as (X, y), the slope formula becomes y − y₁ = m(X − X₁). This form is useful because it lets you plug in any X to get the corresponding y, making it the equation of a line rather than just a description of two specific points.
Line Equations and Graphing
Slope-intercept form
By solving point-slope form for y, you get y = mx + b, where m is the slope and b is the y-intercept. This form is easiest for graphing: plot the y-intercept on the y-axis, then use the slope to find additional points by rising and running from that starting point.
Horizontal and vertical lines
A horizontal line has the form y = c (a constant), meaning slope is zero. A vertical line has the form X = c, meaning the slope is undefined. Horizontal lines cross the y-axis; vertical lines cross the x-axis.
Converting to slope-intercept form
Standard form equations like 2X + 2y − 3 = 0 can be rearranged by isolating y. Subtract 2X and add 3 to both sides, then divide by 2 to get y = −X + 3/2, revealing the slope and y-intercept directly.
Parallel and Perpendicular Lines
Parallel lines
Two lines are parallel if and only if they have the same slope. Parallel lines never intersect and maintain a constant distance apart, like stairs that climb at the same rate.
Perpendicular lines
Two lines are perpendicular if their slopes are negative reciprocals of each other. If one line has slope m, the perpendicular line has slope −1/m. Perpendicular lines intersect at exactly 90 degrees.
Finding parallel and perpendicular equations
To find a line parallel to y = −(2/3)X + 1 passing through (6, 7): use the same slope −2/3 and apply point-slope form. For perpendicular, use the negative reciprocal slope 3/2 instead. The target point always changes; the slope relationship (same for parallel, negative reciprocal for perpendicular) is what matters.
Angle of Inclination and Trigonometry
Angle of inclination definition
The angle of inclination is the angle a line makes with the positive x-axis, measured counterclockwise. This angle θ relates directly to slope through the tangent function.
Slope equals tangent of angle
The slope of a line equals the tangent of its angle of inclination: m = tan(θ). This is because slope is rise over run (opposite over adjacent in a right triangle), which is exactly the definition of tangent. Therefore, if you know the angle, you can find the slope, and vice versa.
Finding slope from angle
Given an angle of inclination of 30° (or π/6 radians), find the slope by computing tan(π/6). Using the unit circle: sin(π/6) = 1/2 and cos(π/6) = √3/2, so tan(π/6) = (1/2) / (√3/2) = 1/√3 = √3/3. This is the slope.
Finding angle from slope
Given a slope m, find the angle by taking the inverse tangent: θ = tan⁻¹(m). For example, if m = −1, then θ = tan⁻¹(−1). Using the unit circle, this occurs where sine and cosine are equal in magnitude but opposite in sign, which happens at 3π/4 (or 135°). Note that two angles may satisfy the equation; choose either one.
Distance Formula
Deriving distance from Pythagorean theorem
To find the distance d between two points (X₁, y₁) and (X₂, y₂), construct a right triangle where the horizontal leg has length |X₂ − X₁| and the vertical leg has length |y₂ − y₁|. By the Pythagorean theorem, d² = (X₂ − X₁)² + (y₂ − y₁)², so d = √[(X₂ − X₁)² + (y₂ − y₁)²].
Using the distance formula
To compute distance, assign one point as (X₁, y₁) and the other as (X₂, y₂), substitute into the formula, square each difference, add them, and take the square root. Be careful with signs when subtracting; squaring eliminates negatives, ensuring the result is always positive.
Key Takeaways for Calculus
Why this review matters
Calculus builds on algebra and trigonometry. Students often fail calculus not because of calculus itself, but because they lack solid foundations in these prerequisite topics. Mastery of lines, slopes, angles, and distances is essential for understanding derivatives, integrals, and the functions they operate on.
Notable quotes
The calculus is actually quite easy; it's those concepts put together with calculus that makes it kind of hard. — Professor Leonard
You go to calculus to finally fail algebra and trigonometry. — Professor Leonard
Slope is what we're going to talk about for the first part of today; the slope is pretty much how a line rises or falls. — Professor Leonard
Action items
- Practice deriving the slope formula from two generic points; verify it works with specific numerical examples.
- Convert at least three standard-form line equations to slope-intercept form by isolating y.
- Given a line equation, find both a parallel line and a perpendicular line passing through a specified point.
- Memorize or reference the unit circle to evaluate tangent, sine, and cosine at common angles (π/6, π/4, π/3, etc.).
- Given an angle of inclination, use tan(θ) to find the slope; given a slope, use tan⁻¹(m) to find the angle.
- Practice the distance formula with at least five pairs of points, being careful with signs and arithmetic.
- Review trigonometric identities and the unit circle before proceeding to later calculus topics.