Current location - Training Enrollment Network - Mathematics courses - How to find a linear equation with known coordinates of two points?
How to find a linear equation with known coordinates of two points?
The method of solving linear equations with known two-point coordinates;

Let the coordinates of these two points be (x 1, y 1)(x2, y2) respectively.

1, oblique type

Find the slope: k=(y2-y 1)/(x2-x 1)

The linear equation y-y 1=k(x-x 1)

Then substitute k into y-y 1=k(x-x 1) to get the linear equation.

2, two-point type

Because (x 1, y 1), (x2, y2)

So the linear equation is: (x-x1)/(x2-x1) = (y-y1)/(y2-y1).

Extended data:

The linear equation * * * has five forms:

1, general formula: Ax+By+C=0(AB≠0)

2. oblique formula: y=kx+b(k is slope b and x-axis intercept)

3. Point skew: y-y 1=k(x-x 1) (straight line passing through fixed point (x 1, y 1))

4. Two-point formula: (y-y 1)/(x-x 1) = (y-y2)/(x-x2) (straight line passing through fixed point (x1,y1), (x2, y2)

5. Interception formula: x/a+y/b= 1 (a is the X-axis intercept and B is the Y-axis intercept).

Ax+By+C=0, (A and B are not all zero, that is, A 2+B 2 ≠ 0) The slope of this straight line is k =-A/B.

1, parallel to the x axis, A=0, c ≠ 0;

2, parallel to the y axis, B=0, c ≠ 0;

3. When it coincides with the X axis, A=0 and c = 0;;

4. When it coincides with the Y axis, B=0 and c = 0;;

5. When crossing the origin, c = 0;;

6. When it intersects with X axis and Y axis, A*B≠0.