PRACTICE →↑ BACK TO TOP

Let's talk

contact@adriamics.com

Vectors

GitHub Changelog -

  • 1

Notation and components

Vectors may be written in several equivalent forms:

In 3D:

where , , and are the standard basis vectors:

Component form from two points

If a vector goes from point to point , then

In 3D:

This is one of the most common ways vectors appear in geometry problems.


Magnitude and unit vectors

The magnitude or length of is

In 2D:

In 3D:

Unit vectors

A unit vector has length 1. The unit vector in the direction of is

provided .

Example:

If , then

Direction in 2D

If , then the direction angle satisfies

with the correct quadrant chosen from the signs of and .


Basic vector operations

Addition and subtraction

For and :

Geometrically, addition follows the tip-to-tail or parallelogram rule.

Scalar multiplication

For scalar :

Effects:

  • If , the vector stretches

  • If , the vector shrinks

  • If , the direction reverses

Zero vector

The zero vector is

It has zero magnitude and no direction.

Geometrically, the zero vector represents no displacement: the starting point and ending point are the same. It is not an arrow pointing in a special direction; its length is zero, so there is no orientation to measure. For example, if a particle moves from to and then returns to , its net displacement is .

The zero vector is the additive identity because adding it changes nothing:

It is also the result when a vector is subtracted from itself:

Two details are especially important:

  • The zero vector is perpendicular to every vector in the algebraic sense that , but the usual angle formula does not give it an angle because it requires division by .

  • It cannot be normalized. The expression divides by zero, so the zero vector has no associated unit vector.


Dot product

The dot product of two vectors in is

In 2D:

In 3D:

Angle between vectors

The dot product also satisfies

where is the angle between the vectors.

So

This is often the fastest way to find an angle.

Orthogonality

Two nonzero vectors are orthogonal if their dot product is zero:

This means the vectors are perpendicular.

Projection idea from the dot product

The scalar component of along is

The vector projection is covered in the next section.


Cross product

The cross product is defined for vectors in .

For

the cross product is

which expands to

Geometric meaning

  • is perpendicular to both and

  • Its magnitude is

  • It gives the area of the parallelogram spanned by the two vectors

So the triangle area is

Orientation

The cross product is not commutative:

Use the right-hand rule to determine direction.


Vector projections

The projection of onto is the component of that points along .

Scalar projection

Vector projection

This formula is useful in decomposition problems and least-squares geometry.

Orthogonal decomposition

Any vector can be split into parallel and perpendicular parts relative to :

where

and .


Lines and planes

Vectors provide compact equations for geometric objects.

Line in 2D or 3D

A line through point with direction vector has vector equation

where is a parameter.

In components:

if .

Plane in 3D

A plane through point with normal vector satisfies

If and , then

This is the standard point-normal form of a plane.

Distance from a point to a plane

For plane

and point , the distance is


Common workflows

Find the vector from one point to another

  1. Identify the initial point and terminal point

  2. Subtract coordinates:

  3. Simplify the components

Example:

If and , then

Find an angle between vectors

  1. Compute

  2. Compute and

  3. Use

  1. Apply inverse cosine

Test perpendicularity or parallelism

  • Perpendicular:

  • Parallel: one vector is a scalar multiple of the other

Build a line or plane

  • Line: point plus direction vector

  • Plane: point plus normal vector

If the problem gives a geometric picture, convert it to vectors first. The algebra is usually simpler afterward.


Formula summary

Core formulas


Pitfalls

Sign mistakes in components

When subtracting coordinates, always use

not the other way around unless the direction is intentionally reversed.

Confusing dot product with multiplication

The dot product produces a scalar, not a vector.

Confusing dot and cross products

  • Dot product measures alignment and angle

  • Cross product measures perpendicularity and area in 3D

Forgetting absolute value in distance formulas

Distance is always nonnegative. Use absolute value when needed.

Using the wrong dimension

  • Dot product works in any dimension

  • Cross product, in the standard form, is a 3D operation

Losing the direction of a vector

A vector is not just its length. Reversing a vector changes its direction even if the magnitude stays the same.


Final checks

Before moving on in a vector problem, verify:

  • The components point the correct way

  • The dimensions match the operation

  • Units are consistent if the vectors are physical quantities

  • The final answer has the right geometric meaning

Sources