No history yet

Linear Combinations Basics

Building New Vectors

Imagine you can only move in two directions: east and north. These are your basic movements, or vectors. But what if you want to get to a spot that’s northeast? You can't do it in one move. Instead, you combine your basic movements: walk a bit east, then walk a bit north. Linear algebra starts with this simple idea. We can create new vectors by scaling and adding existing ones.

Stretching and Shrinking

First, let's change the length of a vector. This is called scalar multiplication. A is just a regular number, like 2, -3, or 0.5. When you multiply a vector by a scalar, you're stretching it, shrinking it, or flipping it around.

Let’s say our “east” vector, which we'll call v\vec{v}, means moving one unit to the right. Multiplying it by 2 gives us a new vector, 2v2\vec{v}, that points in the same direction but is twice as long. Multiplying by -1 flips it, pointing one unit west.

Lesson image

Algebraically, you just multiply each of the vector by the scalar. If our vector v\vec{v} is represented by the coordinates (3,1)(3, 1), then multiplying it by the scalar 2 looks like this:

2v=2(31)=(2321)=(62)2 \cdot \vec{v} = 2 \begin{pmatrix} 3 \\ 1 \end{pmatrix} = \begin{pmatrix} 2 \cdot 3 \\ 2 \cdot 1 \end{pmatrix} = \begin{pmatrix} 6 \\ 2 \end{pmatrix}

Adding It All Up

Once we can scale vectors, we need to be able to add them. The most intuitive way to visualize this is the tip-to-tail method. If you have two vectors, a\vec{a} and b\vec{b}, you place the tail of b\vec{b} at the tip of a\vec{a}. The new vector, called the resultant, is drawn from the start of a\vec{a} to the end of b\vec{b}.

Lesson image

Think of it as a path. Vector a\vec{a} takes you from point A to B. Vector b\vec{b} takes you from point B to C. Adding them together, a+b\vec{a} + \vec{b}, gives you the direct path from A to C.

The calculation is just as simple. You add the corresponding components of each vector. If a=(1,2)\vec{a} = (1, 2) and b=(3,1)\vec{b} = (3, 1), their sum is:

a+b=(12)+(31)=(1+32+1)=(43)\vec{a} + \vec{b} = \begin{pmatrix} 1 \\ 2 \end{pmatrix} + \begin{pmatrix} 3 \\ 1 \end{pmatrix} = \begin{pmatrix} 1+3 \\ 2+1 \end{pmatrix} = \begin{pmatrix} 4 \\ 3 \end{pmatrix}

The Linear Combination

Now we combine these two operations. A linear combination is simply the process of scaling some vectors and adding them all together. It's the fundamental recipe for building everything in linear algebra.

Any time you're scaling two vectors and adding them like this, it's called a "linear combination" of those two vectors.

Let's say we have two basic vectors: v=(2,1)\vec{v} = (2, 1) and w=(1,3)\vec{w} = (-1, 3). We can create a new vector, z\vec{z}, by taking 3 parts of v\vec{v} and 2 parts of w\vec{w}.

z=3v+2w\vec{z} = 3\vec{v} + 2\vec{w}

To find the coordinates of z\vec{z}, we perform the operations step-by-step:

z=3(21)+2(13)=(63)+(26)=(49)\vec{z} = 3\begin{pmatrix} 2 \\ 1 \end{pmatrix} + 2\begin{pmatrix} -1 \\ 3 \end{pmatrix} = \begin{pmatrix} 6 \\ 3 \end{pmatrix} + \begin{pmatrix} -2 \\ 6 \end{pmatrix} = \begin{pmatrix} 4 \\ 9 \end{pmatrix}

This means you can reach the point (4,9)(4, 9) by combining your two original vectors, v\vec{v} and w\vec{w}, with the right scalars. By changing the scalars, you can reach countless other points. This is how we use a small set of basic vectors to describe an entire space.

Time to check what you've learned.

Quiz Questions 1/6

What is the primary effect of multiplying a vector by a scalar?

Quiz Questions 2/6

Given the vector v=(3,1)\vec{v} = (3, 1), what is the result of 2v2\vec{v}?

Understanding how to scale and add vectors is the first major step in linear algebra. Almost everything else you'll learn builds on this simple but powerful idea.