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
The Problem With Romanticizing Mental Illness
If you’re watching this right now, chances are you spent many years of your life feeling misunderstood. Maybe you coped by spending hours online or listening to pop punk alone in your bedroom. You might have wished to run away or for a simple answer that …
Hunting Porcupine | Life Below Zero
Look, the porcupine tracker went right up here. It’s not too far ahead. This is a fresh track. Hey, look! There he is, right there, right in that tree. Porcupines, when they’re getting chased, they like to take to the trees. I can’t shoot him with this r…
Wrangling Wild Horses in the Mountains of Montana | Short Film Showcase
[Music] Growing up, I was definitely the most interested in the ranch lifestyle. [Music] From a young age, I just really enjoyed riding horses and being outdoors. Making lots of money isn’t my priority; I would rather live in a beautiful place and do the …
Talk about doing things that don’t scale. From Doordash’s YC app in 2013.
And the four of us came together about 6 months ago to work on software for small business owners, but we didn’t have a need at first. So we just went out and talked to all the small business owners we could find. After over a 100 interviews, we came acro…
BEST Images of the WEEK! ... IMG! #28
When your house breaks, fix it. And a private toilet! It’s episode 28 of IMG. Do you like cake? Do you like tacos? Well, get yourself a Taco Bell cake covered in say cheese, then say arson. Just don’t burn down the melting stairs. Wieners for kids! But z…
Reading (and comparing) multiple books | Reading | Khan Academy
Hello readers! You know what’s better than reading a book? Reading two books! Reading a bunch of books! Reading a mountain of books! This may sound self-evident, but great readers read a lot of books. Good readers read widely. They read lots of different …