Processing math: 100%

10.2 Slope of a Line

A line in a coordinate plane forms two angles with the x-axis, which are supplementary. The angle (say) θ made by the line l with positive direction of x-axis and measured anti-clockwise is called the inclination of the line. Obviously 0θ180 (Fig above).

Important Points to Remember

  • When two lines are parallel, they have the same inclination.
  • The inclination of a line which is parallel to X-axis or coinciding with X-axis is 0.
  • The inclination of a vertical line (parallel to or coinciding with y-axis) is 90.
  • The angle of inclination of the line lies between 0 and 180 i.e. 0<θπ and θπ2.

Slope (Gradient) of a line when coordinates of any two points on the line are given

We know that a line is completely determined when we are given two points on it. Hence, we proceed to find the slope of a line in terms of the coordinates of two points on the line. Let P(x1,y1) and Q(x2,y2) be two points on non-vertical line l whose inclination is θ. Obviously, x1x2, otherwise the line will become perpendicular to x-axis and its slope will not be defined. The inclination of the line l may be acute or obtuse. Let us take these two cases.

Draw perpendicular QR to x-axis and PM perpendicular to RQ as shown in Figs. 10.3 (i) and (ii).

Case-I: When angle θ is acute: Any angle that measures greater than 0 and less than 90 is called an acute angle.

In Fig 10.3 (i), MPQ=θ(1).
Therefore, slope of line l=m=tanθ.
But in MPQ, we have tanθ=MQMP=y2y1x2x1(2).
From equations (1) and (2), we have
m=tanθ=y2y1x2x1

Case II: When angle θ is obtuse: An obtuse angle is an angle which is greater than 90 and less than 180.

In Fig 10.3 (ii), we have MPQ=180θ.
Therefore, θ=180MPQ.
Now, slope of the line l
m=tanθ=tan(180MPQ)=tanMPQ=MQMP=y2y1x1x2=y2y1x2x1.
Consequently, we see that in both the cases the slope m of the line through the points (x1,y1) and (x2,y2) is given by m=y2y1x2x1.

Important Points to Remember

  • If θ is the inclination of a line l, then tanθ is called the slope or gradient of the line l.
  • The slope of a line whose inclination is 90 is not defined. If x1=x2, then tanθ= or θ=π2 i.e. m is not defined or the line is perpendicular to X-axis.
  • The slope of a line is denoted by m. Thus, m=tanθ,θ90.
  • It may be observed that the slope of x-axis is zero and slope of y-axis is not defined.

Example 1: Find the slope of the lines:
(a) Passing through the points (3,2) and (1,4),
(b) Making inclination of 60 with the positive direction of x-axis.

Answer: 

(a) The slope of the line through (3,2) and (1,4) is
m=4(2)13=64=32
(b) Here inclination of the line α=60. Therefore, slope of the line is
m=tan60=3.

Example 2: Determine λ, so that 2 is the slope of the line through (2,5) and (λ,3).

Answer: Slope of the line joining (2,5) and (λ,3)
=35λ2=2λ2=22=2λ42λ=2λ=1

Conditions for parallelism in terms of their slopes In a coordinate plane

Suppose that non-vertical lines l1 and l2 have slopes m1 and m2, respectively. Let their inclinations be α and β, respectively.
If the line l1 is parallel to l2 (Fig 10.4), then their inclinations are equal, i.e.,
α=β, and hence, tanα=tanβ
Therefore m1=m2, i.e., their slopes are equal.
Conversely, if the slope of two lines l1 and l2 (Fig 10.4) is same, i.e.,
Then
m1=m2
By the property of tangent function (between 0 and 180 ), α=β.
Therefore, the lines are parallel.

Note: Hence, two non vertical lines l1 and l2 are parallel if and only if their slopes are equal.

Example 3: Show that the line joining the points (2,3) and (5,1) is parallel to the line joining (7,1) and (0,3).

Answer: Slope of the line joining the points (2,3) and (5,1) is
m1=1(3)52=47
and slope of the line joining the points (7,1) and (0,3) is
m2=3(1)07=47
Here, m1=m2
Hence, lines are parallel.

Conditions for perpendicularity in terms of their slopes In a coordinate plane

If the lines l1 and l2 are perpendicular (Fig 10.5), then β=α+90. Therefore, tanβ=tan(α+90)
=cotα=1tanα
i.e., m2=1m1 or m1m2=1
Conversely, if m1m2=1, i.e., tanαtanβ=1.
Then tanα=cotβ=tan(β+90) or tan(β90)
Therefore, α and β differ by 90.
Thus, lines l1 and l2 are perpendicular to each other.

Note: Hence, two non-vertical lines are perpendicular to each other if and only if their slopes are negative reciprocals of each other,
i.e.,
m2=1m1 or, m1m2=1

Example 4: Find the equation of the line perpendicular to
y=2x+3
and passing through the point (3,9).

Answer: The slope of the given line is -2 . Then the slope of the perpendicular to the given line is
m=12=12
Now, we have the slope of the perpendicular and a point on the line, so the equation of the perpendicular line is
y9=12(x(3))y9=x2+32y=x2+212

Example 5: Line through the points (2,6) and (4,8) is perpendicular to the line through the points (8,12) and (x,24). Find the value of x.

Answer: Slope of the line through the points (2,6) and (4,8) is
m1=864(2)=26=13
Slope of the line through the points (8,12) and (x,24) is
m2=2412x8=12x8
Since two lines are perpendicular, m1m2=1, which gives
13×12x8=1 or x=4

Angle between two lines

When we think about more than one line in a plane, then we find that these lines are either intersecting or parallel. Here we will discuss the angle between two lines in terms of their slopes.

Let L1 and L2 be two non-vertical lines with slopes m1 and m2, respectively. If α1 and α2 are the inclinations of lines L1 and L2, respectively. Then
m1=tanα1 and m2=tanα2.
We know that when two lines intersect each other, they make two pairs of vertically opposite angles such that sum of any two adjacent angles is 180. Let θ and ϕ be the adjacent angles between the lines L1 and L2 (Fig10.6). Then
θ=α2α1 and α1,α290
Therefore tanθ=tan(α2α1)=tanα2tanα11+tanα1tanα2=m2m11+m1m2( as 1+m1m20 ) and ϕ=180θ so that
tanϕ=tan(180θ)=tanθ=m2m11+m1m2, as 1+m1m20

Now, there arise two cases:

Case I: If m2m11+m1m2 is positive, then tanθ will be positive and tanϕ will be negative, which means θ will be acute and ϕ will be obtuse.

Case II: If m2m11+m1m2 is negative, then tanθ will be negative and tanϕ will be positive, which means that θ will be obtuse and ϕ will be acute.

Thus, the acute angle (say θ ) between lines L1 and L2 with slopes m1 and m2, respectively, is given by
tanθ=|m2m11+m1m2|, as 1+m1m20(1)
The obtuse angle (say ϕ ) can be found by using ϕ=180θ.

Example 6: If the angle between two lines is π4 and slope of one of the lines is 12, find the slope of the other line.

Answer: We know that the acute angle θ between two lines with slopes m1 and m2 is given by
tanθ=|m2m11+m1m2|(1)
Let m1=12,m2=m and θ=π4.
Now, putting these values in (1), we get
tanπ4=|m121+12m| or 1=|m121+12m|
which gives m121+12m=1 or m121+12m=1.
Therefore m=3 or m=13.

Hence, slope of the other line is 3 or 13. Fig 10.7 explains the reason of two answers.

Collinearity of three points

We know that slopes of two parallel lines are equal. If two lines having the same slope pass through a common point, then two lines will coincide. Hence, if A, B and C are three points in the XY-plane, then they will lie on a line, i.e., three points are collinear (Fig 10.8) if and only if slope of AB= slope of BC.

Example 7: Find whether the points
(a,b),[(s+1)a,(s+1)b] and [(t1)a,(t1)b]
are collinear?

Answer: Let A(a,b),B[(s+1)a,(s+1)b] and
C((t1)a,(t1)b)
Then, slope of AB=(s+1)b+b(s+1)a+a=ba
and slope of BC=(t1)b+(s+1)b(t1)a+(s+1)a=ba
Hence, given points are collinear.

Example 8: For what value of k the points (k,22k),(k+1,2k) and (4k,62k) are collinear?

Answer: Let A(k,22k),B(k+1,2k) and C(4k,62k) are collinear, then
Slope of AB= Slope of AC
2k(22k)k+1k=62k(22k)4kk4k22k+1=442k(k12( Denominator 0))(4k2)(42k)=4(2k+1)(2k1)(2k)(2k+1)=0(2k1)(2k+1)=0k12,k=1

Example 9: Find the angle between the lines joining the points (0,0),(2,3) and (2,2),(3,5).

Answer: Let the given points be A(0,0),B(2,3),C(2,2) and D(3,5). Let m1 and m2 be the slopes of the lines AB and CD respectively.
m1=3020=32 and m2=5(2)32=7
Let θ be the acute angle between the lines
tanθ=|m1m21+m1m2|=|3271+(32)7|=|1123|=1123θ=tan1(1123)

Example 10: Without using pythagoras theorem, show that the points A(1,3),B(0,5) and C(3,1) are the vertices of a right angled triangle.

Answer: In ABC, we have
Slope of side AB=530(1)=2=m1 (say) 
Slope of side BC=1530=43=m2 (say) 
and Slope of side CA=3113=12=m3 (say) 
Clearly,
m1m3=2×(12)=1
AB and CA are perpendicular to each other i.e.
BAC=90
Hence, the given points are the vertices of a right angled triangle.

Example 11: Show that the triangle which has one of the angles as 60, can not have all vertices with integral coordinates.

Answer: Let ABC be a triangle whose vertices are A(x1,y1),B(x2,y2) and C(x3,y3). Assume x1,x2,x3,y1,y2,y3 all are integers.
Let BAC=60
Slope of AC=y3y1x3x1=∣m1 (say) 
and Slope of AB=y2y1x2x1=m2 (say) 

Here, m1 and m2 are rational numbers (x1,x2,x3,y1,y2,y3 are integers)
tan(BAC)=m1m21+m1m2= Rational (m1 and m2 are rational ) But tan(BAC)=tan60=3= Irrational 
Rational number Irrational number
Which is contradiction so our assumption that the vertices are integers is wrong. Hence, the triangle having one angle of 60 can not have all vertices with integral coordinates.

Example 12: Three points P(h,k),Q(x1,y1) and R(x2,y2) lie on a line. Show that
(hx1)(y2y1)=(ky1)(x2x1).

Answer: Since points P, Q and R are collinear, we have
Slope of PQ= Slope of QR, i.e., y1kx1h=y2y1x2x1
or ky1hx1=y2y1x2x1,
or (hx1)(y2y1)=(ky1)(x2x1).

Example 13: In Fig 10.9, time and distance graph of a linear motion is given. Two positions of time and distance are recorded as, when T=0,D=2 and when T=3,D=8. Using the concept of slope, find law of motion, i.e., how distance depends upon time.

Answer: Let ( T,D) be any point on the line, where D denotes the distance at time T. Therefore, points (0,2),(3,8) and (T, D) are collinear so that
8230=D8 T3 or 6( T3)=3(D8) or D=2( T+1),
which is the required relation.

<p>You cannot copy content of this page</p>