Point-slope form of straight line equation
Generally, in a rectangular coordinate system, if a straight line L passes through points A(X1,Y1) and B(X2,Y2), where x1≠x2, then AB=(x2-x1,y2-y1) is a direction vector of L, so the slope of the straight line L is k=(y2-y1)/(x2-x1), and then k=tanα (0≤α<π), the inclination angle α of the straight line L can be calculated. Let tanα=k, and the equation y-y0=k(x-x0) is called the point-slope equation of the straight line, where (x0,y0) is a point on the straight line.
When α is π/2, that is, (90 degrees, the straight line is perpendicular to the X-axis), tanα is meaningless and there is no point-slope equation.
The point-slope equation is commonly used in derivatives. It is used to find the equation of a tangent line using the derivative of a point on the tangent line and the curve equation (the slope of the tangent line at a certain point on the equation). It is suitable for problems where the coordinates of a point and the slope of a line are known and the equation of the line is found.