Changes

Jump to navigation Jump to search
606 bytes added ,  02:18, January 1, 2010
Line 19: Line 19:  
=Vectors, and Vector Functions=
 
=Vectors, and Vector Functions=
 
==Vectors==
 
==Vectors==
−
 
+
[[Image:2Dvector.png|left|200px|thumb|A vector in the plane.]]
 
A '''vector''' is a mathematical object which has ''magnitude'' like a number, but also ''direction.''  For example, if I wanted to describe how a person is driving at any particular time, I would need two numbers: their speed, and some measure of their direction (the angle it makes with true north, for example).  These two quantities together constitute the '''motion vector''' of that person.
 
A '''vector''' is a mathematical object which has ''magnitude'' like a number, but also ''direction.''  For example, if I wanted to describe how a person is driving at any particular time, I would need two numbers: their speed, and some measure of their direction (the angle it makes with true north, for example).  These two quantities together constitute the '''motion vector''' of that person.
    
We also use vectors to describe position: for example, to locate an object, it suffices to know how far it is from you, and in what direction.   
 
We also use vectors to describe position: for example, to locate an object, it suffices to know how far it is from you, and in what direction.   
−
 
+
[[Image:3Dvector.png|right|200px|thumb|In three dimensions, three component numbers are required to describe a vector.]]
 
Vectors are the bread and butter of multivariable calculus because they pack multiple variables into a single, easily manipulated quantity.  Let's look at some more specific examples.
 
Vectors are the bread and butter of multivariable calculus because they pack multiple variables into a single, easily manipulated quantity.  Let's look at some more specific examples.
   Line 33: Line 33:     
Vectors can be added and subtracted, just like numbers.  See the illustration below.
 
Vectors can be added and subtracted, just like numbers.  See the illustration below.
 +
[[Image:VectorAddition.jpg|center|500px|thumb|Vectors are added by connecting them head to tail.  Vectors are subtracted by reversing heads and tails for the subtracted vector, and then connecting them head to tail.]]
 +
    
In Cartesian coordinates, this is particularly easy: <math>\begin{pmatrix}x\\y\end{pmatrix} + \begin{pmatrix}a\\b\end{pmatrix} = \begin{pmatrix}x+a\\y+b\end{pmatrix} \ </math> and <math>\begin{pmatrix}x\\y\end{pmatrix} - \begin{pmatrix}a\\b\end{pmatrix} = \begin{pmatrix}x-a\\y-b\end{pmatrix} \ </math>.
 
In Cartesian coordinates, this is particularly easy: <math>\begin{pmatrix}x\\y\end{pmatrix} + \begin{pmatrix}a\\b\end{pmatrix} = \begin{pmatrix}x+a\\y+b\end{pmatrix} \ </math> and <math>\begin{pmatrix}x\\y\end{pmatrix} - \begin{pmatrix}a\\b\end{pmatrix} = \begin{pmatrix}x-a\\y-b\end{pmatrix} \ </math>.
    
Multiplication by a number is also simple: the vectors direction is unchanged, but its length is multiplied by that number.  Again, in Cartesian coordinates, this becomes simple: <math>c\begin{pmatrix}a\\b\end{pmatrix} = \begin{pmatrix}ca\\cb\end{pmatrix} \ </math>.
 
Multiplication by a number is also simple: the vectors direction is unchanged, but its length is multiplied by that number.  Again, in Cartesian coordinates, this becomes simple: <math>c\begin{pmatrix}a\\b\end{pmatrix} = \begin{pmatrix}ca\\cb\end{pmatrix} \ </math>.
−
 
+
[[Image:DotProduct.png|right|200px|thumb|The dot product is a measure of the length of one vector in the direction of another.]]
 
There are two ways to multiply a vector by another vector.  In two dimensions, we can perform only one, which is called the '''dot product''' or in more advanced terminology, '''inner product.'''  Given two vectors, this dot product is how far one vector goes in the direction of the other, using the other as the "unit" of length.  It is defined <math>\vec{u} \cdot \vec{w} = \left\|\vec{u}\right\| \left\|\vec{w}\right\| \cos(\theta) \ </math>, where <math>\theta \ </math> is the angle between <math>\vec{u} \ </math> and <math>\vec{w} \ </math>.  As before, this takes a particularly simple form in Cartesian coordinates: <math>\begin{pmatrix}x\\y\end{pmatrix} \cdot \begin{pmatrix}a\\b\end{pmatrix} =xa+by \ </math>.  This expression is similar for the three dimensional case: <math>\begin{pmatrix}x\\y\\z\end{pmatrix} \cdot \begin{pmatrix}a\\b\\c\end{pmatrix} = xa+yb+zc \ </math>.
 
There are two ways to multiply a vector by another vector.  In two dimensions, we can perform only one, which is called the '''dot product''' or in more advanced terminology, '''inner product.'''  Given two vectors, this dot product is how far one vector goes in the direction of the other, using the other as the "unit" of length.  It is defined <math>\vec{u} \cdot \vec{w} = \left\|\vec{u}\right\| \left\|\vec{w}\right\| \cos(\theta) \ </math>, where <math>\theta \ </math> is the angle between <math>\vec{u} \ </math> and <math>\vec{w} \ </math>.  As before, this takes a particularly simple form in Cartesian coordinates: <math>\begin{pmatrix}x\\y\end{pmatrix} \cdot \begin{pmatrix}a\\b\end{pmatrix} =xa+by \ </math>.  This expression is similar for the three dimensional case: <math>\begin{pmatrix}x\\y\\z\end{pmatrix} \cdot \begin{pmatrix}a\\b\\c\end{pmatrix} = xa+yb+zc \ </math>.
   −
While the dot product can be used in any number of dimensions, there is a special way of multiplying vectors which only exists in three dimensions (although it is a specific case of a [[Wedge Product|more general concept]]).  It is called the '''cross product''' and written <math>\vec{u} \times \vec{w} \ </math>.  The cross product is defined as having length equal to the area of the parallelogram borderd on two sides by <math>\vec{u} \ </math> and <math>\vec{w} \ </math>, and direction perpendicular to either vector, with a right handed orientation.  This means that if we take our right hand, point the palm in the direction of <math>\vec{u} \ </math>, bend our knuckles so that they point in the direction of <math>\vec{w} \ </math>, then our thumb is already pointing in the direction of <math>\vec{u} \times \vec{w} \ </math>.  This definition is not easy to calculate with, and shortly we will introduce a more convenient way of calculating these kinds of products.
+
[[Image:CrossProduct.png|left|100px|thumb|The cross product of two vectors.]]While the dot product can be used in any number of dimensions, there is a special way of multiplying vectors which only exists in three dimensions (although it is a specific case of a [[Wedge Product|more general concept]]).  It is called the '''cross product''' and written <math>\vec{u} \times \vec{w} \ </math>.  The cross product is defined as having length equal to the area of the parallelogram borderd on two sides by <math>\vec{u} \ </math> and <math>\vec{w} \ </math>, and direction perpendicular to either vector, with a right handed orientation.  This means that if we take our right hand, point the palm in the direction of <math>\vec{u} \ </math>, bend our knuckles so that they point in the direction of <math>\vec{w} \ </math>, then our thumb is already pointing in the direction of <math>\vec{u} \times \vec{w} \ </math>.  This definition is not easy to calculate with, and shortly we will introduce a more convenient way of calculating these kinds of products.
    
While we often write <math>\vec{w} = \begin{pmatrix}x\\y\\z\end{pmatrix} \ </math> to describe a vector, we often find it more convenient to define three vectors <math>\vec{i}=\begin{pmatrix}1\\0\\0\end{pmatrix}, \vec{j}=\begin{pmatrix}0\\1\\0\end{pmatrix}, \ </math> and <math>\vec{k}=\begin{pmatrix}0\\0\\1\end{pmatrix} \ </math>, unit vectors which point along the positive <math>x, y, \ </math> and <math>z \ </math> axes, respectively.
 
While we often write <math>\vec{w} = \begin{pmatrix}x\\y\\z\end{pmatrix} \ </math> to describe a vector, we often find it more convenient to define three vectors <math>\vec{i}=\begin{pmatrix}1\\0\\0\end{pmatrix}, \vec{j}=\begin{pmatrix}0\\1\\0\end{pmatrix}, \ </math> and <math>\vec{k}=\begin{pmatrix}0\\0\\1\end{pmatrix} \ </math>, unit vectors which point along the positive <math>x, y, \ </math> and <math>z \ </math> axes, respectively.
3,552

edits

Navigation menu