# Difference between revisions of "Vector"

(26 intermediate revisions by 2 users not shown) | |||

Line 1: | Line 1: | ||

{{HelperPage|1=Divergence Theorem|2=Vector Fields|3=Complex Numbers|4=Gradients and Directional Derivatives|5=Change of Coordinate Systems|6=Matrix|7=Math for Computer Graphics and Computer Vision|8=Dot Product}} | {{HelperPage|1=Divergence Theorem|2=Vector Fields|3=Complex Numbers|4=Gradients and Directional Derivatives|5=Change of Coordinate Systems|6=Matrix|7=Math for Computer Graphics and Computer Vision|8=Dot Product}} | ||

+ | '''Vectors ''' are quantities that are specified by both a magnitude and direction. Perhaps the simplest vector is a Euclidean vector, represented by an arrow in Euclidean space. Refer to [[#Image1|Image 1]] below. This arrow has a length and points in some direction. | ||

− | |||

− | + | [[Image: vectora.jpg|thumb|Image 1. Image of a vector|center|160px]] | |

− | |||

− | + | The length of a vector is called the magnitude. The magnitude is denoted by <math>\left| \vec A \right|</math>. The magnitude of a vector is a '''scalar''' quantity, a numerical value. | |

+ | [[#Image1|Image 1]] is a vector. However, Image 1 is not very useful because it's unclear where it the vector is positioned. We need to introduce the Cartesian coordinate system (the x-y graph) to properly give the direction of a vector. Assigning x and y coordinates to a vector allows us to be more precise when we talk about the location of a vector. Refer to [[#Image2|Modified Image 1]] below. In this updated image, we now know the x and y coordinates. Our vector is 6 units in the x direction and 8 units in the y direction. | ||

+ | [[Image: modveca.jpg|thumb|Image 2. Modified Image 1|left|200px]] | ||

+ | Another way to locate a vector uses <b>unit vectors</b>. In the two-dimensional coordinate system, the vectors <math>\mathbf{i} = \left ( 1, 0 \right )</math> and <math>\mathbf{j} = \left ( 0, 1 \right )</math> are our unit vectors. It's clear that unit vectors have a length of one. In textbooks, unit vectors can be written in bold text or have a hat placed above the variables like so, <math>\hat{i}</math>. | ||

+ | Any vector may be written in terms of our unit vectors <math>\mathbf{i}</math> and <math>\mathbf{j}</math> through scalar multiplication and addition (this is discussed in the graphical introduction below). For now, imagine the unit vector is a rubber substance that can stretch or shrink. With this property, we change change the magnitude of the unit vector such that it can express any vector in the coordinate system. | ||

+ | For example, <math>\vec A = \left ( a_1, a_2 \right )</math> can be written as the following: | ||

+ | ::<math>\left ( a_1, a_2 \right ) = \left ( a_1, 0 \right ) + \left ( 0, a_2 \right ) = a_1 \left ( 1, 0 \right ) + a_2 \left ( 0, 1 \right ) = a_1 \mathbf{i} + a_2 \mathbf{j}</math>. | ||

+ | We can write the vector in the [[#Image2|Modified Image 1]] as <math>\vec A = 6 \mathbf{i} + 8 \mathbf{j}</math>. | ||

+ | [[Image: unitvec.jpg|thumb|Image 2: Unit Vectors (i, j, k)|right|200px]] | ||

− | == | + | In order to give a vector's position using unit vectors, we write it as a combination of unit vectors that are placed along the the coordinate axes. Unit vectors correspond to the x-y-z coordinate system this is in three-dimensions. <math>\mathbf{i} = \left ( 1,0,0 \right )</math> points along the x-axis <math>\mathbf{j} = \left ( 0,1,0 \right )</math> points along the y-axis and <math>\mathbf{k} = \left ( 0,0,1 \right )</math> points along the z-axis. Unit vectors (sometimes called the <b>standard basis vectors</b>) are used in physics, engineering and linear algebra. |

− | |||

− | |||

+ | The <math>\mathbf{ijk}</math> notation is used to emphasize the "vector" nature of a vector while the coordinate notation is use to emphasize the "point" nature of a vector. | ||

+ | ==Labeling Vectors== | ||

+ | When we have a vector quantity we put an arrow on top of the labeling letter to remind us that it is a vector. It looks like so <math>\vec A</math>. One way of writing vectors is by components, like this: <math>\left ( a_1, a_2, a_3 \right )</math>. For example, suppose we want to write a specific vector in components, and we know the vector goes 3 units in the x direction, 2 units in the y direction and 0 units in the z direction. Then we can simply write: <math>\left ( 3, 2, 0 \right )</math>. | ||

− | + | The components of the same vector can also be written as: <math>\begin{bmatrix} 3 \\ 2\\ 0\\ \end{bmatrix}</math>. This vector has an x-component of 3, a y-component of 2 and a z-component of 0. This is shown in the image on the below. | |

− | |||

+ | [[Image:Vector bold1.PNG|thumb|Vector (3, 2): Click to enlarge|200px|center]] | ||

+ | <blockquote>With <math>\left ( a_1, a_2, a_3 \right )</math> as any numerical values we can also write any vector in terms of standard unit vectors: <math>\vec A = a_1 \hat{i} + a_2 \hat{j} + a_3 \hat{k}</math>. If we are given <math>\vec A = 3 \hat{i} + 3 \hat{j} + 2 \hat{k}</math> we know that vector A is 3 units in the x and y direction and 2 units in the z direction. This vector could equivalently be written as <math>\left ( 3, 3, 2 \right )</math> or <math>\begin{bmatrix} 3\\ 3\\ 2\\ \end{bmatrix}</math>. It is shown in the image below.</blockquote> | ||

[[Image: VecA.jpg|thumb|Vector (3,3,2): Click to enlarge|center|200px]] | [[Image: VecA.jpg|thumb|Vector (3,3,2): Click to enlarge|center|200px]] | ||

− | |||

− | |||

<blockquote>If a vector is still a bit abstract to you then think of a compass. The arrow has a certain length, this is our magnitude, and it points in any direction (north, south, east, and west).</blockquote> | <blockquote>If a vector is still a bit abstract to you then think of a compass. The arrow has a certain length, this is our magnitude, and it points in any direction (north, south, east, and west).</blockquote> | ||

Line 40: | Line 47: | ||

''Click here for a graphical introduction to vectors:'' {{hide|1= | ''Click here for a graphical introduction to vectors:'' {{hide|1= | ||

− | + | When two vectors are added, the sum can be found by placing the two vectors 'head to tail' and finding the coordinate they reach. When a vector is multiplied by a scalar several things may occur: | |

− | |||

:*When multiplied by a number with absolute value greater than one, the vector stretches. (Figure 1) | :*When multiplied by a number with absolute value greater than one, the vector stretches. (Figure 1) | ||

:*When multiplied by a number with absolute value less than one, the vector shrinks. (Figure 2) | :*When multiplied by a number with absolute value less than one, the vector shrinks. (Figure 2) | ||

:*When multiplied by a negative number, the vector reverses direction. (Figure 3) | :*When multiplied by a negative number, the vector reverses direction. (Figure 3) | ||

+ | |||

+ | [[Image:Vector bold2.PNG|thumb|'Head to tail' addition of two vectors: (3, 2) + (1,-1) = (4, 1): Click to enlarge|350px|right]] | ||

+ | |||

Many mathematical and physical entities can be represented by vectors. For example, an object's velocity can be represented by a 'velocity vector', where each component represents the object's speed in a certain direction. Gravity can also be represented by a vector: the strength of gravity's pull corresponds to the magnitude of the vector, and the direction of the pull corresponds to the direction the vector points in. [[Vector Fields]] are another important application of vectors. | Many mathematical and physical entities can be represented by vectors. For example, an object's velocity can be represented by a 'velocity vector', where each component represents the object's speed in a certain direction. Gravity can also be represented by a vector: the strength of gravity's pull corresponds to the magnitude of the vector, and the direction of the pull corresponds to the direction the vector points in. [[Vector Fields]] are another important application of vectors. | ||

+ | |||

{{-}} | {{-}} | ||

<table border="1" cellpadding="12"> | <table border="1" cellpadding="12"> | ||

Line 56: | Line 66: | ||

</tr> | </tr> | ||

<tr> | <tr> | ||

− | <td>[[Image:Vector bold3.PNG| | + | <td>[[Image:Vector bold3.PNG|300px]]</td> |

− | <td>[[Image:Vector bold4.PNG| | + | <td>[[Image:Vector bold4.PNG|300px]]</td> |

− | <td>[[Image:Vector bold5.PNG| | + | <td>[[Image:Vector bold5.PNG|300px]]</td> |

</tr> | </tr> | ||

## Latest revision as of 14:19, 8 July 2011

**Vectors ** are quantities that are specified by both a magnitude and direction. Perhaps the simplest vector is a Euclidean vector, represented by an arrow in Euclidean space. Refer to Image 1 below. This arrow has a length and points in some direction.

The length of a vector is called the magnitude. The magnitude is denoted by . The magnitude of a vector is a **scalar** quantity, a numerical value.

Image 1 is a vector. However, Image 1 is not very useful because it's unclear where it the vector is positioned. We need to introduce the Cartesian coordinate system (the x-y graph) to properly give the direction of a vector. Assigning x and y coordinates to a vector allows us to be more precise when we talk about the location of a vector. Refer to Modified Image 1 below. In this updated image, we now know the x and y coordinates. Our vector is 6 units in the x direction and 8 units in the y direction.

Another way to locate a vector uses **unit vectors**. In the two-dimensional coordinate system, the vectors and are our unit vectors. It's clear that unit vectors have a length of one. In textbooks, unit vectors can be written in bold text or have a hat placed above the variables like so, .

Any vector may be written in terms of our unit vectors and through scalar multiplication and addition (this is discussed in the graphical introduction below). For now, imagine the unit vector is a rubber substance that can stretch or shrink. With this property, we change change the magnitude of the unit vector such that it can express any vector in the coordinate system.

For example, can be written as the following:

- .

We can write the vector in the Modified Image 1 as .

In order to give a vector's position using unit vectors, we write it as a combination of unit vectors that are placed along the the coordinate axes. Unit vectors correspond to the x-y-z coordinate system this is in three-dimensions. points along the x-axis points along the y-axis and points along the z-axis. Unit vectors (sometimes called the **standard basis vectors**) are used in physics, engineering and linear algebra.

The notation is used to emphasize the "vector" nature of a vector while the coordinate notation is use to emphasize the "point" nature of a vector.

## Labeling Vectors

When we have a vector quantity we put an arrow on top of the labeling letter to remind us that it is a vector. It looks like so . One way of writing vectors is by components, like this: . For example, suppose we want to write a specific vector in components, and we know the vector goes 3 units in the x direction, 2 units in the y direction and 0 units in the z direction. Then we can simply write: .

The components of the same vector can also be written as: . This vector has an x-component of 3, a y-component of 2 and a z-component of 0. This is shown in the image on the below.

With as any numerical values we can also write any vector in terms of standard unit vectors: . If we are given we know that vector A is 3 units in the x and y direction and 2 units in the z direction. This vector could equivalently be written as or . It is shown in the image below.

If a vector is still a bit abstract to you then think of a compass. The arrow has a certain length, this is our magnitude, and it points in any direction (north, south, east, and west).

*Click here for a graphical introduction to vectors:*

*Click here for an algebraic introduction to vectors:*

*Click here for an interactive demonstration:*