Difference between revisions of "Vectors"
(Created page with "<div class="noautonum">__TOC__</div> == Vectors== Vectors can be thought of as arrows in the plane, or rays of finite length. We add them together by first following one arro...") |
|||
| Line 13: | Line 13: | ||
::<math> v + 0 = 0 + v = v </math> | ::<math> v + 0 = 0 + v = v </math> | ||
| − | ::<math> v + (-v) = 0</math> | + | ::<math> v + (-v) = 0</math> |
| − | ==Scaling | + | Here we can think of the number zero as a vector by doing nothing. |
| + | |||
| + | ==Scaling Properties== | ||
Since vectors can be thought of as arrows, going from one point to another, we can make them longer while maintaining the direction they are pointing in. | Since vectors can be thought of as arrows, going from one point to another, we can make them longer while maintaining the direction they are pointing in. | ||
| Line 21: | Line 23: | ||
If <math> \alpha, \beta</math> are non-zero real numbers, and v, w are vectors, we have the following properties: | If <math> \alpha, \beta</math> are non-zero real numbers, and v, w are vectors, we have the following properties: | ||
| − | ::<math> 0*v = 0 ~ 1*v = v | + | ::<math> 0*v = 0 ~ 1*v = v</math> |
| + | |||
| + | ::<math> -1*v = -v</math> | ||
| + | |||
| + | ::<math> (\alpha + \beta)v = \alpha*v + \beta*v</math> | ||
| + | |||
| + | ::<math> \alpha(v + w) = \alpha*v + \alpha*w</math> | ||
| − | ::<math> | + | ::<math>(\alpha)\beta*v = \alpha(\beta*v)</math> |
| Line 35: | Line 43: | ||
If v is a vector and c is a scalar: | If v is a vector and c is a scalar: | ||
| − | ::<math> \Vert v \Vert \ge 0 | + | ::<math> \Vert v \Vert \ge 0</math> |
| + | |||
| + | ::<math>\Vert c*v \Vert = |c|*\Vert v \Vert </math> | ||
| + | |||
| + | ::<math> \Vert -v \Vert = \Vert v\Vert</math> | ||
| − | ::<math> | + | ::<math>\Vert v \Vert = 0 \text{if and only if v = 0}</math> |
==Computation with Vectors== | ==Computation with Vectors== | ||
Latest revision as of 18:23, 14 November 2015
Vectors
Vectors can be thought of as arrows in the plane, or rays of finite length. We add them together by first following one arrow, then another. Since we have defined a new mathematical object, we would like to know what properties it has.
If u, v, and w are vectors the following properties hold:
- Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle v+w=w+v}
- Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle u+(v+w)=(u+v)+w}
- Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle v+0=0+v=v}
- Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle v+(-v)=0}
Here we can think of the number zero as a vector by doing nothing.
Scaling Properties
Since vectors can be thought of as arrows, going from one point to another, we can make them longer while maintaining the direction they are pointing in.
If Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle \alpha ,\beta } are non-zero real numbers, and v, w are vectors, we have the following properties:
- Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle 0*v=0~1*v=v}
- 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 -1*v = -v}
- 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 (\alpha + \beta)v = \alpha*v + \beta*v}
- 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 \alpha(v + w) = \alpha*v + \alpha*w}
- 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 (\alpha)\beta*v = \alpha(\beta*v)}
Magnitude
Since vectors are finite length arrows, we can compute the length of any vector by looking at a vector as a change in both the x direction and y-direction.
Given a vector v we define the magnitude of v, denoted 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 \Vert v \Vert} , to be the length of v.
Properties: If v is a vector and c is a scalar:
- 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 \Vert v \Vert \ge 0}
- 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 \Vert c*v \Vert = |c|*\Vert v \Vert }
- 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 \Vert -v \Vert = \Vert v\Vert}
- 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 \Vert v \Vert = 0 \text{if and only if v = 0}}
Computation with Vectors
Up until now only the magnitude we have only talked about vectors in an abstract manner. We will now describe how we do arithmatic with them.
Given two points (x, y), and (a, b), the vector from (x, y) to (a, b) is < a - x, b - y>. We also sometimes notate a vector as 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 (a - x)\textbf{i} + (b - y)\textbf{j}}
This means we can talk about vectors in terms of change in each coordinate. We say that 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 v = <a_1, b_1>, ~ w = <a_2, b_2>} are equal if 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 a_1 = a_2 \text{ and } b_1 = b_2}
Now we will describe how to add, subtract, scale, and find the magnitude of a vector:
If 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 v = <a, b>, w = <x, y>} are vectors, and c is a scalar,
- 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 v + w = <a + x, b + y> = (a + x)\textbf{i} + (b + y)\textbf{j}}
- 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 v - w = <a -x, b - y> = (a - x)\textbf{i} + (b - y)\textbf{j}}
- 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 c*v = (c * a)\textbf{i} + (c*b)\textbf{j}}
- 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 \Vert v \Vert = \sqrt{a^2 + b^2}}
Unit Vectors
For any non-zero vector, v, there is a vector of length one pointing in the same direction as v. We call this vector the unit vector in the direction of v.
Given a vector v, the unit vector in the direction of v, called u, 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 u = \frac{v}{\Vert v \Vert}}
Finding Vector Given Magnitude and Direction
It was mentioned earlier that a vector is an arrow of finite length pointing in a fixed direction. So given the magnitude and direction a vector is pointing in we can find the vector v.
Given a vector, v, has length 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 \Vert v\Vert } with an angle of 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 \alpha} from the positive x direction, we have that
- 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 v = \Vert v\Vert(\cos (\alpha)\textbf{i} + \sin(\alpha)\textbf{j}) = \Vert v\Vert < \cos(\alpha), \sin(\alpha)>}
Return to Topics Page