๐Ÿฆ– Bellaziraptor

Practice Exam 3

Partial Derivatives

Questions10
Time90 min
Points100
SketchRequired for Q1, 9
CoversUnit 3
1Domain & level curves8 pts

For \(f(x,y) = \ln(9 - x^2 - y^2)\), find the domain and sketch the level curves for \(f = 0\), \(f = \ln 5\) and \(f = 2\).

Solution

Domain: \(9 - x^2 - y^2 > 0\), the open disk \(x^2 + y^2 < 9\).

Level curves: \(\ln(9 - r^2) = k\Rightarrow r^2 = 9 - e^k\). Circles centred at the origin:

  • \(k = 0\): \(r^2 = 8\), \(r\approx 2.83\).
  • \(k = \ln5\): \(r^2 = 4\), \(r = 2\).
  • \(k = 2\): \(r^2 = 9 - e^2\approx 1.61\), \(r\approx 1.27\).

Higher values sit on smaller circles โ€” a peak at the origin (\(f(0,0) = \ln 9\approx 2.2\)) falling to \(-\infty\) at the boundary. The circles crowd together near \(r = 3\): the surface gets steep there.

2Limits8 pts

Decide whether each limit exists as \((x,y)\to(0,0)\), and find it if so: (a) \(\dfrac{x^2 - y^2}{x^2 + y^2}\); (b) \(\dfrac{x^2 y}{x^2 + y^2}\).

Solution

(a) Along the \(x\)-axis (\(y = 0\)): \(x^2/x^2 = 1\). Along the \(y\)-axis (\(x = 0\)): \(-y^2/y^2 = -1\). Two paths, two values โ€” the limit does not exist.

(b) Polar: \(x = r\cos\theta\), \(y = r\sin\theta\):

\[ \frac{r^2\cos^2\theta\cdot r\sin\theta}{r^2} = r\cos^2\theta\sin\theta,\qquad |r\cos^2\theta\sin\theta|\le r\to0 \]

Bounded by \(r\) regardless of \(\theta\), so the limit exists and equals 0. The extra power of \(r\) in the numerator is what makes the difference between (a) and (b).

3Partials & Clairaut10 pts

For \(f(x,y) = x^3y^2 - 3xy^4 + e^{2x}y\), find \(f_x\), \(f_y\), \(f_{xx}\), \(f_{xy}\) and \(f_{yx}\). Confirm Clairaut's theorem.

Solution
\[ f_x = 3x^2y^2 - 3y^4 + 2e^{2x}y,\qquad f_y = 2x^3y - 12xy^3 + e^{2x} \] \[ f_{xx} = 6xy^2 + 4e^{2x}y,\qquad f_{xy} = (f_x)_y = 6x^2y - 12y^3 + 2e^{2x},\qquad f_{yx} = (f_y)_x = 6x^2y - 12y^3 + 2e^{2x} \]

\(f_{xy} = f_{yx}\) โœ“. When computing \(f_x\), the term \(-3xy^4\) is linear in \(x\) โ€” its \(x\)-derivative is \(-3y^4\), with the \(y^4\) untouched. Treat \(y\) as a number and it is Calculus I.

4Tangent plane & linearisation10 pts

Find the tangent plane to \(z = \sqrt{x^2 + y^2 + 1}\) at \((2, 2, 3)\), and use it to estimate \(f(2.1, 1.9)\). Compare with the true value.

Solution
\[ f_x = \frac{x}{\sqrt{x^2+y^2+1}} = \frac{2}{3},\qquad f_y = \frac{y}{\sqrt{x^2+y^2+1}} = \frac23 \] \[ z = 3 + \tfrac23(x - 2) + \tfrac23(y - 2) \] \[ L(2.1, 1.9) = 3 + \tfrac23(0.1) + \tfrac23(-0.1) = 3.000 \]

True value: \(\sqrt{4.41 + 3.61 + 1} = \sqrt{9.02}\approx 3.0033\). The linearisation gave exactly 3 because the two displacements cancel along the tangent plane; the error \(0.0033\) is the second-order curvature the plane cannot see.

5Tolerance via differentials ยท EE10 pts

A resistor dissipates \(P = V^2/R\). The supply is \(V = 12.0\pm0.2\) V and the resistor is \(R = 6.0\pm0.3\ \Omega\). Estimate the worst-case uncertainty in \(P\), absolute and relative.

Solution
\[ P = \frac{144}{6} = 24\ \text{W},\qquad dP = \frac{\partial P}{\partial V}dV + \frac{\partial P}{\partial R}dR = \frac{2V}{R}\,dV - \frac{V^2}{R^2}\,dR = 4\,dV - 4\,dR \] \[ \Delta P_{\max}\approx 4(0.2) + 4(0.3) = 0.8 + 1.2 = 2.0\ \text{W}\qquad(\approx 8.3\%) \]

Worst case adds the absolute values โ€” the signs of \(dV\) and \(dR\) are unknown. In relative form: \(\dfrac{dP}{P} = 2\dfrac{dV}{V} + \dfrac{dR}{R} = 2(1.67\%) + 5\% = 8.3\%\). A squared variable contributes twice its own relative tolerance โ€” worth remembering for any power calculation.

6Chain rule & implicit differentiation10 pts

(a) If \(z = x^2 + xy\), \(x = s + 2t\), \(y = st\), find \(\partial z/\partial t\) at \((s,t) = (1,1)\). (b) If \(x^3 + y^3 + z^3 + 6xyz = 1\) defines \(z\) implicitly, find \(\partial z/\partial x\).

Solution

(a) At \((1,1)\): \(x = 3\), \(y = 1\).

\[ \frac{\partial z}{\partial t} = \frac{\partial z}{\partial x}\frac{\partial x}{\partial t} + \frac{\partial z}{\partial y}\frac{\partial y}{\partial t} = (2x + y)(2) + (x)(s) = (7)(2) + (3)(1) = 17 \]

(b) With \(F = x^3 + y^3 + z^3 + 6xyz - 1\):

\[ \frac{\partial z}{\partial x} = -\frac{F_x}{F_z} = -\frac{3x^2 + 6yz}{3z^2 + 6xy} = -\frac{x^2 + 2yz}{z^2 + 2xy} \]

Valid wherever \(F_z\ne0\). The minus sign is the one people lose.

7Gradient & electric field ยท EE12 pts

The potential in a region is \(V(x,y,z) = 5x^2 - 3xy + xyz\) volts (metres). At the point \((1, 2, 3)\): (a) find \(\nabla V\); (b) find \(\mathbf{E} = -\nabla V\) and \(|\mathbf{E}|\); (c) find the rate of change of \(V\) in the direction \(\langle 1, 1, -1\rangle\); (d) give the direction in which \(V\) decreases fastest.

Solution
\[ V_x = 10x - 3y + yz = 10 - 6 + 6 = 10,\qquad V_y = -3x + xz = -3 + 3 = 0,\qquad V_z = xy = 2 \] \[ \text{(a)}\ \nabla V = \langle 10, 0, 2\rangle\qquad \text{(b)}\ \mathbf{E} = \langle -10, 0, -2\rangle\ \text{V/m},\quad |\mathbf{E}| = \sqrt{104}\approx 10.2\ \text{V/m} \]

(c) Unit vector \(\mathbf{u} = \langle 1, 1, -1\rangle/\sqrt3\):

\[ D_{\mathbf{u}}V = \nabla V\cdot\mathbf{u} = \frac{10 + 0 - 2}{\sqrt3} = \frac{8}{\sqrt3}\approx 4.62\ \text{V/m} \]

(d) Fastest decrease is along \(-\nabla V\), i.e. along \(\mathbf{E}\) itself: \(\langle -10, 0, -2\rangle/\sqrt{104}\). A positive charge released here accelerates that way, and the potential drops at \(10.2\) V per metre along it.

8Critical points12 pts

Find and classify all critical points of \(f(x,y) = x^3 + y^3 - 3xy\).

Solution
\[ f_x = 3x^2 - 3y = 0\Rightarrow y = x^2,\qquad f_y = 3y^2 - 3x = 0\Rightarrow x = y^2 \]

Substituting, \(x = x^4\), so \(x = 0\) or \(x = 1\). Critical points: \((0,0)\) and \((1,1)\).

\[ f_{xx} = 6x,\quad f_{yy} = 6y,\quad f_{xy} = -3,\qquad D = 36xy - 9 \]
  • \((0,0)\): \(D = -9 < 0\) โ†’ saddle point, \(f = 0\).
  • \((1,1)\): \(D = 27 > 0\), \(f_{xx} = 6 > 0\) โ†’ local minimum, \(f = -1\).

\(f_{xy}\) is a constant here but it still enters \(D\) โ€” \(D = f_{xx}f_{yy} - f_{xy}^2\), not \(f_{xx}f_{yy}\). Forgetting the \(-9\) would wrongly make the origin inconclusive.

9Absolute extrema on a closed region10 pts

Find the absolute maximum and minimum of \(f(x,y) = x^2 + 2y^2 - 2x\) on the closed disk \(x^2 + y^2\le4\).

Solution

Interior: \(f_x = 2x - 2 = 0\), \(f_y = 4y = 0\) โ†’ \((1, 0)\), inside the disk. \(f(1,0) = -1\).

Boundary: \(x = 2\cos t\), \(y = 2\sin t\):

\[ g(t) = 4\cos^2t + 8\sin^2t - 4\cos t = 8 - 4\cos^2t - 4\cos t \]

Let \(c = \cos t\in[-1,1]\): \(h(c) = 8 - 4c^2 - 4c\), \(h'(c) = -8c - 4 = 0\) at \(c = -\tfrac12\), where \(h = 8 - 1 + 2 = 9\). Endpoints: \(h(1) = 0\), \(h(-1) = 8\).

Compare everything: \(-1,\ 9,\ 0,\ 8\). Absolute minimum \(-1\) at \((1,0)\); absolute maximum \(9\) at \(\cos t = -\tfrac12\), i.e. \((-1, \pm\sqrt3)\). Check: \(f(-1,\sqrt3) = 1 + 6 + 2 = 9\) โœ“.

10Lagrange multipliers ยท EE10 pts

A total current \(I = 7\) A splits among three parallel resistors \(R_1 = 1\ \Omega\), \(R_2 = 2\ \Omega\), \(R_3 = 4\ \Omega\). Nature chooses the split that minimises the dissipated power \(P = I_1^2R_1 + I_2^2R_2 + I_3^2R_3\) subject to \(I_1 + I_2 + I_3 = 7\). Use Lagrange multipliers to find the currents, and interpret the result.

Solution
\[ \nabla P = \lambda\nabla g:\quad 2I_1R_1 = \lambda,\quad 2I_2R_2 = \lambda,\quad 2I_3R_3 = \lambda\quad\Longrightarrow\quad I_k = \frac{\lambda}{2R_k} \] \[ \frac{\lambda}{2}\left(1 + \tfrac12 + \tfrac14\right) = 7\ \Rightarrow\ \frac{7\lambda}{8} = 7\ \Rightarrow\ \lambda = 8 \] \[ I_1 = 4\ \text{A},\qquad I_2 = 2\ \text{A},\qquad I_3 = 1\ \text{A} \]

Interpretation: \(I_kR_k = \lambda/2 = 4\) V for every branch โ€” the voltages across the parallel resistors are equal. That is Kirchhoff's voltage law, obtained here from a minimum-power principle rather than assumed. The power is \(16 + 8 + 4 = 28\) W, and \(\lambda = 8 = 2V\) is the marginal cost: each extra ampere of total current costs \(2V\) more watts at the margin.

Scoring

ScoreWhere you are
90–100Solid. On to multiple integrals.
75–89Concepts fine; slips in \(f_{xy}^2\) or in normalising the direction vector. Check \(D\) includes the cross term and \(\mathbf{u}\) has length 1.
60–74Boundary of the region skipped (Q9) or gradient direction confused with \(\mathbf{E}\) (Q7). Re-read Sections 6โ€“7 with the labs open.
< 60Start from Section 3: partial differentiation must be automatic before the gradient can mean anything.
Where the points usually go

Not normalising the direction vector (Q7c); dropping \(f_{xy}^2\) from \(D\) (Q8); forgetting the boundary or its endpoints (Q9); and the sign in \(\partial z/\partial x = -F_x/F_z\) (Q6b). The tolerance question (Q5) is lost by subtracting the two contributions instead of adding their magnitudes.

Review← Unit 3 notes NextUnit 4 โ€” Multiple Integrals →