Slopes , Parallel and Perpendicular Lines
Slope of Parallel and perpendicular lines.
What is Slope ?
Slope is a measure of the steepness of a line connecting two points and formula to calculate slope using two given points A(X1,Y1 ) and B(X2,Y2) is,
Example1. Find slope of a line passing through two points(3,2) and (-1,5).
Solution: Using slope formula,
Slope(m) =
Example 2.Determine x so that slope of line passing through points(2,5) and (x,3) is 2.
Solution: Using slope formula,
slope(m)
2
2(x-2) = -2
2x – 4 = -2
2x = 2 => x=1
Slope can also be given as tangent of the angle that a line makes with the positive direction of x axis in anticlockwise direction. It always lie between 0 and 180°.
Example3. Find slope of a line whose inclination to the positive direction of x axis is 150°.
Solution: slope = tan(150° )
tan(150) = tan(180-30) =-tan(30) = -1/√3
Therefore slope(m)
Example4. Find the angle between x axis and line joining the points (3,-1) and (4,-2).
Solution: Let θ be the angle between the line and x axis. Then,
tanθ = slope of line
tanθ = -1 => θ = 135°
Example5. Find the value of x such that points (x,-1) (2,1) and (4,5) are collinear.
Solution: The points lying on same line are called collinear. We know that points lying on same line have same slope. Therefore
Slope of AB= slope of BC
Let the points are A(x,-1) , B(2,1) and C(4,5)
2 = 2(2-x)
2 = 4-2x
-2 = -2x => x=1
Angle between two lines:
Let θ be the angle between two lines having slopes m1 and m2, then
In case of parallel lines:
If two lines are parallel then angle between then would be 0.
Therefore, when two lines are parallel, their slopes are same.
In case of perpendicular lines:
If two lines are perpendicular then angle between them is of 90°.
We know that tan90 is undefined , that means expression on right side will have denominator equal to 0.
Therefore, when two lines are perpendicular, the product of their slopes is -1.
Example6. If A(-2,1) B(2,3) and C(-2,-4) are three points, find angle between BA and BC.
Solution: To find angle between lines BA and BC we need to find their slopes first.
Slope of line BA(m1 )
Slope of line BC(m2)
Using formula ,
Example7. If the angle between two lines is π/4 and slope of one line is 1/2 , find slope of other line.
Solution: Plug in value of θ=π/4 and slope m1 = 1/2 into the formula,
For the sake of simplicity lets assume m2 as m
2+m = 2m-1 or -(2+m) = 2m-1
2+1 = 2m-m -2-m = 2m-1
3 = m -1/3 = m
Example8.Line through points A(-2,6) and B(4,8) is perpendicular to the line through the points C(8,12) and D(x,24). Find value of x.
Solution: Since the lines are given perpendicular , therefore product of their slopes would be -1.
Slope of AB * slope of CD = -1
4 = -1(x-8) => x=4
Example9. A ray of light passing through the point(1,2) reflects on x axis at point A and the reflected ray passes through the point (5,3). Find coordinates of point A.
Solution: lets assume PA is the incident ray and AQ is the reflected ray. AN is the normal which make angle of 90° with x axis. We know that incident ray and reflected ray make same angle with normal, lets assume both angles as θ . So
<PAN = <QAN =θ
Since A is the point on x axis so its coordinates would be (x,0) as y coordinate is always 0 on x axis. Slope of line PA is given as tan(90+θ ) and slope of line QA is given as tan(90-θ ).
Now we also find their slopes using points and slope formula.
Slope of line PA
———-(i)
Slope of line QA
———(ii)
Comparing equations (i) and (ii) we get,
Cross multiplying
-2(5-x) = 3(1-x)
-10 +2x = 3-3x
5x = 13 => x = 13/5
Practice problems:
- What is the value of x so that the line through (3,x) and (2,7) is parallel to line through(-1,4) and (0,6).
- The slope of a line is double of the slope of other line. If tangent of the angle between them is 1/3, then find slope of other line.
- Find the angle between x axis and line joining the points (3,1) and (4,2).
- Using slope, show that A(4,4) B(3,5) and C(-1,-1) are the vertices of right triangle.
Answers:
- 9
- ±1, ±1/2
- π/4