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
I Looked Inside A Live Egg .... Smarter Every Day 254
Okay. I’m at the Exploratorium in San Francisco, and this is one of the most amazing exhibits I’ve ever seen. It’s very simple, but it’s mindblowing. These are live chicken embryos, right? They’ve got them laid out here. It’s basically an egg without the …
How To Live In The Social Media Matrix
This is the challenge, right? We’re all living in this society where these very large and powerful businesses need us all to post a lot. We have to ask ourselves the question: what is the value exchange, and how maybe are we—how do we be careful we’re not…
Understand Where YOU are in the Life Cycle
There’s a life cycle of an individual, so I want to just touch on that for a bit. To me, the life cycle of a typical individual looks like this: In the first phase, you learn, and you’re dependent on others who guide you, most importantly your parents an…
What is love?
I love a lot of things. Some people love sunshine and rainbows. Some love the warmth of summer and the chill of winter. Others love the smell of hot coffee in the morning and the coziness of their bed at night. Some love to travel and go on crazy adventur…
Bill Ackman's NEXT Billion Dollar Bet
Billionaire investor Bill Ackman has the power to move markets with what he says. Unlike most investors, he rarely buys and sells stocks. That is why it is a big event when Bill Ackman announces a new investment he has made within his closely followed Per…
How Elon Musk Spends His Time
How do you spend your days now? Like what do you? My time is mostly split between SpaceX and Tesla. And of course, I try to spend a part of every week at OpenAI. So I spend most—I spend basically half a day at OpenAI most weeks. And then I have some OpenA…