Learn about the dot product, a fundamental operation in linear algebra that calculates the scalar product of two vectors. Understand its geometric interpretation, properties, and applications in various fields, including physics, computer graphics, and machine learning.
Table Of Contents
In this article we will learn about operations on vectors, namely vector multiplication or dot product or dot product. After previously we learned operations on vectors, namely addition and subtraction on vectorsβ
and multiplication of vectors with scalarsβ
, so this time we will continue with the discussion of Vector Dot Multiplication (Dot Product). We can present vectors in algebraic form and geometric form where two vectors will form a certain angle. So, we can calculate the angle between the two vectors by applying the concept of Vector Dot Multiplication. Before continuing to master the material vector lengthβ
first.
Dot vector is also called scalar multiplication between two vectors, because even though the two elements being multiplied are vectors, the product is a scalar. The symbol for multiplication is a dot (.).
Definition:
Geometrically Dot Multiplication (dot product)
uβ v=β£uβ£β£vβ£cosΞΈ dengan uβ v dicaba βvector u dot vector vβ atau cukup dengan βu dot vβ saja.
Example of Geometrically Dot Vector Multiplication:
Tentukan uβ v jika u=(02β) dan v=(44β)!
If π β and π β are two vectors, then the scalar multiplication between π β and π β
defined
Solution βοΈ
Based on vector dot images and definitions,
u=(02β), v=(44β) dan tentu ΞΈ=45β. so
uβ vuβ vuβ vuβ vuβ vβ=β£uβ£β£vβ£cosΞΈβDefinisi=β(02β)ββ(44β)βcos45β=02+22β.42+42β.21β2β=2.42β.21β2β=8β
Theorem
Algebraically Dot Multiplication (dot product)
If u=(a1β,a2β,a3β,...,anβ) and v=(b1β,b2β,b3β,...,bnβ) are any Vector in Rn, then the inner product or scalar product is uβ v=a1βb1β+a2βb2β+a3βb3β+...+anβbnβ
From the proposition above, it follows that multiplication directly involves the elements of the vector, namely:
Jika u=βa1βa2βββ dan v=βb1βb2βββ vector-vector at R2 so uβ v=a1βb1β+a2βb2β
Jika u=βa1βa2βa3βββ dan v=βb1βb2βb3βββ vector-vector at R3 so uβ v=a1βb1β+a2βb2β+a3βb3β
Notes :
Geometrically, the direction of the two vectors is away from the angle formed.
The dot product of two vectors produces a scalar.
Properties of Scalar Multiplication (Dot Product) of Two Vectors:
aβ b=bβ a
aβ (b+c)=aβ b+aβ c
aβ a=β£aβ£2
aβ₯bβaβ b=0
Example of Vector Dot Multiplication Questions 1
Given the vectors a=(β1,2,3) , b=(2,0,β2) , and c=(1,β3,4). Determine the dot product of the following vectors:
a.b given b.c
a(bβc)
b(aβc)
(aβb).(b+c)
Solution βοΈ
Determine a.b given b.\thingca.bb.cβ=(β1,2,3).(2,0,β2)=β1.2+2.0+3.(β2)=β2+0β6=β8=(2,0,β2).(1,β3,4)=2.1+0.(β3)+β2.4=2+0β8=β6β
Example of a vector dot multiplication question with the condition that there is a vector that is perpendicular
Given the vector a=βk22ββ,b=β2β53ββ and c=β21β1ββ. If vector a is perpendicular to vector b, then find the value of 2aβ (bβ3c)
By using the dot product property of two vectors, we obtain:
aβ₯b=0aβ cβ=β222βββ β21β1ββ=(2β 2)+(2β 1)+(2β β1)=4+2β2=4β2aβ (bβ3c)β=2aβ bβ2aβ 3c=2(aβ b)β6(aβ c)=2(0)β6(4)=β24β
Jadi nilai 2aβ (bβ3c)=β24
Example of a Straight Vector Dot Multiplication Problem
Given the vectors pβ=(m,2,6) , qβ=(β1,n,0) and r=(6k,3,7). If pββ₯qβ and qββ₯r , then determine the value of 16(m2n2+k2β)+2012 ! Note: the symbol β₯ means perpendicular.
Determine the final result with press(1) and press(2):
16(m2n2+k2β)+2012β=16((2n)2n2+(2nβ)2β)+2012=16(4n2n2+4n2ββ)+2012=16(4n2n2+4n2ββΓ44β)+2012=16(16n24n2+n2β)+2012=16(16n25n2β)+2012=16(165β)+2012=5+2012=2017β
So, the value 16(m2n2+k2β)+2012=2017.
Angle Between 2 Vectors
From the definition and proposition above, we can find the angle between two vectors.
Example:
Determine the magnitude of the angle formed by the vector u=(62β) and v=(34β)!
Solution βοΈ
βu=(62β)βu1β=6,u2β=2v=(34β)βv1β=6,v2β=2ββcosΞΈ=β£uβ£β£vβ£uβ vβcosΞΈ=β£uβ£β£vβ£u1βv1β+u2βv2ββcosΞΈ=62+22β.32+42β6.3+2.4βcosΞΈ=40β.15β26βcosΞΈ=1010β26ββ31,6226ββ0,822ΞΈβarccos(0,822)ΞΈβ34,71β
So, the angle formed by the vector u and v is 37,41β