Difference between revisions of "Vector"
Redbluegreen (talk | contribs) (→Bivectors) |
Redbluegreen (talk | contribs) (→Cross (Vector) Product) |
||
Line 44: | Line 44: | ||
If <math>\bold{a}=\langle a_1,a_2,a_3\rangle</math> and <math>\bold{b}=\langle b_1,b_2,b_3\rangle</math>, then the cross product of <math>\bold{a}</math> and <math>\bold{b}</math> is given by | If <math>\bold{a}=\langle a_1,a_2,a_3\rangle</math> and <math>\bold{b}=\langle b_1,b_2,b_3\rangle</math>, then the cross product of <math>\bold{a}</math> and <math>\bold{b}</math> is given by | ||
<center><math>\bold{a}\times\bold{b}=\begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ a_1 & a_2 & a_3 \\ b_1 & b_2 & b_3\end{vmatrix}.</math></center> | <center><math>\bold{a}\times\bold{b}=\begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ a_1 & a_2 & a_3 \\ b_1 & b_2 & b_3\end{vmatrix}.</math></center> | ||
− | where <math>\hat{i},\hat{j},\hat{k}</math> are [[unit vector]]s along the coordinate axes, or equivalently, <math>\bold{a}\times\bold{b}=\langle a_2b_3-a_3b_2,a_3b_1-a_1b_3,a_1b_2-a_2b_1\rangle</math>. Also, <math>\bold{a}\times\bold{a}=\bold{0}</math> | + | where <math>\hat{i},\hat{j},\hat{k}</math> are [[unit vector]]s along the coordinate axes, or equivalently, <math>\bold{a}\times\bold{b}=\langle a_2b_3-a_3b_2,a_3b_1-a_1b_3,a_1b_2-a_2b_1\rangle</math>. Also, <math>\bold{a}\times\bold{a}=\bold{0}</math> Through the use of ''bivectors'' (mentioned below), the cross product can be extended to any dimension. |
===Triple Scalar Product=== | ===Triple Scalar Product=== |
Revision as of 17:54, 29 August 2024
The word vector has many different definitions, depending on who is defining it and in what context. Physicists will often refer to a vector as "a quantity with a direction and magnitude." For Euclidean geometers, a vector is essentially a directed line segment. In many situations, a vector is best considered as an n-tuple of numbers (often real or complex). Most generally, but also most abstractly, a vector is any object which is an element of a given vector space.
A vector is usually graphically represented as an arrow. Vectors can be uniquely described in many ways. The two most common is (for 2-dimensional vectors) by describing it with its length (or magnitude) and the angle it makes with some fixed line (usually the x-axis) or by describing it as an arrow beginning at the origin and ending at the point . An -dimensional vector can be described in this coordinate form as an ordered -tuple of numbers within angle brackets or parentheses, . The set of vectors over a field is called a vector space.
Contents
Description
Every vector has a starting point and an endpoint . Since the only thing that distinguishes one vector from another is its magnitude or length, and direction, vectors can be freely translated about a plane without changing. Hence, it is convenient to consider a vector as originating from the origin. This way, two vectors can be compared by only looking at their endpoints. This is why we only require values for an dimensional vector written in the form . The magnitude of a vector, denoted , is found simply by using the distance formula.
Addition of Vectors
For vectors and , with angle formed by them, .
|
Addition of vectors |
From this it is simple to derive that for a real number , is the vector with magnitude multiplied by . Negative corresponds to opposite directions.
Properties of Vectors
Since a vector space is defined over a field , it is logically inherent that vectors have the same properties as those elements in a field.
For any vectors , , , and real numbers ,
- (Commutative in +)
- (Associative in +)
- There exists the zero vector such that (Additive identity)
- For each , there is a vector such that (Additive inverse)
- (Unit scalar identity)
- (Associative in scalar)
- (Distributive on vectors)
- (Distributive on scalars)
Vector Operations
Dot (Scalar) Product
Consider two vectors and in . The dot product is defined as , where is the angle formed by the two vectors. This also yields the geometric interpretation of the dot product: from basic right triangle trigonometry, it follows that the dot product is equal to the length of the projection (i.e. the distance from the origin to the foot of the head of to ) of onto times the length of . Note that the dot product is if and only if the two vectors are perpendicular.
Cross (Vector) Product
The cross product between two vectors and in is defined as the vector whose length is equal to the area of the parallelogram spanned by and and whose direction is in accordance with the right-hand rule. Because of this, , where is the angle formed by the two vectors, and from the right-hand rule condition, . Also, gives that .
If and , then the cross product of and is given by
where are unit vectors along the coordinate axes, or equivalently, . Also, Through the use of bivectors (mentioned below), the cross product can be extended to any dimension.
Triple Scalar Product
The triple scalar product of three vectors is defined as . Geometrically, the triple scalar product gives the signed volume of the parallelepiped determined by and . It follows that
It can also be shown that
Triple Vector Product
The vector triple product of is defined as the cross product of one vector, so that , which can be remembered by the mnemonic "BAC-CAB" (this relationship between the cross product and dot product is called the triple product expansion, or Lagrange's formula).
Bivectors
Sometimes when working with vectors (especially the cross-product) it can be hard to understand what is happening. For example, imagine describing a wheel on a car rotating with a vector. The resulting vector does not describe the rotation happening intuitively. This is where bivectors can help.
Just like vectors are oriented lines, bivectors are oriented areas. Consider two vectors and . The bivector formed by these vectors (denoted ) represents the parallelogram formed by and . Thus, the magnitude represents the area formed by this parallelogram.
Calculating the bivector requires only three properties. First, the bivector since there is no way to form a parallelogram. Second the bivector . Finally, the wedge product ( operation) is distributed.
For 2D vectors and , the resulting bivector is
\begin{align}
u \wedge v &= (u_1 e_1 + u_2 e_2)\wedge (v_1 e_1 + v_2 e_2) \\
&= u_1 e_1\wedge (v_1 e_1 + v_2 e_2) + u_2 e_2\wedge (v_1 e_1 + v_2 e_2) \\
&= u_1 e_1\wedge v_1 e_1 + u_1 e_1\wedge v_2 e_2 + u_2 e_2\wedge v_1 e_1 + u_2 e_2\wedge v_2 e_2 \\
&= u_1 v_2 e_1\wedge e_2 - u_2 v_1 e_1\wedge e_2 \\
&= (u_1 v_2 - u_2 v_1)e_1\wedge e_2 \\
\end{align}
where represents the bivector for a unit square. This result is the same as calculating the determinate! Thus bivectors can help to calculate determinates.
Now consider 3D vectors and . The resulting bivector becomes \begin{align} u \wedge v &= (u_1 e_1 + u_2 e_2 + u_3 e_3)\wedge (v_1 e_1 + v_2 e_2 + u_3 e_3) \\ &= u_1 e_1\wedge (v_1 e_1 + v_2 e_2 + v_3 e_3) + u_2 e_2\wedge (v_1 e_1 + v_2 e_2 + v_3 e_3) +u_3 e_3\wedge (v_1 e_1 + v_2 e_2 + v_3 e_3) \\ &= u_1 e_1\wedge v_1 e_1 + u_1 e_1\wedge v_2 e_2 + u_1 e_1\wedge v_3 e_3 + \\ & \: \: \: u_2 e_2\wedge v_1 e_1 + u_2 e_2\wedge v_2 e_2 + u_2 e_2\wedge v_3 e_3 + \\ & \: \: \: u_3 e_3\wedge v_1 e_1 + u_3 e_3\wedge v_2 e_2 + u_3 e_3\wedge v_3 e_3 \\ &= u_1 e_1\wedge v_2 e_2 + u_1 e_1\wedge v_3 e_3 + u_2 e_2\wedge v_1 e_1 + u_2 e_2\wedge v_3 e_3 + u_3 e_3\wedge v_1 e_1 + u_3 e_3\wedge v_2 e_2 \\ &= u_1v_2 e_1\wedge e_2 - u_1 v_3 e_3\wedge e_1 - u_2 v_1 e_1\wedge e_2 + u_2 v_3 e_2\wedge e_3 + u_3v_1 e_3\wedge e_1 - u_3v_2 e_2\wedge e_3 \\ &=(u_2 v_3 - u_3v_2) e_2\wedge e_3 +(u_3 v_1 e_3 - u_1 v_3) e_3\wedge e_1 + (u_1v_2 - u_2 v_1) e_1\wedge e_2 \\ \end{align} which is the same as the cross product ! Thus, instead of using determinates to calculate the cross-product as above, it is possible to use bivectors instead.
Exercise
Through the use of the bivector, it is possible to extend the definition of the cross-product to higher dimensions. Try to calculate the 4D cross-product using the bivector properties mentioned above.