Current location - Training Enrollment Network - Mathematics courses - How to solve the linear equation with known coordinates of two points in mathematics?
How to solve the linear equation with known coordinates of two points in mathematics?
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:

Other linear equation expressions:

1, intersection: f 1(x, y) *m+f2(x, y)=0 is applicable to any straight line.

A straight line passing through the intersection of the straight line f 1(x, y)=0 and the straight line f2(x, y)=0.

2. The point leveling formula: f(x, y) -f(x0, y0)=0 is applicable to any straight line.

A straight line passing through the point (x0, y0) and parallel to the straight line f(x, y)=0.

3. The normal formula: X COS α+YSIN α-P = 0 is suitable for straight lines that are not parallel to the coordinate axis.

A vertical line segment that passes through the origin and becomes a straight line. The inclination of the straight line where the vertical line segment is located is α, and p is the length of the line segment.

4. The point-by-point formula: (x-x0)/u=(y-y0)/v (u≠0, v≠0) is applicable to any straight line.

A straight line passing through point (x0, y0) has a direction vector of (u, v).

5. Normal formula: a(x-x0)+b(y-y0)=0 is applicable to any straight line.

A straight line passing through the point (x0, y0) and perpendicular to the vector (a, b).