Equation of a line passing through 2 points

Algebra Level 2

What is the equation of a line passing through points ( a , b ) (a,b) and ( c , d ) (c,d) ?

y=(2ax+b)/(2cx+d) y=((d-b)x+bc-da)/(c-a) y=((c-a)x+bc-da)/(d-b) y=(ax+b)-(cx+d)/(2c)

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Arjen Vreugdenhil
Dec 22, 2017

There are many ways to write this equation. Using the traditional slope-intercept equation, y = m x + y 0 y = mx + y_0 , we have m = Δ y Δ x = d b c a ; y 0 = b m a = b ( c a ) ( d b ) a c a = b c d a c a , y = ( d b ) x + b c d a c a . m = \frac{\Delta y}{\Delta x} = \frac{d - b}{c - a};\ \ y_0 = b - ma = \frac{b(c-a) - (d - b)a}{c - a} = \frac{bc - da}{c - a}, \\ y = \frac{(d-b)x + bc - da}{c - a}. Or, use the fact that any two points on the line should give the same slope value: y b x a = d b c a ; y = b + ( x a ) ( d b ) c a , \frac{y - b}{x - a} = \frac{d - b}{c - a};\ \ \ y = b + \frac{(x - a)(d - b)}{c-a}, which is easily simplified to the same equation.

Or write ( x , y ) (x,y) as an affine combination, ( x , y ) = λ ( a , b ) + μ ( c , d ) (x,y) = \lambda(a,b) + \mu(c,d) with λ + μ = 1 \lambda + \mu = 1 ; then [ a c x b d y 1 1 1 ] ( λ μ 1 ) = ( 0 0 0 ) \left[\begin{array}{ccc} a & c & x \\ b & d & y \\ 1 & 1 & 1 \end{array}\right]\left(\begin{array}{c}\lambda \\ \mu \\ -1\end{array}\right) = \left(\begin{array}{c}0 \\ 0 \\ 0\end{array}\right) must have a non trivial solution, so that 0 = a c x b d y 1 1 1 = x ( b d ) + y ( c a ) + ( a d b c ) , 0 = \left|\begin{array}{ccc} a & c & x \\ b & d & y \\ 1 & 1 & 1 \end{array}\right| = x(b - d) + y(c - a) + (ad - bc), so that y = x ( b d ) + ( a d b c ) c a = x ( d b ) + ( b c a d ) c a . y = -\frac{x(b - d) + (ad - bc)}{c - a} = \frac{x(d-b) + (bc - ad)}{c-a}.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...