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

Computing the partial derivative of a vector-valued function


2m read
·Nov 11, 2024

Hello everyone. It's what I'd like to do here, and in the following few videos, is talk about how you take the partial derivative of vector-valued functions.

So the kind of thing I have in mind there will be a function with a multiple variable input. So this specific example has a two-variable input T and s. You could think of that as a two-dimensional space, as the input are just two separate numbers, and its output will be three-dimensional. The first component is T squared minus s squared. The Y component will be s times T, and that Z component will be T times s squared minus s times T squared minus s times T squared.

And the way that you compute a partial derivative of a guy like this is actually relatively straightforward. It's, if you were to just guess what it might mean, you’d probably guess right: it will look like the partial of V with respect to one of its input variables, and I'll choose T with respect to T. You just do it component-wise, which means you look at each component and you do the partial derivative to that because each component is just a normal scalar-valued function.

So you go up to the top one, and you say T squared looks like a variable as far as T is concerned, and its derivative is 2T. But s squared looks like a constant, so its derivative is zero. s times T, when s is s, looks like a constant, and when T looks like a variable, it has a derivative of s. Then T times s squared, when T is the variable and s is the constant, it just looks like that constant, which is s squared minus s times T squared.

So now, the derivative of T squared is 2T, and that constant s stays in. So that’s 2 times s times T, and that’s how you compute it probably relatively straightforward. The way you do it with respect to s is very similar. But where this gets fun and where this gets cool is how you interpret the partial derivative, right?

How you interpret this value that we just found, and what that means, depends a lot on how you actually visualize the function. So what I'll go ahead and do in the next video, and in the next few ones, is talk about visualizing this function. It'll be as a parametric surface in three-dimensional space; that's why I've got my graph or program out here. I think you'll find there's actually a very satisfying understanding of what this value means.

More Articles

View All
Applying the chain rule twice | Advanced derivatives | AP Calculus AB | Khan Academy
Let’s say that y is equal to sine of x squared to the third power, which of course we could also write as sine of x squared to the third power. What we’re curious about is what is the derivative of this with respect to x? What is dy/dx, which we could als…
Polar curve area with calculator
What we’re going to try to do is use our powers of calculus to find this blue area right over here. What this blue area is, is the area in between successive loops of the graph. The polar graph ( r(\theta) = 3\theta \sin(\theta) ) I’m graphing it in polar…
Breaking Down HackerRank's Survey of 40,000 Developers with Vivek Ravisankar
All right, the Veck, why don’t we start with what you guys do, and then we’ll rewind to before you even did YC? Yes, sure! I’m S. V. Ivent, one of the founders and CEO of HackerRank. Our mission at HackerRank is to match every developer to the right job,…
An In-Depth Interview with Emily Watson From 'Genius' | Genius
[music playing] EMILY WATSON: Hi, I’m Emily Watson. I play Elsa Einstein, a genius. Please don’t. This is the third time I’ve played Mrs. Geoffrey Rush. And we actually have a really nice working relationship. We just have that sense of feeling comfortab…
World's Heaviest Weight
An apple weighs about 1 newton; the world record for jet engine thrust is 570,000 newtons. And the Saturn V rocket that launched people to the moon had a thrust of 33,360,000 newtons. But how can we measure forces this big accurately? Well, we need to ask…
The Egg Theory
You were on your way home when you died. It was a car accident. Nothing particularly remarkable, but fatal nonetheless. You left behind a wife and two children. It was a painless death. The EMTs tried their best to save you, but to no avail. Your body was…