Parallel and Perpendicular lines in space
Parallel Lines in space
Two lines having vector equations as
and
are parallel if their direction vectors b1 and b2 are parallel
i.e for some scalar k.
Example1. Find the vector equation of a line passing through a point (2,-1,3) and parallel to the line r = (i+j) + t(2i+j-2k).
Solution: We know that any line parallel to given line will have same direction vectors as of the given line.
So we have to find the vector equation of a line which is passing through (2,-1,3) and have direction vector as 〈2,1,-2〉.
r = 〈2,-1,3〉 + t 〈2,1,-2〉
r = 〈 2+2t, -1+t , 3-2t〉
Parametric equations of line are:
x=2+2t, y=-1+t, z=3-2t
and Cartesian(symmetric) equation is given as…
Line passing through a point and perpendicular to two given lines.
Suppose a line is passing through point P and perpendicular to two lines
and
then its equation would be given as,
Example2. A line passes through point (2,-1,3) and is perpendicular to the line = (i+j-k) + t(2i-2j+k) and = (2i-j-3k) + t(i+2j+2k). Find the equation of this line.
Solution:
= i(-4-2) –j(4-1)+k(4+2)
= -6i-3j+6k
So the vector equation of perpendicular line would be,
Intersection of two lines:
Following algorithm is used to find intersection of two lines.
- Write the general points lying on both lines using parameters s and t.
- If the lines intersect , then they must have a common point. So set the corresponding parts of both lines equal to each other.
- Solve the three equations for parameters s and t. If these values satisfy the third equation then the lines intersect otherwise not.
Example3.Show that the lines r=〈1,1,-1〉 + s〈3,-1,0〉 and r = 〈4,0,-1〉 + t 〈2,0,3〉 intersect each other. Also find their point of intersection.
Solution: The general points lying on first line is given as,
r=〈1,1,-1〉 + s〈3,-1,0〉 => (1+3s , 1-s, -1)
General points lying on second line is given as,
r = 〈4,0,-1〉 + t 〈2,0,3〉 => (4+2t,0,-1+3t)
If two lines intersect then they must have some common point. So,
1+3s = 4+2t 1-s = 0 -1=-1+3t
3s-2t = 3 s =1
Substituting s=1 into 3s-2t=3, we get…
3(1)-2t = 3
-2t = 0 => t=0
These values of s and t must satisfy the third equation.
Substituting t=0 into -1+3t = -1
We get, -1 = -1
So these lines intersect at s=1 and t=0. Using these values in line equations , we get coordinates of intersecting point as,
(1+3s , 1-s, -1) = (4,0,-1)
(4+2t,0,-1+3t) = (4,0,-1)
Example4. Find point of intersection of following two lines.
Solution: General points lying on line are given as,
(2s+1 , 3s+2 ,4s+3)
Points on line are given as,
(5t+4,2t+1,t)
If two lines intersect then they must have a common point. So,
2s+1=5t+4 3s+2=2t+1 4s+3 = t
2s-5t = 3 3s-2t = -1 4s-t = -3
Solving first two equations, we get
s = -1 and t= -1
Substituting these values into third equation, we get
4s-t =-3 => 4(-1)-(-1) = -3
-4+1 = -3
-3 = -3
The values of s and t satisfy third equation too so these lines intersect and coordinates of intersecting point are,
s =-1, (2s+1 , 3s+2 ,4s+3)= (2(-1)+1 , 3(-1)+2 ,4(-1)+3)
= (-1,-1,-1)
t= -1 (5t+4,2t+1,t) = (5(-1)+4,2(-1)+1, -1)
= (-1,-1,-1)
Check whether given lines are parallel, perpendicular or Skew.
Here is a video example to understand this concept.
Example 5. Here are two cool lines:
Are these lines parallel, intersecting or skew ?
Perpendicular Distance of a point from a line.
Perpendicular is the shortest distance of a point from the given line. The idea behind perpendicular distance is the projection of perpendicular (drawn from point to the line) on the given line.
This distance can be found using two ways.
First method (Using dot product) :
Let be the given line. And P be the point whose distance is required from the line.
- Write the position vector of a general point on the given line and assume it as point L.
- Obtain
which would be in form of parameter t.
- Set dot product
and solve for parameter t.
- Plug in t value into
and find
Here is the perpendicular (shortest distance) from point P to line L.
Example5: Find shortest distance(length of perpendicular) of point P(0,2,3) from the line
Solution: let L be any point lying on this given line and general form of this point is
Step 1) Vector form of this line is r = 〈-3,1,-4〉 + t 〈 5,2,3〉
x= 5t-3, y=2t+1 , z=3t-4
So point L, in general form is given as,
L = (5t-3,2t+1,3t-4)
Step 2)
= L-P = 〈5t-3-0, 2t+1-2 , 3t-4-3〉
= 〈5t-3, 2t-1 , 3t-7〉
Step 3) Since PL is perpendicular to given line so,
= 5(5t-3)+2(2t-1)+3(3t-7) = 0
Solving it, we get t =1
Step 4) Substituting t=1 into PL we get,
Second method (using cross product):
For this method we use following steps.
- Get a point lying on the given line , Say it L.
- Find vector LP .
- Find cross product of vector LP and direction vector of line, b and use the formula
Example5: Find shortest distance(length of perpendicular) of point P(0,2,3) from the line
Solution: Using Cartesian form of line,
(x1 ,y1 ,z1 ) is the point lying on this line and 〈b1,b2,b3〉 is the direction vector of this line.
Step 1) Let L = (-3,1,-4) is the point on this line and b = 〈5,2,3〉 is the direction vector of this line.
Step 2) LP = (0,2,3)-(-3,1,-4) = (3,1,7)
Step 3)
= i(3-14)-j(9-35)+k(6-5)
= -11i+26j+k
Distance
Practice problems:
- Find the vector equation of a line passing through a point (2,-1,3) and parallel to the line r = (i-2j+k) + t(2i+3j-5k).
- Show that the lines
and
intersect each other. Also find their point of intersection.
- Find the length of perpendicular drawn from the point (5,4,-1) to the line r= i + t(2i+9j+5k).
Answers:
- r = (2i-j+3k) + t(2i+3j-5k)
- (1/2 ,-1/2, -3/2)
- √(2109/110)
