MVC Week 2 Lecture
MVC Week 2 Lecture
MVC Week 2 Lecture
in 3D
For any point (𝒙𝟎 , 𝒚𝟎 ) on the line having slope 𝒎 is given by the equation
𝒚 − 𝒚𝟎 = 𝒎(𝒙 − 𝒙𝟎 )
𝒚 − 𝒄 = 𝒎𝒙
or
𝒚 = 𝒎𝒙 + 𝒄
A Line in a Space (3D):
A line 𝑳 in three-dimensional space is determined when we know a point
𝑷𝟎 (𝒙𝟎 , 𝒚𝟎 , 𝒛𝟎 ) on 𝑳 and the direction of line 𝑳. In three dimensions, the direction
⃗ be a vector parallel to
of a line is conveniently described by a vector, so we let 𝒗
the line 𝑳.
⃗ =< 𝒙, 𝒚, 𝒛 >and 𝒓
We can also write 𝒓 ⃗⃗⃗⃗𝟎 =< 𝒙𝟎 , 𝒚𝟎 , 𝒛𝟎 >, so the vector equation
becomes
Example 1:
Find parametric equation & vector equation for the line through the point
(−𝟐, 𝟎, 𝟒) and parallel to the vector
⃗
⃗ = 𝟐𝒊 + 𝟒𝒋 − 𝟐𝒌
𝒗
Solution:
Since the given point is
𝑃 = (𝑥0 , 𝑦0 , 𝑧0 ) = (−2,0,4)
and the vector is
⃗ = 𝑣1 𝑖 + 𝑣2 𝑗 + 𝑣3 𝑘
𝑣 = a𝑖 + b𝑗 + c𝑘 ⃗ = 2𝑖 + 4𝑗 − 2𝑘
⃗
Here we have
𝑥0 = −2, 𝑦0 = 0, 𝑧0 = 4
𝑎 = 2, 𝑏 = 4, 𝑐 = −2
Parametric equation of line in space:
𝑥 = 𝑥𝑜 + 𝑡𝑎 = −2 + 2𝑡
𝑦 = 𝑦𝑜 + 𝑡𝑏 = 0 + 4𝑡 = 4𝑡
𝑧 = 𝑧𝑜 + 𝑡𝑐 = 4 − 2𝑡
That is,
𝑥 = −2 + 2𝑡
𝑦 = 4𝑡
𝑧 = 4 − 2𝑡
where −∞ < 𝒕 < ∞.
Vector Equation of Line in space:
𝑟 = 𝑟0 + 𝑡 𝑣
⃗ = (−2𝑖 + 0𝑗 + 4𝑘
𝑥𝑖 + 𝑦𝑗 + 𝑧𝑘 ⃗ ) + 𝑡 (2𝑖 + 4𝑗 − 2𝑘
⃗ ) ; −∞ < 𝑡 < ∞
Example 2:
Find the parametric equation of the line passing through origin and parallel to the
vector
𝑣 = 2𝑗̂ + 𝑘̂
Solution:
Given that
Origin= 𝑃 = (0,0,0) = 𝑃(𝑥0 , 𝑦0 , 𝑧0 )
𝑣 = 0𝑖̂ + 2𝑗̂ + 𝑘̂ = 𝑎𝑖̂ + 𝑏𝑗̂ + 𝑐𝑘̂
Then the parametric equations of line are
𝑥 = 𝑥0 + 𝑎𝑡 = 0 + 0𝑡 = 0
𝑦 = 𝑦0 + 𝑏𝑡 = 0 + 2𝑡 = 2𝑡
𝑧 = 𝑧0 + 𝑐𝑡 = 0 + 𝑡 = 𝑡
Then the required parametric equations are
𝒙=𝟎
𝒚 = 𝟐𝒕
𝒛=𝒕
Example 3:
Find the parametric equation and vector equation of the line through
𝑷(−𝟑, 𝟐, −𝟑) and 𝑸(𝟏, −𝟏, 𝟒).
Solution:
𝑃 = (𝑥0 , 𝑦0 , 𝑧0 ) = (−3,2, −3)
𝑄 = (𝑥1 , 𝑦1 , 𝑧1 ) = (1, −1,4)
The vector parallel to line is
⃗⃗⃗⃗⃗ =< 𝑥1 − 𝑥0 ,
𝑣 = 𝑃𝑄 𝑦1 − 𝑦0 , 𝑧1 − 𝑧0 >
⃗⃗⃗⃗⃗ =< 1 − (−3),
𝑣 = 𝑃𝑄 −1 − 2, 4 − (−3) >
⃗⃗⃗⃗⃗ =< 4, −3, 7 > =< 𝑎, 𝑏, 𝑐 >
𝑣 = 𝑃𝑄
We can write the vector in standard form as
⃗ = 𝟒𝒊 − 𝟑𝒋 + 𝟕𝒌
⃗ = 𝒂𝒊 + 𝒃𝒋 + 𝒄𝒌
𝒗 ⃗
Example 5:
Find the parametric equations of the line passing through the point (2, 3, 0), and
⃗ = 𝑖̂ + 2𝑗̂ + 3𝑘̂ and 𝑣 = 3𝑖̂ + 4𝑗̂ + 5𝑘̂.
perpendicular to the vectors 𝑢
Solution:
Since the line is perpendicular to the vectors 𝑢
⃗ and 𝑣, therefore using the cross
product, we have
𝑖̂ 𝑗̂ 𝑘̂
𝑢
⃗ × 𝑣 = |1 2 3 |
3 4 5
⃗ × 𝑣 = 𝑖̂(10 − 12) − 𝑗̂(5 − 9) + 𝑘̂(4 − 6)
𝑢
⃗ × 𝑣 = −2𝑖̂ + 4𝑗̂ − 2𝑘̂ = 𝑎𝑖̂ + 𝑏𝑗̂ − 𝑐𝑘̂
𝑢
The given point is
𝑃 = (2,3,0) = 𝑃(𝑥0 , 𝑦0 , 𝑧0 )
Then the parametric equations of line are
𝑥 = 𝑥0 + 𝑎𝑡 = 2 − 2𝑡
𝑦 = 𝑦0 + 𝑏𝑡 = 3 + 4𝑡
𝑧 = 𝑧0 + 𝑐𝑡 = 0 − 2𝑡
Then the required parametric equations are
𝑥 = 2 − 2𝑡
𝑦 = 3 + 4𝑡
𝑧 = −2𝑡
Practice questions:
(Textbook: Thomas Calculus 11th Edition) Ex. 12.5: 1-7, 10.
Let us consider the point 𝑷 (−𝟑, 𝟐, −𝟑) = 𝑷(𝒙𝟎 , 𝒚𝟎 , 𝒛𝟎 ). (NOTE: We can also
consider point Q here). Then the parametric equations of line are
𝒙 = 𝒙𝟎 + 𝒂𝒕 = −𝟑 + 𝟒𝒕
𝒚 = 𝒚𝟎 + 𝒃𝒕 = 𝟐 − 𝟑𝒕
𝒛 = 𝒛𝟎 + 𝒄𝒕 = −𝟑 + 𝟕𝒕
Step 2: (Line segment)
In order to find the value of 𝑡 for which an arbitrary point (𝒙, 𝒚, 𝒛) of the line is at
𝑷 (−𝟑, 𝟐, −𝟑), we solve the equation
−3 = −3 + 4𝑡
2 = 2 − 3𝑡 }⇒𝑡=0
−3 = −3 + 7𝑡
Similarly, when (𝒙, 𝒚, 𝒛) is at 𝑸 (𝟏, −𝟏, 𝟒), we solve
1 = −3 + 4𝑡
−1 = 2 − 3𝑡} ⇒ 𝑡 = 1
4 = −3 + 7𝑡
So, the parametric equation of the line segment is
𝑥 = −3 + 4𝑡
𝑦 = 2 − 3𝑡
𝑧 = −3 + 7𝑡; 0≤𝑡≤1
Question 19: Find the parametric equations of the line segment joining the points
𝑷(−𝟐, 𝟎, 𝟐) and 𝑸(𝟎, 𝟐, 𝟎).
Practice Questions
(Textbook: Thomas Calculus 11th Edition) Ex. 12.5: 13-20.
The Distance from a Point to a Line in Space
⃗ be a vector parallel
Let 𝑳 be a line and let 𝒗
⃗ ||𝑳.
to the line 𝑳. This means that 𝒗
Let 𝑷𝟎 be a point in space from which we
need to measure the distance to the line 𝑳,
i.e., we need to measure the distance between
𝑷𝟎 and 𝑳.
We consider an arbitrary point 𝑷𝟏 on the line 𝑳 assuming it might give us a distance
from the point 𝑷𝟎 .
⃗ 𝟎 and 𝒓
Considering 𝑷𝟎 and 𝑷𝟏 , we draw their position vectors 𝒓 ⃗ 𝟏 respectively from
the origin.
⃗ at an angle 𝜽 from 𝑷𝟏 to 𝑷𝟎 such that by head to tail rule we
We draw a vector 𝒖
have,
⃗𝟏+𝒖
𝒓 ⃗ =𝒓
⃗𝟎
This implies that
⃗ = ⃗𝒓𝟎 − ⃗𝒓𝟏 .
𝒖
Now logically the shortest distance of a point from a line is the length of the
perpendicular drawn from the point to the line.
Let us consider a point 𝑷𝟐 on the line 𝑳, such that 𝑷𝟎 𝑷𝟐 is perpendicular to the line
̅̅̅̅̅̅̅
𝑳. i.e., 𝑷𝟎 𝑷𝟐 ⊥ 𝑳. We say that 𝑷 𝟎 𝑷𝟐 = 𝑠.
𝑢 ⃗⃗⃗⃗⃗⃗⃗⃗
⃗ =𝑃 ⃗⃗⃗⃗⃗⃗⃗ ⃗⃗⃗⃗⃗⃗⃗
1 𝑃0 = 𝑂𝑃0 − 𝑂𝑃1
|𝑢
⃗ × 𝑣| = √30
⃗ , we have
Similarly, taking magnitude of vector 𝒗
√30 30
𝑑= =√ = √5
√6 6
𝑑 = √5 = 2.24
Hence the distance of a point 𝑷𝟏 to the line 𝑳 is 2.24 units.
Practice Questions:
Textbook: Thomas Calculus 11th Edition Ex. 12.5: 33-38