Salta al contenuto
Note per Studenti Calculus 2 - Exam of 24 June 2013 Report

Calculus 2 - Exam of 24 June 2013

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

In questa pagina 6

Written exam of Analisi Matematica 2, third call of 24 June 2013 (Information Engineering, University of Padova, version "Tema A"). This is the exam of the equivalent Italian-language Calculus 2 course, translated into English, because the English-taught course does not publish its own past exams. The paper has five exercises and the time allowed is 2 hours 20 minutes. The sheet does not state the points of the exercises, so the grid at the end only says what a full answer must contain. The answers are written in boxes on the sheet and the working goes on a separate sheet: an answer that is not justified there is not marked. The allowed material is not stated. No official solution is available: every result below was checked with two independent methods.

The paper covers only topics of these notes (limits and differentiability, absolute extrema, linear differential equations, curves and differential forms, solids of revolution); it has no complex analysis. The exercises give no sub-question marks, so the sub-questions are labelled (i), (ii), (iii) as on the sheet.

Exercise 1 (points not stated)

Consider the function f:R2→Rf:\mathbb{R}^2\to\mathbb{R} defined by f(0,0)=0f(0,0)=0 and f(x,y)=x y2x2+2y2for (x,y)≠(0,0).f(x,y)=\frac{x\,y^2}{\sqrt{x^2+2y^2}}\qquad\text{for }(x,y)\neq(0,0).

(i) Prove that ff is continuous at (0,0)(0,0).

(ii) Compute, if they exist, the partial derivatives of ff at (0,0)(0,0).

(iii) Is ff differentiable at (0,0)(0,0)? Justify the answer.

Show the result

(i) lim⁡(x,y)→(0,0)f(x,y)=0=f(0,0)\displaystyle\lim_{(x,y)\to(0,0)}f(x,y)=0=f(0,0): ff is continuous at the origin.

(ii) fx(0,0)=0f_x(0,0)=0 and fy(0,0)=0f_y(0,0)=0.

(iii) Yes, ff is differentiable at (0,0)(0,0), with ∇f(0,0)=(0,0)\nabla f(0,0)=(0,0) (the tangent plane is z=0z=0).

Show the full solution

(i) Continuity. By definition of continuity (see Limits and Continuity in Several VariablesThe limit of a function of several variables exists if the value approaches L independently of the path; it is shown to exist with estimates in polar coordinates and shown not to exist by restricting to different curves. Continuity requires the limit to equal the value of the function at the point.Limits and Continuity in Several Variables →) we must show that lim⁡(x,y)→(0,0)f(x,y)=f(0,0)=0\lim_{(x,y)\to(0,0)}f(x,y)=f(0,0)=0. We use an estimate. Write ρ=x2+y2\rho=\sqrt{x^2+y^2} for the distance from the origin. The denominator satisfies x2+2y2  ≥  x2+y2=ρ,\sqrt{x^2+2y^2}\;\ge\;\sqrt{x^2+y^2}=\rho, because 2y2≥y22y^2\ge y^2. The numerator satisfies ∣x∣≤ρ|x|\le\rho and y2≤ρ2y^2\le\rho^2. Therefore ∣f(x,y)∣=∣x∣ y2x2+2y2  ≤  ρ⋅ρ2ρ=ρ2  →(x,y)→(0,0)  0.|f(x,y)|=\frac{|x|\,y^2}{\sqrt{x^2+2y^2}}\;\le\;\frac{\rho\cdot\rho^2}{\rho}=\rho^2\;\xrightarrow[(x,y)\to(0,0)]{}\;0 . By the squeeze theorem f(x,y)→0=f(0,0)f(x,y)\to0=f(0,0): ff is continuous at (0,0)(0,0).

Second method (polar coordinates). With x=ρcos⁡θx=\rho\cos\theta, y=ρsin⁡θy=\rho\sin\theta, ρ>0\rho>0, we get x2+2y2=ρ2(1+sin⁡2θ)x^2+2y^2=\rho^2(1+\sin^2\theta) and f=ρ3cos⁡θsin⁡2θρ1+sin⁡2θ=ρ2 cos⁡θsin⁡2θ1+sin⁡2θ.f=\frac{\rho^3\cos\theta\sin^2\theta}{\rho\sqrt{1+\sin^2\theta}}=\rho^2\,\frac{\cos\theta\sin^2\theta}{\sqrt{1+\sin^2\theta}} . The fraction depends only on θ\theta and is bounded, ∣cos⁡θsin⁡2θ1+sin⁡2θ∣≤1\left|\frac{\cos\theta\sin^2\theta}{\sqrt{1+\sin^2\theta}}\right|\le1, while ρ2→0\rho^2\to0 independently of θ\theta: the limit is 00.

(ii) Partial derivatives at the origin. The function is defined by two different formulas, so at (0,0)(0,0) we must use the definition (see Partial and Directional DerivativesThe partial derivative with respect to x_i at x0 is the derivative of the one-variable function obtained by freezing all the other variables, so in practice one differentiates in x_i treating the others as constants. The gradient collects the partial derivatives; the directional derivative along a unit vector v is the limit of [f(x0 + hv) - f(x0)]/h. In several variables having all partial (even directional) derivatives does not guarantee continuity.Partial and Directional Derivatives →) and not the rules of differentiation. fx(0,0)=lim⁡h→0f(h,0)−f(0,0)h=lim⁡h→0h⋅0h2−0h=lim⁡h→00h=0,f_x(0,0)=\lim_{h\to0}\frac{f(h,0)-f(0,0)}{h}=\lim_{h\to0}\frac{\frac{h\cdot0}{\sqrt{h^2}}-0}{h}=\lim_{h\to0}\frac{0}{h}=0, fy(0,0)=lim⁡k→0f(0,k)−f(0,0)k=lim⁡k→00⋅k22k2−0k=0.f_y(0,0)=\lim_{k\to0}\frac{f(0,k)-f(0,0)}{k}=\lim_{k\to0}\frac{\frac{0\cdot k^2}{\sqrt{2k^2}}-0}{k}=0 . Both exist because ff vanishes on both coordinate axes.

(iii) Differentiability. We use the differentiability test of Differentiability and the Gradientf is differentiable at x0 if f(x) = f(x0) + grad f(x0)·(x - x0) + o(‖x - x0‖), i.e. near x0 the graph is indistinguishable from the tangent plane z = f(x0) + grad f(x0)·(x - x0). Differentiable implies continuous, with partial derivatives and D_v f = grad f · v; continuous partial derivatives imply differentiable. The gradient gives the direction of steepest increase (slope ‖grad f‖) and is orthogonal to level curves.Differentiability and the Gradient →. Since f(0,0)=0f(0,0)=0 and fx(0,0)=fy(0,0)=0f_x(0,0)=f_y(0,0)=0, ff is differentiable at the origin if and only if lim⁡(h,k)→(0,0)f(h,k)−f(0,0)−fx(0,0)h−fy(0,0)kh2+k2=lim⁡(h,k)→(0,0)f(h,k)h2+k2=0.\lim_{(h,k)\to(0,0)}\frac{f(h,k)-f(0,0)-f_x(0,0)h-f_y(0,0)k}{\sqrt{h^2+k^2}}=\lim_{(h,k)\to(0,0)}\frac{f(h,k)}{\sqrt{h^2+k^2}}=0 . From the estimate of (i), ∣f(h,k)∣≤ρ2|f(h,k)|\le\rho^2 with ρ=h2+k2\rho=\sqrt{h^2+k^2}, so ∣f(h,k)ρ∣≤ρ⟶0.\left|\frac{f(h,k)}{\rho}\right|\le\rho\longrightarrow0 . The limit is 00: ff is differentiable at (0,0)(0,0) and f(x,y)=0+0⋅x+0⋅y+o(ρ)f(x,y)=0+0\cdot x+0\cdot y+o(\rho).

Second method (polar coordinates). By the formula of (i), fρ=ρ g(θ)\frac{f}{\rho}=\rho\,g(\theta) with ∣g∣≤1|g|\le1, which tends to 00 uniformly in θ\theta.

Typical errors. (1) Claiming "not differentiable" because the formula is not differentiable at the origin: the formula is not defined there, the question is about the function defined with f(0,0)=0f(0,0)=0. (2) Checking only the lines y=mxy=mx: a limit along lines does not prove that the limit exists. (3) Stopping at "partial derivatives exist, so ff is differentiable": existence of the partial derivatives is only necessary; the test limit must be computed (here it is 00, but for similar functions it is not).

Exercise 2 (points not stated)

Consider the function f(x,y)=(x2+y2)3−x4+y4f(x,y)=(x^2+y^2)^3-x^4+y^4.

(i) Compute lim⁡(x,y)→∞f(x,y)\displaystyle\lim_{(x,y)\to\infty}f(x,y).

(ii) Compute, if they exist, the absolute maximum and the absolute minimum of ff on R2\mathbb{R}^2.

Show the result

(i) lim⁡(x,y)→∞f(x,y)=+∞\displaystyle\lim_{(x,y)\to\infty}f(x,y)=+\infty.

(ii) No absolute maximum (sup⁡f=+∞\sup f=+\infty). The absolute minimum exists and equals −427-\dfrac{4}{27}, attained exactly at the two points (±23, 0)\left(\pm\sqrt{\tfrac23},\,0\right).

Show the full solution

(i) Limit at infinity. Let ρ2=x2+y2\rho^2=x^2+y^2. Since −x4≥−ρ4-x^4\ge-\rho^4 (because x2≤ρ2x^2\le\rho^2) and y4≥0y^4\ge0, f(x,y)  ≥  ρ6−ρ4=ρ4(ρ2−1)→ρ→∞+∞.f(x,y)\;\ge\;\rho^6-\rho^4=\rho^4(\rho^2-1)\xrightarrow[\rho\to\infty]{}+\infty . A function that is larger than something tending to +∞+\infty tends to +∞+\infty (comparison): f(x,y)→+∞f(x,y)\to+\infty as ∥(x,y)∥→∞\|(x,y)\|\to\infty, in every direction.

Check along the axes. f(x,0)=x6−x4→+∞f(x,0)=x^6-x^4\to+\infty and f(0,y)=y6+y4→+∞f(0,y)=y^6+y^4\to+\infty.

(ii) Absolute extrema. The domain R2\mathbb{R}^2 is closed but unbounded, so Weierstrass' theorem cannot be applied directly; we use the method for unbounded domains of Absolute Extrema on Compact SetsWeierstrass 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 →.

Maximum. Since f→+∞f\to+\infty, ff is unbounded above: there is no absolute maximum.

Minimum. Fix the value f(0,0)=0f(0,0)=0. Because f→+∞f\to+\infty, there is R>0R>0 such that f>0f>0 outside the disc ρ≤R\rho\le R (indeed ρ4(ρ2−1)>0\rho^4(\rho^2-1)>0 for ρ>1\rho>1, so R=1R=1 works). The minimum, if it exists, is therefore in the compact disc ρ≤1\rho\le1, where ff attains it by Weierstrass' theorem, and it is ≤f(0,0)=0\le f(0,0)=0. So the absolute minimum exists, and it is attained at an interior point of the disc (a free minimum): it is one of the critical points. We find them (see Free Extrema in Several VariablesIf f is differentiable and has a relative extremum at an interior point x0, then grad f(x0) = 0 (Fermat): interior extrema are found among the critical points. If f is C^2, at a critical point: Hessian positive definite gives a minimum, negative definite a maximum, indefinite a saddle, semidefinite means the test is inconclusive and one studies the sign of f(x) - f(x0). In two variables: det H > 0 and f_xx > 0 minimum, det H > 0 and f_xx < 0 maximum, det H < 0 saddle.Free Extrema in Several Variables →).

Critical points. With ρ2=x2+y2\rho^2=x^2+y^2, fx=6x ρ4−4x3=2x(3ρ4−2x2),fy=6y ρ4+4y3=2y(3ρ4+2y2).f_x=6x\,\rho^4-4x^3=2x\left(3\rho^4-2x^2\right),\qquad f_y=6y\,\rho^4+4y^3=2y\left(3\rho^4+2y^2\right). In fy=0f_y=0 the factor 3ρ4+2y23\rho^4+2y^2 is strictly positive unless x=y=0x=y=0, so fy=0⇒y=0f_y=0\Rightarrow y=0 (or the origin). With y=0y=0: fx=2x(3x4−2x2)=2x3(3x2−2)f_x=2x\left(3x^4-2x^2\right)=2x^3\left(3x^2-2\right), which vanishes for x=0x=0 or x=±2/3x=\pm\sqrt{2/3}. The critical points are (0,0),(23,0),(−23,0).(0,0),\qquad \left(\sqrt{\tfrac23},0\right),\qquad \left(-\sqrt{\tfrac23},0\right).

Values. f(0,0)=0f(0,0)=0. For a2=23a^2=\frac23: f(±a,0)=a6−a4=827−49=8−1227=−427f(\pm a,0)=a^6-a^4=\frac{8}{27}-\frac{4}{9}=\frac{8-12}{27}=-\frac{4}{27}. The smallest value is −427-\frac4{27}.

Nature (to double-check). The second derivatives are fxx=6ρ4+24x2ρ2−12x2f_{xx}=6\rho^4+24x^2\rho^2-12x^2, fyy=6ρ4+24y2ρ2+12y2f_{yy}=6\rho^4+24y^2\rho^2+12y^2, fxy=24xyρ2f_{xy}=24xy\rho^2. At (±a,0)(\pm a,0): fxx=30a4−12a2=403−8=163>0f_{xx}=30a^4-12a^2=\frac{40}{3}-8=\frac{16}{3}>0, fyy=6a4=83>0f_{yy}=6a^4=\frac83>0, fxy=0f_{xy}=0: the Hessian is positive definite, so both points are strict local minima. At the origin the Hessian is the zero matrix and does not decide: on the xx axis f(x,0)=x4(x2−1)<0f(x,0)=x^4(x^2-1)<0 for small x≠0x\ne0, on the yy axis f(0,y)=y4(y2+1)>0f(0,y)=y^4(y^2+1)>0, so (0,0)(0,0) is a saddle, neither minimum nor maximum.

Grafico interattivo: The restriction f(x, 0) = x^6 - x^4: it is negative near the origin, with minimum -4/27 at x = ±sqrt(2/3)

Conclusion. The absolute minimum is −427-\frac4{27}, attained at (±2/3,0)\left(\pm\sqrt{2/3},0\right). There is no absolute maximum.

Typical errors. (1) Declaring (0,0)(0,0) the minimum because f(0,0)=0f(0,0)=0 looks "natural": ff is negative near the origin along the xx axis. (2) Forgetting to explain why the minimum exists: finding critical points does not prove that a minimum exists; coercivity (f→+∞f\to+\infty) does. (3) Dividing fx=0f_x=0 by xx and losing the solution x=0x=0.

Exercise 3 (points not stated)

Consider the differential equation y′′−y′+y=(x+1) ex.y''-y'+y=(x+1)\,e^{x}.

(i) Determine the general solution of the associated homogeneous equation.

(ii) Determine the solution of the Cauchy problem associated with the non-homogeneous equation, with initial data y(0)=0y(0)=0, y′(0)=1y'(0)=1.

Show the result

(i) y0(x)=ex/2(c1cos⁡32x+c2sin⁡32x)y_0(x)=e^{x/2}\left(c_1\cos\dfrac{\sqrt3}{2}x+c_2\sin\dfrac{\sqrt3}{2}x\right), c1,c2∈Rc_1,c_2\in\mathbb{R}.

(ii) y(x)=x exy(x)=x\,e^{x}.

Show the full solution

(i) Homogeneous equation. The equation y′′−y′+y=0y''-y'+y=0 has constant coefficients (see Linear Differential Equations and SystemsFor linear systems Y' = A(t)Y + B(t) with continuous coefficients the Cauchy problem has a unique solution on the whole interval, the homogeneous solutions form an n-dimensional space spanned by the columns of a fundamental matrix, constant coefficients are handled with eigenvalues and eigenvectors, the matrix exponential or elimination, and variation of constants gives particular solutions for any continuous forcing term.Linear Differential Equations and Systems → and, for the basic case, Second-Order Linear Equations with Constant Coefficients - Homogeneous CaseFor y'' + a1 y' + a0 y = 0 with constant a0, a1 one looks for solutions e^(lambda t): they work if lambda is a root of the characteristic polynomial p(lambda) = lambda^2 + a1 lambda + a0. Delta > 0 (roots lambda1 and lambda2 distinct): y = c1 e^(lambda1 t) + c2 e^(lambda2 t). Delta = 0 (double root lambda): y = (c1 + c2 t) e^(lambda t). Delta < 0 (roots alpha plus or minus i omega): y = e^(alpha t)(c1 cos omega t + c2 sin omega t). The same method holds for every order.Second-Order Linear Equations with Constant Coefficients - Homogeneous Case →). Its characteristic equation is λ2−λ+1=0,Δ=1−4=−3<0,λ=1±i32=12±i 32.\lambda^2-\lambda+1=0,\qquad \Delta=1-4=-3<0,\qquad \lambda=\frac{1\pm i\sqrt3}{2}=\frac12\pm i\,\frac{\sqrt3}{2}. The roots are complex conjugate, α±iβ\alpha\pm i\beta with α=12\alpha=\frac12, β=32\beta=\frac{\sqrt3}{2}, so the general solution is eαx(c1cos⁡βx+c2sin⁡βx)e^{\alpha x}\left(c_1\cos\beta x+c_2\sin\beta x\right): y0(x)=ex/2(c1cos⁡32x+c2sin⁡32x).y_0(x)=e^{x/2}\left(c_1\cos\frac{\sqrt3}{2}x+c_2\sin\frac{\sqrt3}{2}x\right).

(ii) Particular solution. The right-hand side is (x+1)ex(x+1)e^{x}: a polynomial of degree 1 times eμxe^{\mu x} with μ=1\mu=1. The number μ=1\mu=1 is not a root of the characteristic equation (1−1+1=1≠01-1+1=1\ne0), so there is no resonance and we look for yp(x)=(ax+b) ex.y_p(x)=(ax+b)\,e^{x}. It is convenient to write yp=p(x)exy_p=p(x)e^x with p=ax+bp=ax+b: then yp′=(p+p′)exy_p'=(p+p')e^x and yp′′=(p+2p′+p′′)exy_p''=(p+2p'+p'')e^x, so yp′′−yp′+yp=[(p+2p′+p′′)−(p+p′)+p]ex=(p+p′+p′′)ex.y_p''-y_p'+y_p=\left[(p+2p'+p'')-(p+p')+p\right]e^x=\left(p+p'+p''\right)e^x . Imposing p+p′+p′′=x+1p+p'+p''=x+1 with p=ax+bp=ax+b (so p′=ap'=a, p′′=0p''=0): ax+b+a=x+1  ⟹  a=1,b+a=1⇒b=0.ax+b+a=x+1\;\Longrightarrow\;a=1,\quad b+a=1\Rightarrow b=0 . Hence yp(x)=x exy_p(x)=x\,e^x and the general solution of the non-homogeneous equation is y(x)=x ex+ex/2(c1cos⁡32x+c2sin⁡32x).y(x)=x\,e^{x}+e^{x/2}\left(c_1\cos\frac{\sqrt3}{2}x+c_2\sin\frac{\sqrt3}{2}x\right).

Cauchy problem. First condition: y(0)=0+1⋅c1=c1y(0)=0+1\cdot c_1=c_1, so c1=0c_1=0. Derivative: y′(x)=(x+1)ex+12ex/2(c1cos⁡32x+c2sin⁡32x)+ex/232(−c1sin⁡32x+c2cos⁡32x),y'(x)=(x+1)e^x+\frac12e^{x/2}\left(c_1\cos\tfrac{\sqrt3}2x+c_2\sin\tfrac{\sqrt3}2x\right)+e^{x/2}\frac{\sqrt3}{2}\left(-c_1\sin\tfrac{\sqrt3}2x+c_2\cos\tfrac{\sqrt3}2x\right), so y′(0)=1+12c1+32c2y'(0)=1+\frac12c_1+\frac{\sqrt3}{2}c_2. With c1=0c_1=0 the condition y′(0)=1y'(0)=1 gives 32c2=0\frac{\sqrt3}{2}c_2=0, i.e. c2=0c_2=0. The solution of the Cauchy problem is y(x)=x ex\boxed{y(x)=x\,e^{x}} (unique by the theorem in Existence and Uniqueness for the Cauchy ProblemFor y' = f(t, y), y(t0) = y0, Peano's theorem gives local existence when f is continuous (not uniqueness: y' = sqrt|y|), Cauchy-Lipschitz gives local existence and uniqueness when f is also Lipschitz in y (it suffices that f and df/dy are continuous), solutions may blow up in finite time (y' = y^2), global existence holds when f is Lipschitz on the whole strip, and an equation of order n reduces to a first-order system.Existence and Uniqueness for the Cauchy Problem →, since the equation is linear with continuous coefficients).

Check. y=xexy=xe^x, y′=(x+1)exy'=(x+1)e^x, y′′=(x+2)exy''=(x+2)e^x, so y′′−y′+y=[(x+2)−(x+1)+x]ex=(x+1)exy''-y'+y=\left[(x+2)-(x+1)+x\right]e^x=(x+1)e^x, and y(0)=0y(0)=0, y′(0)=1y'(0)=1.

Typical errors. (1) Using the trial yp=(ax+b)xexy_p=(ax+b)xe^x (resonant form) when μ=1\mu=1 is not a root. (2) Forgetting the terms c1,c2c_1,c_2 of the homogeneous solution when imposing y′(0)=1y'(0)=1: here they happen to be zero, but this has to be proved, not assumed. (3) Taking the wrong frequency β\beta in the homogeneous solution, for instance 3 x\sqrt3\,x instead of 32x\frac{\sqrt3}{2}x: β\beta is the imaginary part of the root, which already contains the factor 12\frac12.

Exercise 4 (points not stated)

Consider the parametric curve in polar coordinates ρ=e−θ,θ∈[0,2π],\rho=e^{-\theta},\qquad\theta\in[0,2\pi], and the differential form ω=cos⁡y dx−xsin⁡y dy.\omega=\cos y\,dx-x\sin y\,dy .

(i) Compute the length of γ\gamma.

(ii) Compute the integral ∫γω\displaystyle\int_\gamma\omega.

Show the result

(i) ℓ(γ)=2(1−e−2π)\ell(\gamma)=\sqrt2\left(1-e^{-2\pi}\right).

(ii) ∫γω=e−2π−1\displaystyle\int_\gamma\omega=e^{-2\pi}-1.

Show the full solution

The curve is a spiral that winds once around the origin towards the centre: it starts at θ=0\theta=0 at the point (1,0)(1,0) and ends at θ=2π\theta=2\pi at the point (e−2π,0)(e^{-2\pi},0).

(i) Length. In Cartesian form γ(θ)=(e−θcos⁡θ,  e−θsin⁡θ)\gamma(\theta)=\left(e^{-\theta}\cos\theta,\;e^{-\theta}\sin\theta\right). For a curve in polar coordinates the speed is ρ2+ρ′2\sqrt{\rho^2+\rho'^2} (see Curves and Line Integrals of the First KindA curve is a continuous map from an interval into the plane or space, regular if it is C1 with nonzero velocity; its length is the integral of the speed, and the line integral of the first kind of a scalar function f is the integral of f times the speed, for instance the mass of a wire.Curves and Line Integrals of the First Kind →). Here ρ′=−e−θ\rho'=-e^{-\theta}, so ∥γ′(θ)∥=e−2θ+e−2θ=2 e−θ.\|\gamma'(\theta)\|=\sqrt{e^{-2\theta}+e^{-2\theta}}=\sqrt2\,e^{-\theta}. Check by differentiating: x′=−e−θ(cos⁡θ+sin⁡θ)x'=-e^{-\theta}(\cos\theta+\sin\theta), y′=e−θ(cos⁡θ−sin⁡θ)y'=e^{-\theta}(\cos\theta-\sin\theta), and x′2+y′2=e−2θ[(cos⁡θ+sin⁡θ)2+(cos⁡θ−sin⁡θ)2]=2e−2θx'^2+y'^2=e^{-2\theta}\left[(\cos\theta+\sin\theta)^2+(\cos\theta-\sin\theta)^2\right]=2e^{-2\theta}. The curve is regular, and ℓ(γ)=∫02π2 e−θ dθ=2[−e−θ]02π=2(1−e−2π).\ell(\gamma)=\int_0^{2\pi}\sqrt2\,e^{-\theta}\,d\theta=\sqrt2\left[-e^{-\theta}\right]_0^{2\pi}=\sqrt2\left(1-e^{-2\pi}\right).

(ii) Integral of the form. One could substitute the parametrization in ω\omega, but this leads to long integrals with products of cos⁡(e−θsin⁡θ)\cos(e^{-\theta}\sin\theta) and trigonometric functions. It is much better to notice that ω\omega is exact (see 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 →). The form ω=a dx+b dy\omega=a\,dx+b\,dy has a=cos⁡ya=\cos y, b=−xsin⁡yb=-x\sin y, and ∂a∂y=−sin⁡y=∂b∂x,\frac{\partial a}{\partial y}=-\sin y=\frac{\partial b}{\partial x}, so ω\omega is closed on R2\mathbb{R}^2, which is simply connected: hence exact. A potential UU satisfies Ux=cos⁡yU_x=\cos y, so U=xcos⁡y+c(y)U=x\cos y+c(y); then Uy=−xsin⁡y+c′(y)=−xsin⁡yU_y=-x\sin y+c'(y)=-x\sin y gives c′=0c'=0. Therefore U(x,y)=xcos⁡y,dU=cos⁡y dx−xsin⁡y dy=ω.U(x,y)=x\cos y,\qquad dU=\cos y\,dx-x\sin y\,dy=\omega . By the fundamental theorem for line integrals the integral depends only on the endpoints: γ(0)=(1,0)\gamma(0)=(1,0) and γ(2π)=(e−2π,0)\gamma(2\pi)=(e^{-2\pi},0), so ∫γω=U(e−2π,0)−U(1,0)=e−2πcos⁡0−1⋅cos⁡0=e−2π−1.\int_\gamma\omega=U\left(e^{-2\pi},0\right)-U(1,0)=e^{-2\pi}\cos0-1\cdot\cos0=e^{-2\pi}-1 .

Typical errors. (1) Using ρ′2\sqrt{\rho'^2} or only ρ\rho for the speed: the term ρ2\rho^2 comes from the rotation. (2) Taking the endpoint at θ=2π\theta=2\pi as (1,0)(1,0): the curve is not closed, ρ(2π)=e−2π≠1\rho(2\pi)=e^{-2\pi}\neq1. (3) Reversing the sign, U(start)−U(end)U(\text{start})-U(\text{end}): the integral is the potential at the end minus the potential at the start. The result is negative because UU decreases from 11 to e−2πe^{-2\pi}.

Exercise 5 (points not stated)

Consider the solid of revolution S={(x,y,z)∈R3:  x+4≥y2+z2,    e2x+1≤e 2−y2+z2}.S=\left\{(x,y,z)\in\mathbb{R}^3:\;x+4\ge y^2+z^2,\;\; e^2x+1\le e^{\,2-\sqrt{y^2+z^2}}\right\}.

(i) Sketch the intersection of SS with the plane xyxy.

(ii) Compute the volume of SS.

Show the result

(i) In the plane xyxy (z=0z=0) the section is the region between the parabola x=y2−4x=y^2-4 (on the left) and the curve x=e−∣y∣−e−2x=e^{-|y|}-e^{-2} (on the right), for −2≤y≤2-2\le y\le2; the two curves meet exactly at the points (0,2)(0,2) and (0,−2)(0,-2). The axis of revolution is the xx axis.

(ii) V(S)=10π(1−e−2)V(S)=10\pi\left(1-e^{-2}\right).

Show the full solution

(i) Section with the plane xyxy. The solid depends on y,zy,z only through r=y2+z2r=\sqrt{y^2+z^2}, the distance from the xx axis: SS is a solid of revolution around the xx axis (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 →, the paragraph on axes other than zz). In terms of rr the two conditions become x≥r2−4andx≤e2−r−1e2=e−r−e−2.x\ge r^2-4\qquad\text{and}\qquad x\le\frac{e^{2-r}-1}{e^2}=e^{-r}-e^{-2}. In the plane xyxy (z=0z=0) we have r=∣y∣r=|y|: the section is {(x,y):  y2−4≤x≤e−∣y∣−e−2},\left\{(x,y):\;y^2-4\le x\le e^{-|y|}-e^{-2}\right\}, the region between the parabola x=y2−4x=y^2-4 (opening to the right, vertex (−4,0)(-4,0)) and the curve x=e−∣y∣−e−2x=e^{-|y|}-e^{-2} (symmetric, with a corner at (1−e−2,0)≈(0.86,0)(1-e^{-2},0)\approx(0.86,0) and decreasing as ∣y∣|y| grows).

Where do the curves meet? We need h(r)=(e−r−e−2)−(r2−4)≥0h(r)=\left(e^{-r}-e^{-2}\right)-\left(r^2-4\right)\ge0. At r=2r=2: h(2)=e−2−e−2−4+4=0h(2)=e^{-2}-e^{-2}-4+4=0. Moreover h′(r)=−e−r−2r<0h'(r)=-e^{-r}-2r<0 for r≥0r\ge0, so hh is strictly decreasing: r=2r=2 is its only zero, and h≥0h\ge0 exactly for 0≤r≤20\le r\le2. The two curves meet at y=±2y=\pm2, x=0x=0.

Grafico interattivo: Section of S with the plane xy: between the parabola x = y^2 - 4 and the curve x = e^(-|y|) - e^(-2); they meet at (0, 2) and (0, -2)

(ii) Volume. Use cylindrical coordinates with axis the xx axis: (x, rcos⁡φ, rsin⁡φ)(x,\,r\cos\varphi,\,r\sin\varphi) with Jacobian rr (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 →). For each (y,z)(y,z) in the disc r≤2r\le2 the solid is the segment r2−4≤x≤e−r−e−2r^2-4\le x\le e^{-r}-e^{-2}, of length h(r)h(r). Therefore V=∫02π ⁣dφ∫02 ⁣ ⁣∫r2−4e−r−e−2r dx dr=2π∫02(e−r−e−2−r2+4)r dr.V=\int_0^{2\pi}\!d\varphi\int_0^{2}\!\!\int_{r^2-4}^{e^{-r}-e^{-2}}r\,dx\,dr=2\pi\int_0^2\left(e^{-r}-e^{-2}-r^2+4\right)r\,dr . Term by term:

  • ∫02r e−r dr=[−(r+1)e−r]02=1−3e−2\int_0^2r\,e^{-r}\,dr=\left[-(r+1)e^{-r}\right]_0^2=1-3e^{-2} (by parts: ∫re−r=−re−r−e−r\int re^{-r}=-re^{-r}-e^{-r});
  • ∫02e−2r dr=e−2⋅222=2e−2\int_0^2e^{-2}r\,dr=e^{-2}\cdot\frac{2^2}{2}=2e^{-2};
  • ∫02r3 dr=244=4\int_0^2r^3\,dr=\frac{2^4}{4}=4;
  • ∫024r dr=4⋅222=8\int_0^24r\,dr=4\cdot\frac{2^2}{2}=8.

Hence V=2π[(1−3e−2)−2e−2−4+8]=2π(5−5e−2)=10π(1−e−2)≈27.17.V=2\pi\left[\left(1-3e^{-2}\right)-2e^{-2}-4+8\right]=2\pi\left(5-5e^{-2}\right)=\boxed{10\pi\left(1-e^{-2}\right)}\approx 27.17 .

Second method (slices perpendicular to the xx axis). For fixed xx the section of SS is a disc r≤R(x)r\le R(x) centred on the axis, where RR is the smaller of the two bounds r2≤x+4r^2\le x+4 and e−r≥x+e−2e^{-r}\ge x+e^{-2}. This gives the same volume ∫πR(x)2 dx\int\pi R(x)^2\,dx, which in the check script was computed numerically and agrees with 10π(1−e−2)10\pi(1-e^{-2}).

Typical errors. (1) Forgetting the factor rr of the Jacobian (the volume would come out as 2π∫h dr2\pi\int h\,dr). (2) Using the section area ∫h(y) dy\int h(y)\,dy of the plane xyxy and multiplying by a length: the solid is not a prism, the volume of a solid of revolution needs the radius. (3) Taking the integration range as r∈[0,+∞)r\in[0,+\infty) or [0,4][0,4] instead of [0,2][0,2]: the range is where h≥0h\ge0.

Self-assessment grid

The sheet gives no points, so the table only lists what a full answer must contain.

Exercise Points What you need for the full mark Typical errors
1 (i) not stated Estimate ∣f∣≤ρ2\lvert f\rvert\le\rho^2 (or polar coordinates) and the squeeze theorem Checking only some lines or curves
1 (ii) not stated Partial derivatives by the definition at the origin: both 00 Using the formula for (x,y)≠(0,0)(x,y)\ne(0,0) at the origin
1 (iii) not stated Test limit f/ρ→0f/\rho\to0, so ff is differentiable with ∇f(0,0)=(0,0)\nabla f(0,0)=(0,0) Concluding from the partial derivatives alone
2 (i) not stated f≥ρ6−ρ4→+∞f\ge\rho^6-\rho^4\to+\infty Checking only the axes
2 (ii) not stated No maximum; minimum exists by coercivity and Weierstrass; critical points (0,0)(0,0), (±2/3,0)(\pm\sqrt{2/3},0); minimum −427-\frac4{27} Calling the origin a minimum; not justifying existence
3 (i) not stated Roots 12±i32\frac12\pm i\frac{\sqrt3}2 and the real form of the general solution Wrong frequency; real exponent missing
3 (ii) not stated yp=xexy_p=xe^x (no resonance), then c1=c2=0c_1=c_2=0 and y=xexy=xe^x Resonant trial; forgetting the homogeneous part in y′(0)y'(0)
4 (i) not stated Speed 2e−θ\sqrt2e^{-\theta} and length 2(1−e−2π)\sqrt2(1-e^{-2\pi}) Forgetting ρ2\rho^2 in the speed
4 (ii) not stated ω\omega exact with potential xcos⁡yx\cos y; endpoints (1,0)(1,0) and (e−2π,0)(e^{-2\pi},0); result e−2π−1e^{-2\pi}-1 Wrong endpoint; sign of the difference
5 (i) not stated Region between x=y2−4x=y^2-4 and x=e−∣y∣−e−2x=e^{-\lvert y\rvert}-e^{-2}, meeting at (0,±2)(0,\pm2) Missing the corner at y=0y=0; not proving the only intersection
5 (ii) not stated V=2π∫02h(r) r dr=10π(1−e−2)V=2\pi\int_0^2h(r)\,r\,dr=10\pi(1-e^{-2}) Forgetting the factor rr; wrong range of rr