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

Transformations, part 2 | Multivariable calculus | Khan Academy


4m read
·Nov 11, 2024

So in the last video, I introduced Transformations and how you can think about functions as moving points in one space to points in another. Here, I want to show an example of what that looks like when the input space is two-dimensional.

This over here is the input space; it's just a copy of the XY plane. The output space is also two-dimensional, so the output space in this case is also the two-dimensional plane. What I'm going to do is just play an example of one of these Transformations and then go through the details of the underlying function and how you can understand the transformation as a result.

Here’s what it looks like; here’s what we’re going to be going towards: very complicated, a lot of points moving, lots of different things happening here. What’s common with this sort of thing when you’re thinking about moving from two Dimensions to two Dimensions, given that it’s really the same space, the XY plane, is that you often just think about the input and output space all at once.

Instead, just watch a copy of that plane move on to itself. And by the way, when I say watch, I don’t mean that you’ll always have an animation like this just sort of sitting in front of you. When I think about Transformations, it’s usually a very vague thought in the back of my mind somewhere. But it helps to understand what’s really going on with the function; I’ll talk about that more at the end.

First, let’s just go into what this function is. The one that I told the computer to animate here is f of XY as the input is equal to x² + y² as the X component of the output and x² - y² as the Y component of the output. To help start understanding this, let’s take a relatively simple point like the origin.

So here, the origin, which is (0, 0), and let’s think about what happens to that f of (0, 0). Well, X and Y are both zero, so that top is zero and the same with the bottom—the bottom also equals zero—which means it’s taking the (0, 0) to itself.

If you watch the transformation, what this means is that the point (0, 0) stays fixed; it’s like you can hold your thumb down on it and nothing really happens to it. In fact, we call this a fixed point of the function as a whole, and that kind of terminology doesn’t really make sense unless you’re thinking of the function as a transformation.

Let’s look at another example here. Let’s take a point like (1, 1), f of (1, 1). So in the input space, let’s just kind of start the thing over, so we’re only looking at the input. In the input space, (1, 1) is sitting right here, and we’re wondering where that’s going to move.

When we plug it in, x² + y², that’s going to be 1² + 1²; and then the bottom, x² - y², is 1² - 1². Plugging things in here, that’s (2, 0), which means we expect this point to move over to (2, 0) in some way. If we watch the transformation, we expect to watch that point move over to here.

Again, it can be hard to follow because there are a lot of moving parts, but if you’re careful as you watch it, the point will actually land right there. You can, in principle, do this for any given point and understand how it moves from one to another.

But you might ask, “Hey Grant, what is the point of all of this?” Right, we have other ways of visualizing functions that are more precise and kind of less confusing, to be honest. Vector fields are a great way for functions like this; graphs are a great way for functions with one input and one output. Why think in terms of Transformations?

The main reason is conceptual. It’s not like you’ll have an animation sitting in front of you, and it’s not like you’re going to by hand evaluate a bunch of points and think of how they move. But there are a lot of different concepts in math and with functions where, when you understand it in terms of a transformation, it gives you a more nuanced understanding.

Things like derivatives, or the variations of the derivative that you’re going to learn with multivariable calculus. There are different ways of understanding it in terms of stretching or squishing space, and things like this that don’t really have a good analog in terms of graphs or vector fields.

So it adds a new color to your understanding. Also, Transformations are a super important part of linear algebra. There will come a point when you start learning the connection between linear algebra and multivariable calculus, and if you have a strong conception of Transformations, both in the context of linear algebra and in the context of multivariable calculus, you’ll be in a much better position to understand the connection between those two fields.

More Articles

View All
Sea Turtles Nesting in Costa Rica - 360 | National Geographic
Sometime around the last quarter moon, we typically see these large groups of turtles forming offshore and essentially wait for some cue. It’s like they’re all out there kind of wait for it, wait for it. At some point, hundreds of thousands of turtles sta…
15 LUXURY TECH Products Actually Worth The Money
Not all tech is worth the precious metal its chip is made up, so it’s a good idea to cut through the hype and get to the facts on whether your new luxury tech is actually worth a big spend. We’ve done some souping into some of the hottest luxury tech and …
Caught in an Underwater Avalanche | Expedition Raw
We’re heading down to explore an underwater cave. We always run a guideline, and you place it very carefully because you have to assume that you’re going to come out in no visibility. Without that line, you have low odds of getting out. Then all of a sud…
Jeff Bezos: The electricity metaphor
When you think about resilience and technology, it’s actually much easier. You’re going to see some other speakers today, I already know, who are going to talk about breaking-bones stuff, and, of course, with technology it never is. So it’s very easy, com…
Office Hours with Adora Cheung
Alright, hey everyone! Today we have Dore Chun. She’s a YC partner and co-founder of Homejoy. Thank you! How’s it going? Good, how are you? Good! Alright, we’re gonna do some office hour questions from the internet, so let’s go! Cool! So first question…
Crowding out | AP Macroeconomics | Khan Academy
In this video, we’re going to use a simple model for the loanable funds market to understand a phenomenon known as crowding out. This is making reference to when a government borrows money; to some degree, it could crowd out private sector borrowing and i…