Functions of several variables: gradients, Hessians and integrals
गेट DA160 मिनट में पढ़ें
Partial derivatives
Definition. The partial derivative (also written ) is the derivative with respect to , holding every other variable fixed.
Example 1. For :
- ;
- ;
- .
Computing gives the same result. Clairaut's theorem: when the mixed partials are continuous, , so the Hessian is symmetric.
Exam trap. A function can have both partial derivatives at a point without being continuous there. Take with . Both partials at the origin are 0, yet along the line the function equals . Differentiability in several variables needs more than the existence of partials. Continuous partials are enough.
The gradient and directional derivatives
Gradient. .
Directional derivative. The rate of change in the direction of a unit vector is
Consequences.
- increases fastest in the direction of , at the rate .
- It decreases fastest in the direction of . This is why gradient descent works.
- Along directions perpendicular to , the rate is 0.
- So the gradient is perpendicular to the level curves (or level surfaces).
Example 2. at .
- .
- In the direction of , the unit vector is , so .
- The fastest increase is , in the direction .
Exam trap. Always normalise the direction first. Using itself would give 28, which is wrong.
Tangent plane. At , the graph is best approximated by .
Example 3. For at : and . The tangent plane is . At it predicts ; the true value is .
The chain rule in several variables
If with and , then
Example 4. with and .
- The chain rule gives .
- Check. Substituting first, , and differentiating gives the same result.
आपने इस नोट का मुफ़्त 30% हिस्सा पढ़ लिया
आगे पढ़ने के लिए Google से साइन इन करें। यह मुफ़्त है, एक टैप में होता है, और साथ में मिलता है:
- इस नोट से 7 अभ्यास सवाल
- हर नोट पूरा, साथ में PDF लाइब्रेरी
- आधिकारिक पिछले पेपर समय-सीमा वाले टेस्ट की तरह, व्याख्या के साथ
- डाउट के लिए AI ट्यूटर, हिंदी या अंग्रेज़ी में
- आपकी प्रगति, गलतियाँ और स्टडी प्लान हर डिवाइस पर सेव