Welcome to your first lesson in linear algebra! This course is designed to build your understanding of this fundamental branch of mathematics from the ground up. We will begin our journey by exploring the most basic, yet powerful, building blocks of the entire subject: vectors and scalars.
In this lesson, you will learn how to define vectors and scalars within the context of n-dimensional space. We will investigate two complementary ways of thinking about vectors: as geometric arrows and as ordered lists of numbers. Understanding both perspectives and how they relate is crucial for mastering linear algebra. By the end of our session, you'll be comfortable with the core terminology and notation that will underpin everything we do in the modules to come.
The Anatomy of a Vector
Let's begin by asking a simple question: what is a vector? The answer depends on your perspective, and linear algebra beautifully unifies these different viewpoints.
A great way to start is by watching the first video from the "Essence of linear algebra" series by 3Blue1Brown. It introduces the main ways people think about vectors.
Vectors | Chapter 1, Essence of linear algebra
This video, "Vectors | Chapter 1," will provide you with the foundational intuition for our subject. It introduces three perspectives on vectors: from physics, computer science, and mathematics.
Please watch the introductory part of the video, from the beginning until the end of the overview. Pay close attention to the distinction between the "arrow" concept and the "list of numbers" concept.
As the video explains, a physicist might see a vector as an arrow in space, defined by its length and direction. A computer scientist might see it as an ordered list of numbers. A mathematician seeks to generalize both. In this course, we will primarily use the computer science and physics perspectives, as they are most concrete.
The key to connecting these ideas is the coordinate system. For our purposes in linear algebra, we will almost always consider vectors as arrows whose tails are fixed at the origin (the point (0,0) in 2D or (0,0,0) in 3D). This is a crucial convention that simplifies many operations.
The video continues by formalizing this convention.
Vectors | Chapter 1, Essence of linear algebra
Now, let's see how this "anchored at the origin" view allows us to move between the geometric and numerical representations.
Continue watching from the anchor point, where the video establishes the convention of rooting vectors at the origin. Then, watch the next segment, from coordinates to numbers, which explains how a vector's coordinates describe the path from the origin to its tip in 2D and 3D space.
With the vector's tail at the origin, its coordinates precisely describe the location of its tip. This gives us a powerful one-to-one correspondence: every arrow from the origin corresponds to a unique list of numbers, and every list of numbers corresponds to a unique arrow from the origin.
For example, in a 2D plane, the vector is an arrow that starts at the origin (0,0) and ends at the point (3,2). The numbers in the vector are its components. The first component tells us how far to move along the horizontal x-axis, and the second tells us how far to move along the vertical y-axis.

A vector in the 2D plane, represented by the coordinates . Its tail is at the origin (0,0) and its tip is at the point (x,y).
We denote vectors with either a small arrow on top, like , or as a bold lowercase letter, like v. In this course, we will follow the standard convention of writing vectors as column vectors (or column matrices), like the example above.
From 2D and 3D to n-Dimensional Space
Visualizing vectors in two or three dimensions is intuitive. But what about vectors with four, five, or even a hundred components? We can't draw a picture of a 100-dimensional arrow. This is where the "list of numbers" perspective becomes essential.
The collection of all possible vectors with real-numbered components is called n-dimensional space, which we denote as (pronounced "R-n").
- is the set of all vectors with one component, like . This is simply the set of all real numbers, which we can visualize as the number line.
- is the set of all vectors with two components, like . We visualize this as the 2D Cartesian plane.
- is the set of all vectors with three components, like . We visualize this as the 3D space we live in.
For dimensions higher than three, we lose the direct geometric picture, but the algebraic idea remains perfectly valid. A vector in is simply an ordered list, or n-tuple, of real numbers. For example, the vector below is an element of :
Each house in the 3Blue1Brown video's real estate example, described by its square footage and price, could be considered a vector in . If we also included the number of bedrooms and the age of the house, each house would be represented by a vector in .
The following video provides a clear, formal definition of .
This video, "What is R^n?", will formalize the concept of n-dimensional space and its connection to vectors.
Please watch the entire video. It's quite short. Pay close attention to how it defines an "n-tuple" and how it explicitly states that a vector with n components is an element of \mathbb{R}^n. Note the different ways a vector can be written (angle brackets, row matrix, column matrix), but remember that we will primarily use the column matrix format.
Defining Scalars
Now that we have a solid grasp of vectors, let's turn to the other key term for this lesson: scalars.
In the context of linear algebra, a scalar is simply a real number.
You might wonder why we need a special name for something as familiar as a number. The term "scalar" is used to emphasize the number's role in an operation called scalar multiplication. When we multiply a vector by a scalar, we scale the vector.
Let's return to the 3Blue1Brown video to see what this means geometrically.
Vectors | Chapter 1, Essence of linear algebra
This final clip from "Vectors | Chapter 1" demonstrates the concept of scalar multiplication.
Watch the segment from the start of the scalar multiplication section. Observe how multiplying a vector by a number stretches, squishes, or reverses it, and notice how this translates to the vector's numerical components.
As the video demonstrates, multiplying a vector by a scalar has a clear geometric effect:
- If , the vector is stretched.
- If , the vector is squished.
- If , the vector is flipped to point in the opposite direction and then scaled by the magnitude of .
Numerically, the operation is straightforward: you multiply every component of the vector by the scalar. For a vector in and a scalar , the scalar product is:
For instance, if and the scalar is , then:
Geometrically, the vector points in the same direction as but is three times as long.
Conclusion
In this introductory lesson, we have established the fundamental concepts of vectors and scalars, which are the atoms and molecules of linear algebra.
Here are the key takeaways:
- Vectors can be understood geometrically as arrows with a specific length and direction, or algebraically as ordered lists of numbers (components). In linear algebra, we typically anchor these arrows at the origin of a coordinate system.
- The space containing all possible vectors with real components is called n-dimensional space, denoted . A vector with components is an element of .
- A scalar is simply a real number. Its name comes from its role in scalar multiplication, where it scales a vector by stretching, shrinking, and/or reversing its direction. This is done by multiplying each component of the vector by the scalar.
You now have the basic vocabulary and conceptual framework needed to proceed. In our next lesson, we will build directly on this foundation by exploring the two fundamental vector operations: addition and scalar multiplication. You've already had a preview of the latter, and soon you'll see how these two operations together unlock the power to combine and manipulate vectors in powerful ways.