Line Equation
A line in the plane can be expressed as y = mx + b (slope-intercept), y โ yโ = m(x โ xโ) (point-slope), or Ax + By + C = 0 (standard form). Slope m = (yโโyโ)/(xโโxโ).
Why This Mathematical Concept Matters
Why: Line equations appear in statistics (regression), construction (roof pitch), civil engineering (road grade), and coordinate geometry.
How: From two points: compute slope m, then use point-slope or solve for b. Vertical lines: x = constant. Horizontal: y = constant.
- โPerpendicular lines have slopes that multiply to โ1: mโ = โ1/mโ.
- โRoof pitch 6/12 means slope m = 0.5; road grade 6% means m = 0.06.
- โLinear regression finds the best-fit line y = mx + b through data points.
Line Equation โ y = mx + b and More
Two points, point-slope, or slope-intercept. Get all forms, intercepts, and angle.
๐ Examples โ Click to Load
Inputs
โ ๏ธFor educational and informational purposes only. Verify with a qualified professional.
๐งฎ Fascinating Math Facts
Slope m = (yโโyโ)/(xโโxโ) โ rise over run.
โ Formula
Perpendicular lines: mโ ร mโ = โ1.
โ Property
๐ Key Takeaways
- โข Slope-intercept y = mx + b: m = slope, b = y-intercept โ easiest for graphing
- โข Point-slope y โ yโ = m(x โ xโ): use when you know one point and the slope
- โข Standard form Ax + By + C = 0: general form, works for vertical lines (B=0)
- โข Slope m = (yโโyโ)/(xโโxโ); angle with x-axis = arctan(m)
- โข Vertical lines (x = constant) have undefined slope; horizontal lines (y = constant) have m = 0
๐ก Did You Know?
๐ Formulas
Slope from two points
Slope-intercept
Point-slope
๐ฏ Expert Tips
๐ก Two Points
Slope m = (yโโyโ)/(xโโxโ). Then use point-slope with either point to get y = mx + b.
๐ก Perpendicular
Perpendicular slope = โ1/m. For y=2x+1, perpendicular through (4,3) has m=โยฝ.
๐ก Vertical/Horizontal
Vertical: x = constant (slope undefined). Horizontal: y = constant (m=0).
๐ก Intercepts
x-intercept: set y=0, solve for x. y-intercept: set x=0, solve for y (or use b in y=mx+b).
๐ Quick Facts
โ FAQ
What is slope-intercept form?
y = mx + b, where m is the slope and b is the y-intercept. The most common form for graphing.
How do I find slope from two points?
m = (yโ โ yโ) / (xโ โ xโ). Rise over run.
What is point-slope form?
y โ yโ = m(x โ xโ). Use when you know one point (xโ,yโ) and the slope m.
What about vertical lines?
Vertical lines have undefined slope. Equation is x = constant (e.g., x = 5).
How do I find the x-intercept?
Set y = 0 and solve for x. For y = mx + b, x-intercept = โb/m.
What is the angle with the x-axis?
Angle = arctan(m) in degrees. Slope 1 โ 45ยฐ, slope 0 โ 0ยฐ.
How do perpendicular slopes relate?
mโ ร mโ = โ1. So if one line has slope 2, the perpendicular has slope โยฝ.
What is standard form?
Ax + By + C = 0. General form. When B=0, the line is vertical.
๐ Sources
โ ๏ธ Disclaimer: Results assume exact arithmetic. For vertical lines, slope-intercept and point-slope forms do not apply.