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
Michael Burry's Warning for the Stock Market Crash
On May 19, 2005, Michael Bury bought his first credit default swaps in anticipation of the housing crisis: 60 million of credit default swaps from Deutsche Bank, 10 million each on six different bonds. His prediction: the U.S. mortgage-backed security, on…
Indus Valley Civilization | Early Civilizations | World History | Khan Academy
As we’ve talked about in multiple videos, some of the earliest civilizations we have found have been around river valleys, and that is no coincidence. Because some of the first agriculture emerged around river valleys, and the agriculture supported higher…
Mac vs Windows vs Linux (Alex's thought's)
Hey guys, this mad kid’s alone, and today I’m just going to be giving my unbiased opinion on Mac OS 10 vs. Windows Vista. So, I’m going to be comparing the two operating systems right now. To make this video, I’m using Linux, which is the third party. It’…
15 Ways To Make Better Friends
Did you know that you are the average of the five people you spend most of your time with? Now, that’s hardly a surprise, considering humans are social creatures. We have evolved to fit literally anywhere. But there’s a catch: if you are surrounded by ave…
The English Language is Still a Giant Meme
English is a difficult language. We park our cars on a driveway, but we drive cars on a Parkway. When you transport something by car, it’s called a shipment, but when you transport something by ship, it’s called cargo. Piano players are called pianists, b…
Harvesting Mussels In Ireland | National Geographic
[Music] Hi, I’m Katie and I’m Colleen, and we’re the Chip Sisters. Today, we’re at Killer Yard, and we’re learning how to harvest mussels in Ireland. [Music] Hilary Harper is a Ford located in the west of Ireland in Northern Connemara. Mussel farming sta…