Title input deck
Sub input deck
Title regimes
Sub regimes
Title diagnostics
Sub diagnostics
Calculate slope-intercept form (y = mx + b) from two points, slope and point, or standard form. Includes interactive Cartesian graph, fractions, and step-by-step math.
Sub input deck
Sub regimes
Sub diagnostics
Calculate slope-intercept form (y = mx + b) from two points, slope and point, or standard form. Includes interactive Cartesian graph, fractions, and step-by-step math.
Measures the steepness and physical trajectory of the line, defined as vertical displacement divided by horizontal progress. A positive slope indicates an uphill climb (+y as +x increases), a negative slope represents a downhill descent, zero indicates a flat horizontal plane (m = 0), and a vertical drop or climb represents an undefined infinite gradient (Δx = 0). For builders and runners, an m of 0.083 represents an ADA-compliant 1:12 ramp grade (8.33%).
The exact coordinate where the line crosses the central vertical axis (where x = 0). In real-world modeling—such as calculating utility bills, race pacing, or training milestones—the y-intercept b represents the fixed baseline cost or initial starting condition before any time or distance accumulates.
The point where the line meets the horizontal axis (where y = 0), representing the break-even moment or zero-state. Calculated algebraically as x₀ = -b / m for all non-horizontal lines (where m ≠ 0). Flat horizontal lines lying above or below the axis (b ≠ 0) never intersect the horizontal plane and possess no x-intercept.
The integer foundation of linear equations where A, B, and C are whole coprime numbers (A ≥ 0). Unlike slope-intercept form which fails on vertical lines due to division by zero, standard form gracefully describes all geometric lines including pure vertical boundaries (where B = 0, yielding x = C / A).
The geometric angle measured counterclockwise from the positive horizontal axis to the line, ranging from 0° up to 180° (0 to π radians). Calculated via the inverse tangent of the slope: θ = arctan(m). For example, a 100% slope (m = 1) yields an exact 45° climb, while a flat line has an inclination of 0°.
When two points share the exact same horizontal coordinate (x₁ = x₂), the run Δx = x₂ - x₁ equals zero. Because division by zero is mathematically undefined, the line is purely vertical (x = x₁) and cannot be expressed in slope-intercept form (y = mx + b). In construction, road grade, and physics, this represents an infinite wall rather than a walkable slope; the equation must be written in standard vertical form x = constant.
Extract slope and y-intercept instantaneously without tedious algebra: slope is always m = -A / B and the y-intercept is always b = C / B (for B ≠ 0). For example, with 6x - 2y = 14, slope is -6 / (-2) = 3 and y-intercept is 14 / (-2) = -7, immediately yielding y = 3x - 7. This mental check prevents common sign-flipping mistakes when moving terms across the equals sign.
While parallel lines share identical slopes (m₁ = m₂), perpendicular lines meet at a rigid 90° angle and satisfy m₁ · m₂ = -1. To find the perpendicular slope, you must flip the fraction upside down and negate it: m₂ = -1 / m₁. Changing a slope of 4 to -4 only reflects the angle across the axis; the true perpendicular slope is -1/4 (-0.25). The only exception is the pairing of horizontal (m = 0) and vertical (undefined) lines.
Converting fractions like 1/3 or 2/7 to rounded decimals (0.33 or 0.29) introduces creeping floating-point drift that distorts intercept, intersection, and distance calculations. Retain exact integer numerators and denominators throughout your pencil-and-paper or digital derivations, reducing via the greatest common divisor (GCD) only when presenting your final answer.
Subtracting a negative value always transforms into addition: y₂ - (-y₁) = y₂ + y₁. For example, calculating slope between (-3, -5) and (2, 5) requires (5 - (-5)) / (2 - (-3)) = (5 + 5) / (2 + 3) = 10 / 5 = 2. Always wrap negative coordinates in parentheses during initial substitution to visibly track the sign inversion.
This happens when your two coordinates share identical x-values (e.g., (4, 2) and (4, 10)), forming a perfectly vertical line. Because horizontal run Δx = 0, slope is infinite (division by zero) and the line never crosses the y-axis (unless x = 0). The line's correct mathematical equation is x = 4, which has no slope-intercept representation.
Point-slope form y - y₁ = m(x - x₁) reflects whichever specific point (x₁, y₁) you choose, so different points create different temporary expressions. Once you distribute the slope m across (x - x₁) and isolate y by adding y₁, every valid point on the line simplifies into the exact same unique y = mx + b slope-intercept equation.
Switch to exact rational fraction mode. Repeating and terminating decimals (like 0.75, 0.333..., or -2.5) are automatically converted into simplified coprime fractions (3/4, 1/3, -5/2) using continuous Euclidean fraction expansion, ensuring textbook-ready step-by-step solutions.
To find slope-intercept form (y = mx + b) from two points (x₁, y₁) and (x₂, y₂), first compute the slope using m = (y₂ - y₁) / (x₂ - x₁), then substitute m and one point into y - y₁ = m(x - x₁), and simplify. For example, given (1, 3) and (3, 7): slope is (7 - 3) / (3 - 1) = 4 / 2 = 2. Substituting (1, 3) gives y - 3 = 2(x - 1), which simplifies to y = 2x + 1.
In the linear equation y = mx + b, 'm' represents the constant rate of change (such as miles per hour, price per unit, or calorie burn per minute) and 'b' represents the initial baseline or fixed starting cost (such as a flat taxi booking fee or base subscription rate). In physical geography and construction, slope m indicates terrain grade, where m = 0.05 denotes a gentle 5% road incline.
Slope-intercept form (y = mx + b) isolates y to highlight rate of change (m) and starting value (b), making it ideal for immediate graphing and function modeling, but it cannot represent vertical lines. Standard form (Ax + By = C) uses whole integer coefficients where A ≥ 0 to represent all two-dimensional linear graphs, including vertical lines (where B = 0, x = C/A) that have undefined slopes.
A horizontal line can be written in slope-intercept form as y = b because its slope is zero (y = 0x + b), meaning y remains constant regardless of x. However, a vertical line cannot be written in slope-intercept form because its slope is mathematically undefined (division by zero Δx = 0); it must instead be written as x = a, where a is the constant x-intercept.
Parallel lines maintain the identical slope (m_parallel = m), meaning you keep m unchanged and solve for the new y-intercept b using the given point (x, y). Perpendicular lines intersect at a 90° angle with negative reciprocal slopes (m_perpendicular = -1 / m); for a line with slope 2, the perpendicular slope is -1/2, giving the equation y = -0.5x + b.
Calculate confidence intervals and margin of error for sample means and proportions using Z or Student's t distribution. Interactive curves and sample size solver.
Calculate car depreciation and vehicle resale value by year and mileage. Estimate 5-year depreciation curves, residual trade-in equity, and true cost to own.
Calculate electricity cost and power bill usage by device or appliance. Estimate kWh consumption, compare running costs, and forecast monthly utility bills.
Convert pressure units instantly between PSI, bar, kPa, Pascal, atm, and mmHg. Accurate vacuum, gauge, and absolute pressure converter with live depth matrix.
Convert torque instantly between Newton meters (Nm), foot-pounds (ft-lb), inch-pounds (in-lb), and kgf-m with bolt tightening, leverage, and engine RPM charts.
Calculate daily electrolyte supplement needs for sodium, potassium, and magnesium based on sweat rate, workout intensity, heat, keto diets, and water loss.