The straight line passes through two points (-2; 6), (5; -1). make a straight line equation.

For the standard general equation of the straight line y = kx + b, we write down the system of equations, substitute the values of the coordinates of the two points that belong to it, and solve it with respect to the coefficients k and b.

6 = k * (- 2) + b;
– 1 = k * 5 + b.

Subtract the second equation from the first.

– 2k + b – 5k – b = 6 + 1;
– 7k = 7;
k = – 1.

b = – 1 + 5 = 4.

Answer: the equation of the straight line y = – x + 4.



One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.