1. Vectors and Geometry

Vector Basics

Introduces vectors, magnitude, direction, and basic operations such as addition and scalar multiplication.

Vector Basics

Welcome, students! Today’s lesson dives into the fascinating world of vectors—a core concept in multivariable calculus. By the end of this session, you’ll understand what vectors are, how to perform basic operations with them, and why they’re essential in fields like physics, engineering, and computer graphics. Ready to explore? Let’s get started! 🚀

What Are Vectors?

Imagine you’re planning a road trip. You know you have to travel 300 miles north. That’s not just a number (300 miles)—it’s a direction (north) and a magnitude (300 miles). A vector is like that: it describes both magnitude (how much) and direction (which way).

In math terms, a vector is an ordered list of numbers that represent a direction and a magnitude in space. For example, in two dimensions, a vector might look like this:

$$\mathbf{v} = \begin{pmatrix} 3 \\ 4 \end{pmatrix}$$

This means: move 3 units in the $x$-direction and 4 units in the $y$-direction. In three dimensions, a vector has three components (like $x$, $y$, and $z$).

Vectors are super useful because they help us describe motion, forces, and other quantities that have both size and direction.

Real-World Example: Weather Forecasting 🌦️

Weather maps often show wind as arrows. Each arrow has a length (how strong the wind is) and a direction (where the wind is blowing). The arrow is a vector! Meteorologists use vectors to predict wind patterns and weather changes.

Key Terms

  • Magnitude: The length or size of the vector.
  • Direction: The way the vector points.
  • Components: The numbers that describe how far the vector goes in each dimension (like $x$, $y$, and $z$).

Vector Notation and Representation

Vectors can be written in several ways. Here are the most common:

  1. Column Form:

$$

$\mathbf{v}$ = $\begin{pmatrix}$ v_1 \ v_2 \ v_$3 \end{pmatrix}$

$$

This shows the $x$, $y$, and $z$ components of the vector stacked in a column. For example, $\mathbf{v} = \begin{pmatrix} 2 \\ -1 \\ 5 \end{pmatrix}$ means the vector moves 2 units in the $x$-direction, -1 unit in the $y$-direction, and 5 units in the $z$-direction.

  1. Unit Vector Form:

$$

$\mathbf{v}$ = v_$1 \mathbf{i}$ + v_$2 \mathbf{j}$ + v_$3 \mathbf{k}$

$$

Here, $\mathbf{i}$, $\mathbf{j}$, and $\mathbf{k}$ are unit vectors in the $x$, $y$, and $z$ directions. So $\mathbf{v} = 2\mathbf{i} - \mathbf{j} + 5\mathbf{k}$ means the same thing as the column form above, but written differently.

  1. Arrow Representation:

On a graph, we draw vectors as arrows starting at the origin (or another point) and ending at the point $(v_1, v_2, v_3)$. The length of the arrow represents the magnitude, and the direction shows where the vector points.

Fun Fact: The Zero Vector

The zero vector is like a vector with no movement at all. It’s written as:

$$

$\mathbf{0}$ = $\begin{pmatrix} 0$ \ 0 \ $0 \end{pmatrix}$

$$

It has zero magnitude and no direction. It’s like standing still!

Magnitude of a Vector

The magnitude (or length) of a vector $\mathbf{v} = \begin{pmatrix} v_1 \\ v_2 \\ v_3 \end{pmatrix}$ is found using the Pythagorean theorem extended into multiple dimensions.

Formula for Magnitude

For a 2D vector:

$$

$|\mathbf{v}| = \sqrt{v_1^2 + v_2^2}$

$$

For a 3D vector:

$$

|$\mathbf{v}$| = $\sqrt{v_1^2 + v_2^2 + v_3^2}$

$$

Think of it as finding the distance from the origin to the point $(v_1, v_2, v_3)$.

Example: Finding the Magnitude

Let’s find the magnitude of the vector $\mathbf{a} = \begin{pmatrix} 3 \\ 4 \end{pmatrix}$.

$$

|$\mathbf{a}$| = $\sqrt{3^2 + 4^2}$ = $\sqrt{9 + 16}$ = $\sqrt{25}$ = 5

$$

This vector has a magnitude of 5. Notice something cool? This is the famous 3-4-5 right triangle! 🟦

Real-World Example: Distance Between Cities

If you think of two cities on a map as points, the vector between them shows the direction and distance from one city to the other. The magnitude of that vector gives the straight-line distance (as the crow flies) between the cities.

Direction of a Vector

The direction of a vector tells us where it’s pointing. We can describe this direction using angles or by normalizing the vector (making it a unit vector).

Unit Vectors

A unit vector is a vector with a magnitude of 1. It points in the same direction as the original vector but has a length of 1. To find a unit vector $\hat{\mathbf{v}}$ in the direction of $\mathbf{v}$, we divide each component by the magnitude of $\mathbf{v}$.

Formula for Unit Vector

$$

\hat{\mathbf{v}} = $\frac{\mathbf{v}}{|\mathbf{v}|}$ = $\begin{pmatrix}$ $\frac{v_1}{|\mathbf{v}|}$ \ $\frac{v_2}{|\mathbf{v}|}$ \ $\frac{v_3}{|\mathbf{v}|}$ $\end{pmatrix}$

$$

Example: Finding a Unit Vector

Let’s find the unit vector in the direction of $\mathbf{a} = \begin{pmatrix} 3 \\ 4 \end{pmatrix}$.

We know $|\mathbf{a}| = 5$, so:

$$

\hat{\mathbf{a}} = $\frac{1}{5}$ $\begin{pmatrix} 3$ \ $4 \end{pmatrix}$ = $\begin{pmatrix}$ $\frac{3}{5}$ \ $\frac{4}{5}$ $\end{pmatrix}$ = $\begin{pmatrix} 0$.6 \ $0.8 \end{pmatrix}$

$$

This unit vector points in the same direction as $\mathbf{a}$ but has a length of 1.

Real-World Example: Navigation 🧭

In navigation, unit vectors are used to describe directions without worrying about distances. For instance, a compass direction can be represented by a unit vector pointing north, east, south, or west.

Vector Addition

Adding vectors is like combining movements. If you walk 3 steps east and then 4 steps north, your total movement is the sum of those two vectors.

How to Add Vectors

To add two vectors $\mathbf{a} = \begin{pmatrix} a_1 \\ a_2 \\ a_3 \end{pmatrix}$ and $\mathbf{b} = \begin{pmatrix} b_1 \\ b_2 \\ b_3 \end{pmatrix}$, we add their corresponding components:

$$

$\mathbf{a}$ + $\mathbf{b}$ = $\begin{pmatrix}$ a_1 + b_1 \ a_2 + b_2 \ a_3 + b_$3 \end{pmatrix}$

$$

Example: Adding Vectors

Let’s add $\mathbf{a} = \begin{pmatrix} 2 \\ 3 \end{pmatrix}$ and $\mathbf{b} = \begin{pmatrix} -1 \\ 4 \end{pmatrix}$.

$$

$\mathbf{a}$ + $\mathbf{b}$ = $\begin{pmatrix} 2$ + (-1) \ 3 + $4 \end{pmatrix}$ = $\begin{pmatrix} 1$ \ $7 \end{pmatrix}$

$$

So the result is the vector $\begin{pmatrix} 1 \\ 7 \end{pmatrix}$.

Real-World Example: Forces

If two people are pulling on an object in different directions, each pull can be represented as a vector. The total force on the object is the sum of those vectors. Engineers use vector addition to figure out the net force on bridges, buildings, and vehicles.

Scalar Multiplication

Multiplying a vector by a scalar (a single number) changes its magnitude but not its direction (unless the scalar is negative, in which case it also flips direction).

How to Multiply a Vector by a Scalar

If $\mathbf{v} = \begin{pmatrix} v_1 \\ v_2 \\ v_3 \end{pmatrix}$ and $c$ is a scalar, then:

$$

c$\mathbf{v}$ = $\begin{pmatrix}$ c v_1 \ c v_2 \ c v_$3 \end{pmatrix}$

$$

Example: Scalar Multiplication

Let’s multiply $\mathbf{v} = \begin{pmatrix} 2 \\ -3 \end{pmatrix}$ by 4.

$$

$4\mathbf{v}$ = $\begin{pmatrix} 4$ $\cdot 2$ \ $4 \cdot$ (-3) $\end{pmatrix}$ = $\begin{pmatrix} 8$ \ -$12 \end{pmatrix}$

$$

This new vector is 4 times as long as the original, but it points in the same direction.

Real-World Example: Stretching

Imagine you’re stretching a rubber band. If you double its length, you’re performing scalar multiplication on the vector that represents the rubber band’s direction and length.

Negative Vectors and Vector Subtraction

A negative vector points in the opposite direction. For example, if $\mathbf{v} = \begin{pmatrix} 3 \\ 4 \end{pmatrix}$, then $-\mathbf{v} = \begin{pmatrix} -3 \\ -4 \end{pmatrix}$.

Vector Subtraction

To subtract two vectors, we add the negative of the second vector:

$$

$\mathbf{a}$ - $\mathbf{b}$ = $\mathbf{a}$ + (-$\mathbf{b}$)

$$

In terms of components:

$$

$\mathbf{a}$ - $\mathbf{b}$ = $\begin{pmatrix}$ a_1 - b_1 \ a_2 - b_2 \ a_3 - b_$3 \end{pmatrix}$

$$

Example: Subtracting Vectors

Let’s subtract $\mathbf{b} = \begin{pmatrix} 1 \\ 2 \end{pmatrix}$ from $\mathbf{a} = \begin{pmatrix} 4 \\ 5 \end{pmatrix}$.

$$

$\mathbf{a}$ - $\mathbf{b}$ = $\begin{pmatrix} 4$ - 1 \ 5 - $2 \end{pmatrix}$ = $\begin{pmatrix} 3$ \ $3 \end{pmatrix}$

$$

The result is the vector $\begin{pmatrix} 3 \\ 3 \end{pmatrix}$.

Real-World Example: Displacement

If you start at home, walk 4 blocks east and 5 blocks north, then walk 1 block east and 2 blocks north, your overall displacement is the vector sum of your movements. Subtracting vectors tells you how far you are from your starting point if you want to go back.

Vector Operations in 3D

Everything we’ve covered applies in three dimensions too! The only difference is that now we have an extra component for the $z$-direction.

Example: 3D Vector Addition

Let’s add $\mathbf{a} = \begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix}$ and $\mathbf{b} = \begin{pmatrix} 4 \\ -1 \\ 2 \end{pmatrix}$.

$$

$\mathbf{a}$ + $\mathbf{b}$ = $\begin{pmatrix} 1$ + 4 \ 2 + (-1) \ 3 + $2 \end{pmatrix}$ = $\begin{pmatrix} 5$ \ 1 \ $5 \end{pmatrix}$

$$

The result is $\begin{pmatrix} 5 \\ 1 \\ 5 \end{pmatrix}$.

Real-World Example: 3D Graphics 🎮

In computer graphics, 3D models are built using vectors. When a character moves in a game, the computer adds vectors to figure out where the character ends up. Every rotation, zoom, and movement involves vector operations.

Conclusion

Great job, students! You’ve now learned the basics of vectors: what they are, how to find their magnitude and direction, and how to perform basic operations like addition, subtraction, and scalar multiplication. Vectors are powerful tools for describing movement, forces, and much more in both two and three dimensions. We’ll build on this foundation in future lessons as we explore more advanced concepts like dot products, cross products, and vector fields. Keep practicing, and remember—every step you take adds up just like a vector sum! 💪

Study Notes

  • Vector Definition: A vector is a quantity with both magnitude and direction.
  • Notation: Vectors can be written as $\begin{pmatrix} v_1 \\ v_2 \\ v_3 \end{pmatrix}$ or $v_1 \mathbf{i} + v_2 \mathbf{j} + v_3 \mathbf{k}$.
  • Magnitude Formula (2D): $|\mathbf{v}| = \sqrt{v_1^2 + v_2^2}$
  • Magnitude Formula (3D): $|\mathbf{v}| = \sqrt{v_1^2 + v_2^2 + v_3^2}$
  • Unit Vector: $\hat{\mathbf{v}} = \frac{\mathbf{v}}{|\mathbf{v}|}$
  • Vector Addition: $\mathbf{a} + \mathbf{b} = \begin{pmatrix} a_1 + b_1 \\ a_2 + b_2 \\ a_3 + b_3 \end{pmatrix}$
  • Vector Subtraction: $\mathbf{a} - \mathbf{b} = \begin{pmatrix} a_1 - b_1 \\ a_2 - b_2 \\ a_3 - b_3 \end{pmatrix}$
  • Scalar Multiplication: $c\mathbf{v} = \begin{pmatrix} c v_1 \\ c v_2 \\ c v_3 \end{pmatrix}$
  • Zero Vector: $\mathbf{0} = \begin{pmatrix} 0 \\ 0 \\ 0 \end{pmatrix}$ (no magnitude, no direction)
  • Negative Vector: $-\mathbf{v} = \begin{pmatrix} -v_1 \\ -v_2 \\ -v_3 \end{pmatrix}$ (opposite direction)

Remember to practice these concepts with real-world examples, and soon you’ll be a vector master! 🚀

Practice Quiz

5 questions to test your understanding

Vector Basics — High School Calculus 3 | A-Warded