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
Pop Goes the Beetle | Primal Survivor
Dehydration is affecting my coordination. I should drink, but there’s a problem with my remaining water. This water in this bag has been here so long, and it’s been so hot; it just tastes so rancid. I’m thirsty, but it’s almost undrinkable. Drinking bad w…
The Simple Solution to Traffic
Stuck at an intersection, you always watch unfold the Fundamental Problem of Traffic. On green, the first car accelerates, and then the next, and then the next, and then the next, and then you, only to catch the red. Had the cars accelerated simultaneousl…
Horses vs. Horsepower: Watch Historic Rides Race Each Other | National Geographic
History is important, and we get hundred-year-old vehicles out and run. We feel that the educational aspect of someone being able to see these cars in motion is well beyond what someone would learn simply by watching the cars in a museum. Welcome to Race…
Paul Buchheit: What traits do startups need to succeed?
I think like focus is one of the most important things because like as a start-up, it’s actually I think your most powerful weapon. Right? Like the reason that you’re able to take on like these big companies or areas is because they’re doing a thousand di…
Killer Whales: Exxon Valdez Oil Spill Nearly Decimated This Pod (Part 2) | National Geographic
Toa Nutella sweet, huh? Boom, channel 16. In the morning, we make contact with Craig Matka. He’s agreed to give us rare access to his research. Most studies on the effects of the spill started after the fact, but Craig’s work predates the spill. So if any…
Subtracting multi digit numbers with regrouping
[Instructor] What we’re gonna do in this video is figure out what 389,002 minus 76,151 is. Like always, I encourage you to pause the video and try to figure it out on your own. That’s the best way to really, even if you’re not able to figure out, or if …