Salta al contenuto
Note per Studenti Calculus 2 - Exam of 26 January 2026 Report

Calculus 2 - Exam of 26 January 2026

Questa pagina non ha ancora la versione ripasso: qui sotto c'è il testo completo.

In questa pagina 4

This is the first exam session (26 January 2026) of the equivalent Italian course, Analisi Matematica 2 for Engineering at the University of Padova (Tema A), translated into English, because the English-taught course does not publish its own exams. Time: 1 h 40'. No books, notes, calculators or phones. In the grade the theory part weighs 1/4 and the exercises 3/4; the exercises with the highest score are 1(a), 2(b) and 3(a). The sheet does not print the exact points and the theory questions are on a separate sheet that is not published: this page contains the three exercises only, with an indicative scheme of 8 points each (the three highest-scoring parts get 5, 4 and 5 points). Answers had to be justified: unjustified answers were not taken into account.

Exercise 1 (points 8)

Given the function f(x,y)=(1−x2−y2)2,f(x,y)=\left(1-x^2-y^2\right)^2, (a) find the critical points of ff constrained to the curve (x−1)2+y2=1(x-1)^2+y^2=1 and draw them;

(b) find, if they exist, the extrema and the extremum points of ff in the set D={(x,y): (x−1)2+y2≤1}D=\{(x,y):\ (x-1)^2+y^2\le 1\} and draw them.

Show the result

(a) Four constrained critical points: (0,0)(0,0), (2,0)(2,0), (12,32)\left(\frac12,\frac{\sqrt3}2\right), (12,−32)\left(\frac12,-\frac{\sqrt3}2\right), with values f=1, 9, 0, 0f=1,\ 9,\ 0,\ 0.

(b) Absolute maximum 99, attained only at (2,0)(2,0). Absolute minimum 00, attained at every point of the arc of the unit circle x2+y2=1x^2+y^2=1 contained in DD, i.e. the points (cos⁡φ,sin⁡φ)(\cos\varphi,\sin\varphi) with ∣φ∣≤π3|\varphi|\le\frac\pi3.

Show the full solution

Part (a). The constraint is the level curve g(x,y)=1g(x,y)=1 with g(x,y)=(x−1)2+y2g(x,y)=(x-1)^2+y^2: the circle Γ\Gamma of centre (1,0)(1,0) and radius 11.

Step 1: regularity of the constraint. ∇g=(2(x−1),2y)\nabla g=(2(x-1),2y) vanishes only at (1,0)(1,0), the centre, where g=0≠1g=0\ne1. So ∇g≠0\nabla g\ne0 at every point of Γ\Gamma and the Lagrange multiplier theoremExtrema of f on the constraint g = c are found by substitution, by parametrization or with Lagrange multipliers: if f, g are C^1, P0 is a constrained extremum and grad g(P0) is nonzero, there is lambda with grad f(P0) = lambda grad g(P0) (the level curve of f is tangent to the constraint). Solve the system grad f = lambda grad g, g = c, add the constraint points where grad g = 0 and compare the values; if the constraint is compact, Weierstrass guarantees a maximum and a minimum.Constrained Extrema and Lagrange Multipliers → applies everywhere: no point of the constraint has to be added by hand. This check must always be written, because the theorem needs ∇g(P0)≠0\nabla g(P_0)\neq0.

Step 2: the system. Use L(x,y,λ)=f−λ(g−1)\mathcal L(x,y,\lambda)=f-\lambda(g-1). With fx=2(1−x2−y2)(−2x)f_x=2(1-x^2-y^2)(-2x) and fy=2(1−x2−y2)(−2y)f_y=2(1-x^2-y^2)(-2y), {−4x (1−x2−y2)=2λ(x−1)(1)−4y (1−x2−y2)=2λy(2)(x−1)2+y2=1(3)\begin{cases}-4x\,(1-x^2-y^2)=2\lambda(x-1)&(1)\\-4y\,(1-x^2-y^2)=2\lambda y&(2)\\(x-1)^2+y^2=1&(3)\end{cases} Never divide by yy before treating y=0y=0: equation (2) is y [ 2(1−x2−y2)+λ ]=0⟹y=0  or  λ=2(x2+y2−1).y\,\big[\,2(1-x^2-y^2)+\lambda\,\big]=0\quad\Longrightarrow\quad y=0\ \ \text{or}\ \ \lambda=2(x^2+y^2-1).

Case y=0y=0. Equation (3) gives (x−1)2=1(x-1)^2=1, i.e. x(x−2)=0x(x-2)=0: the points (0,0)(0,0) and (2,0)(2,0). Both are on Γ\Gamma, so they are solutions (equation (1) just gives the multiplier: λ=0\lambda=0 at (0,0)(0,0), λ=12\lambda=12 at (2,0)(2,0)).

Case y≠0y\ne0, λ=2(x2+y2−1)\lambda=2(x^2+y^2-1). Put it in (1): −4x(1−x2−y2)=4(x2+y2−1)(x−1) ⟺ 4(x2+y2−1) x=4(x2+y2−1)(x−1) ⟺ (x2+y2−1)[x−(x−1)]=0.-4x(1-x^2-y^2)=4(x^2+y^2-1)(x-1)\ \Longleftrightarrow\ 4(x^2+y^2-1)\,x=4(x^2+y^2-1)(x-1)\ \Longleftrightarrow\ (x^2+y^2-1)\big[x-(x-1)\big]=0. The bracket equals 11, so necessarily x2+y2=1x^2+y^2=1. Together with (3), expanded as x2+y2−2x+1=1x^2+y^2-2x+1=1, we get 1−2x=01-2x=0, so x=12x=\frac12 and y2=34y^2=\frac34: the points (12,±32)\left(\frac12,\pm\frac{\sqrt3}2\right) (with λ=0\lambda=0). They are the two intersections of Γ\Gamma with the unit circle x2+y2=1x^2+y^2=1.

Values: f(0,0)=1f(0,0)=1, f(2,0)=(1−4)2=9f(2,0)=(1-4)^2=9, f(12,±32)=0f\left(\frac12,\pm\frac{\sqrt3}2\right)=0.

Cross-check by substitution (an elementary method, see the same note). On Γ\Gamma, x2+y2−2x=0x^2+y^2-2x=0, so x2+y2=2xx^2+y^2=2x and f=(1−2x)2f=(1-2x)^2 with x∈[0,2]x\in[0,2]. Its derivative vanishes at x=12x=\frac12; the endpoints x=0,2x=0,2 are where the circle turns back (the parametrization x=1+cos⁡tx=1+\cos t has dxdt=0\frac{dx}{dt}=0 there), so they are critical for the function of tt as well: f=(1+2cos⁡t)2f=(1+2\cos t)^2, dfdt=−4sin⁡t (1+2cos⁡t)\frac{df}{dt}=-4\sin t\,(1+2\cos t), zero for sin⁡t=0\sin t=0 (points (2,0)(2,0) and (0,0)(0,0)) and for cos⁡t=−12\cos t=-\frac12 (the two points with x=12x=\frac12). Same four points.

Drawing: the circle Γ\Gamma through (0,0)(0,0) and (2,0)(2,0), and the four points on it; the two upper and lower ones lie where Γ\Gamma crosses the unit circle.

Grafico interattivo: Constraint circle (x-1)^2+y^2=1 (solid), unit circle x^2+y^2=1 (dashed) and the four constrained critical points

Part (b). Existence. DD is a closed disc, hence closed and bounded (compact), and ff is continuous: by Weierstrass' theoremWeierstrass theorem: a continuous function on a compact (closed and bounded) subset of R^n has an absolute maximum and minimum. They are found by comparing the values at the interior critical points, at the critical points of the restrictions to the (parametrized) pieces of the boundary, and at the vertices. On an unbounded closed set, if f tends to +infinity at infinity the minimum exists and the maximum does not.Absolute Extrema on Compact Sets → the maximum and the minimum exist. They are found by comparing the values at (i) the critical points in the interior of DD and (ii) the extremum candidates on the boundary ∂D=Γ\partial D=\Gamma.

(i) Interior. ∇f=(−4x(1−x2−y2), −4y(1−x2−y2))=0\nabla f=\big(-4x(1-x^2-y^2),\,-4y(1-x^2-y^2)\big)=0 if and only if 1−x2−y2=01-x^2-y^2=0 or (x=0x=0 and y=0y=0). The origin belongs to ∂D\partial D, not to the interior. The other solutions are the points of the unit circle x2+y2=1x^2+y^2=1; those in the interior of DD satisfy (x−1)2+y2<1(x-1)^2+y^2<1, i.e. (using y2=1−x2y^2=1-x^2) x>12x>\frac12: the open arc from (12,−32)\left(\frac12,-\frac{\sqrt3}2\right) to (12,32)\left(\frac12,\frac{\sqrt3}2\right) through (1,0)(1,0). On all of it f=0f=0.

(ii) Boundary. By part (a) the candidates are the four points with values 1,9,0,01,9,0,0.

Comparison. Largest value 99 at (2,0)(2,0); smallest value 00. Moreover f=(⋅)2≥0f=(\cdot)^2\ge0 everywhere, so 00 is the minimum value, reached on the whole arc of (i) together with its two endpoints (12,±32)\left(\frac12,\pm\frac{\sqrt3}2\right) (which are on ∂D\partial D). Using the cross-check f=(1−2x)2f=(1-2x)^2 on Γ\Gamma, 99 is reached only for x=2x=2, so the maximum point is unique.

Conclusion: max⁡Df=9\max_D f=9 at (2,0)(2,0) only; min⁡Df=0\min_D f=0 on the arc {x2+y2=1, x≥12}\{x^2+y^2=1,\ x\ge\frac12\}, i.e. (cos⁡φ,sin⁡φ)(\cos\varphi,\sin\varphi) with ∣φ∣≤π3|\varphi|\le\frac\pi3. Note that the minimum points are not isolated: asking "which is the minimum point" is wrong, the answer is a whole arc.

Grafico interattivo: The disc D (shaded), the maximum point (2,0) and the arc of minimum points on the unit circle

Typical errors: dividing equation (2) by yy and losing (0,0)(0,0) and (2,0)(2,0); forgetting that the points of x2+y2=1x^2+y^2=1 inside DD are interior critical points (here the free critical points matter, not only the boundary); giving a single minimum point; computing ff at the wrong points (f(0,0)=1f(0,0)=1, not 00).

Exercise 2 (points 8)

Consider the vector field F(x,y)=(sin⁡(log⁡(xy))x, sin⁡(log⁡(xy)) f(y)+11+y2)\mathbf F(x,y)=\left(\frac{\sin(\log(xy))}{x},\ \sin(\log(xy))\,f(y)+\frac1{1+y^2}\right) in the set A={(x,y): x>0, y>0}A=\{(x,y):\ x>0,\ y>0\}, where f:(0,+∞)→Rf:(0,+\infty)\to\mathbb R is of class C1C^1.

(a) Determine ff so that the field is conservative in AA.

(b) Compute a potential UU.

(c) For ff determined in (a), compute ∫γF⋅dr\displaystyle\int_\gamma\mathbf F\cdot d\mathbf r, where γ\gamma is the segment from (1,1)(1,1) to (e,1)(e,1).

Show the result

(a) f(y)=1yf(y)=\dfrac1y (for y>0y>0).

(b) U(x,y)=−cos⁡(log⁡(xy))+arctan⁡y+kU(x,y)=-\cos\big(\log(xy)\big)+\arctan y+k, with k∈Rk\in\mathbb R a constant.

(c) ∫γF⋅dr=1−cos⁡1≈0.4597\displaystyle\int_\gamma\mathbf F\cdot d\mathbf r=1-\cos 1\approx0.4597.

Show the full solution

Write F=(M,N)\mathbf F=(M,N) with M=sin⁡(log⁡(xy))xM=\dfrac{\sin(\log(xy))}{x} and N=sin⁡(log⁡(xy)) f(y)+11+y2N=\sin(\log(xy))\,f(y)+\dfrac1{1+y^2}. Both are C1C^1 in AA (logarithm and sine are smooth for x,y>0x,y>0, and f∈C1f\in C^1).

(a) Conservative field. Use the criteria of Conservative Fields and PotentialsA field F is conservative if F is the gradient of a potential f, so the work from P0 to P1 equals f(P1) minus f(P0), independent of the path and zero on closed curves; for C1 fields being irrotational (M_y = N_x) is necessary and, on simply connected domains, sufficient, and the potential is found by integrating M in x and matching N.Conservative Fields and Potentials →. A C1C^1 conservative field is irrotational: Nx=MyN_x=M_y is necessary. Conversely, AA is the open first quadrant, which is convex and therefore simply connected, so irrotational implies conservative: the condition is also sufficient. So the question is exactly: for which ff does Nx=MyN_x=M_y hold in all of AA?

Differentiate, remembering ∂xlog⁡(xy)=1x\partial_x\log(xy)=\frac1x and ∂ylog⁡(xy)=1y\partial_y\log(xy)=\frac1y: Nx=cos⁡(log⁡(xy))⋅1x⋅f(y),My=1xcos⁡(log⁡(xy))⋅1y.N_x=\cos(\log(xy))\cdot\frac1x\cdot f(y),\qquad M_y=\frac1x\cos(\log(xy))\cdot\frac1y . Hence Nx−My=cos⁡(log⁡(xy))x(f(y)−1y).N_x-M_y=\frac{\cos(\log(xy))}{x}\left(f(y)-\frac1y\right). This must vanish for every (x,y)∈A(x,y)\in A. Fix y>0y>0 and choose x=1yx=\frac1y (a point of AA): then log⁡(xy)=0\log(xy)=0, cos⁡0=1≠0\cos0=1\ne0, so the bracket must be zero. Therefore f(y)=1yf(y)=\dfrac1y for every y>0y>0. Conversely, with this ff the bracket is zero and Nx−My≡0N_x-M_y\equiv0. This ff is C1C^1 on (0,+∞)(0,+\infty), as required.

Common error: concluding "cos⁡(log⁡(xy))=0\cos(\log(xy))=0" or imposing the condition at a single point; the identity must hold for all xx and yy, and the factor cos⁡(log⁡(xy))\cos(\log(xy)) is not zero everywhere (it equals 11 when xy=1xy=1), so the bracket must be the one that vanishes.

(b) Potential. With f=1yf=\frac1y, F=(sin⁡(log⁡(xy))x, sin⁡(log⁡(xy))y+11+y2).\mathbf F=\left(\frac{\sin(\log(xy))}{x},\ \frac{\sin(\log(xy))}{y}+\frac1{1+y^2}\right). Follow the procedure "integrate MM in xx, then match NN". Substitute t=log⁡(xy)t=\log(xy), dt=dxxdt=\frac{dx}{x} (here yy is a constant): U(x,y)=∫sin⁡(log⁡(xy))x dx=∫sin⁡t dt=−cos⁡(log⁡(xy))+c(y).U(x,y)=\int\frac{\sin(\log(xy))}{x}\,dx=\int\sin t\,dt=-\cos(\log(xy))+c(y). The "constant" cc may depend on yy. Differentiate in yy: Uy=sin⁡(log⁡(xy))⋅1y+c′(y) =! N=sin⁡(log⁡(xy))y+11+y2 ⟹ c′(y)=11+y2,U_y=\sin(\log(xy))\cdot\frac1y+c'(y)\ \overset{!}{=}\ N=\frac{\sin(\log(xy))}{y}+\frac1{1+y^2}\ \Longrightarrow\ c'(y)=\frac1{1+y^2}, so c(y)=arctan⁡y+kc(y)=\arctan y+k. The terms with xx cancel: this is a check that F\mathbf F is conservative. Result U(x,y)=−cos⁡(log⁡(xy))+arctan⁡y+k.U(x,y)=-\cos(\log(xy))+\arctan y+k. Check: Ux=sin⁡(log⁡(xy))⋅1x=MU_x=\sin(\log(xy))\cdot\frac1x=M and Uy=sin⁡(log⁡(xy))1y+11+y2=NU_y=\sin(\log(xy))\frac1y+\frac1{1+y^2}=N.

(c) Line integral. By the fundamental theorem for line integrals only the endpoints count: the segment lies in AA (it has y=1>0y=1>0, x∈[1,e]⊂(0,+∞)x\in[1,e]\subset(0,+\infty)), and ∫γF⋅dr=U(e,1)−U(1,1)=[−cos⁡(log⁡e)+arctan⁡1]−[−cos⁡(log⁡1)+arctan⁡1]=−cos⁡1+1.\int_\gamma\mathbf F\cdot d\mathbf r=U(e,1)-U(1,1)=\big[-\cos(\log e)+\arctan1\big]-\big[-\cos(\log1)+\arctan 1\big]=-\cos1+1. The arctan⁡1\arctan1 terms cancel (so does kk). Direct check: on γ(t)=(t,1)\gamma(t)=(t,1), t∈[1,e]t\in[1,e], dy=0dy=0 and ∫1esin⁡(log⁡t)t dt=[−cos⁡(log⁡t)]1e=1−cos⁡1\int_1^e\frac{\sin(\log t)}{t}\,dt=\big[-\cos(\log t)\big]_1^e=1-\cos1. See Vector Fields and Work Along a CurveA vector field F = (M, N) assigns a vector to each point; the work (line integral of the second kind) along an oriented curve r(t) is the integral of F dot r', equal to the integral of M dx + N dy, it does not depend on the parametrization but changes sign when the direction is reversed.Vector Fields and Work Along a Curve → for the definition of work.

Typical errors: writing log⁡e=e\log e=e or forgetting log⁡1=0\log1=0; evaluating cos⁡\cos in degrees (cos⁡1\cos 1 is in radians, ≈0.5403\approx0.5403); forgetting to say that the segment lies inside AA (the potential is only defined there).

Exercise 3 (points 8)

Given the functions g1(x,y)=ex2+y29x2+y29,g2(x,y)=ex2+y29,g_1(x,y)=e^{\sqrt{x^2+\frac{y^2}9}}\sqrt{x^2+\frac{y^2}9},\qquad g_2(x,y)=e^{\sqrt{x^2+\frac{y^2}9}}, consider the solid Ω={(x,y,z): g1(x,y)≤z≤g2(x,y)}.\Omega=\{(x,y,z):\ g_1(x,y)\le z\le g_2(x,y)\}.

(a) Compute the volume of Ω\Omega.

(b) Compute the outward flux from Ω\Omega of the vector field F(x,y,z)=(cos⁡y, xz, z e−x2+y29)\mathbf F(x,y,z)=\left(\cos y,\ xz,\ z\,e^{-\sqrt{x^2+\frac{y^2}9}}\right).

Show the result

(a) ∣Ω∣=6π (3−e)≈5.31|\Omega|=6\pi\,(3-e)\approx5.31.

(b) Φ=π\Phi=\pi.

Show the full solution

Put s=x2+y29s=\sqrt{x^2+\frac{y^2}9}, so that g1=s esg_1=s\,e^s and g2=esg_2=e^s. (The sheet writes F(x,y)\mathbf F(x,y), but F\mathbf F depends on zz too.)

Shape of Ω\Omega. The solid is "zz-simple": for each (x,y)(x,y) the vertical column goes from g1g_1 to g2g_2. The column is non-empty if and only if g1≤g2g_1\le g_2, i.e. s es≤ess\,e^s\le e^s, i.e. s≤1s\le1: the shadow on the xyxy-plane is D={x2+y29≤1},D=\{x^2+\tfrac{y^2}9\le1\}, the full ellipse with semi-axes 11 (along xx) and 33 (along yy). The two surfaces meet along its boundary (s=1s=1, z=ez=e) and, at the centre, g1(0,0)=0g_1(0,0)=0, g2(0,0)=1g_2(0,0)=1. So Ω\Omega is a lens: the upper surface z=esz=e^s is a bowl rising from height 11 to ee, the lower one z=sesz=se^s a cone-like funnel from height 00 to ee.

(a) Volume. By columns (see Triple Integrals - Cylindrical and Spherical CoordinatesA triple integral is computed by columns (inner integral in z between two surfaces, then a double integral over the shadow) or by slices (double integral over a section, then in z); volume is the integral of 1; cylindrical coordinates give dV = r dr dtheta dz and spherical ones give dV = rho^2 sin(phi) drho dphi dtheta.Triple Integrals - Cylindrical and Spherical Coordinates →), ∣Ω∣=∬D(g2−g1) dx dy=∬Des(1−s) dx dy.|\Omega|=\iint_D\big(g_2-g_1\big)\,dx\,dy=\iint_De^{s}(1-s)\,dx\,dy. To turn the ellipse into a disc use the linear change of variables (see Change of Variables and Polar CoordinatesIf Phi(u,v) = (x,y) is C1, one-to-one up to zero-area sets and has nonzero Jacobian determinant, then the double integral of f over the image equals the integral of f composed with Phi times the absolute value of the Jacobian determinant over the original domain; in polar coordinates dx dy = r dr dtheta, which suits discs, annuli and sectors.Change of Variables and Polar Coordinates →) x=ux=u, y=3vy=3v, with Jacobian determinant 33: DD becomes the unit disc D′={u2+v2≤1}D'=\{u^2+v^2\le1\} and s=u2+v2s=\sqrt{u^2+v^2}. Then polar coordinates u=ρcos⁡θu=\rho\cos\theta, v=ρsin⁡θv=\rho\sin\theta (dA=ρ dρ dθdA=\rho\,d\rho\,d\theta): ∣Ω∣=3∬D′eu2+v2(1−u2+v2) du dv=3∫02πdθ∫01eρ(1−ρ) ρ dρ=6π∫01(ρeρ−ρ2eρ) dρ.|\Omega|=3\iint_{D'}e^{\sqrt{u^2+v^2}}\big(1-\sqrt{u^2+v^2}\big)\,du\,dv=3\int_0^{2\pi}d\theta\int_0^1e^{\rho}(1-\rho)\,\rho\,d\rho=6\pi\int_0^1\big(\rho e^\rho-\rho^2e^\rho\big)\,d\rho. Integrate by parts: ∫01ρeρ dρ=[(ρ−1)eρ]01=0−(−1)=1,∫01ρ2eρ dρ=[(ρ2−2ρ+2)eρ]01=e−2.\int_0^1\rho e^\rho\,d\rho=\Big[(\rho-1)e^\rho\Big]_0^1=0-(-1)=1,\qquad\int_0^1\rho^2e^\rho\,d\rho=\Big[(\rho^2-2\rho+2)e^\rho\Big]_0^1=e-2. So ∣Ω∣=6π (1−(e−2))=6π (3−e)≈5.31|\Omega|=6\pi\,(1-(e-2))=6\pi\,(3-e)\approx5.31.

The factor 33 (area of the ellipse is 3π3\pi, three times the disc) is the usual thing to forget; as a check, the same formula with integrand 11 gives 3π3\pi.

(b) Flux. The boundary ∂Ω\partial\Omega has two pieces (top and bottom), so computing ∬∂ΩF⋅n dσ\iint_{\partial\Omega}\mathbf F\cdot\mathbf n\,d\sigma directly would take two surface integrals. Use the divergence theoremA parametric surface r(u,v) has normal N = r_u x r_v and area element |N| du dv; this gives areas, surface integrals, surfaces of revolution (Guldin) and the flux of a field through an oriented surface, and leads to the divergence theorem (closed surface flux equals the integral of the divergence) and Stokes' theorem (flux of the curl equals circulation on the boundary).Surfaces and Flux - Divergence and Stokes Theorems →: Φ=∭Ωdiv⁡F dV,div⁡F=∂∂xcos⁡y+∂∂y(xz)+∂∂z(z e−s)=0+0+e−s.\Phi=\iiint_\Omega\operatorname{div}\mathbf F\,dV,\qquad\operatorname{div}\mathbf F=\frac{\partial}{\partial x}\cos y+\frac{\partial}{\partial y}(xz)+\frac{\partial}{\partial z}\big(z\,e^{-s}\big)=0+0+e^{-s}. The first two components contribute nothing (they do not depend on the variable they are differentiated in). By columns, the zz-integral of e−se^{-s} is just e−se^{-s} times the height of the column: Φ=∬De−s (g2−g1) dx dy=∬De−s es(1−s) dx dy=∬D(1−s) dx dy.\Phi=\iint_De^{-s}\,(g_2-g_1)\,dx\,dy=\iint_De^{-s}\,e^{s}(1-s)\,dx\,dy=\iint_D(1-s)\,dx\,dy. The exponentials cancel. With the same change of variables as in (a), Φ=3∫02πdθ∫01(1−ρ) ρ dρ=6π[ρ22−ρ33]01=6π⋅16=π.\Phi=3\int_0^{2\pi}d\theta\int_0^1(1-\rho)\,\rho\,d\rho=6\pi\left[\frac{\rho^2}2-\frac{\rho^3}3\right]_0^1=6\pi\cdot\frac16=\pi.

A remark on the hypotheses. The field is not differentiable on the segment {x=y=0, 0≤z≤1}\{x=y=0,\ 0\le z\le1\} of the zz-axis (there ss is not differentiable), a set of zero volume where div⁡F\operatorname{div}\mathbf F stays bounded; the theorem is used as usual, as in the official solution. To be sure, here is the direct computation of the flux, with the parametrization r(ρ,θ)=(ρcos⁡θ, 3ρsin⁡θ, G(ρ))\mathbf r(\rho,\theta)=(\rho\cos\theta,\ 3\rho\sin\theta,\ G(\rho)), 0≤ρ≤10\le\rho\le1, where G=eρG=e^\rho (top) or G=ρeρG=\rho e^\rho (bottom). The vector rρ×rθ=(−3ρG′cos⁡θ, −ρG′sin⁡θ, 3ρ)\mathbf r_\rho\times\mathbf r_\theta=\big(-3\rho G'\cos\theta,\ -\rho G'\sin\theta,\ 3\rho\big) points upward (third component 3ρ>03\rho>0), which is the outward direction on the top and the inward one on the bottom (there the sign changes).

  • Top (G=eρG=e^\rho, z=eρz=e^\rho): F⋅(rρ×rθ)=−3ρeρcos⁡θcos⁡(3ρsin⁡θ)−ρ2e2ρsin⁡θcos⁡θ+3ρ\mathbf F\cdot(\mathbf r_\rho\times\mathbf r_\theta)=-3\rho e^\rho\cos\theta\cos(3\rho\sin\theta)-\rho^2e^{2\rho}\sin\theta\cos\theta+3\rho. In the integral over θ∈[0,2π]\theta\in[0,2\pi] the first two terms give 00 (the integrand changes sign under θ↦π−θ\theta\mapsto\pi-\theta), so the flux is 2π∫013ρ dρ=3π2\pi\int_0^13\rho\,d\rho=3\pi.
  • Bottom (G=ρeρG=\rho e^\rho, z=ρeρz=\rho e^\rho): in the same way only the third component survives, z e−ρ⋅3ρ=3ρ2z\,e^{-\rho}\cdot3\rho=3\rho^2, giving 2π∫013ρ2 dρ=2π2\pi\int_0^13\rho^2\,d\rho=2\pi; with the outward (downward) orientation the contribution is −2π-2\pi.
  • Total: 3π−2π=π3\pi-2\pi=\pi, as with the divergence theorem.

Typical errors: using the divergence theorem with the wrong sign or forgetting the Jacobian 33; div⁡\operatorname{div} of the third component computed as e−s−z e−s ∂zse^{-s}-z\,e^{-s}\,\partial_zs (the variable ss does not depend on zz, so ∂zs=0\partial_zs=0); integrating ∬D(1−s) dx dy\iint_D(1-s)\,dx\,dy without the elliptic change of variables.

Self-assessment grid
Exercise Points What you need for full marks Typical errors
1(a) 5 Check ∇g≠0\nabla g\ne0 on the circle; correct Lagrange system; treat y=0y=0 separately; four points (0,0)(0,0), (2,0)(2,0), (12,±32)\left(\frac12,\pm\frac{\sqrt3}2\right) with values 1,9,0,01,9,0,0; a drawing Dividing by yy and losing two points; forgetting the regularity check; wrong values of ff
1(b) 3 Weierstrass (compact set, continuous ff); interior critical points (the arc of the unit circle) and the origin excluded because it is on the boundary; comparison of values; max 99 at (2,0)(2,0), min 00 on a whole arc Looking only at the boundary; one single minimum point; not noticing f≥0f\ge0
2(a) 2 Curl condition computed correctly, simply connected domain (necessary and sufficient), f=1yf=\frac1y for all y>0y>0 Losing the chain-rule factors 1x\frac1x, 1y\frac1y; solving at one point only
2(b) 4 Integration by t=log⁡(xy)t=\log(xy), function c(y)c(y) determined, U=−cos⁡(log⁡(xy))+arctan⁡y+kU=-\cos(\log(xy))+\arctan y+k Forgetting c(y)c(y); sign of ∫sin⁡\int\sin
2(c) 2 U(e,1)−U(1,1)=1−cos⁡1U(e,1)-U(1,1)=1-\cos1 and the segment lies in AA log⁡1=0\log1=0 and log⁡e=1\log e=1; mixing degrees and radians
3(a) 5 Shadow = ellipse x2+y29≤1x^2+\frac{y^2}9\le1 from g1≤g2g_1\le g_2; volume =∬(g2−g1)=\iint(g_2-g_1); Jacobian 33 and polar coordinates; 6π(3−e)6\pi(3-e) Wrong shadow; missing factor 33; integration by parts errors
3(b) 3 div⁡F=e−s\operatorname{div}\mathbf F=e^{-s}; theorem applied to the whole closed surface; Φ=∬(1−s)=π\Phi=\iint(1-s)=\pi Using the divergence theorem on a single piece of the surface; wrong Jacobian

Note on the official solution. The handwritten solution has one misprint in Exercise 1(a): it quotes the multipliers λ=−2\lambda=-2 and λ=6\lambda=6 for (0,0)(0,0) and (2,0)(2,0). Those are the values of the formula λ=2(x2+y2−1)\lambda=2(x^2+y^2-1), which holds only in the case y≠0y\ne0; for y=0y=0 equation (1) gives λ=0\lambda=0 at (0,0)(0,0) and λ=12\lambda=12 at (2,0)(2,0). The points and all final results are correct.