intro

A vector is a geometric object with two attributes: a direction and a magnitude.

A vector can be represented as a directed line segment between two points.

For a vector :

  • are ways of writing the same vector, choose any lowercase letter.
  • is the magnitude of the vector.
  • is the unit vector. It is the vector divided by its magnitude. This is a vector of magnitude 1, while having the same direction.

and can both represent a vector where is at and is at

The magnitude of this,

position vectors

A point can be represented relative to an origin point using a position vector, a column vector. If point A is at , the vector from origin to is

Given origin and the coordinates and , we can calculate

To summarize, for points A and B of (1,2,3) and (4,5,6) respectively, we can calculate the vector

dot product

The dot product between two vectors is also known as the scalar product.

The dot product is just a real number such that the sign of the dot product (zero, positive or negative) determines the angle between the vectors (perpendicular, acute, obtuse respectively).

Note that the dot product is commutative since it is related to the angle between two vectors.
For example, for vectors and , the dot product would be

identities

angle calculation

Somehow, we have these to remember.

id: 1754904493835
---
To calculate the angle between two vectors, use ==$\vec{a}\cdot\vec{b}=|\vec{a}||\vec{b}|\cos(\theta)$==

scalar resolutes

Given two vectors a and b, we can break vector a into two components where one is parallel to b and another is perpendicular to b. The magnitude of the one parallel to b is called the scalar resolute.

In the diagram above, the scalar resolute is

From Pythagorean theorem we know
Therefore, the part of vector a parallel to b is

Another way to find it involves
We know


To summarize, the scalar resolute of a in direction of b is

id: 1754904493882
---
The scalar resolute of a in direction of b is ==$\dfrac{|\vec{a}\cdot \vec{b}|}{|\vec{b}|}$==

vector resolutes

Given two vectors a and b, we can break vector a into two components where one is parallel to b and another is perpendicular to b.

The part of vector a parallel to b is the vector resolute, shown as

We know the scalar resolute,

Therefore to calculate we have

To summarize, the vector resolute of a in the direction of b is

id: 1754904493932
---
The vector resolute of a in the direction of b is ==$\vec{a}_\parallel=(\dfrac{\vec{a}\cdot\vec{b} }{\vec{b}\cdot\vec{b} }) \vec{b}$==.

We can find the part of a perpendicular to b with

cross product, vector product

The cross product takes two vectors and produces a vector perpendicular to both the original vectors, called a normal vector.

The cross product is not commutative, as

As shown below, the cross product is equal to the determinant of a matrix where ijk are the top row and stuff.

forms of a line

In vector form, line can be defined as where is a point on the line and is a vector parallel to the line.

In parametric form, we can make separate equations for every dimension in terms of t to make a set of parametric equations.

, , for

In Cartesian form we rearrange and cancel out the t.

, ,

find plane with normal vector and one point on the plane

To derive the vector equation of a plane in the form , where is a normal vector to the plane, is a position vector of a points that lies on the plane, and represents that of any point on the plane.

We can derive the equation by doing something.

To find a plane, we just need and . For example, given is normal to a plane, and the point (-3,4,6) is on the plane, we use the equation .


We find the vector equation of the plane is

let
We find the Cartesian equation of the plane is

id: 1754904493982
---
To find a plane, we just need $\underset{\sim}{n}$ and $\underset{\sim}{r_0}$. For example, given $\langle -1,5,-3 \rangle$ is normal to a plane, and the point (-3,4,6) is on the plane, we use the equation ==$\underset{\sim}{r}\cdot\underset{\sim}{n}=\underset{\sim}{r_0}\cdot\underset{\sim}{n}$.==

shortest distance between a point and a plane

Assume we know a point and a plane

First find a point on the plane. Let

We know the normal vector to the plane,

The shortest distance is therefore the scalar resolute of in the direction of , which is