Week 2 Lecture
Week 2 Lecture
in 3D
For any point (x 0 , y 0) on the line having slope m is given by the equation
y− y 0=m ( x−x 0 )
If we fix the point, to be any point on the y -axis ( y -intercept), then x 0=0 and
y 0=c , ∀ c ∈ R and above equation becomes
y−c=m x
or
y=m x +c
A Line in a Space (3D):
A line L in three-dimensional space is determined when we know a point
P0 (x 0 , y 0 , z 0 ) on L and the direction of line L. In three dimensions, the direction
⃗
OP ). If a⃗ is the vector with representation
⃗
P0 P, as in Figure 1, then the Triangle Law
But, since a⃗ and ⃗v are parallel vectors, there is a scalar t ∈ (−∞ ,+∞ ) such that a⃗ =t ⃗v .
Thus
r⃗ =⃗
r 0 +t ⃗v −−−−−−−−−−−−(1)
If the vector ⃗v that gives the direction of the line L is written in component form as
⃗v =¿ a , b , c >¿, then we have t ⃗v =¿ ta ,tb , tc>¿.
Two vectors are equal if and only if corresponding components are equal.
Therefore, we have the three scalar equations:
x=x 0 +ta , y = y 0+ tb, z=z 0 +tc−−−−−−−−−(2)
where t ∈ R.
These equations are called parametric equations of the line L through the point
P0 (x 0 , y 0 , z 0 ) and parallel to the vector ⃗v =¿ a , b , c >¿. Each value of the parameter t
gives a point (x , y , z) on L.
y= y 0+ tb
z=z 0 +tc
Note:
Two vectors u⃗ and ⃗v are parallel if u⃗ =t ⃗v , where t is scalar. We understand it with
the help of an example given below.
u⃗ =¿ 1, 2 , 3>¿
⃗v =¿ 2 , 4 , 6>¿
Then
⃗v =2<1 , 2, 3>¿
⃗v =2 ⃗u
⃗v =2 ⃗i + 4 ⃗j −2 ⃗k
Solution:
Since the given point is
P=(x 0 , y 0 , z 0)=(−2 , 0 , 4)
Here we have
x 0=−2 , y 0=0 , z 0=4
y= y o+ t b=0+ 4 t=4 t
z=z o +t c=4−2 t
That is,
x=−2+2 t
y=4 t
z=4−2t
Example 2:
Find the parametric equation and vector equation of the line through
P(−3 , 2 ,−3) and Q(1 ,−1 , 4 ).
Solution:
P=(x 0 , y 0 , z 0)=(−3 , 2 ,−3)
⃗v =⃗
PQ=¿ 1−(−3 ) ,−1−2 , 4−(−3 )> ¿
⃗v =⃗
PQ=¿ 4 ,−3 , 7>¿< a , b , c >¿
y= y o+ t v 2 =2−3 t
z=z o +t v 3=−3+7 t
Example 3:
Find the parametric equation of the line passing through the point (3 ,−2, 1) and
parallel to the line having parametric equations
x=1+2 t
y=2−t
z=3 t
Solution:
Since we have given the parametric equations as
x=1+2 t=x 0+ at
y=2−t= y 0 +bt
That is,
x 0=3 , y 0=−2 , z 0=1
Then the parametric equation of the line passing through the point P(3 ,−2 ,1) and
parallel to the line with the given parametric equations are given below:
x=x 0 +at
y= y 0+ bt
z=z 0 +ct
Example 4:
Find the parametric equation of the line passing through origin and parallel to the
vector
⃗v =2 ^j+ k^
Solution:
Given that
Origin=P=( 0 , 0 ,0 )=P(x 0 , y 0 , z 0 )
⃗v =0 i+ ^
^ 2 ^j+ k=a ^
^ b ^j+ ck
i+
y ¿ y 0 +bt=0+2 t=2 t
z=z 0 +ct=0+t=t
Example 5:
Find the parametric equations of the line passing through the point (2 , 3 ,0), and
^ ^j+3 ^k and ⃗v =3 i+
perpendicular to the vectorsu⃗ =i+2 ^ 4 ^j+5 k^ .
Solution:
Since the line is perpendicular to the vectors u⃗ and ⃗v, therefore using the cross
product, we have
| |
i^ ^j k^
u⃗ × ⃗v = 1 2 3
3 4 5
y ¿ y 0 +bt=3+ 4 t
z=z 0 +ct=0−2 t
x=2−2t
y=3+ 4 t
z=−2 t
Practice questions:
Ex. 12.5: 1-7, 10.
Solution:
First of all, we will find the parametric equation of the line through the points
P(−3 , 2 ,−3) and Q(1 ,−1 , 4 ) and then restrict the domain of parameter t to obtain the
parametric equation of the line segment from P to Q .
Step 1: (Equation of line)
⃗v =⃗ ^
PQ=(1+3) i+(−1−2) ^j+(4 +3) k^
^
⃗v =4 i−3 ^j+7 k^ =a i+
^ b ^j+c k^
Let us consider the point P (−3 , 2,−3 )=P( x0 , y 0 , z 0 ). (NOTE: We can also consider point Q
here). Then the parametric equations of line are
}
¿−3=−3+ 4 t
¿ 2=2−3 t ⇒ t=0
¿−3=−3+7 t
}
¿ 1=−3+4 t
¿−1=2−3 t ⇒ t=1
¿ 4=−3+7 t
Question 19: Find the parametric equations of the line segment joining the points P(−2 , 0 , 2)
and Q(0 , 2 , 0).
Practice Questions
Ex. 12.5: 13-20.
s
sin ( θ ) =
¿ r⃗0−⃗
r 1∨¿ ¿
|r⃗0−⃗
r 1|sin ( θ )=s
s=|⃗ r 1|sin ( θ )
r 0−⃗
We can rearrange as
|(⃗ r 1) × ⃗v|=|(⃗
r 0−⃗ r 1)|sin ( θ )|v⃗|
r 0−⃗
|( ⃗r 0−⃗r 1 ) × ⃗v|=s
|⃗v|
s=
|⃗
P 0 P1 × ⃗v|
( ∴⃗
P P =⃗
r −⃗
r)
|⃗v| 0 1 0 1
Example:
Find the distance from the point S (1, 1, 5) to the line:
{
x=1+t
L : y=3−t
z=2 t
Solution:
Since the given point is S ( 1 ,1 , 5 )=S( x1 , y 1 , z 1).
This means that P=P ( x 0 , y 0 , z 0 )=P (1 ,3 , 0) and ⃗v =¿ a , b , c >¿<1 ,−1, 2>¿. Thus, the vector
parallel to the line L is
^ ^j+2 k^
⃗v =i−
The Line passes through the point P (1, 3, 0)
⃗ ^
PS=(1−1) i+(1−3) ^j+(5−0) k^
⃗ ^
PS=0 i−2 ^j+5 k^ .
Now,
| |
i^ ^j k^
⃗
PS × ⃗v = 0 −2 5
1 −1 2
⃗
PS × ⃗v =i^ |
−1 2
−j
1 2| | | |
−2 5 ^ 0 5 ^ 0 −2
+k
1 −1 |
⃗ ^
PS × ⃗v =i(−4+5)− ^j(0−5)+ k^ (0+2)
⃗ ^ ^j+2 k^
PS × ⃗v =i+5
Taking magnitude of ⃗
PS × ⃗v , we have
|⃗
PS × ⃗v|= √ ¿ ¿
|⃗
PS × ⃗v|= √ 30
d=
|⃗
PS × ⃗v|
|⃗v|
Putting values, we have
d=
√6 √
√ 30 = 30 = 5
6
√
d= √ 5=2.24
Hence the distance of a point S to the line L is 2.24 units.
Practice Questions:
Ex. 12.5: 33-38