How It Works
This calculator solves three fundamental line problems: slope between two points using m = (y₂ − y₁)/(x₂ − x₁), distance using the Pythagorean formula, and the y-value from slope-intercept form y = mx + b.
Example Problem
Find the slope between (2, 3) and (8, 15):
- m = (15 − 3) / (8 − 2) = 12 / 6 = 2
The line rises 2 units for every 1 unit to the right.
Frequently Asked Questions
How to find the slope of a line from two points?
Use the slope formula m = (y₂ − y₁) / (x₂ − x₁). Positive slope means the line goes up from left to right; negative slope means it goes down. A slope of 0 means the line is horizontal.
What is slope-intercept form?
The equation y = mx + b, where m is the slope and b is the y-intercept (where the line crosses the y-axis). Given m = 3 and b = −2, the line is y = 3x − 2.
How to calculate distance between two points?
Apply the distance formula d = √((x₂ − x₁)² + (y₂ − y₁)²). For points (1, 2) and (4, 6), d = √(9 + 16) = √25 = 5.
Related Calculators
- Quadratic Equation Calculator — solve second-degree equations for real and complex roots.
- Interpolation Calculator — estimate values between known data points.
- Trigonometry Calculator — compute trig functions for angles.
- Geometric Formulas Calculator — area and perimeter of common shapes.
- Statistics Calculator — compute mean, standard deviation, and linear regression.