Vectors | Chapter 1, Essence of linear algebra

3Blue1Brown · Beginner ·🔢 Mathematical Foundations ·9y ago

Key Takeaways

The video covers the basics of vectors in linear algebra, including vector addition, vector multiplication, and coordinate systems, using visual explanations and examples to illustrate key concepts.

Full Transcript

[Music] the fundamental root of itall building block for linear algebra is the vector so it's worth making sure that we're all on the same page about what exactly a vector is you see broadly speaking there are three distinct but related ideas about vectors which I'll call the physics student perspective the computer science student perspective and the mathematicians perspective the physics student perspective is that vectors are arrows pointing in space what defines a given Vector is its length and the direction its pointing but as long as those two facts are the same you can move it all around and it's still the same Vector vectors that live in the flat plane are two-dimensional and those sitting in broader space that you and I live in are three-dimensional the computer science perspective is that vectors are ordered lists of numbers for example let's say you were doing some analytics about house prices and the only features you cared about were square footage and price you might model each house with a pair of numbers the first indicating square footage and the second indicating price notice the order matters here in the lingo you'd be modeling houses as two-dimensional vectors where in this context Vector is pretty much just a fancy word for list and what makes it two-dimensional is the fact that the length of that list is two the mathematician on the other hand seeks to generalize both these views basically saying that a vector can be anything where there's a sensible notion of adding two vectors and multiplying a vector by a number operations that I'll talk about later on in this video the details of this view are rather abstract and I actually think it's healthy to ignore it until the last video of this series favoring a more concrete setting in the interim but the reason I bring it up here is that it hints at the fact that the ideas of vector addition and multiplication by numbers will play an important role throughout linear algebra but before I talk about those operations let's just settle in on a specific thought to have in mind when I say the word Vector given the geometric Focus that I'm shooting for here whenever I introduce a new topic involving vectors I want you to First think about an arrow and specifically think about that Arrow inside a coordinate system like the XY plane with its tail sitting at the origin this is a little bit different from the physics student perspective where vectors can freely sit anywhere they want in space in linear algebra it's almost always the case that your vector will be rooted at the order then once you understand A New Concept in the context of arrows in space we'll translate it over to the list of numbers point of view which we can do by considering the coordinates of the vector now while I'm sure that many of you are already familiar with this coordinate system it's worth walking through explicitly since this is where all of the important back and forth happens between the two perspectives of linear algebra focusing our attention on two dimensions for the moment you have a horizontal line called the x-axis and a vertical line called the y-axis the place where they intersect is called the origin which you should think of as the center of space and the root of all vectors after choosing an arbitrary length to represent one you make tick marks on each axis to represent this distance when I want to convey the idea of 2D space as a whole which you'll see comes up a lot in these videos I'll extend these tick marks to make grid lines but right now they'll actually get a little bit in the way the coordinates of a vector is a pair of numbers that basically gives instructions for how to get from the tail of that Vector at the origin to its tip the first number tells you how far to walk along the x-axis positive numbers indicating rightward motion negative numbers indicating leftward motion and the second number tells you how far to walk parallel to the y- AIS after that positive numbers indicating upward motion and negative numbers indicating downward motion to distinguish vectors from points the convention is to write this pair of numbers vertically with square brackets around them every pair of numbers gives you one and only one vector and every Vector is associated with one and only one pair of numbers what about in three dimensions well you add a third axis called the z-axis which is perpendicular to both the X and Y AIS and in this case each Vector is associated with an ordered triplet of numbers the first tells you how far to move along the x-axis the second tells you how far to move parallel to the y- AIS and the third one tells you how far to then move parallel to this new Z axis every triplet of numbers gives you one unique Vector in space and every Vector in space gives you exactly one triplet of numbers all right so back to vector addition and multiplication by numbers after all every topic in linear algebra is going to center around these two operations luckily each one's pretty straightforward to Define let's say we have two vectors one pointing up and a little to the right and the other one pointing right and down a bit to add these two vectors move the second one so that its tail sits at the tip of the first one then if you draw a new Vector from the tail of the first one to where the tip of the second one now sits that new Vector is their Su this definition of addition by the way is pretty much the only time in linear algebra where we let vectors stray away from the origin now why is this a reasonable thing to do why this definition of addition and not some other one well the way I like to think about it is that each Vector represents a certain movement a step with a certain distance and direction in space if you take a step along the first Vector then take a step in the direction and distance described by the second Vector the overall effect is just the same as if you moved along the sum of those two vectors to start with you could think about this as an extension of how we think about adding numbers on a number line one way that we teach kids to think about this say with 2 + 5 is to think of moving two steps to the right followed by another five steps to the right the overall effect is the same as if you just took seven steps to the right in fact let's see how vector addition looks numerically the first Vector here has coordinates one 2 and the second one has coordinates 31 when you take the vector sum using this tip toil method you can think of a four-step path from the origin to the tip of the second Vector walk one to the right then two up then three to the right then one down reorganizing these steps so that you first do all of the right word motion then do all the vertical motion you can read it as saying first move 1 + 3 to the right then move 2 - 1 up so the new Vector has coordinates 1 + 3 and 2 +1 in general vector addition in this list of numbers conception looks like matching up their terms and adding each one together the other fundamental Vector operation is multiplication by a number now this is best understood just by looking at a few examples if you take the number two and multiply it by a given Vector it means you stretch out that Vector so that it's two times as long as when you started if you multiply that vector by say 1/3 it means you squish it down so that it's 1/3 the original length when you multiply it by a negative number like - 1.8 then the vector first gets flipped around then stretched out by that factor of 1.8 this process of stretching or squishing or sometimes vering the direction of a vector is called scaling and whenever you catch a number like 2 or 1/3 or 1.8 acting like this scaling some Vector you call it a scaler in fact throughout linear algebra one of the main things that numbers do is scale vectors so it's common to use the word scaler pretty much interchangeably with the word number numerically stretching out a vector by a factor of say two corresponds with multiplying each of its components by that factor two so in the conception of vectors as lists of numbers multiplying a given vector by a scaler means multiplying each one of those components by that scalar you'll see in the following videos what I mean when I say that linear algebra topics tend to revolve around these two fundamental operations vector addition and scalar multiplication and I'll talk more in the last video about how and why the mathematician thinks only about these operations independent and abstracted away from however you choose to represent vectors in truth it doesn't matter whether you think about vectors as fundamentally being arrows in space like I'm suggesting you do that happen to have a nice numerical representation or fundamentally as lists of numbers that happen to have a nice geometric interpretation the usefulness of linear algebra has less to do with either one of these views than it does with the ability to translate back and forth between them it gives the data analyst a nice way to conceptualize many lists of numbers in a visual way which can seriously clarify patterns in data and give a global view of what certain operations do do and on the flip side it gives people like physicists and computer Graphics programmers a language to describe space and the manipulation of space using numbers that can be crunched and run through a computer when I do mathy animations for example I start by thinking about what's actually going on in space and then get the computer to represent things numerically thereby figuring out where to place the pixels on the screen and doing that usually relies on a lot of linear algebra understanding so there are your vector Basics and in the next video video I'll start getting into some pretty neat Concepts surrounding vectors like span bases and linear dependence see you then [Music]

Original Description

Beginning the linear algebra series with the basics. Help fund future projects: https://www.patreon.com/3blue1brown Music: https://vincerubinetti.bandcamp.com/track/grants-etude Thanks to Elo Marie Viennot and Ambros Gleixner from HTW Berlin (www.htw-berlin.de) for contributing German translations and dubbing. Thanks also to these viewers for their contributions to the subtitles Arabic: @Cewkins, Hazem Bengali: Md Rasheduzzaman Czech: @Chnapak Greek: Nikolaos Tsagkas Hebrew: Omer Tuchfeld Italian: mattiacolucci Spanish: Juan Carlos Largo Thai: own doggoV●ᴥ●V ------------------ 3blue1brown is a channel about animating math, in all senses of the word animate. And you know the drill with YouTube, if you want to stay posted about new videos, subscribe, and click the bell to receive notifications (if you're into that). If you are new to this channel and want to see more, a good place to start is this playlist: https://goo.gl/WmnCQZ Various social media stuffs: Website: https://www.3blue1brown.com Twitter: https://twitter.com/3Blue1Brown Patreon: https://patreon.com/3blue1brown Facebook: https://www.facebook.com/3blue1brown Reddit: https://www.reddit.com/r/3Blue1Brown
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from 3Blue1Brown · 3Blue1Brown · 12 of 60

1 e to the pi i, a nontraditional take (old version)
e to the pi i, a nontraditional take (old version)
3Blue1Brown
2 Euler's Formula Poem
Euler's Formula Poem
3Blue1Brown
3 Euler's Formula and Graph Duality
Euler's Formula and Graph Duality
3Blue1Brown
4 What does it feel like to invent math?
What does it feel like to invent math?
3Blue1Brown
5 How to count to 1000 on two hands
How to count to 1000 on two hands
3Blue1Brown
6 Music And Measure Theory
Music And Measure Theory
3Blue1Brown
7 Fractal charm: Space filling curves
Fractal charm: Space filling curves
3Blue1Brown
8 The Brachistochrone, with Steven Strogatz
The Brachistochrone, with Steven Strogatz
3Blue1Brown
9 Snell's law proof using springs
Snell's law proof using springs
3Blue1Brown
10 Triangle of Power
Triangle of Power
3Blue1Brown
11 Essence of linear algebra preview
Essence of linear algebra preview
3Blue1Brown
Vectors | Chapter 1, Essence of linear algebra
Vectors | Chapter 1, Essence of linear algebra
3Blue1Brown
13 Linear combinations, span, and basis vectors | Chapter 2, Essence of linear algebra
Linear combinations, span, and basis vectors | Chapter 2, Essence of linear algebra
3Blue1Brown
14 Linear transformations and matrices | Chapter 3, Essence of linear algebra
Linear transformations and matrices | Chapter 3, Essence of linear algebra
3Blue1Brown
15 Matrix multiplication as composition | Chapter 4, Essence of linear algebra
Matrix multiplication as composition | Chapter 4, Essence of linear algebra
3Blue1Brown
16 Three-dimensional linear transformations | Chapter 5, Essence of linear algebra
Three-dimensional linear transformations | Chapter 5, Essence of linear algebra
3Blue1Brown
17 The determinant | Chapter 6, Essence of linear algebra
The determinant | Chapter 6, Essence of linear algebra
3Blue1Brown
18 Inverse matrices, column space and null space | Chapter 7, Essence of linear algebra
Inverse matrices, column space and null space | Chapter 7, Essence of linear algebra
3Blue1Brown
19 Nonsquare matrices as transformations between dimensions | Chapter 8, Essence of linear algebra
Nonsquare matrices as transformations between dimensions | Chapter 8, Essence of linear algebra
3Blue1Brown
20 Dot products and duality | Chapter 9, Essence of linear algebra
Dot products and duality | Chapter 9, Essence of linear algebra
3Blue1Brown
21 Cross products in the light of linear transformations | Chapter 11, Essence of linear algebra
Cross products in the light of linear transformations | Chapter 11, Essence of linear algebra
3Blue1Brown
22 Cross products | Chapter 10, Essence of linear algebra
Cross products | Chapter 10, Essence of linear algebra
3Blue1Brown
23 Change of basis | Chapter 13, Essence of linear algebra
Change of basis | Chapter 13, Essence of linear algebra
3Blue1Brown
24 Eigenvectors and eigenvalues | Chapter 14, Essence of linear algebra
Eigenvectors and eigenvalues | Chapter 14, Essence of linear algebra
3Blue1Brown
25 Abstract vector spaces | Chapter 16, Essence of linear algebra
Abstract vector spaces | Chapter 16, Essence of linear algebra
3Blue1Brown
26 Who cares about topology?   (Old version)
Who cares about topology? (Old version)
3Blue1Brown
27 3blue1brown channel trailer
3blue1brown channel trailer
3Blue1Brown
28 Binary, Hanoi and Sierpinski, part 1
Binary, Hanoi and Sierpinski, part 1
3Blue1Brown
29 Binary, Hanoi, and Sierpinski, part 2
Binary, Hanoi, and Sierpinski, part 2
3Blue1Brown
30 But what is the Riemann zeta function? Visualizing analytic continuation
But what is the Riemann zeta function? Visualizing analytic continuation
3Blue1Brown
31 Tattoos on Math
Tattoos on Math
3Blue1Brown
32 Fractals are typically not self-similar
Fractals are typically not self-similar
3Blue1Brown
33 Euler's formula with introductory group theory
Euler's formula with introductory group theory
3Blue1Brown
34 The essence of calculus
The essence of calculus
3Blue1Brown
35 The paradox of the derivative | Chapter 2, Essence of calculus
The paradox of the derivative | Chapter 2, Essence of calculus
3Blue1Brown
36 Derivative formulas through geometry | Chapter 3, Essence of calculus
Derivative formulas through geometry | Chapter 3, Essence of calculus
3Blue1Brown
37 Visualizing the chain rule and product rule | Chapter 4, Essence of calculus
Visualizing the chain rule and product rule | Chapter 4, Essence of calculus
3Blue1Brown
38 What's so special about Euler's number e? | Chapter 5, Essence of calculus
What's so special about Euler's number e? | Chapter 5, Essence of calculus
3Blue1Brown
39 Implicit differentiation, what's going on here? | Chapter 6, Essence of calculus
Implicit differentiation, what's going on here? | Chapter 6, Essence of calculus
3Blue1Brown
40 Limits, L'Hôpital's rule, and epsilon delta definitions | Chapter 7, Essence of calculus
Limits, L'Hôpital's rule, and epsilon delta definitions | Chapter 7, Essence of calculus
3Blue1Brown
41 Integration and the fundamental theorem of calculus | Chapter 8, Essence of calculus
Integration and the fundamental theorem of calculus | Chapter 8, Essence of calculus
3Blue1Brown
42 What does area have to do with slope? | Chapter 9, Essence of calculus
What does area have to do with slope? | Chapter 9, Essence of calculus
3Blue1Brown
43 Higher order derivatives | Chapter 10, Essence of calculus
Higher order derivatives | Chapter 10, Essence of calculus
3Blue1Brown
44 Taylor series | Chapter 11, Essence of calculus
Taylor series | Chapter 11, Essence of calculus
3Blue1Brown
45 Pi hiding in prime regularities
Pi hiding in prime regularities
3Blue1Brown
46 All possible pythagorean triples, visualized
All possible pythagorean triples, visualized
3Blue1Brown
47 But how does bitcoin actually work?
But how does bitcoin actually work?
3Blue1Brown
48 How secure is 256 bit security?
How secure is 256 bit security?
3Blue1Brown
49 Hilbert's Curve: Is infinite math useful?
Hilbert's Curve: Is infinite math useful?
3Blue1Brown
50 Thinking outside the 10-dimensional box
Thinking outside the 10-dimensional box
3Blue1Brown
51 Some light quantum mechanics (with minutephysics)
Some light quantum mechanics (with minutephysics)
3Blue1Brown
52 But what is a neural network? | Deep learning chapter 1
But what is a neural network? | Deep learning chapter 1
3Blue1Brown
53 Gradient descent, how neural networks learn | Deep Learning Chapter 2
Gradient descent, how neural networks learn | Deep Learning Chapter 2
3Blue1Brown
54 Backpropagation, intuitively | Deep Learning Chapter 3
Backpropagation, intuitively | Deep Learning Chapter 3
3Blue1Brown
55 Backpropagation calculus | Deep Learning Chapter 4
Backpropagation calculus | Deep Learning Chapter 4
3Blue1Brown
56 The hardest problem on the hardest test
The hardest problem on the hardest test
3Blue1Brown
57 Q&A #2 + Net Neutrality Nuance
Q&A #2 + Net Neutrality Nuance
3Blue1Brown
58 Why this puzzle is impossible
Why this puzzle is impossible
3Blue1Brown
59 But what is the Fourier Transform?  A visual introduction.
But what is the Fourier Transform? A visual introduction.
3Blue1Brown
60 The more general uncertainty principle, regarding Fourier transforms
The more general uncertainty principle, regarding Fourier transforms
3Blue1Brown

This video introduces the fundamentals of vectors in linear algebra, covering key concepts such as vector addition, multiplication, and scaling, and explaining how these operations can be used to translate between geometric and numerical representations.

Key Takeaways
  1. Define a vector as an arrow in space with length and direction
  2. Add two vectors by moving one so its tail sits at the tip of the other
  3. Multiply a vector by a number by stretching or squishing the vector by that factor
  4. Understand vector scaling and its relationship to scalar multiplication
  5. Recognize the importance of linear algebra in translating between geometric and numerical representations
💡 Linear algebra provides a powerful framework for working with vectors, allowing us to translate between geometric and numerical representations and perform key operations such as vector addition and scalar multiplication.

Related AI Lessons

Up next
How to Open OSM Files (OpenStreetMap Data)
File Extension Geeks
Watch →