yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

3d vector fields, introduction | Multivariable calculus | Khan Academy


4m read
·Nov 11, 2024

So in the last video, I talked about vector fields in the context of two dimensions, and here I'd like to do the same but for three dimensions.

A three-dimensional vector field is given by a certain multivariable function that has a three-dimensional input, given with coordinates (X), (Y), and (Z), and then a three-dimensional vector output that has expressions that are somehow dependent on (X), (Y), and (Z). I'll just put dots in here for now, but we'll fill this in with an example in just a moment.

The way that this works, just like with a two-dimensional vector field, is you're going to choose a sample of various points in three-dimensional space, and for each one of those points, you consider what the output of the function is. That's going to be some three-dimensional vector, and you draw that vector off of the point itself.

So to start off, let's take a very simple example, one where the vector that outputs is actually just a constant. In this case, I'll make that constant the vector (1, 0, 0). So what this vector is, it's just got a unit length in the (X) direction. This is the (X)-axis, so all of the vectors are going to end up looking something like this, where it's a vector that has length one in the (X) direction.

When we do this at every possible point—well, not every possible point, but a sample of a whole bunch of points—whoops! We get a vector field that looks like this. At any given point in space, you get one of these little blue vectors, and all of them are the same. They're just copies of each other, each pointing with unit length in the (X) direction.

So as vector fields go, this is relatively boring. But we can make it a little bit more exciting if we make the input start to depend somehow on the actual input. So what I'll do to start, I'll just make the input (Y = 0). So they're still just going to point in the (X) direction, but now it's going to depend on the (Y) value.

So let's think for a second before I change the image what that's going to mean. The (Y)-axis is this one here, so now the (Z)-axis is pointing straight in our face. That's the (Y) axis. As (Y) increases value to, you know, (1, 2, 3), the length of these vectors are going to increase. It's going to be a stronger vector in the (X) direction—a very strong vector in the (X) direction. And if (Y) is negative, these vectors are going to point in the opposite direction.

So let's see what that looks like. There we go! In this vector field, color and length are used to indicate how the magnitude of the vector. So red vectors are very long, blue vectors are pretty short, and at zero, we don't even see any because those are vectors with zero length.

Just like with two-dimensional vector fields, when you draw them, you lie a little bit. This one should have a length of one, right? Because when (Y) is equal to one, this should have a unit length, but it's made really, really small. And this one up here where (Y) is, you know, five or six should be a really long vector, but we're lying a little bit because if we actually drew them to scale, it would really clutter up the image.

A couple of things to notice about this one: since the output doesn't depend on (X) or (Z), if you move in the (X) direction, which is back and forth here, the vectors don't change. If you move in the (Z) direction, which is up and down, the vectors also don't change. They only change as you move in the (Y) direction.

Okay, so this is where we’re starting to get a feel for how the output can depend on the input. Now, let's do something a little bit different. Let's say that all three of the components of the input depend on (X), (Y), and (Z), but I'm just going to make it kind of an identity function. At a given point ((X, Y, Z)), you output the vector itself (XYZ).

So let's think about what this would actually mean. Let's say you've got a given point, some point floating off in space. What is the output vector for that? Well, the point has a certain (X) component, a certain (Y) component, and a (Z) component. The vector that corresponds to (XYZ) is going to be the one from the origin to that point itself.

Let me just draw that here from the origin to the point itself. Because of how we do vector fields, you move this so that instead of stemming from the origin, it actually stems from the point. But what the main thing to take away here is it's going to point directly away from the origin, and the farther away the point is, the longer this vector will be.

So with that, let's take a look at the vector field itself. Here we go! Again, you kind of lie when you draw these, like the vectors—these red guys that are out at the end—they should be really long because this vector should be as long as that point is away from the origin. But to give a cleaner vector field, you scale things down.

Notice the blue ones that are close to the center here are actually really, really short guys, and all of these are pointing directly away from the origin. This is one of those vector fields that it's actually a pretty good one to have a strong intuition of, because it comes up now and then.

Thinking about what the identity function looks like as a vector field itself, in the next video, I'll talk through another example that's a little bit more complicated than this and can hopefully give an even stronger feel for how the output can depend on (X), (Y), and (Z).

More Articles

View All
How Much Money I Make Selling Merch
What’s up guys? It’s Graham here. So, about 10 months ago, my buddy and I met up for lunch and came up with a wild original concept that’s never been done before here on YouTube: selling merch. After all, it seems like pretty much every YouTuber is doing …
Wolves in Yellowstone, LIVE! | Yellowstone Live
How’re you guys doing? We’re live in West Yellowstone ahead of Yellowstone Live tonight at 9:00, 8:00 Central on National Geographic and Nat Geo Wild with Trent, a naturalist at the Grizzly Wolf Discovery Center. Thank you so much for being here. Q: Tell…
The NEW GameStop Infinite Money Glitch
What’s up, Graham? It’s guys here. So, you know the saying that lightning never strikes the same place twice? Well, the lie detector test determined that was a lie. And in the last week, GameStop did it again! The infinite money printer is back on, strong…
Watch Shopping With An Unlimited Budget With Teddy Baldassarre
And then of course, I crushed you like the cockroach you are. I just took off. I was a chicken once, now I’m a cockroach. I’m changing. Here I am, one-zero already. I don’t agree. You know, Teddy, the funny thing is, you’re living with this inventory ever…
Things That Don't Scale, The Software Edition – Dalton Caldwell and Michael Seibel
We’ll get a founder that’s like, “Oh, how do I like test my product before I launch to make sure it’s gonna work?” And I always come back and tell the founders the same thing: like if you have a house and it’s got full of pipes, and you know some of the p…
Khan Academy Welcomes Duck Duck Moose
Hi, I’m Sal Khan, founder of the Khan Academy, and I’m Caroline H. Flexer, founder of Duck Duck Moose. We have a very exciting announcement today. As you probably know, Khan Academy is a not-for-profit with a mission of a free, world-class education for …