General Equation of a Straight Line
- Standard form:
ax+by+c=0
where a, b, and c are constants.
Slope-Intercept Form
- Slope-Intercept form:
y=mx+c
where m is the slope and c is the y-intercept.
Point-Slope Form
- Point-Slope form:
y−y1=m(x−x1)
where m is the slope and (x1,y1) is a point on the line.
Intercept Form
- Intercept form:
ax+by=1
where a and b are the x-intercept and y-intercept, respectively.
Two-Point Form
- Two-Point form:
y−y1=x2−x1y2−y1(x−x1)
where (x1,y1) and (x2,y2) are two points on the line.
Slope Calculation
- Slope of a line passing through two points:
m=x2−x1y2−y1
where (x1,y1) and (x2,y2) are the coordinates of the two points.
Distance Formula
- Distance between two points:
d=(x2−x1)2+(y2−y1)2
where (x1,y1) and (x2,y2) are the coordinates of the two points.
Distance from a Point to a Line
- Distance from a point to a line:
d=a2+b2∣ax1+by1+c∣
where ax+by+c=0 is the equation of the line and (x1,y1) is the point.