Difference between revisions of "Dot product"

m (dewikify)
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{math-h}}
 
{{math-h}}
  
−
The '''dot product''' is defined for two [[Vector|vectors]] <math>\vec{X}</math> and <math>\vec{Y}</math> to be:
+
In the <math>n</math>-dimensional Euclidean vector space <math>\mathbb{R}^n</math>, the '''dot product''' is defined for two [[vector]]s <math>\vec{x} =
 +
\langle x_1, \ldots, x_n \rangle</math> and <math>\vec{y} = \langle y_1, \ldots, y_n \rangle</math> as follows:
  
−
: <math>\vec{X} \cdot \vec{Y} = |\vec{X}||\vec{Y}|\cos\theta</math>
+
: <math>\vec{x} \cdot \vec{y} = \sum_{i=1}^n x_i y_i = x_1 y_1 + \cdots +x_n y_n </math>
  
−
where |\vec{x}| is the norm and <math>\theta</math> is the angle between the vectors.
+
Unlike the [[cross product]], the dot product is a [[scalar]], not a vector, and has no direction.  Also, unlike the cross product, the dot product is [[commutative]].
  
−
In 3 dimensional space, for two vectors,  <a,b,c> and <d,e,f>, their dot product equals a*d + b*e + c*f.  
+
For example, in 3-dimensional Euclidean space, let <math>\vec{x} = \langle 1, 2, 3 \rangle</math> and <math>\vec{y} = \langle 4, 5, 6\rangle</math>.
 +
Then we can calculate <math>\vec{x} \cdot \vec{y} = 1 \cdot 4 + 2 \cdot 5 + 3 \cdot 6 = 32</math>.
  
−
In n-dimensional space, the dot prodct of two vectors, <math>\vec{v}=(v_1, v_2,...,v_n)</math> and <math>\vec{w}=(w_1,w_2,..., w_n)</math>, is:
+
The dot product of any vector with itself is the square of its [[norm]].
  
−
:<math> \vec{v}\cdot\vec{w} = v_1w_1 + v_2w_2 +... v_nw_n = \sum_{i=1}^{n}v_iw_i.</math>
+
In 2- and 3- dimensional Euclidean space, the relation between the dot product of two vectors and the angle between them is given by
  
−
Unlike the [[cross product]], the dot product is a [[scalar]], not a vector, and has no direction.
+
: <math>\vec{x} \cdot \vec{y} = |\vec{x}||\vec{y}|\cos\theta</math>
 +
where <math>|\cdot|</math> is the vector norm and <math>\theta</math> is the angle between the vectors.  Note that the vectors are perpendicular
 +
(or [[orthogonal]]) if and only if their dot product is zero.
  
−
It follows from the above definition that the dot product of X and Y is 0 if X is perpendicular to Y.  
+
This relationship can be extended to define the concept of the angle between vectors in higher-dimensional Euclidean vector spaces.  Two vectors
 +
in <math>\mathbb{R}^n</math> are defined to be [[orthogonal]] if their dot product is zero.
  
−
Alternatively, one can describe the dot product as the length of the geometric projection of X onto Y times the length of Y, when the tails of the two vectors are placed at the same point. It must be remembered though, that the dot product is positive if the angle between the two vectors is less than 90 degrees, negative if the angle is between 90 and 180 degrees (it is in this sense that the algebraic sign of the dot product does give some limited directional information).
+
The dot product is the best-known example of an [[inner product]].
  
 
== Application ==
 
== Application ==
  
−
The [[dot product]] is useful in projecting one vector onto another, as in calculating the work done by applying a force to a particle.  If you know the dot product of two vectors, then you can easily calculate the angle between the vectors.
+
The dot product is useful in projecting one vector onto another, as in calculating the work done by applying a force to a particle.  If you know the dot product of two vectors, then you can easily calculate the angle between the vectors.
  
 
The dot product can also be used to find other values through application of the [[Stokes' Theorem]] and other theorems.
 
The dot product can also be used to find other values through application of the [[Stokes' Theorem]] and other theorems.
Line 28: Line 33:
 
[[Cross product]]
 
[[Cross product]]
  
−
[[Category:Linear algebra]]
+
[[Category:Linear Algebra]]
−
[[Category:vector analysis]]
+
[[Category:Vector Analysis]]
−
[[Category:calculus]]
+
[[Category:Calculus]]
−
[[Category:mathematics]]
+
[[Category:Mathematics]]
−
[[category:physics]]
+
[[Category:Physics]]

Latest revision as of 03:41, July 5, 2018

This article/section deals with mathematical concepts appropriate for late high school or early college.

In the Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle n} -dimensional Euclidean vector space Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \mathbb{R}^n} , the dot product is defined for two vectors Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \vec{x} = \langle x_1, \ldots, x_n \rangle} and as follows:

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \vec{x} \cdot \vec{y} = \sum_{i=1}^n x_i y_i = x_1 y_1 + \cdots +x_n y_n }

Unlike the cross product, the dot product is a scalar, not a vector, and has no direction. Also, unlike the cross product, the dot product is commutative.

For example, in 3-dimensional Euclidean space, let Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \vec{x} = \langle 1, 2, 3 \rangle} and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \vec{y} = \langle 4, 5, 6\rangle} . Then we can calculate Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \vec{x} \cdot \vec{y} = 1 \cdot 4 + 2 \cdot 5 + 3 \cdot 6 = 32} .

The dot product of any vector with itself is the square of its norm.

In 2- and 3- dimensional Euclidean space, the relation between the dot product of two vectors and the angle between them is given by

Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \vec{x} \cdot \vec{y} = |\vec{x}||\vec{y}|\cos\theta}

where Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle |\cdot|} is the vector norm and Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \theta} is the angle between the vectors. Note that the vectors are perpendicular (or orthogonal) if and only if their dot product is zero.

This relationship can be extended to define the concept of the angle between vectors in higher-dimensional Euclidean vector spaces. Two vectors in Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \mathbb{R}^n} are defined to be orthogonal if their dot product is zero.

The dot product is the best-known example of an inner product.

Application

The dot product is useful in projecting one vector onto another, as in calculating the work done by applying a force to a particle. If you know the dot product of two vectors, then you can easily calculate the angle between the vectors.

The dot product can also be used to find other values through application of the Stokes' Theorem and other theorems.

See also

Cross product