Mada za sehemu hiiVectorsMada 5
The dot product (also called the scalar product) of two non-zero vectors a and b is denoted by a⋅b and is calculated by summing the products of their corresponding components. For vectors a=(a1,a2,a3) and b=(b1,b2,b3), their dot product is:
a⋅b=a1b1+a2b2+a3b3
The dot product is defined only for pairs of vectors with the same number of dimensions.
Properties of the dot product:
- Commutativity: a⋅b=b⋅a
- Distributivity: a⋅(b+c)=a⋅b+a⋅c
- Scalar multiplication: (ka)⋅b=k(a⋅b)=a⋅(kb), where k is a scalar.
- Relationship to angle: a⋅b=∣a∣∣b∣cosθ, where θ is the angle between the two vectors.
- Orthogonality (perpendicularity): If a⋅b=0, and neither a nor b is the zero vector, then the vectors are perpendicular (orthogonal).
- Dot product of a vector with itself: a⋅a=∣a∣2=a12+a22+a32
Example 1
Compute the dot product of the following vectors:
(a) a=−3i−5j+14k and b=2i+j+6k
(b) n=5i−8j and w=i+2j+k
Solution
(a) a⋅b=(−3i−5j+14k)⋅(2i+j+6k)
a⋅b=(−3)(2)+(−5)(1)+(14)(6)
a⋅b=−6−5+84
a⋅b=73
(b) n⋅w=(5i−8j)⋅(i+2j+k)
Note that n can be written as 5i−8j+0k to match the dimensions of w.
n⋅w=(5)(1)+(−8)(2)+(0)(1)
n⋅w=5−16+0
n⋅w=−11
Example 2
Given the vectors a=2i+3j−2k, b=8i+10j−16k, and c=−7i+j+4k, identify the pairs of vectors that are orthogonal to each other.
Solution
Given a=2i+3j−2k, b=8i+10j−16k, and c=−7i+j+4k.
First, check the dot product of a and b:
a⋅b=(2)(8)+(3)(10)+(−2)(−16)
a⋅b=16+30+32
a⋅b=78
Since a⋅b=0, vectors a and b are not orthogonal.
Next, check the dot product of a and c:
a⋅c=(2)(−7)+(3)(1)+(−2)(4)
a⋅c=−14+3−8
a⋅c=−19
Since a⋅c=0, vectors a and c are not orthogonal.
Finally, check the dot product of b and c:
b⋅c=(8)(−7)+(10)(1)+(−16)(4)
b⋅c=−56+10−64
b⋅c=−110
Since b⋅c=0, vectors b and c are not orthogonal.
The dot product of vectors can be used to determine the angle between two vectors.
The relationship between the dot product and the angle θ between two vectors a and b is given by:
a⋅b=∣a∣∣b∣cosθ
Where:
- a⋅b is the dot product of vectors a and b.
- ∣a∣ is the magnitude (length) of vector a.
- ∣b∣ is the magnitude (length) of vector b.
- θ is the angle between the two vectors, where 0≤θ≤π (or 0∘≤θ≤180∘).
To find the angle θ, we can rearrange the formula:
cosθ=∣a∣∣b∣a⋅b
θ=cos−1(∣a∣∣b∣a⋅b)
Steps to find the angle between two vectors:
- Calculate the dot product a⋅b.
- Calculate the magnitude of vector a, ∣a∣.
- Calculate the magnitude of vector b, ∣b∣.
- Substitute the values into the formula for cosθ.
- Calculate θ using the inverse cosine function (cos−1).
Proof of the dot product by the cosine rule
Consider triangle AOB with vectors a, b, and c, where c=b−a and θ is the angle between a and b.
Applying the cosine rule to triangle AOB:
∣c∣2=∣a∣2+∣b∣2−2∣a∣∣b∣cosθ
∣b−a∣2=∣a∣2+∣b∣2−2∣a∣∣b∣cosθ
Expanding the left side using the dot product property ∣v∣2=v⋅v:
(b−a)⋅(b−a)=a⋅a+b⋅b−2∣a∣∣b∣cosθ
b⋅b−2a⋅b+a⋅a=∣a∣2+∣b∣2−2∣a∣∣b∣cosθ
∣b∣2−2a⋅b+∣a∣2=∣a∣2+∣b∣2−2∣a∣∣b∣cosθ
Simplifying:
−2a⋅b=−2∣a∣∣b∣cosθ
a⋅b=∣a∣∣b∣cosθ
Example 1
Determine the angle between the two vectors a=(3,−4,−1) and b=(0,5,2).
Solution
a⋅b=(3)(0)+(−4)(5)+(−1)(2)=0−20−2=−22
∣a∣=32+(−4)2+(−1)2=9+16+1=26
∣b∣=02+52+22=0+25+4=29
cosθ=2629−22=754−22≈−0.8012
θ=cos−1(−0.8012)≈143.24∘
Example 2
Given two vectors a=i+2j+3k and b=−i+5j+k, find:
(a) a⋅b
(b) The angle between a and b.
Solution
(a) a⋅b=(1)(−1)+(2)(5)+(3)(1)=−1+10+3=12
(b) ∣a∣=12+22+32=1+4+9=14
∣b∣=(−1)2+52+12=1+25+1=27
cosθ=142712=37812≈0.6172
θ=cos−1(0.6172)≈51.88∘
Example 3
Calculate the angles of a triangle EFG with vertices E(2,−3,5), F(0,1,4), and G(−2,5,2).
Solution
EF=(0−2)i+(1−(−3))j+(4−5)k=−2i+4j−k
EG=(−2−2)i+(5−(−3))j+(2−5)k=−4i+8j−3k
FE=2i−4j+k
FG=(−2−0)i+(5−1)j+(2−4)k=−2i+4j−2k
GE=4i−8j+3k
GF=2i−4j+2k
Angle E: cosE=∣EF∣∣EG∣EF⋅EG=2189(−2)(−4)+(4)(8)+(−1)(−3)=18698+32+3=186943≈0.9945, so E≈5.94∘
Angle F: cosF=∣FE∣∣FG∣FE⋅FG=2124(2)(−2)+(−4)(4)+(1)(−2)=504−4−16−2=504−22≈−0.9800, so F≈168.52∘
Angle G: cosG=∣GE∣∣GF∣GE⋅GF=8924(4)(2)+(−8)(−4)+(3)(2)=21368+32+6=213646≈0.9945, so G≈5.55∘
Therefore, the angles of triangle EFG are approximately 5.94∘, 168.52∘, and 5.55∘. (Note: There's a small rounding error, and the angles should sum close to 180°.)
Given two vectors of the same dimensions, one vector can be projected onto another. There are two types of projections: scalar projection and vector projection. Scalar projection gives the magnitude of the projection, while vector projection gives the projection vector itself.
The scalar projection of vector a onto vector b is given by:
Projba=∣b∣a⋅b
The vector projection of vector a onto vector b is given by:
Projba=∣b∣2a⋅bb
Suppose a and b are two vectors, and θ is the angle between them.
Figure 1.
Figure 2.
Scalar projection
The scalar projection of a onto b is:
Projba=∣a∣cosθ=∣b∣a⋅b
Similarly, the scalar projection of b onto a is:
Projab=∣a∣a⋅b
Vector projection
The vector projection of a onto b is:
Projba=(∣b∣2a⋅b)b
Similarly, the vector projection of b onto a is:
Projab=(∣a∣2a⋅b)a
Example 1
Given vectors a=(1,0,−2), b=(2,−1,1), p=(3,2,−2), and q=(2,4,6):
(a) Determine the vector projection of a onto b.
(b) Find the scalar projection of p onto q.
Solution
(a) a⋅b=(1)(2)+(0)(−1)+(−2)(1)=2+0−2=0
∣b∣2=22+(−1)2+12=4+1+1=6
Projba=60b=0 (The zero vector)
(b) p⋅q=(3)(2)+(2)(4)+(−2)(6)=6+8−12=2
∣q∣=22+42+62=4+16+36=56=214
Projqp=2142=141=1414
Example 2
Find the vector projection of a=i−2j+k onto b=4i−4j+7k.
Solution
a⋅b=(1)(4)+(−2)(−4)+(1)(7)=4+8+7=19
∣b∣2=42+(−4)2+72=16+16+49=81
Projba=8119(4i−4j+7k)=8176i−8176j+81133k
Consider Figure 2.12, where a and b are position vectors, and C is the angle between them. Let c be the vector representing the side opposite angle C, so c=b−a.
We want to prove the cosine rule: c2=a2+b2−2abcosC, where a=∣a∣, b=∣b∣, and c=∣c∣.
We know that c=b−a. Taking the dot product of c with itself:
c⋅c=(b−a)⋅(b−a)
Expanding using the distributive property of the dot product:
∣c∣2=b⋅b−b⋅a−a⋅b+a⋅a
Since the dot product is commutative (a⋅b=b⋅a), and using the property v⋅v=∣v∣2, we have:
c2=b2−2(a⋅b)+a2
We also know that the dot product can be expressed in terms of the angle C between the vectors: a⋅b=∣a∣∣b∣cosC=abcosC.
Substituting this into the previous equation:
c2=a2+b2−2abcosC
This is the cosine rule.
Mwalimu
Unasoma somo hili? Niulize nikuelezee chochote kilichomo.
Ingia ili kumuuliza Mwalimu wa AI wa Sonza kuhusu mada hii.
Ingia ili kuulizaMajadiliano
Hakuna maswali bado