Overview

Vectors are have two properties, #Magnitude and direction

A vector PQ can be found from two points P and Q by subtracting P from Q.

Special Vectors

The zero-vector has no magnitude and no direction. in R2 and R3

A unit vector is a vector with #magnitude of 1 or

||v||=1

Given a vector v the unit vector can be found using the following:

vv

Standard Basis Vectors

In R2: i=1,0 and j=0,1

In R3: i=1,0,0 and j=0,1,0 and j=0,0,1

Magnitude

The magnitude or length of a vector can be found in one of the following ways.

Notation: v meaning the magnitude of vector v

e.g. If the vector is in R2 and v=2,3:

v=22+32=4+9=13

Or similarly if the vector is in R3 and w=2,3,4:

v=22+32+42=4+9+16=29

Dot Product

A dot product is an operation that is performed on two different vectors which produces a constant or scalar.

If the dot product of two vectors is 0 the angle between them is orthogonal.

The dot product has the following properties:

Calculations

The dot product of two vectors is found as following in R2:

i1,j1i2,j2=i1i2+j1j2

Or in R3:

i1,j1,k1i2,j2,k2=i1i2+j1j2+k1k2

e.g. Given v=1,2,3 and w=4,5,6

vw=14+25+36=4+10+18=32

The following formula can be manipulated to find the angle between two vectors:

cos(θ)=uvuv

Cross Product

A cross product is an operation performed between two different vectors which produces a resulting vector.

The cross product of two vectors is always orthogonal to the two original vectors.

Calculations

The cross product of two vectors can be found as following in R3:

i1,j1,k1×i2,j2,k2=j1i2k1j2,k1i2i1k2,i1j2j1i2

The following formula can be manipulated to find the angle between two vectors

sinθ=u×vuv

Lines

Lines R3 are made up of a direction vector v and a point P.

Given v=A,B,C and point P=(a,b,c)

r(t)=At+a,Bt+b,Ct+c

Or

r(t)=a,b,c+tA,B,C

Lines are parallel if the direction vector of one line can be multiplied by a scalar to get the direction vector of the other.

e.g. Given two lines r(t)=3t+1,7t+13,11t+8 and s(t)=30t+1,70t+13,110t+8

Lines r and s are parallel because each component of the direction vector of r=3,7,11 can be multiplied by 10 to get the direction vector of s=30,70,110.

Definitions

Linear Combinations
#linear-combo

A linear combination of points/Vectors/columns

Is (informally) any point/vector/column that can be constructed with using point (x1, xn) and (y1, yn)

(formally) any point/vector/column of the form αx+βy where α and β are constants.

e.g.

Given the points a=(1,1) and b=(2,3) any point on the line created by points a and b would be a linear combo. Any point outside the line would not be a linear combo.