The Straight Line

The Straight Line

In analytic geometry, a line is defined as the locus of a point moving in a constant direction. It is a straight one-dimensional figure having no thickness and extending infinitely in both directions.

General Equation of a Line

The general equation of a straight line is a linear equation in two variables, xx and yy:

General Equation

Ax+By+C=0Ax + By + C = 0

Where AA and BB are not both zero.

Forms of the Equation of a Line

Depending on the given information, the equation of a line can be written in several forms.

1. Point-Slope Form

Given a point (x1,y1)(x_1, y_1) and a slope mm: yy1=m(xx1)y - y_1 = m(x - x_1)

2. Slope-Intercept Form

Given a slope mm and y-intercept bb: y=mx+by = mx + b

3. Two-Point Form

Given two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2): yy1=y2y1x2x1(xx1)y - y_1 = \frac{y_2 - y_1}{x_2 - x_1} (x - x_1)

4. Intercept Form

Given x-intercept aa and y-intercept bb: xa+yb=1\frac{x}{a} + \frac{y}{b} = 1

5. Normal Form

Given the perpendicular distance pp from the origin to the line and the angle ω\omega that the perpendicular makes with the positive x-axis: xcosω+ysinω=px \cos \omega + y \sin \omega = p

Parallel and Perpendicular Lines

Two lines with slopes m1m_1 and m2m_2 are:

  • Parallel if their slopes are equal (m1=m2m_1 = m_2).
  • Perpendicular if the product of their slopes is -1 (m1m2=1m_1 m_2 = -1).

Distance from a Point to a Line

The perpendicular distance dd from a point (x1,y1)(x_1, y_1) to the line Ax+By+C=0Ax + By + C = 0 is:

Distance from Point to Line

d=Ax1+By1+CA2+B2d = \frac{|Ax_1 + By_1 + C|}{\sqrt{A^2 + B^2}}

Angle Between Two Lines

If θ\theta is the angle between two lines having slopes m1m_1 and m2m_2:

Angle Between Lines

tanθ=m2m11+m1m2\tan \theta = \left| \frac{m_2 - m_1}{1 + m_1 m_2} \right|


Solved Problems

Step-by-Step Solution0 / 3 Problems

Start the practice problems to continue