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

Parametric curves | Multivariable calculus | Khan Academy


4m read
·Nov 11, 2024

More function visualizations. So, let's say you have a function; it's got a single input T, and then it outputs a vector. The vector is going to depend on T. So, the X component will be T times the cosine of T, and then the Y component will be T times the sine of T. This is what's called a parametric function, and I should maybe say one-parameter parametric function. One parameter, and parameter is just kind of a fancy word for input parameter. So, in this case, T is our single parameter.

What makes it a parametric function is that we think about it as drawing a curve, and its output is multi-dimensional. So, you might think when you visualize something like this, oh, it's got, you know, a single input, and it's got a two-dimensional output. Let's graph it; you know, put those three numbers together and plot them. But what turns out to be even better is to look just in the output space. So, in this case, the output space is two-dimensional.

I'll go ahead and draw a coordinate plane here, and let's just evaluate this function at a couple different points and see what it looks like. Okay, so I might—maybe the easiest place to evaluate it would be zero. So, f of 0 is equal to— and then in both cases, it'll be 0 times something. So, 0 times cosine of 0 is just 0, and then 0 times sine of 0 is also just 0. So, that input corresponds to the output; you could think of it as a vector that's infinitely small or just the point at the origin, however you want to go about it.

So, let's take a different point just to see what else could happen, and I'm going to choose pi halves. Of course, the reason I'm choosing pi halves of all numbers is that it's something I know how to take the sine and the cosine of. So, T is pi halves. Cosine of pi halves—then you start thinking, okay, what's the cosine of pi halves? What's the sine of pi halves?

And maybe you go off and draw a little unit circle while you're writing things out. Oops! So, the problem with talking while writing—sine of pi halves, and you know it's—if you go off and scribble that little unit circle, you say pi halves is going to bring us a quarter of the way around over here. And cosine of pi halves is measuring the X component of that, so that just cancels out to zero; and then sine of pi halves is the Y component of that, so that ends up equaling one.

Which means that the vector as a whole is going to be zero for the X component and then pi halves for the Y component. And what that would look like, you know, the Y component of pi halves—it's about 1.7 up there, and there's no X component. So, you might get a vector like this.

And if you imagine doing this at all the different input points, you might get a bunch of different vectors off doing different things. And if you were to draw it, you don't want to just draw the arrows themselves because that'll clutter things up a whole bunch. So, we just want to trace the points; they correspond to the output, the tips of each vector.

And what I'll do here, I'll show a little animation. Let me just clear the board a bit—an animation where I'll let T range between zero and ten. So, let's write that down. So, the value T is going to start at zero, and then it's going to go to ten. It's going to go to ten, and we'll just see what values, what vectors does that output, and what curve does the tip of that vector trace out.

So, it goes all of the values just kind of ranging 0 to 10, and you end up getting this spiral shape. And you can maybe think about why this cosine of T sine of T scaled by the value T itself would give you this spiral. But what it means is that when you—you know, we saw that zero goes here; evidently, it's the case that ten outputs here.

And a disadvantage of drawing things like this: you're not quite sure of what the interim values are; you know, you could kind of guess—maybe one go somewhere here, two go somewhere here, and kind of hoping that they're evenly spaced as you move along. But you don't get that information; you lose the input information, you get the shape of the curve.

And if you just want, you know, an analytical way of describing curves, you find some parametric function that does it, and you don't really care about the rate. But just to show where it might matter, oh, I'll animate the same thing again—another function that draws the same curve but it starts going really quickly and then it slows down as you go on.

So, that function is not quite the T cosine T, et sine of T, though I originally had written. And in fact, it would mean that—let's just erase these guys—when it starts slowly, you could interpret that as saying, okay, maybe—well actually it started quickly, didn't it? So, one would be really far off here, and then two, it could have zipped along here, then three—you know, still going really fast—and then maybe by the time you get to the end, it's just going very slowly. Just kind of seven is here, it is here, and it's hardly making any progress before it gets to ten.

So, you can have two different functions draw the same curve. And the fancy word here is parameterize. So, functions will parameterize a curve if, when you draw just in the output space, you get that curve. And in the next video, I'll show how you can have functions with a two-dimensional input and a three-dimensional output draw surfaces in three-dimensional space.

More Articles

View All
Approximating multi digit division
What we want to do in this video is get some practice estimating multi-digit division problems. So here we’re asked to estimate 794 divided by 18. Now, if you wanted to get the exact answer, you’d probably have to do—in fact, you would have to do—some lon…
Changes in labor supply | Microeconomics | Khan Academy
In a previous video, we took a look at the labor markets, and we thought about it in the context of the entire market and how it might impact a firm. So let’s say that all of a sudden, the nation’s immigration policy changes where they’re willing to bring…
THE MAKING OF MY NEW SHOW | BTS for MONEY COURT
This project’s been a year and a half in the making. It’s how long it’s taken. This is one of the most technologically advanced studios in the world. It’s massive; it’s the size of a city block. You know, we’re not saving the world if we met animals in th…
Dario Amodei: Anthropic CEO on Claude, AGI & the Future of AI & Humanity | Lex Fridman Podcast #452
If you extrapolate the curves that we’ve had so far, right? If you say, well, I don’t know, we’re starting to get to like PhD level and last year we were at undergraduate level, and the year before we were at like the level of a high school student. Again…
Valid discrete probability distribution examples | Random variables | AP Statistics | Khan Academy
Anthony Denoon is analyzing his basketball statistics. The following table shows a probability model for the result from his next two free-throws, and so it has various outcomes of those two free-throws and then the corresponding probability: missing both…
End of Space – Creating a Prison for Humanity
Space travel is the most exciting and challenging adventure humanity has ever undertaken. But in an irony of history, we may stop ourselves from going into space the more we do it. With every rocket launched and with every satellite deployed, we’re creati…