Dot product: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>David E. Volk
(very crude start, need other coordinate systems filled in)
 
imported>Hendra I. Nurdin
(Tried to improve article and make it more precise)
Line 1: Line 1:
The dot product, or scalar product, is one of the two types of vector multiplication, and is widely used in many areas of mathematics and physics. Both the dot product and the [[cross product]] ( or [[vector product]]) are widely used in in the study of optics, mechanics, electromagnetism, and gravitational fields, for example.
The dot product, or scalar product, is a type of [[vector space|vector]] multiplication in the Euclidean spaces, and is widely used in many areas of mathematics and physics. In <math>\mathbb{R}^3</math> there is another type of multiplication called the [[cross product]] ( or [[vector product]]), but it is only defined and makes sense in general for this particular vector space. Both the dot product and the  cross product are widely used in in the study of optics, mechanics, electromagnetism, and gravitational fields, for example.


=== Definition ===
=== Definition ===
Given two vectors, <b>A</b> and <b>B</b>, the dot product is the product of the magnitude of <b>A</b>, the magnitude of <b>B</b> and the cosine of the smaller angle between them.
Given two vectors, <b>A</b> = (A<sub>1</sub> , ... , A<sub>n</sub>) and <b>B</b> = (B<sub>1</sub> , ... , B<sub>n</sub>) in <math>\mathbb{R}^n</math> with <math>1\leq n \leq 3</math>, the dot product is defined as the product of the magnitude of <b>A</b>, the magnitude of <b>B</b> and the cosine of the smaller angle between them.


<b>A</b> • <b>B</b> = |<b>A</b>||<b>B</b>|cosθ<sub>AB</sub>
<b>A</b> • <b>B</b> = |<b>A</b>||<b>B</b>|cosθ<sub>AB</sub>


In a three dimensional cartesian coordinates, a more useful definition is
In cartesian coordinates of dimension ''n>3'' it has to be defined in a different way because it no longer possible to visualize an "angle" between two vectors. In fact, in this case it is the inner product which is defined directly while the notion of an angle is ''derived'' from this definition. For ''n>3'', the dot product between <b>A</b> and <b>B</b> is defined as:


<b>A</b> • <b>B</b> = A<sub>x</sub>B<sub>x</sub> + A<sub>y</sub>B<sub>y</sub> + A<sub>z</sub>B<sub>z</sub>
<b>A</b> • <b>B</b> = A<sub>1</sub>B<sub>1</sub> + A<sub>2</sub>B<sub>2</sub> + ... + A<sub>n</sub>B<sub>n</sub>  


The dot product is a scalar, not another vector, and it obeys the commutative law such that
and the angle θ<sub>AB</sub> between <b>A</b> and <b>B</b> is then defined as
 
<math>\theta_{AB}=\frac{\mathbf A \cdot \mathbf B}{|A||B|},</math>
 
where <math>|A|=(\mathbf A \cdot \mathbf A)^{1/2}</math> and <math>|B|=(\mathbf B \cdot \mathbf B)^{1/2}</math> are, respectively, the magnitudes of <b>A</b> and <b>B</b>.
 
 
The dot product is a scalar, not another vector (unlike the cross product in <math>\mathbb{R}^3</math>), and it obeys the commutative law such that


<b>A</b> • <b>B</b> = <b>B</b> • <b>A</b>
<b>A</b> • <b>B</b> = <b>B</b> • <b>A</b>
Line 16: Line 23:
=== Use in calculating [[Work]] ===
=== Use in calculating [[Work]] ===


In mechanics, when a  constant force <b>F</b> is applied over a straight displacement <b>L</b>, the work performed  is FL cosθ<sub>FL</sub>, more compactly written as the dot product below.  Note in the special case the force and displacement are parallel, work = force times distance.
In mechanics, when a  constant force <b>F</b> is applied over a straight displacement <b>L</b>, the work performed  is FL cosθ<sub>FL</sub>, more compactly written as the dot product below.  Note in the special case the force and displacement are parallel, work = force <math>\times</math> distance.


Work =  <b>F</b> • <b>L</b> (linear motion)
Work =  <b>F</b> • <b>L</b> (linear motion)
Line 22: Line 29:
Work = <math>\int</math><b>F</b> • <b><math>d</math>L</b> (non-linear motion)
Work = <math>\int</math><b>F</b> • <b><math>d</math>L</b> (non-linear motion)


=== circlular cylindrical coordinates ===
=== Circular cylindrical coordinates ===


=== spherical coordinates ===
=== Spherical coordinates ===

Revision as of 18:18, 5 October 2007

The dot product, or scalar product, is a type of vector multiplication in the Euclidean spaces, and is widely used in many areas of mathematics and physics. In there is another type of multiplication called the cross product ( or vector product), but it is only defined and makes sense in general for this particular vector space. Both the dot product and the cross product are widely used in in the study of optics, mechanics, electromagnetism, and gravitational fields, for example.

Definition

Given two vectors, A = (A1 , ... , An) and B = (B1 , ... , Bn) in with , the dot product is defined as the product of the magnitude of A, the magnitude of B and the cosine of the smaller angle between them.

AB = |A||B|cosθAB

In cartesian coordinates of dimension n>3 it has to be defined in a different way because it no longer possible to visualize an "angle" between two vectors. In fact, in this case it is the inner product which is defined directly while the notion of an angle is derived from this definition. For n>3, the dot product between A and B is defined as:

AB = A1B1 + A2B2 + ... + AnBn

and the angle θAB between A and B is then defined as

where and are, respectively, the magnitudes of A and B.


The dot product is a scalar, not another vector (unlike the cross product in ), and it obeys the commutative law such that

AB = BA

Use in calculating Work

In mechanics, when a constant force F is applied over a straight displacement L, the work performed is FL cosθFL, more compactly written as the dot product below. Note in the special case the force and displacement are parallel, work = force distance.

Work = FL (linear motion)

Work = FL (non-linear motion)

Circular cylindrical coordinates

Spherical coordinates