Processing math: 100%

Various Forms of the Equation of a Line

We will discuss the equation of a line under different conditions. A line can be in different forms like horizontal, vertical, point-slope, two-point, etc.

Horizontal and vertical lines

If a horizontal line L is at distance a from the x-axis then ordinate of every point lying on the line is either a or a [Fig (a)]. Therefore, equation of the line L is either
y=a or y=a.
The choice of sign will depend upon the position of the line according as the line is above or below the y-axis.

Similarly, the equation of a vertical line at a distance b from the y-axis is either (Fig (b))

x=b or x=b

Example 1: Find the equation of the lines parallel to axes and passing through (-2,3).

Solution:

The position of the lines is shown in the figure above. The y-coordinate of every point on the line parallel to x-axis is 3, therefore, the equation of the line parallel to x-axis and passing through (2,3) is
y=3.
Similarly, the equation of the line parallel to y-axis and passing through (2,3) is
x=2.

Point-slope form

Suppose that P0(x0,y0) is a fixed point on a non-vertical line L, whose slope is m.
Let P(x,y) be an arbitrary point on L (Figure above). Then, by the definition, the slope of L is given by
m=yy0xx0, i.e., yy0=m(xx0)(1)
Since the point P0(x0,y0) along with all points (x,y) on L satisfies (1) and no other point in the plane satisfies (1). Equation (1) is indeed the equation for the given line L.
Thus, the point (x,y) lies on the line with slope m through the fixed point (x0,y0), if and only if, its coordinates satisfy the equation
yy0=m(xx0)

Example 2:  Find the equation of the line through (2,3) with slope 4

Solution:

Here m=4 and given point (x0,y0) is (2,3).
By slope-intercept form formula
yy0=m(xx0)
Using this formula the equation of the given line is
y3=4(x+2) or 
4x+y+5=0, which is the required equation.

Two-point form

Let the line L passes through two given points P1(x1,y1) and P2(x2,y2). Let P(x,y) be a general point on L (Figure above).

The three points P1,P2 and P are collinear, therefore, we have slope of P1P= slope of P1P2
 i.e., yy1xx1=y2y1x2x1, or yy1=y2y1x2x1(xx1)
Thus, the equation of the line passing through the points (x1,y1) and (x2,y2) is given by
yy1=y2y1x2x1(xx1)(2)

Example 3: Write the equation of the line through the points (1, –1) and (3, 5).

Solution:

Here x1=1,y1=1,x2=3 and y2=5. Using the two-point form (2) above for the equation of the line, we have
y(1)=5(1)31(x1)
or
3x+y+4=0, which is the required equation.

Slope-intercept form

Sometimes a line is known to us with its slope and an intercept on one of the axes. We will now find equations of such lines.

Case I: Suppose a line L with slope m cuts the y-axis at a distance c from the origin (Figure above). The distance c is called the y intercept of the line L. Obviously, coordinates of the point where the line meet the y-axis are (0,c). Thus, L has slope m and passes through a fixed point (0,c). Therefore, by point-slope form, the equation of L is
yc=m(x0) or y=mx+c
Thus, the point (x,y) on the line with slope m and y-intercept c lies on the line if and
only if
y=mx+c(3)
Note that the value of c will be positive or negative according as the intercept is made on the positive or negative side of the y-axis, respectively.

Case II: Suppose line L with slope m makes x-intercept d. Then equation of L is
y0=m(xd)
y=m(xd)(4)

Example 4: Write the equation of the lines for which tanθ=12, where θ is the inclination of the line and

(i) y-intercept is 32
(ii) x-intercept is 4.

Solution:

(i) Here, the slope of the line is m=tanθ=12 and y – intercept c=32. Therefore, by slope-intercept form (3) above, the equation of the line is
y=12x32 or 2yx+3=0,
which is the required equation.

(ii) Here, we have m=tanθ=12 and d=4.
Therefore, by slope-intercept form (4) above, the equation of the line is
y=12(x4) or 2yx+4=0,
which is the required equation.

Intercept – form

Suppose a line L makes x-intercept a and y-intercept b on the axes. Obviously L meets x-ax is at the point (a,0) and y-axis at the point (0,b) (Figure below). By two-point form of the equation of the line, we have

yb=0ba0(x0) or ay=bx+ab,
i.e., xa+yb=1.
Thus, the equation of the line-making intercepts a and b on x-and y-axis, respectively, is
xa+yb=1(5)

Example 5: Find the equation of the line, which makes intercepts 3 and 2 on the x – and y-axes respectively.

Solution:

Here a=3 and b=2. By intercept form (5) above, the equation of the line is
x3+y2=1 or 2x3y+6=0.

Normal form

Suppose a non-vertical line is known to us with the following data:
(i) Length of the perpendicular (normal) from the origin to the line.
(ii) Angle which normal makes with the positive direction of x-axis.

Let L be the line, whose perpendicular distance from origin O be OA=p and the angle between the positive x-axis and OA be XOA=ω. The possible positions of line L in the Cartesian plane are shown in the Figure below. Now, our purpose is to find slope of L and a point on it. Draw perpendicular AM on the x-axis in each case.

In each case, we have OM=pcosω and MA=psinω, so that the coordinates of the point A are (pcosω,psinω).
Further, line L is perpendicular to OA. Therefore
The slope of the line L=1 slope of OA =1tanω=cosωsinω.
Thus, the line L has slope cosωsinω and point A(pcosω,psinω) on it. Therefore, by point-slope form, the equation of the line L is
ypsinω=cosωsinω(xpcosω) or xcosω+ysinω=p(sin2ω+cos2ω)
or xcosω+ysinω=p.
Hence, the equation of the line having normal distance p from the origin and angle ω which the normal makes with the positive direction of x-axis is given by
xcosω+ysinω=p(6)

Example 6: Find the equation of the line whose perpendicular distance from the origin is 4 units and the angle which the normal makes with the positive direction of x-axis is 15.

Solution:

Here, we are given p=4 and ω=150( Figure above).
Now cos15=3+122
and sin15=3122
By the normal form (6) above, the equation of the line is
xcos150+ysin15=4 or 3+122x+3122y=4 or (3+1)x+(31)y=82.
This is the required equation.

You cannot copy content of this page