Skip to content

Vectors ​

Vectors have magnitude and direction.

Example: Speed has a value and a direction.

Definition

The vector PQ→ is the directed line segment with initial point P and terminal point Q.

Conventions and notation ​

  • Two vectors with the same length and the same direction are considered to be the same.
  • The name of a vector can be written in bold: v or underlined v

Standard position and component form ​

Defintion

  • A vector is in standard position if the origin is its initial point.
  • If the vector equals OP where O is the origin and P = (x, y, z), then we write v in component form: v=⟨x,y,z⟩

info

If vector v has initial point P⟨x1,x2,x3⟩ and terminal point Q⟨x2,y2,y3⟩ then

v=PQ→=⟨x2−x1,y2−y1,z2−z1⟩

The length of a vector ​

Definition

The length of the vector v with initial point P and terminal point Q is denoted as |v| and is defined as the distance between P and Q.

  • |v|=|PQ|

  • If v=⟨x,y,z⟩, then |v|=x2+y2+z2 (in standard position)

  • If v=PQ→ then |v|=(x2−x1)2+(y2−y1)2+(z2−z1)2

Unit Vectors ​

Definition

A unit vector is a vector with length = 1.

  • to get a unit vector from v: v≠0, then v|v| is a unit vector

Direction ​

Definition

The direction of a non-zero vector v is the vector v|v|

  • Directions are unit vectors.
  • If a direction is in standard position, its end point lies on the unit circle (in R2), or the unit sphere (in R3)

Special vectors ​

  • zero vector: all components are 0, notaion: 0
  • standard base vectors:
    • R2⟨1,0⟩⟨0,1⟩
    • R3:⟨1,0,0⟩⟨0,1,0⟩⟨0,0,1⟩

Scalar multiplication of vectors ​

Scalar multiplication of a vector v with a real number a results in a shorter or longer vector with the same or opposite direction as v.

info

If v=⟨v1,...,vn⟩

Then av=⟨av1,...,avn⟩∀a∈R

Sum of two vectors ​

Two visual ways:

  • head to tail construction: shift v such that the initial point of v is the same as the terminal point of u.

  • parallelogram construction: shift v such that the initial points if u and v coincide.

algebraically:

info

If u=⟨u1,...,un⟩v=⟨v1,...,vn⟩

Then u+v=⟨u1+v1,...un+vn⟩

Properties ​

  • u+v=v+u
  • (u+v)+w=u+(v+w)
  • u+0=u
  • u+(−u)=0
  • 0u=0
  • 1u=u
  • a(bu)=(ab)u
  • a(u + v) = au + av
  • (a + b)u = au + bu

The difference of two vectors. ​

visually:

  • head to head: shift the vectors such that the initial points coincide
  • v - u is the vector from the head of u to the head of v.
  • u - v is the vector from the head of v to the head of u.

Dot product ​

Definition

The dot product of two vectors v and u:

u⋅v=v1u1+v2u2+...+unuv

  • the dot product is a number.
  • the dot product can be used to describe the length of the vector: |v|=v⋅v

Properties ​

  • u⋅v=v⋅u
  • (cu)⋅v=u⋅(cv)=c(u⋅v)
  • u⋅(v+w)=u⋅v+u⋅w
  • u⋅u=|u|2
  • u⋅0=0

The angle between unit vectors. ​

info

if u and v are unit vectors, and θ is the angle between u and v, then:

u⋅v=cos⁡θ

info

if u and v are non-zero vectors and θ is the angle between u and v, then

u⋅v=|u||v|cos⁡θ

Orthogonality ​

Definition

two vectors u and v are orthogonal or perpendicular if u⋅v=0

  • if u≠0,v≠0, then the angle between u and v is π2
  • if u = 0 or v = 0 then there is no angle between u and v but we still say that u and v are orthogonal.
  • we denote orthogonal vectors with the "⊥" symbol : v⊥u

Projection ​

  • w→−cv→⊥v→ in other words: (w→−av→)⋅v→=0

Definition

Let w and v be two vectors, v≠0 The Projection of w onto v is: projv(w)=(w⋅v|v|2)v

Cross Product ​

  • Only in 3 dimensions => vector has 3 components

Definition

Let u=⟨u1,u2,u3⟩,v=⟨v1,v2,v3⟩ be two vectors in R3 the cross product of u and b is:

u×v=⟨u2v3−u3v2,u3v1−u1v3,u1v2−u2v1⟩

Cross Product Template: ​

  1. Write u and v in a column:
    • u=⟨u1,u2,u3⟩
    • v=⟨v1,v2,v3⟩
  2. copy the first two leftmost entries of u and v.
    • u=⟨u1,u2,u3⟩u1u2
    • v=⟨v1,v2,v3⟩v1v2
  3. calculate the first entry of u x v, starting with u_2 in an x shape.
    • u2v3−u3v2
  4. calculate the second entry of u x v.
    • u3v1−u1v3
  5. calculate the third entry of u x v.
    • u1v2−u2v1

Properties: ​

  • (ru→)×(sv→)=(rs)(u→×v→)
  • u×(v+w)=u×v+u×w
  • u×v=−(v×u)
  • (v+w)×u=v×u+w×u
  • 0×u=u×0=0
  • u×(v×w)≠(u×v)×w

Geometric Properties: ​

  • u×v⊥uandu×v⊥v
  • |u×v|=|u||v|sin⁡θ with θ being the angle between u an v.
  • right hand rule for u×v:
    • index finger: first vector (u)
    • middle finger: second vector (v)
    • thumb: cross product (u×v)

Lines and Planes ​

Definition

The line through P parallel to v is given by {p+tv∈R3|t∈R}

where p=OP→

  • The vector p is called a support vector of l.
  • the vector v is called a direction vector of l.

Planes in R3 ​

  • A normal vector of M is a non-zero vector orthogonal to M.
  • A plane is determined by:
    • three points, not on one line.
    • by a support vector and a normal vector.

Planes by normal vector: ​

  • If n is a normal vector of M, then for every X∈Mn⊥PX→
  • if p=OP→ and x=OX→ , then n⋅(x−p)=0 this equation is called the normal equation of M.

Planes determined by three points: ​

How to find a normal vector: If P, Q and T are three points (not on a line), a normal vector of the plane can be found by taking a cross product, for example: n=PQ→×PR→

Method: Finding a plane equation from three points ​

The Plane W goes through three points A, B and C.

Determine an equation for the plane W of the form ax+by+cz−d=0

  1. Find a normal vector for the plane W.
    • Find a vector: AB→=⟨B1−A1,B2−A2,B3−A3⟩
    • Find another vector: AC→=⟨C1−A1,C2−A2,C3−A3⟩
    • Find the cross product of the vectors AB and AC (we use u and v for readability) n=u×v=⟨u2v3−u3v2,u3v1−u1v3,u1v2−u2v1⟩
  2. Find a support vector p, which is a vector from the origin to any point on the plane.
    • Choose p=OA→
  3. Replace n and p in n⋅(x−p)=0 (x can be replaced with ⟨x,y,z⟩)