1. Home
  2. Explore
  3. Mathematics
  4. What are Vectors?

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

What are Vectors?

❓ What are Vectors? An Abstract Perspective

The fundamental nature of vectors is a deceptively simple yet profound question in linear algebra. Are they primarily arrows in space described by coordinates, or are they fundamentally lists of numbers visualized as arrows? Both perspectives offer valid insights, and ultimately, vectors are manifestations of a deeper, more abstract concept.

Defining vectors as lists of numbers provides clarity and enables working with high-dimensional vectors (e.g., four-dimensional or 100-dimensional) concretely. Without this numerical representation, concepts of higher dimensions can feel vague.

Conversely, those fluent in linear algebra often perceive a space independent of coordinates. Coordinates are seen as somewhat arbitrary, depending on the chosen basis vectors. Core concepts like determinants and eigenvectors are inherently spatial and remain unchanged even when the coordinate system is altered. The determinant quantifies how much a transformation scales areas, and eigenvectors are vectors that remain on their own span after a transformation. These properties are intrinsic to the transformation itself, not its coordinate representation.


💡 Functions as Vectors

To understand the abstract nature of vectors, it's helpful to consider objects that share "vector-ish qualities" but are neither arrows nor lists of numbers: functions. Functions can be thought of as another type of vector because they support similar operations.

➕ Function Addition

Just as two vectors can be added, two functions, fff and ggg, can be added to create a new function, (f+g)(f+g)(f+g).

  • The output of this new function at any given input xxx is the sum of the outputs of f(x)f(x)f(x) and g(x)g(x)g(x).

  • Mathematically: (f+g)(x)=f(x)+g(x)(f+g)(x) = f(x) + g(x)(f+g)(x)=f(x)+g(x).

  • This is analogous to adding vectors coordinate by coordinate, but with functions, there are, in a sense, infinitely many coordinates (one for each possible input xxx).

✖️ Scalar Multiplication of Functions

Similarly, a function can be scaled by a real number.

  • To scale a function fff by a number ccc, you simply scale all of its outputs by that number.

  • Mathematically: (c⋅f)(x)=c⋅f(x)(c \cdot f)(x) = c \cdot f(x)(c⋅f)(x)=c⋅f(x).

  • This is analogous to scaling a vector coordinate by coordinate, again implying infinitely many "coordinates."

Since the primary operations on vectors are addition and scalar multiplication, the fact that functions support these operations suggests that linear algebra's problem-solving techniques, originally conceived for arrows, can also be applied to functions.


🔄 Linear Transformations for Functions

A linear transformation in the context of functions is often called an operator. It's something that takes one function as input and transforms it into another function.

  • A familiar example from calculus is the derivative, which transforms a function into its derivative function.

📏 Defining Linear Transformations Abstractly

The formal definition of a linear transformation is abstract, but this abstraction allows it to apply universally to various "vectorish" objects, including functions and arrows. A transformation is linear if it satisfies two properties:

  1. Additivity:

    • If you add two vectors (or functions) vvv and www, and then apply the transformation LLL to their sum, the result is the same as if you applied the transformation to vvv and www separately and then added the transformed versions.

      • Mathematically: L(v+w)=L(v)+L(w)L(v + w) = L(v) + L(w)L(v+w)=L(v)+L(w).

  2. Scaling Property:

    • If you scale a vector (or function) vvv by a number ccc, and then apply the transformation LLL, the result is the same as if you first applied the transformation to vvv and then scaled the transformed version by ccc.

      • Mathematically: L(c⋅v)=c⋅L(v)L(c \cdot v) = c \cdot L(v)L(c⋅v)=c⋅L(v).

These properties mean that linear transformations preserve the operations of vector addition and scalar multiplication. The visual intuition of gridlines remaining parallel and evenly spaced in 2D space is an illustration of these properties for arrows.

🎯 The Power of Linearity: Basis Vectors

A crucial consequence of linearity is that a linear transformation is completely described by where it takes the basis vectors.

  • Any vector can be expressed as a linear combination (scaled sum) of basis vectors.

  • Therefore, finding the transformed version of any vector involves scaling and adding the transformed versions of the basis vectors in the same way.

  • This principle applies equally to functions as it does to arrows.

Calculus students implicitly use the linearity of the derivative:

  • Derivative of a sum: ddx(f(x)+g(x))=ddxf(x)+ddxg(x)\frac{d}{dx}(f(x) + g(x)) = \frac{d}{dx}f(x) + \frac{d}{dx}g(x)dxd​(f(x)+g(x))=dxd​f(x)+dxd​g(x) (Additivity)

  • Derivative of a scaled function: ddx(c⋅f(x))=c⋅ddxf(x)\frac{d}{dx}(c \cdot f(x)) = c \cdot \frac{d}{dx}f(x)dxd​(c⋅f(x))=c⋅dxd​f(x) (Scaling Property)


📈 The Derivative as a Matrix Transformation

It's possible to represent the derivative as an infinite matrix, especially when working with function spaces. This exercise highlights the deep parallels between seemingly disparate mathematical concepts.

📚 Limiting to Polynomials

To make this tractable, we can limit our "vector space" to polynomials (e.g., x2+3x+5x^2 + 3x + 5x2+3x+5 or 4x7−5x24x^7 - 5x^24x7−5x2). While each polynomial has a finite number of terms, the space of all polynomials includes those with arbitrarily large degrees.

🧩 Choosing a Basis for Polynomials

To give coordinates to this space, we need to choose a basis. A natural choice for polynomials is the set of pure powers of xxx:

  • b0(x)=1b_0(x) = 1b0​(x)=1 (constant function)

  • b1(x)=xb_1(x) = xb1​(x)=x

  • b2(x)=x2b_2(x) = x^2b2​(x)=x2

  • b3(x)=x3b_3(x) = x^3b3​(x)=x3

  • ... and so on.

This set of basis functions is infinite, meaning polynomials, when treated as vectors, will have infinitely many coordinates.

  • For example, the polynomial x2+3x+5x^2 + 3x + 5x2+3x+5 would have coordinates: (5,3,1,0,0,… )(5, 3, 1, 0, 0, \dots)(5,3,1,0,0,…). This means 5⋅b0(x)+3⋅b1(x)+1⋅b2(x)5 \cdot b_0(x) + 3 \cdot b_1(x) + 1 \cdot b_2(x)5⋅b0​(x)+3⋅b1​(x)+1⋅b2​(x).

  • The polynomial 4x7−5x24x^7 - 5x^24x7−5x2 would have coordinates: (0,0,−5,0,0,0,0,4,0,0,… )(0, 0, -5, 0, 0, 0, 0, 4, 0, 0, \dots)(0,0,−5,0,0,0,0,4,0,0,…).

  • In general, any individual polynomial will have a finite string of numbers followed by an infinite tail of zeros.

📊 The Derivative Matrix

In this coordinate system, the derivative can be described by an infinite matrix.

  • This matrix is mostly zeros, but has positive integers counting down on an offset diagonal.

Let's see it in action: Consider the polynomial x3+5x2+4x+5x^3 + 5x^2 + 4x + 5x3+5x2+4x+5. Its coordinates are (5,4,5,1,0,0,… )(5, 4, 5, 1, 0, 0, \dots)(5,4,5,1,0,0,…). When this vector is multiplied by the derivative matrix:

  • The first coordinate of the result (constant term) comes from 1×4=41 \times 4 = 41×4=4. This corresponds to ddx(4x)=4\frac{d}{dx}(4x) = 4dxd​(4x)=4.

  • The second coordinate (coefficient of xxx) comes from 2×5=102 \times 5 = 102×5=10. This corresponds to ddx(5x2)=10x\frac{d}{dx}(5x^2) = 10xdxd​(5x2)=10x.

  • The third coordinate (coefficient of x2x^2x2) comes from 3×1=33 \times 1 = 33×1=3. This corresponds to ddx(x3)=3x2\frac{d}{dx}(x^3) = 3x^2dxd​(x3)=3x2.

  • All subsequent coordinates are zero.

The resulting vector of coordinates (4,10,3,0,0,… )(4, 10, 3, 0, 0, \dots)(4,10,3,0,0,…) represents the derivative: 3x2+10x+43x^2 + 10x + 43x2+10x+4.

This matrix can be constructed by taking the derivative of each basis function and placing the coordinates of the result into each column. The linearity of the derivative is what makes this matrix representation possible.

This demonstrates that matrix-vector multiplication and taking a derivative, while seemingly different, are both manifestations of the same underlying linear algebraic principles. Concepts like the dot product (analogous to the inner product for functions) and eigenvectors (analogous to eigenfunctions) also have direct counterparts in function spaces.


🌌 Vector Spaces and Axioms

The question "what is a vector?" leads to the concept of vector spaces.

  • A vector space is a set of objects (vectors) for which there is a reasonable notion of scaling and adding.

  • This applies to arrows, lists of numbers, functions, and any other "vectorish" entity.

  • All the tools and theories of linear algebra (vectors, linear transformations, etc.) can be applied to any such set.

To ensure generality, mathematicians define vector spaces through a set of axioms. These are rules that vector addition and scalar multiplication must abide by.

📜 The Eight Axioms of a Vector Space

  1. Commutativity of addition: u+v=v+uu + v = v + uu+v=v+u

  2. Associativity of addition: (u+v)+w=u+(v+w)(u + v) + w = u + (v + w)(u+v)+w=u+(v+w)

  3. Additive identity: There exists a zero vector 000 such that v+0=vv + 0 = vv+0=v

  4. Additive inverse: For every vvv, there exists a vector −v-v−v such that v+(−v)=0v + (-v) = 0v+(−v)=0

  5. Distributivity of scalar multiplication over vector addition: c(u+v)=cu+cvc(u + v) = cu + cvc(u+v)=cu+cv

  6. Distributivity of scalar multiplication over scalar addition: (c+d)v=cv+dv(c + d)v = cv + dv(c+d)v=cv+dv

  7. Associativity of scalar multiplication: c(dv)=(cd)vc(dv) = (cd)vc(dv)=(cd)v

  8. Multiplicative identity: 1⋅v=v1 \cdot v = v1⋅v=v

These axioms serve as an interface.

  • A mathematician proves results based on these axioms, ensuring their applicability to any system that satisfies them.

  • Anyone defining a new "vector space" (e.g., "pi creatures" with custom addition/scaling rules) must verify these axioms before applying linear algebra's theorems.

This abstract approach means that mathematical results are phrased only in terms of these axioms, rather than being tied to specific types of vectors (like arrows or functions). This is why textbooks define linear transformations by additivity and scaling, even if visual gridline analogies are more intuitive for beginners.


🧠 Conclusion: The Abstraction of Vectors

The modern mathematical answer to "what are vectors?" is to ignore their specific form.

  • Vectors can be arrows, lists of numbers, functions, or any other object.

  • The only requirement is that there's a well-defined notion of addition and scalar multiplication that satisfies the eight vector space axioms.

This is analogous to the number 3. Concretely, it refers to three objects, but mathematically, it's an abstraction representing all possible triplets of things, allowing for general reasoning. Similarly, vectors have many embodiments, but mathematics abstracts them into the single, intangible notion of a vector space.

While beginning with concrete, visualizable settings (like 2D arrows) is beneficial for intuition, it's crucial to understand that linear algebra's tools are far more general. This underlying generality is why advanced textbooks and lectures often adopt an abstract phrasing. Understanding these intuitions provides a solid foundation for more efficient future learning in linear algebra.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent