Multivariable Calculus Intro
- 29Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What is a partial derivative? How do you compute rac{partial f}{partial x} for a function f(x,y)?
29 questions
- 1
What is a partial derivative? How do you compute rac{partial f}{partial x} for a function f(x,y)?
Model answer
A partial derivative is the derivative of a multivariable function with respect to one variable while treating all other variables as constants. To compute rac{partial f}{partial x}, differentiate f with respect to x while treating y as constant.
Explanation
The concept extends single-variable differentiation by freezing other variables, reducing the function to a single variable along a slice.
- 2
For h(x,y)=100−x2−2y2, compute rac{partial h}{partial x} and rac{partial h}{partial y}.
Model answer
rac{partial h}{partial x} = -2x, rac{partial h}{partial y} = -4y.
Explanation
Differentiate term by term: derivative of 100 is 0, −x2 gives −2x, −2y2 gives 0 (constant w.r.t x). Similarly for y.
- 3
What is the gradient vector ablaf of a function f(x,y)? Write its formula.
Model answer
The gradient is abla f = langle rac{partial f}{partial x}, rac{partial f}{partial y} angle.
Explanation
It packages all first partial derivatives into a vector that points in the direction of steepest ascent.
- 4
For h(x,y)=100−x2−2y2, find the gradient at (1,1) and explain what it tells you.
Model answer
ablah(1,1)=langle−2,−4angle. It points in the direction of steepest ascent (uphill) with magnitude sqrt20approx4.47, which is the slope in that direction.
Explanation
At (1,1), the hill slopes downward in both x and y directions, and the gradient vector indicates the path of greatest increase. Its magnitude gives the steepness.
- 5
What is the Jacobian matrix for a vector function mathbfF(x,y)=(u(x,y),v(x,y))?
Model answer
The Jacobian is J = egin{bmatrix} rac{partial u}{partial x} & rac{partial u}{partial y} \ rac{partial v}{partial x} & rac{partial v}{partial y} end{bmatrix}.
Explanation
Each row corresponds to an output component and each column to an input variable, capturing all partial derivatives.
- 6
Given u=2x+0.5y and v=0.1x+3y, compute the Jacobian matrix.
Model answer
J = egin{bmatrix} 2 & 0.5 \ 0.1 & 3 end{bmatrix}.
Explanation
Partial derivatives: partialu/partialx=2, partialu/partialy=0.5, partialv/partialx=0.1, partialv/partialy=3.
- 7
How does the Jacobian matrix relate a small change in inputs (Deltax,Deltay) to the change in outputs (Deltau,Deltav)?
Model answer
The change in outputs is approximately egin{bmatrix} Delta u \ Delta v end{bmatrix} approx J egin{bmatrix} Delta x \ Delta y end{bmatrix}.
Explanation
The Jacobian provides a linear approximation: it multiplies the input change vector to give an estimate of the output change.
- 8
State the multivariable chain rule for a composition P(mathbfF(mathbfx)) using Jacobians.
Model answer
The Jacobian of the composition is the product of the Jacobians: JPcircmathbfF=JP(mathbfF(mathbfx))cdotJmathbfF(mathbfx).
Explanation
This generalizes the single-variable chain rule: derivatives multiply as matrices along the chain.
- 9
How is the Jacobian chain rule used in backpropagation for neural networks?
Model answer
Backpropagation computes the gradient of the error with respect to each weight by multiplying Jacobians backward through the network layers, applying the chain rule.
Explanation
Each layer is a function; the chain rule via Jacobian multiplication efficiently propagates error gradients.
- 10
What is the Hessian matrix of a function f(x,y)?
Model answer
The Hessian is H = egin{bmatrix} f_{xx} & f_{xy} \ f_{yx} & f_{yy} end{bmatrix}.
Explanation
It contains all second-order partial derivatives and describes local curvature.
- 11
For f(x,y)=x2+y2, find the Hessian at (0,0) and classify the critical point.
Model answer
H = egin{bmatrix} 2 & 0 \ 0 & 2 end{bmatrix}. The determinant D=4>0 and fxx=2>0, so it is a local minimum (valley).
Explanation
Positive diagonal entries indicate concave up in both directions, giving a minimum.
- 12
For f(x,y)=−x2−y2, classify the critical point at (0,0) using the Hessian.
Model answer
H = egin{bmatrix} -2 & 0 \ 0 & -2 end{bmatrix}. D=4>0 and fxx=−2<0, so it is a local maximum (peak).
Explanation
Negative diagonal entries indicate concave down in both directions, giving a maximum.
- 13
For f(x,y)=x2−y2, classify the critical point at (0,0).
Model answer
H = egin{bmatrix} 2 & 0 \ 0 & -2 end{bmatrix}. D=−4<0, so it is a saddle point.
Explanation
Opposite signs on diagonal indicate curvature up in x direction and down in y direction, characteristic of a saddle.
- 14
State the second derivative test for a critical point (a,b) of f(x,y) using the Hessian determinant D and fxx.
Model answer
If D>0 and fxx>0, local minimum; if D>0 and fxx<0, local maximum; if D<0, saddle point; if D=0, test inconclusive.
Explanation
The test uses determinant to check if curvatures agree and sign of fxx to determine concavity.
- 15
Outline the steps to find local extrema of a function f(x,y).
Model answer
Step 1: Find critical points by solving ablaf=mathbf0. Step 2: Classify each using the Hessian matrix (second derivative test).
Explanation
This mirrors single-variable optimization: first derivative zero, then check second derivative.
- 16
For P(x,y)=1500−(x−10)2−3(y−25)2, find the critical point and classify it.
Model answer
Critical point: (10,25). Hessian: H = egin{bmatrix} -2 & 0 \ 0 & -6 end{bmatrix}; D=12>0, fxx=−2<0, so local maximum. Maximum profit is P(10,25)=1500.
Explanation
Set first partials to zero: partialP/partialx=−2(x−10)=0, partialP/partialy=−6(y−25)=0.
- 17
What is a constrained optimization problem? Give an example.
Model answer
It involves maximizing or minimizing a function f(x,y) subject to a constraint g(x,y)=c. Example: maximize area xy subject to perimeter x+y=12.
Explanation
The constraint limits feasible points to a curve or surface.
- 18
State the condition for an optimum in Lagrange multipliers.
Model answer
At optimum, the gradients are parallel: ablaf=lambdaablag, where lambda is the Lagrange multiplier.
Explanation
This condition means the level curve of f is tangent to the constraint curve.
- 19
List the steps of the Lagrange multiplier algorithm.
Model answer
- Identify objective f and constraint g(x,y)=c. 2. Compute ablaf and ablag. 3. Set up equations: fx=lambdagx, fy=lambdagy, g(x,y)=c. 4. Solve for x,y,lambda.
Explanation
The system yields candidate points for extrema.
- 20
Solve the pen problem: maximize area A=xy with perimeter 2x+2y=24 (i.e., x+y=12).
Model answer
Using Lagrange multipliers: ablaA=langley,xangle, ablag=langle1,1angle. Equations: y=lambda, x=lambda, x+y=12. Solution: x=6, y=6, lambda=6. Maximum area is 36 square meters.
Explanation
The optimal pen is a square; lambda is the shadow price: each extra meter of fence increases area by about 6 m².
- 21
What does the Lagrange multiplier lambda represent in practical problems?
Model answer
lambda is the shadow price: the rate at which the objective function changes per unit increase in the constraint bound.
Explanation
It indicates how much the optimal value would increase if the constraint were relaxed by one unit.
- 22
What does a double integral iintRf(x,y),dA represent geometrically?
Model answer
If f(x,y)ge0, it represents the volume under the surface z=f(x,y) over the region R. More generally, it can represent mass, probability, etc.
Explanation
The double integral sums infinitesimal volumes (height imes area) over the region.
- 23
How is a double integral computed as an iterated integral?
Model answer
Write iintRf(x,y),dA=intcdintabf(x,y),dx,dy (or reverse order). Integrate from the inside out, treating the outer variable as constant during the inner integration.
Explanation
The order depends on the region bounds; always work from the innermost integral outward.
- 24
Compute the volume under z=4−x2−y2 over the square 0lexle1, 0leyle1.
Model answer
V = int_0^1 int_0^1 (4-x^2-y^2),dx,dy = rac{10}{3}.
Explanation
Inner integral: int_0^1 (4-x^2-y^2),dx = 4x - rac{x^3}{3} - y^2xig|_0^1 = rac{11}{3} - y^2. Outer: int_0^1 (rac{11}{3} - y^2),dy = rac{11}{3} - rac{1}{3} = rac{10}{3}.
- 25
Find the mass of a triangular plate with vertices (0,0), (2,0), (2,1) and density ho(x,y)=xy.
Model answer
Mass = iint_R xy,dA = int_0^2 int_0^{x/2} xy,dy,dx = rac12.
Explanation
Region: x from 0 to 2, y from 0 to x/2. Inner: int_0^{x/2} xy,dy = x cdot rac{y^2}{2}ig|_0^{x/2} = rac{x^3}{8}. Outer: int_0^2 rac{x^3}{8},dx = rac{x^4}{32}ig|_0^2 = rac{16}{32} = rac12.
- 26
Why might we change variables in a double integral?
Model answer
To simplify the region or integrand, especially when the region has circular symmetry (e.g., converting to polar coordinates).
Explanation
Changing coordinates can turn complicated bounds into simple rectangles.
- 27
What is the Jacobian determinant for transforming from Cartesian to polar coordinates? Write the area element dA in polar form.
Model answer
The Jacobian determinant is r. So dA=dx,dy=r,dr,dheta.
Explanation
The factor r accounts for the stretching of area elements as r changes.
- 28
Use polar coordinates to compute the volume under z=9−x2−y2 above the xy-plane.
Model answer
Volume = int_0^{2pi} int_0^3 (9 - r^2) r,dr,d heta = rac{81pi}{2}.
Explanation
Region: 0lerle3, 0lehetale2pi. Integrate: inner int_0^3 (9r - r^3),dr = rac{81}{4}, outer int_0^{2pi} rac{81}{4},d heta = rac{81pi}{2}.
- 29
What are the Jacobian factors for cylindrical coordinates (r,heta,z) and spherical coordinates (ho,phi,heta)?
Model answer
For cylindrical: dV=r,dr,dheta,dz. For spherical: dV=ho2sinphi,dho,dphi,dheta.
Explanation
These factors arise from the determinant of the respective Jacobian matrices, accounting for distortion in each coordinate system.

Ask anything
We've read this whole study set, so questions about it get the best answers.