Lecture 10 03 12 2022
Lecture 10 03 12 2022
Lecture 10 03 12 2022
Emad Al-Hemiary
Second Year, First Semester Scalar Functions
2022-2023
Vector Function
we define a vector function 𝒗
⃑ , whose values are vectors, that is,
⃑ (𝑃) = [𝑣
⃑ =𝒗
𝒗 ⃑⃑⃑⃑1 (𝑃), ⃑⃑⃑⃑
𝑣2 (𝑃), ⃑⃑⃑⃑
𝑣3 (𝑃)] (10.1)
that depends on points 𝑃 in space
A vector function defines a vector field in a domain of definition. Examples:
Note that vector functions may also depend on time 𝑡 or on some other parameters.
Scalar Function
Similarly, we define a scalar function 𝑓, whose values are scalars, that is,
𝑓 = 𝑓(𝑃) (10.2)
that depends on 𝑃.
A scalar function defines a scalar field in that three-dimensional domain or surface or curve in
space. Examples of scalar fields are:
• the temperature field of a body and
• the pressure field of the air in Earth’s atmosphere.
Note that scalar functions may also depend on some parameter such as time t.
1
Engineering Mathematics I Lecture 10: Vector and Prof. Dr. Emad Al-Hemiary
Second Year, First Semester Scalar Functions
2022-2023
Properties:
• ⃑ )′ = 𝑐𝒗
(𝑐𝒗 ⃑′
• (𝒖
⃑ +𝒗 ⃑ )′ = 𝒖 ⃑ ′+𝒗⃑′
• (𝒖
⃑ ∙𝒗⃑ )′ = 𝒖 ⃑ ′∙𝒗⃑ +𝒖 ⃑ ∙𝒗⃑′
• (𝒖
⃑ ×𝒗 ⃑ )′ = 𝒖⃑ ′×𝒗 ⃑ +𝒖 ⃑ ×𝒗 ⃑′
• (𝒖
⃑ 𝒗
⃑ 𝒘⃑⃑⃑ )′ = (𝒖⃑ ′𝒗 ⃑⃑⃑ ) + (𝒖
⃑ 𝒘 ⃑′𝒘
⃑ 𝒗 ⃑⃑⃑ ) + (𝒖
⃑ 𝒗 ⃑⃑⃑ ′ )
⃑ 𝒘
2
Engineering Mathematics I Lecture 10: Vector and Prof. Dr. Emad Al-Hemiary
Second Year, First Semester Scalar Functions
2022-2023
𝜕 2𝒗⃑ 𝜕 2 𝑣1 𝜕 2 𝑣2 𝜕 2 𝑣3
= 𝑖+ 𝑗+ ⃑
𝑘 (10.6)
𝜕𝑡𝑙 𝜕𝑡𝑚 𝜕𝑡𝑙 𝜕𝑡𝑚 𝜕𝑡𝑙 𝜕𝑡𝑚 𝜕𝑡𝑙 𝜕𝑡𝑚
and so on.
⃑
𝜕𝒓 ⃑
𝜕𝒓 𝜕2𝒓
⃑
Example 10.2: Let 𝒓 ⃑ , find
⃑ (𝑡1 , 𝑡2 ) = 𝑎 cos 𝑡1 𝑖 + 𝑎 sin 𝑡1 𝑗 + 𝑡2 𝑘 , 𝜕𝑡 , and 𝜕𝑡
𝜕𝑡 1 2 1 𝜕𝑡2
Solution:
⃑
𝜕𝒓
⃑ = −𝑎 sin 𝑡1 𝑖 + 𝑎 cos 𝑡1 𝑗
= −𝑎 sin 𝑡1 𝑖 + 𝑎 cos 𝑡1 𝑗 + 0𝑘
𝜕𝑡1
⃑
𝜕𝒓
⃑ =𝑘
= 0𝑖 + 0𝑗 + 𝑘 ⃑
𝜕𝑡2
𝜕 2𝒓
⃑
=0
𝜕𝑡1 𝜕𝑡2
Curves
Bodies that move in space form paths that may be represented by
curves 𝐶. A typical parametric representation is given by:
𝒓 ⃑
⃑ (𝑡) = [𝑥(𝑡), 𝑦(𝑡), 𝑧(𝑡)] = 𝑥(𝑡)𝑖 + 𝑦(𝑡)𝑗 + 𝑧(𝑡)𝑘 (10.7)
Here 𝑡 is the parameter and 𝑥, 𝑦, 𝑧 are Cartesian coordinates.
As we increase 𝑡, we travel along the curve 𝐶 in a certain direction.
The sense of increasing 𝑡 is called the positive sense on 𝑪. The
sense of decreasing 𝑡 is then called the negative sense.
3
Engineering Mathematics I Lecture 10: Vector and Prof. Dr. Emad Al-Hemiary
Second Year, First Semester Scalar Functions
2022-2023
𝑥2 𝑦2
Example 10.4: Represent the circle given by 𝑎2 + 𝑏2 = 1, 𝑧 = 0 using parametric representation.
Solution:
Assume that:
𝑥(𝑡) = 𝑎 cos 𝑡 𝑥 2 𝑦 2 𝑎2 cos2 𝑡 𝑏 2 sin2 𝑡
}→ 2+ 2= + = cos2 𝑡 + sin2 𝑡
𝑦(𝑡) = 𝑏 sin 𝑡 𝑎 𝑏 𝑎2 𝑏2
=1
Therefore, the parametric representation is:
⃑ (𝑡) = [𝑥(𝑡), 𝑦(𝑡), 0] = [𝑎 cos 𝑡 , 𝑏 sin 𝑡 , 0] = [𝑎 cos 𝑡 , 𝑏 sin 𝑡]
𝒓
= 𝑎 cos 𝑡 𝑖 + 𝑏 sin 𝑡 𝑗 0 ≤ 𝑡 ≤ 2𝜋
𝒓 ⃑
⃑ (𝑡) = [𝑎 cos 𝑡 , 𝑏 sin 𝑡 , 𝑐𝑡] = 𝑎 cos 𝑡 𝑖 + 𝑏 sin 𝑡 𝑗 + 𝑐𝑡𝑘 𝑐≠0
𝑐>0 𝑐<0
Left-handed circular helix
Right-handed circular helix
4
Engineering Mathematics I Lecture 10: Vector and Prof. Dr. Emad Al-Hemiary
Second Year, First Semester Scalar Functions
2022-2023
Tangent to a Curve
Approximation of a curve by straight lines, leads to tangents and to a definition of length.
• Tangents are straight lines touching a curve
• The tangent to a simple curve 𝐶 at a point 𝑃 of 𝐶 is the
limiting position of a straight line 𝐿 through 𝑃 and a
point 𝑄 of 𝐶 as 𝑄 approaches 𝑃 along 𝐶.
If 𝐶 is given by 𝑟(𝑡), and 𝑃 and 𝑄 correspond to 𝑡 and 𝑡 + ∆𝑡
then a vector in the direction of 𝐿 is
1
[𝑟(𝑡 + ∆𝑡) − 𝑟(𝑡)] (10.8)
∆𝑡
In the limit this vector becomes the derivative:
1
𝑟 ′ (𝑡) = lim [𝑟(𝑡 + ∆𝑡) − 𝑟(𝑡)] (10.9)
∆𝑡→0 ∆𝑡
1
√2 = 2 cos 𝜃 = cos 𝜃
√2 𝜋 𝜋 𝜋 𝜋 1
{ 1 → → 𝜃 = → 𝑟 ′ ( ) = [−2 sin , cos ] = (−√2, )
= sin 𝜃 1 4 4 4 4 √2
√2 = sin 𝜃
{ √2
From (10.11):
5
Engineering Mathematics I Lecture 10: Vector and Prof. Dr. Emad Al-Hemiary
Second Year, First Semester Scalar Functions
2022-2023
1 1 1
𝑞(𝑤) = 𝑟 + 𝑤𝑟 ′ → 𝑞(𝑤) = (√2, ) + 𝑤 (−√2, ) = √2(1 − 𝑤), (1 + 𝑤)
√2 √2 √2
Length of a Curve 𝑏
𝑎
The length of a curve 𝑙 is the limit of the lengths of broken lines
of 𝑛 chords (Example: 𝑛 = 5 in the figure) with larger and larger
𝑛.
The lengths 𝑙1 , 𝑙2 , … of these chords can be obtained from the Pythagorean theorem. If 𝑟(𝑡) has
a continuous derivative 𝑟 ′ (𝑡) it can be shown that the sequence has a limit, which is independent
of the particular choice of the representation of 𝐶 and of the choice of subdivisions. This limit is
given by the integral:
𝑏
𝑑𝑟
𝑙 = ∫ √𝑟 ′ ∙ 𝑟 ′ 𝑑𝑡 𝑤ℎ𝑒𝑟𝑒, (𝑟 ′ = ) (10.12)
𝑑𝑡
𝑎
The arc length function or simply the arc length of 𝐶 is derived from (10.12) by replacing 𝑏 with
𝑡. It is given by:
𝑡
𝑑𝑟
𝑠(𝑡) = ∫ √𝑟 ′ ∙ 𝑟 ′ 𝑑𝑡̃ 𝑤ℎ𝑒𝑟𝑒, (𝑟 ′ = ) (10.13)
𝑑𝑡̃
𝑎
𝑑𝑠 2 𝑑𝑟 𝑑𝑟 ′ 2
𝑑𝑥 2 𝑑𝑦 2 𝑑𝑧 2
( ) = ∙ = |𝑟 (𝑡)| = ( ) + ( ) + ( ) (10.14)
𝑑𝑡 𝑑𝑡 𝑑𝑡 𝑑𝑡 𝑑𝑡 𝑑𝑡
We can also write (10.14) in the form:
𝑑𝑠 2 = 𝑑𝑟 ∙ 𝑑𝑟 = 𝑑𝑥 2 + 𝑑𝑦 2 + 𝑑𝑧 2 (10.15)
Where:
⃑
𝑑𝑟 = [𝑑𝑥, 𝑑𝑦, 𝑑𝑧] = 𝑑𝑥𝑖 + 𝑑𝑦𝑗 + 𝑑𝑧𝑘 (10.16)
6
Engineering Mathematics I Lecture 10: Vector and Prof. Dr. Emad Al-Hemiary
Second Year, First Semester Scalar Functions
2022-2023
𝑟′ [1, 𝑡, 0] 1 𝑡
𝑢
⃑ = ′
= =[ , , 0]
|𝑟 | √1 + 𝑡 2 √1 + 𝑡 2 √1 + 𝑡 2 𝑡 𝑟
0 (0,0,1)
𝑟 ′ (2) = [1,2,0] 1
-1
(1,1/2,1)
(-1,1/2,1)
2 (2,2,1)
The tangent equation is therefore: -2 (-2,2,1)
3 (3,9/2,1)
𝑞(𝑤) = 𝑟 + 𝑤𝑟 ′ → 𝑞(𝑤) = (2,2,1) + 𝑤(1,2,0) -3 (-3,9/2,1)
= [(2 + 𝑤), 2(1 + 𝑤), 1]
Example 10.9: Given a curve 𝐶, 𝑟(𝑡) = [10 cos 𝑡, 1,10 sin 𝑡]. Find the tangent 𝑟 ′ (𝑡), a unit vector
tangent vector 𝑢
⃑ ′ (𝑡) and the tangent of 𝐶 at 𝑃: (6,1,8).
Solution:
𝑟 ′ (𝑡) = [−10 sin 𝑡, 0,10 cos 𝑡]
𝑟′ [−10 sin 𝑡, 0,10 cos 𝑡] [−10 sin 𝑡, 0,10 cos 𝑡]
𝑢
⃑ = ′ = = = [− sin 𝑡, 0, cos 𝑡]
|𝑟 | √(−10 sin 𝑡)2 + (0)2 + (10 cos 𝑡)2 10
Example 10.10: Find the length and sketch the curve of the catenary 𝑟(𝑡) = [𝑡, cosh 𝑡] from 𝑡 =
0 to 𝑡 = 1.
Solution: From 10.12, we have:
𝑒 𝑥 − 𝑒 −𝑥 𝑒 𝑥 + 𝑒 −𝑥
sinh 𝑥 = cosh 𝑥 =
𝑑𝑟 𝑑 𝑑 2 2 1
𝑟′ = = [ 𝑡, cosh 𝑡] = [1, sinh 𝑡]
𝑑𝑡 𝑑𝑡 𝑑𝑡
1
7
Engineering Mathematics I Lecture 10: Vector and Prof. Dr. Emad Al-Hemiary
Second Year, First Semester Scalar Functions
2022-2023
𝑏 1 1 1