Let, in the figure, A(x1, y1) and B(x2, y2) are two points. P(x, y) divides the line segment AB internally in the ratio m1:m2. Calculate the coordinate of P(x, y).
Equations of a Straight Line
An equation of a straight line represents the relationship between the coordinates $x$ and $y$ of every point lying on a straight line. Different forms of the equation are useful depending on the information given about the line.
In this topic, we will learn the following forms:
- Equation of a line parallel to the Y-axis – used when the line is vertical.
- Equation of a line parallel to the X-axis – used when the line is horizontal.
- Slope-intercept form – used when the slope and $y$-intercept are known.
- Double-intercept form – used when the $x$-intercept and $y$-intercept are known.
- Perpendicular form – used when the perpendicular distance of the line from the origin and the angle made by the perpendicular with the positive $x$-axis are known.