Vector dot product is also called a scalar product because the product of vectors gives a scalar quantity. Sometimes, a dot product is also named as an inner product. In vector algebra, dot product is an operation applied on vectors.
The Scalar product or dot product is commutative. When two vectors are operated under a dot product, the answer is only a number. A brief explanation on dot products is given below.
Dot Product of Two Vectors
If we have two vectors a = ax+ay and b = bx+by, then the dot product or scalar product between them is defined as
a.b = axbx + ayby
Formula for vectors Dot Product
Let A and B be two non zero vectors. Then, the scalar product is denoted by A.B and is defined as the scalar ∣A∣∣B∣cosθ.
Double Dot Product
To perform a double inner product on vectors, consider the result of the single inner product, then repeat the process of setting the nearest pair of indices equal and summing over them. Only tensors of 2nd rank or higher can participate in double inner products
Let A,BandC be two non zero vectors
The scalar product of two vectors is commutative, i.e. A.B=B.A.
The scalar product is distributive over addition. A.(B+C)=A.B+A.C.
Where m, n are scalars
Not associative because the dot product between a scalar (a ⋅ b) and a vector (c) is not defined, which means that the expressions involved in the associative property, (a ⋅ b) ⋅ c or a ⋅ (b ⋅ c) are both ill-defined. Note however that the previously mentioned scalar multiplication property is sometimes called the “associative law for scalar and dot product” or one can say that “the dot product is associative with respect to scalar multiplication” because c (a ⋅ b) = (c a) ⋅ b = a ⋅ (c b).
Two non-zero vectors a and b are orthogonal if and only if a ⋅ b = 0.
Unlike multiplication of ordinary numbers, where if ab = ac, then b always equals c unless a is zero, the dot product does not obey the cancellation law:
If a ⋅ b = a ⋅ c and a ≠ 0, then we can write: a ⋅ (b − c) = 0 by the distributive law; the result above says this just means that a is perpendicular to (b − c), which still allows (b − c) ≠ 0, and therefore b ≠ c.
If a and b are functions, then the derivative (denoted by a prime ′) of a ⋅ b is a′ ⋅ b + a ⋅ b′.
Dot Product of Two Parallel Vectors
If two vectors have the same direction or two vectors are parallel to each other, then the dot product of two vectors is the product of their magnitude.
Here, θ = 0 degree
so, cos 0 = 1
Dot Product of Opposite Vectors
If the two vectors are opposite in direction, then
Now, A.B=∣A∣∣B∣cosπ = – AB
Derivative of Dot Product
If we have A(x) = A1(x), A2(x), …., An(x) and B(x) = B1(x), B2(x), …., Bn(x) are two vectors, then the derivative of dot product is given by dxd[A(x).B(x)]=A′(x).B(x)+A(x).B′(x)
We can prove this with the help of definition of dot product and product of real number property as:
= A′(x).B(x)+A(x).B′(x). Hence Proved
Geometric Interpretation of Dot Product
If we have two vectors A and B and let θ is the angle between them, then the dot product is given by A.B=∣A∣.∣B∣cosθ. We can prove this result with the help of cosine formula as explained below.
We know that, the formula for the dot product of two vectors A and B is
A.B = A1B1 + A2B2 + A3B3.
For this, let A and B be two non zero vectors. Then, A, B and A – B vectors form a triangle. The length of the triangle is IAI, IBI and IA – BI.
Then, by the use of cosine formula, we get ∣A−B∣2=∣A∣2+∣B∣2−2∣A∣∣B∣cosθ
Since we know that, A.B=IAI.IBIcosθ
Now, we get ∣A–B∣2 = ∣A∣2+∣B∣2–2A.B …………..(i)
Since we know that, ∣A–B∣2=(A1–B1)2+(A2–B2)2+(A3–B3)2