Concept understanding — Straight Lines — Forms of the Equation
The general (linear) equation of a straight line is ax+by+c=0, where a,b are not both zero; the set of solutions of any such equation is a straight line in the plane. Because dividing through by b (or a) removes one constant, every line's equation genuinely contains only two independent arbitrary constants — so exactly two independent pieces of information (two points, or a point and a slope, or two intercepts, etc.) are enough to pin a line down uniquely.
Slope. The angle of inclinationθ of a line is the angle it makes with the x-axis, measured counter-clockwise; the slopem=tanθ (undefined when θ=π/2, i.e. for a vertical line). Equivalently, through two points (x1,y1),(x2,y2) with x1=x2, m=x2−x1y2−y1; from the general form, m=−a/b (b=0). Three points are collinear exactly when the slope of any one pair equals the slope of another pair sharing a point.
Intercepts. The x-intercept is where a line meets the x-axis (y=0); the y-intercept is where it meets the y-axis (x=0). (x=0 is itself the equation of the y-axis; y=0 is the equation of the x-axis.)
The six forms (two conditions each, all interconvertible by algebra):
Write the line in intercept form as bx+ay−ab=0 and apply the perpendicular-distance-from-origin formula to get p=a2+b2ab; squaring and inverting gives the …
Rewrite the intercept-form line as a general-form equation, apply the point-to-line distance formula from the origin to get p, then manipulate algebraically.
A line with x-intercept a and y-intercept b has intercept-form equation ax+by=1; p is the length of the perpendicular dropped from the origin onto this line.
Step 1. Convert to general form. Multiplying ax+by=1 by ab:
bx+ay−ab=0
which is of the form Ax+By+C=0 with A=b,B=a,C=−ab.
Step 2. Apply the distance-from-origin formula. The perpendicular distance from (0,0) to Ax+By+C=0 is A2+B2∣A(0)+B(0)+C∣, so
Forgetting to clear denominators before identifying A,B,C for the distance formula (using 1/a,1/b directly as A,B is also valid but easy to mismanage signs with). …