Salta al contenuto
Note per Studenti Calculus 2 - Mock Exam 3 Report

Calculus 2 - Mock Exam 3

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

In questa pagina 5

Mock exam built on the model of the Analisi Matematica 2 papers for Information Engineering (UniPD), the equivalent course taught in Italian: it is a simulation written for this site, not a real paper, and its exercises are new. The real papers have four exercises worth between 6 and 10 points each (for example 8 + 9 + 8 + 8) and last three hours; here the four exercises are worth 9, 8, 8 and 8 points, total 33, and the time allowed is 3 hours. Every statement must be justified. Allowed material: none (no books, notes, phones or calculators). All topics come from the notes of this course. How to use it: take it timed, write every step in full, and only afterwards compare first the result, then the solution, then the grid at the end.

Exercise 1 (points 9)

Let f:R2→Rf:\mathbb R^2\to\mathbb R be the function

f(x,y)={x3−2y3x2+y2(x,y)≠(0,0),0(x,y)=(0,0).f(x,y)=\begin{cases}\dfrac{x^3-2y^3}{x^2+y^2} & (x,y)\neq(0,0),\\[2mm] 0 & (x,y)=(0,0).\end{cases}

  1. Prove that ff is continuous at (0,0)(0,0). (2 points)
  2. Using the definition, compute the partial derivatives of ff at (0,0)(0,0) and, for every unit vector v=(cos⁡α,sin⁡α)\mathbf v=(\cos\alpha,\sin\alpha), the directional derivative Dvf(0,0)D_{\mathbf v}f(0,0). (3 points)
  3. Is ff differentiable at (0,0)(0,0)? Justify the answer. (2 points)
  4. Prove that ff is differentiable at (1,1)(1,1) and write the equation of the tangent plane to the graph of ff at the point (1,1,f(1,1))(1,1,f(1,1)). (2 points)
Show the result
  1. 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 (0,0)(0,0).
  2. fx(0,0)=1f_x(0,0)=1, fy(0,0)=−2f_y(0,0)=-2; for every unit vector, Dvf(0,0)=cos⁡3α−2sin⁡3αD_{\mathbf v}f(0,0)=\cos^3\alpha-2\sin^3\alpha.
  3. No: ff is not differentiable at (0,0)(0,0).
  4. ff is differentiable at (1,1)(1,1) with ∇f(1,1)=(2,−52)\nabla f(1,1)=\left(2,-\tfrac52\right) and f(1,1)=−12f(1,1)=-\tfrac12; the tangent plane is z=2x−52 yz=2x-\dfrac52\,y.
Show the full solution

Setting. The point to study is the one where the two pieces of the definition meet, so there we cannot use the differentiation rules: we use the definitions and polar coordinates x=rcos⁡θx=r\cos\theta, y=rsin⁡θy=r\sin\theta. Since the numerator has degree 33 and the denominator degree 22,

f(rcos⁡θ,rsin⁡θ)=r3(cos⁡3θ−2sin⁡3θ)r2=r (cos⁡3θ−2sin⁡3θ),r>0.f(r\cos\theta,r\sin\theta)=\frac{r^3(\cos^3\theta-2\sin^3\theta)}{r^2}=r\,(\cos^3\theta-2\sin^3\theta),\qquad r>0.

So ff is homogeneous of degree 1: f(tx,ty)=t f(x,y)f(tx,ty)=t\,f(x,y) for every real tt (also negative). This identity is used in every part.

1. Continuity (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 lim⁡(x,y)→(0,0)f=f(0,0)=0\lim_{(x,y)\to(0,0)}f=f(0,0)=0. In polar coordinates ∣cos⁡3θ−2sin⁡3θ∣≤∣cos⁡θ∣3+2∣sin⁡θ∣3≤3|\cos^3\theta-2\sin^3\theta|\le|\cos\theta|^3+2|\sin\theta|^3\le3, so

∣f(x,y)−0∣≤3r=3x2+y2⟶0.|f(x,y)-0|\le3r=3\sqrt{x^2+y^2}\longrightarrow0.

The bound does not depend on θ\theta, and this is what makes the polar argument valid (the limit is uniform in the direction). By the squeeze theorem the limit is 00: ff is continuous at (0,0)(0,0). Typical error: checking only a few lines through the origin, which can disprove a limit but never prove it.

2. Partial and directional derivatives (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 →). At (0,0)(0,0) the rules cannot be applied (the formula of the first piece is of the type 0/00/0): we use the definition, i.e. the limit of the difference quotient along the direction.

For a unit vector v=(cos⁡α,sin⁡α)\mathbf v=(\cos\alpha,\sin\alpha), by homogeneity,

f(tcos⁡α,tsin⁡α)−f(0,0)t=t f(cos⁡α,sin⁡α)t=cos⁡3α−2sin⁡3α,\frac{f(t\cos\alpha,t\sin\alpha)-f(0,0)}{t}=\frac{t\,f(\cos\alpha,\sin\alpha)}{t}=\cos^3\alpha-2\sin^3\alpha,

which does not depend on tt, so the limit exists for every direction:

Dvf(0,0)=cos⁡3α−2sin⁡3α.D_{\mathbf v}f(0,0)=\cos^3\alpha-2\sin^3\alpha.

The partial derivatives are the special cases α=0\alpha=0 (v=(1,0)\mathbf v=(1,0)) and α=π2\alpha=\frac\pi2 (v=(0,1)\mathbf v=(0,1)):

fx(0,0)=cos⁡30−2sin⁡30=1,fy(0,0)=cos⁡3π2−2sin⁡3π2=−2.f_x(0,0)=\cos^30-2\sin^30=1,\qquad f_y(0,0)=\cos^3\tfrac\pi2-2\sin^3\tfrac\pi2=-2.

Direct check on the axes: f(h,0)−0h=h3/h2h=1\dfrac{f(h,0)-0}{h}=\dfrac{h^3/h^2}{h}=1 and f(0,k)−0k=−2k3/k2k=−2\dfrac{f(0,k)-0}{k}=\dfrac{-2k^3/k^2}{k}=-2. So ∇f(0,0)=(1,−2)\nabla f(0,0)=(1,-2).

3. Differentiability (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 →). If ff were differentiable at (0,0)(0,0), then for every direction the gradient formula Dvf(0,0)=∇f(0,0)⋅v=cos⁡α−2sin⁡αD_{\mathbf v}f(0,0)=\nabla f(0,0)\cdot\mathbf v=\cos\alpha-2\sin\alpha would hold. But

(cos⁡3α−2sin⁡3α)−(cos⁡α−2sin⁡α)=cos⁡α(cos⁡2α−1)−2sin⁡α(sin⁡2α−1)=−cos⁡αsin⁡2α+2sin⁡αcos⁡2α=sin⁡αcos⁡α (2cos⁡α−sin⁡α),\bigl(\cos^3\alpha-2\sin^3\alpha\bigr)-\bigl(\cos\alpha-2\sin\alpha\bigr)=\cos\alpha(\cos^2\alpha-1)-2\sin\alpha(\sin^2\alpha-1)=-\cos\alpha\sin^2\alpha+2\sin\alpha\cos^2\alpha=\sin\alpha\cos\alpha\,(2\cos\alpha-\sin\alpha),

and for α=π4\alpha=\frac\pi4 it equals 12⋅12⋅12=24≠0\frac1{\sqrt2}\cdot\frac1{\sqrt2}\cdot\frac1{\sqrt2}=\frac{\sqrt2}{4}\ne0. The formula fails along the diagonal, so ff is not differentiable at (0,0)(0,0).

Equivalent check with the definition: differentiability means lim⁡(h,k)→(0,0)f(h,k)−f(0,0)−fx(0,0)h−fy(0,0)kh2+k2=lim⁡f(h,k)−h+2kh2+k2=0\displaystyle\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\frac{f(h,k)-h+2k}{\sqrt{h^2+k^2}}=0. On the line k=h>0k=h>0 we have f(h,h)=−h32h2=−h2f(h,h)=\frac{-h^3}{2h^2}=-\frac h2, so the numerator is −h2−h+2h=h2-\frac h2-h+2h=\frac h2 and the quotient is h/22 h=24≠0\dfrac{h/2}{\sqrt2\,h}=\dfrac{\sqrt2}{4}\neq0.

Remarks. The function is continuous and has all directional derivatives, yet it is not differentiable: the map v↦Dvf(0,0)\mathbf v\mapsto D_{\mathbf v}f(0,0) is not linear in v\mathbf v (it is a combination of cubes). The formula Dvf=∇f⋅vD_{\mathbf v}f=\nabla f\cdot\mathbf v holds only when sin⁡αcos⁡α(2cos⁡α−sin⁡α)=0\sin\alpha\cos\alpha(2\cos\alpha-\sin\alpha)=0, i.e. along the axes and along the direction tan⁡α=2\tan\alpha=2. Typical errors: concluding "differentiable" because the partial derivatives exist, or computing Dvf(0,0)D_{\mathbf v}f(0,0) as ∇f(0,0)⋅v\nabla f(0,0)\cdot\mathbf v without having proved differentiability (it would give cos⁡α−2sin⁡α\cos\alpha-2\sin\alpha, wrong). Consistently, the partial derivatives are not continuous at the origin: for (x,y)≠(0,0)(x,y)\ne(0,0) they are homogeneous of degree 00, and e.g. fx(t,0)=1f_x(t,0)=1 while fx(0,t)=0f_x(0,t)=0, so the sufficient condition (C1C^1 implies differentiable) cannot be used.

4. Differentiability at (1,1)(1,1) and tangent plane. On R2∖{(0,0)}\mathbb R^2\setminus\{(0,0)\} the function is a quotient of polynomials with non-vanishing denominator, hence of class C1C^1; by the total differential theorem it is differentiable at (1,1)(1,1). By the quotient rule, for (x,y)≠(0,0)(x,y)\ne(0,0):

fx=3x2(x2+y2)−2x(x3−2y3)(x2+y2)2=x4+3x2y2+4xy3(x2+y2)2,f_x=\frac{3x^2(x^2+y^2)-2x(x^3-2y^3)}{(x^2+y^2)^2}=\frac{x^4+3x^2y^2+4xy^3}{(x^2+y^2)^2},

fy=−6y2(x2+y2)−2y(x3−2y3)(x2+y2)2=−2x3y−6x2y2−2y4(x2+y2)2.f_y=\frac{-6y^2(x^2+y^2)-2y(x^3-2y^3)}{(x^2+y^2)^2}=\frac{-2x^3y-6x^2y^2-2y^4}{(x^2+y^2)^2}.

At (1,1)(1,1) the denominator is 44: f(1,1)=1−22=−12f(1,1)=\frac{1-2}{2}=-\frac12, fx(1,1)=1+3+44=2f_x(1,1)=\frac{1+3+4}{4}=2, fy(1,1)=−2−6−24=−52f_y(1,1)=\frac{-2-6-2}{4}=-\frac52. The tangent plane (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 →, section on gradient and tangent plane) is

z=f(1,1)+fx(1,1)(x−1)+fy(1,1)(y−1)=−12+2(x−1)−52(y−1)=2x−52 y.z=f(1,1)+f_x(1,1)(x-1)+f_y(1,1)(y-1)=-\frac12+2(x-1)-\frac52(y-1)=2x-\frac52\,y.

Check: since ff is homogeneous of degree 11, Euler's identity xfx+yfy=fx f_x+y f_y=f holds and gives 2−52=−12=f(1,1)2-\frac52=-\frac12=f(1,1) at (1,1)(1,1); this is also why the plane passes through the origin: its constant term is −12−2+52=0-\frac12-2+\frac52=0. Typical error: writing the plane with the partial derivatives of the origin, (1,−2)(1,-2), instead of those at the point of tangency.

Exercise 2 (points 8)

Let Ω={(x,y,z)∈R3: x2+y2≤1, 0≤z≤2+y}\Omega=\{(x,y,z)\in\mathbb R^3:\ x^2+y^2\le1,\ 0\le z\le2+y\}: the solid cylinder of radius 11 and axis zz, cut below by the plane z=0z=0 and above by the tilted plane z=2+yz=2+y (on the unit disc 2+y≥1>02+y\ge1>0). Its boundary ∂Ω\partial\Omega is the union of the base B={z=0, x2+y2≤1}B=\{z=0,\ x^2+y^2\le1\}, the lateral surface L={x2+y2=1, 0≤z≤2+y}L=\{x^2+y^2=1,\ 0\le z\le2+y\} and the top T={z=2+y, x2+y2≤1}T=\{z=2+y,\ x^2+y^2\le1\}. Let F(x,y,z)=(xz, yz, z2)\mathbf F(x,y,z)=(xz,\ yz,\ z^2), and orient ∂Ω\partial\Omega with the outward normal.

  1. Compute the area of TT and the surface integral ∬Tz dσ\displaystyle\iint_T z\,d\sigma. (2 points)
  2. Compute the outward flux of F\mathbf F through ∂Ω\partial\Omega using the divergence theorem. (3 points)
  3. Compute directly the flux of F\mathbf F through TT and through BB, and deduce from part 2 the flux through LL. Check the result with a direct computation on LL. (3 points)
Show the result
  1. Area(T)=2 π\text{Area}(T)=\sqrt2\,\pi and ∬Tz dσ=22 π\displaystyle\iint_Tz\,d\sigma=2\sqrt2\,\pi.
  2. ∬∂ΩF⋅n dσ=17π2\displaystyle\iint_{\partial\Omega}\mathbf F\cdot\mathbf n\,d\sigma=\dfrac{17\pi}{2} (with div⁡F=4z\operatorname{div}\mathbf F=4z).
  3. Flux through TT: 4π4\pi. Flux through BB: 00. Flux through LL: 9π2\dfrac{9\pi}{2} (also by direct computation).
Show the full solution

1. The top TT as a graph (Surfaces and Flux - Divergence and Stokes TheoremsA 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 →, section on area and surface integral). TT is the graph of g(x,y)=2+yg(x,y)=2+y over the unit disc D={x2+y2≤1}D=\{x^2+y^2\le1\}. With r(x,y)=(x,y,2+y)\mathbf r(x,y)=(x,y,2+y): rx=(1,0,0)\mathbf r_x=(1,0,0), ry=(0,1,1)\mathbf r_y=(0,1,1), and

N=rx×ry=(0,−1,1)=(−gx,−gy,1),∣N∣=2.\mathbf N=\mathbf r_x\times\mathbf r_y=(0,-1,1)=(-g_x,-g_y,1),\qquad|\mathbf N|=\sqrt2.

The area element is the constant dσ=2 dx dyd\sigma=\sqrt2\,dx\,dy (the plane has constant inclination). Hence

Area(T)=2⋅Area(D)=2 π,∬Tz dσ=2∬D(2+y) dx dy=2 (2π+0)=22 π,\text{Area}(T)=\sqrt2\cdot\text{Area}(D)=\sqrt2\,\pi,\qquad\iint_Tz\,d\sigma=\sqrt2\iint_D(2+y)\,dx\,dy=\sqrt2\,(2\pi+0)=2\sqrt2\,\pi,

because ∬Dy dx dy=0\iint_Dy\,dx\,dy=0 (DD is symmetric with respect to the xx axis and yy is odd). Typical error: forgetting the factor ∣N∣=2|\mathbf N|=\sqrt2 and writing the area as π\pi.

2. The divergence theorem. The field is C1C^1 on R3\mathbb R^3 and Ω\Omega is bounded by a closed piecewise regular surface, so

∬∂ΩF⋅n dσ=∭Ωdiv⁡F dV,div⁡F=∂(xz)∂x+∂(yz)∂y+∂(z2)∂z=z+z+2z=4z.\iint_{\partial\Omega}\mathbf F\cdot\mathbf n\,d\sigma=\iiint_\Omega\operatorname{div}\mathbf F\,dV,\qquad\operatorname{div}\mathbf F=\frac{\partial(xz)}{\partial x}+\frac{\partial(yz)}{\partial y}+\frac{\partial(z^2)}{\partial z}=z+z+2z=4z.

We integrate with 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 →: x=ρcos⁡θx=\rho\cos\theta, y=ρsin⁡θy=\rho\sin\theta, dV=ρ dρ dθ dzdV=\rho\,d\rho\,d\theta\,dz, and Ω={0≤ρ≤1, 0≤θ≤2π, 0≤z≤2+ρsin⁡θ}\Omega=\{0\le\rho\le1,\ 0\le\theta\le2\pi,\ 0\le z\le2+\rho\sin\theta\}. Integrating first in zz (the cheapest variable, since the bounds depend on ρ,θ\rho,\theta only):

∭Ω4z dV=∫02π ⁣ ⁣∫01[2z2]02+ρsin⁡θρ dρ dθ=2∫02π ⁣ ⁣∫01(4ρ+4ρ2sin⁡θ+ρ3sin⁡2θ)dρ dθ.\iiint_\Omega4z\,dV=\int_0^{2\pi}\!\!\int_0^1\left[2z^2\right]_{0}^{2+\rho\sin\theta}\rho\,d\rho\,d\theta=2\int_0^{2\pi}\!\!\int_0^1\left(4\rho+4\rho^2\sin\theta+\rho^3\sin^2\theta\right)d\rho\,d\theta.

Now in θ\theta over [0,2π][0,2\pi]: ∫1 dθ=2π\int1\,d\theta=2\pi, ∫sin⁡θ dθ=0\int\sin\theta\,d\theta=0, ∫sin⁡2θ dθ=π\int\sin^2\theta\,d\theta=\pi. So

2∫01(8πρ+πρ3)dρ=2(4π+π4)=17π2.2\int_0^1\left(8\pi\rho+\pi\rho^3\right)d\rho=2\left(4\pi+\frac\pi4\right)=\frac{17\pi}{2}.

Typical errors: applying the theorem with the inward normal, or applying it to only part of the boundary (the surface must be closed: BB, LL and TT are all included).

3. The three pieces.

Top TT. The outward normal on the top points upward, i.e. it is N=(0,−1,1)\mathbf N=(0,-1,1) (third component positive). On TT, z=2+yz=2+y, so

F⋅N=−yz+z2=z(z−y)=2(2+y)=4+2y,ΦT=∬D(4+2y) dx dy=4π+0=4π.\mathbf F\cdot\mathbf N=-yz+z^2=z(z-y)=2(2+y)=4+2y,\qquad\Phi_T=\iint_D(4+2y)\,dx\,dy=4\pi+0=4\pi.

Base BB. It lies in the plane z=0z=0 with outward normal −k-\mathbf k (pointing down, out of the solid): F⋅(−k)=−z2=0\mathbf F\cdot(-\mathbf k)=-z^2=0 on BB, so ΦB=0\Phi_B=0. Here the integrand vanishes, but in general the sign of the normal on the base must be watched.

Lateral surface LL by difference. The three fluxes add up to the total:

ΦL=17π2−4π−0=9π2.\Phi_L=\frac{17\pi}{2}-4\pi-0=\frac{9\pi}{2}.

Direct check on LL. Parametrize r(θ,z)=(cos⁡θ,sin⁡θ,z)\mathbf r(\theta,z)=(\cos\theta,\sin\theta,z) with 0≤θ≤2π0\le\theta\le2\pi, 0≤z≤2+sin⁡θ0\le z\le2+\sin\theta. Then rθ=(−sin⁡θ,cos⁡θ,0)\mathbf r_\theta=(-\sin\theta,\cos\theta,0), rz=(0,0,1)\mathbf r_z=(0,0,1), rθ×rz=(cos⁡θ,sin⁡θ,0)\mathbf r_\theta\times\mathbf r_z=(\cos\theta,\sin\theta,0), which points outward, so the sign is ++. On LL we have F=(zcos⁡θ, zsin⁡θ, z2)\mathbf F=(z\cos\theta,\ z\sin\theta,\ z^2), so F⋅(rθ×rz)=zcos⁡2θ+zsin⁡2θ=z\mathbf F\cdot(\mathbf r_\theta\times\mathbf r_z)=z\cos^2\theta+z\sin^2\theta=z and

ΦL=∫02π ⁣ ⁣∫02+sin⁡θz dz dθ=12∫02π(2+sin⁡θ)2 dθ=12(8π+0+π)=9π2.\Phi_L=\int_0^{2\pi}\!\!\int_0^{2+\sin\theta}z\,dz\,d\theta=\frac12\int_0^{2\pi}(2+\sin\theta)^2\,d\theta=\frac12\left(8\pi+0+\pi\right)=\frac{9\pi}{2}.

The two ways agree. As in the notes, when one of the pieces is hard the flux through it is obtained as the total minus the others; here all are easy, so it is a genuine check.

Exercise 3 (points 8)

Let DD be the region of the plane

D={(x,y)∈R2: 1≤xy≤4,  x≤y≤3x}.D=\{(x,y)\in\mathbb R^2:\ 1\le xy\le4,\ \ x\le y\le3x\}.

  1. Draw DD and find its four vertices. Show that the change of variables u=xyu=xy, v=yxv=\dfrac yx maps DD one-to-one onto the rectangle R=[1,4]×[1,3]R=[1,4]\times[1,3], and compute its Jacobian determinant. (3 points)
  2. Compute the area of DD. (2 points)
  3. Compute ∬D(x2+y2) dx dy\displaystyle\iint_D(x^2+y^2)\,dx\,dy. (3 points)
Show the result
  1. DD is bounded by the hyperbolas y=1xy=\frac1x, y=4xy=\frac4x and the lines y=xy=x, y=3xy=3x, with vertices (1,1)(1,1), (2,2)(2,2), (13,3)\left(\frac1{\sqrt3},\sqrt3\right), (23,23)\left(\frac2{\sqrt3},2\sqrt3\right). The map (x,y)↦(u,v)(x,y)\mapsto(u,v) is a bijection of DD onto RR with ∂(u,v)∂(x,y)=2yx=2v\dfrac{\partial(u,v)}{\partial(x,y)}=\dfrac{2y}{x}=2v, so dx dy=du dv2vdx\,dy=\dfrac{du\,dv}{2v}.
  2. Area(D)=32ln⁡3\text{Area}(D)=\dfrac32\ln3.
  3. ∬D(x2+y2) dx dy=10\displaystyle\iint_D(x^2+y^2)\,dx\,dy=10.
Show the full solution

1. The region and the change of variables (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 →, section on the change of variables theorem). The conditions y≥xy\ge x and y≤3xy\le3x force x≥0x\ge0, and together with xy≥1xy\ge1 they give x>0x>0 and y>0y>0: DD lies in the first quadrant, between the two lines through the origin of slopes 11 and 33, and between the hyperbola branches y=1xy=\frac1x (below) and y=4xy=\frac4x (above). The vertices are the intersections of each hyperbola with each line:

  • xy=1, y=xxy=1,\ y=x: (1,1)(1,1); xy=4, y=xxy=4,\ y=x: (2,2)(2,2);
  • xy=1, y=3xxy=1,\ y=3x: 3x2=13x^2=1, (13,3)\left(\frac1{\sqrt3},\sqrt3\right); xy=4, y=3xxy=4,\ y=3x: 3x2=43x^2=4, (23,23)\left(\frac2{\sqrt3},2\sqrt3\right).

Grafico interattivo: Region D between the hyperbolas xy = 1 and xy = 4 and the lines y = x and y = 3x, with its four vertices

The shape suggests the natural coordinates: the region is described by two constant-level conditions, xyxy between 11 and 44 and yx\frac yx between 11 and 33. So set

Φ(x,y)=(u,v)=(xy, yx),(x,y)∈(0,+∞)2.\Phi(x,y)=(u,v)=\left(xy,\ \frac yx\right),\qquad(x,y)\in(0,+\infty)^2.

Φ\Phi is a bijection. On the open quadrant it is C1C^1, and it can be inverted: uv=y2uv=y^2 and uv=x2\frac uv=x^2, so x=u/vx=\sqrt{u/v}, y=uvy=\sqrt{uv} with u,v>0u,v>0 (the positive roots because x,y>0x,y>0). Thus Φ\Phi is a one-to-one map of the quadrant onto (0,∞)2(0,\infty)^2. Since (x,y)∈D  ⟺  1≤xy≤4(x,y)\in D\iff1\le xy\le4 and 1≤yx≤31\le\frac yx\le3, the image of DD is exactly R=[1,4]×[1,3]R=[1,4]\times[1,3].

Jacobian.

∂(u,v)∂(x,y)=det⁡(yx−yx21x)=yx+yx=2yx=2v≠0.\frac{\partial(u,v)}{\partial(x,y)}=\det\begin{pmatrix}y&x\\-\dfrac y{x^2}&\dfrac1x\end{pmatrix}=\frac yx+\frac yx=\frac{2y}x=2v\neq0.

The change of variables theorem uses the Jacobian of the map from the new variables to the old ones, which is the reciprocal: ∣∂(x,y)∂(u,v)∣=12v\left|\dfrac{\partial(x,y)}{\partial(u,v)}\right|=\dfrac1{2v}, so dx dy=du dv2vdx\,dy=\dfrac{du\,dv}{2v} (check on the inverse: xu=12uvx_u=\frac1{2\sqrt{uv}}, xv=−u2v3/2x_v=-\frac{\sqrt u}{2v^{3/2}}, yu=v2uy_u=\frac{\sqrt v}{2\sqrt u}, yv=u2vy_v=\frac{\sqrt u}{2\sqrt v} give xuyv−xvyu=14v+14v=12vx_uy_v-x_vy_u=\frac1{4v}+\frac1{4v}=\frac1{2v}). Typical error: multiplying by 2v2v instead of dividing by it.

2. Area.

Area(D)=∬R12v du dv=12∫14du∫13dvv=12⋅3⋅ln⁡3=32ln⁡3≈1.648.\text{Area}(D)=\iint_R\frac1{2v}\,du\,dv=\frac12\int_1^4du\int_1^3\frac{dv}v=\frac12\cdot3\cdot\ln3=\frac32\ln3\approx1.648.

The integrand does not depend on uu, so the double integral splits as a product (Double Integrals and Fubini's TheoremThe double integral of a bounded function over a rectangle is defined through lower and upper Darboux sums (for f nonnegative it is the volume under the graph) and is extended to a bounded domain by setting f to zero outside it; for continuous f on a y-simple or x-simple domain Fubini's theorem reduces it to iterated one-variable integrals, and swapping the order can make an integral computable.Double Integrals and Fubini's Theorem →).

3. The integral. In the new variables x2=uvx^2=\dfrac uv and y2=uvy^2=uv (from the inverse map), so

x2+y2=u(1v+v),(x2+y2) 12v=u2(1v2+1).x^2+y^2=u\left(\frac1v+v\right),\qquad(x^2+y^2)\,\frac1{2v}=\frac u2\left(\frac1{v^2}+1\right).

Therefore

∬D(x2+y2) dx dy=12∫14u du∫13(1+1v2)dv=12⋅16−12⋅[v−1v]13=12⋅152⋅(83)=10.\iint_D(x^2+y^2)\,dx\,dy=\frac12\int_1^4u\,du\int_1^3\left(1+\frac1{v^2}\right)dv=\frac12\cdot\frac{16-1}{2}\cdot\left[v-\frac1v\right]_1^3=\frac12\cdot\frac{15}2\cdot\left(\frac83\right)=10.

(The second factor is (3−13)−(1−1)=83\left(3-\frac13\right)-(1-1)=\frac83.) A plausibility check: Area(D)≈1.65\text{Area}(D)\approx1.65, so the mean value of x2+y2x^2+y^2 on DD is about 6.076.07, between the minimum 22 (at (1,1)(1,1)) and the maximum 43+12≈13.3\frac43+12\approx13.3 (at the farthest vertex).

Exercise 4 (points 8)

Consider the complex function

f(z)=z e1/zz−2.f(z)=\frac{z\,e^{1/z}}{z-2}.

  1. Find the isolated singularities of ff and classify them. (1 point)
  2. Write the Laurent series of ff in the annulus 0<∣z∣<20<|z|<2 as the product of two known series, and use it to compute Res⁡(f,0)\operatorname{Res}(f,0) as the sum of a numerical series. Compute Res⁡(f,2)\operatorname{Res}(f,2). (3 points)
  3. Compute ∮∣z∣=1f(z) dz\displaystyle\oint_{|z|=1}f(z)\,dz and ∮∣z∣=3f(z) dz\displaystyle\oint_{|z|=3}f(z)\,dz, both curves traversed once counterclockwise. (1 point)
  4. Using the residue theorem, compute the real integral I=∫−∞+∞cos⁡(2x)(x2+1)(x2+9) dx.I=\int_{-\infty}^{+\infty}\frac{\cos(2x)}{(x^2+1)(x^2+9)}\,dx. (3 points)
Show the result
  1. z=0z=0 is an essential singularity, z=2z=2 is a simple pole.
  2. Res⁡(f,0)=−2(e−32)=3−2e\operatorname{Res}(f,0)=-2\left(\sqrt e-\tfrac32\right)=3-2\sqrt e, Res⁡(f,2)=2e\operatorname{Res}(f,2)=2\sqrt e.
  3. ∮∣z∣=1f dz=2πi (3−2e)\displaystyle\oint_{|z|=1}f\,dz=2\pi i\,(3-2\sqrt e), ∮∣z∣=3f dz=6πi\displaystyle\oint_{|z|=3}f\,dz=6\pi i.
  4. I=π24(3e−2−e−6)≈0.0528I=\dfrac\pi{24}\left(3e^{-2}-e^{-6}\right)\approx0.0528.
Show the full solution

1. Classification (Laurent Series and Isolated SingularitiesA function holomorphic in an annulus has a unique Laurent expansion with positive and negative powers, which differs from annulus to annulus; isolated singularities are classified as removable, poles of order m or essential according to the principal part, and zeros and poles are linked through the order of vanishing.Laurent Series and Isolated Singularities →). The only points where ff fails to be holomorphic are z=0z=0 (where e1/ze^{1/z} is not defined) and z=2z=2 (where the denominator vanishes): both are isolated.

  • At z=2z=2. The numerator z e1/zz\,e^{1/z} is holomorphic near 22 and does not vanish there (it is 2e1/2≠02e^{1/2}\ne0), while the denominator has a simple zero: ff has a simple pole.
  • At z=0z=0. z e1/z=z+1+12z+16z2+⋯z\,e^{1/z}=z+1+\frac1{2z}+\frac1{6z^2}+\cdots has infinitely many negative powers. The factor 1z−2\frac1{z-2} is holomorphic at 00 with value −12≠0-\frac12\ne0; if ff had a removable singularity or a pole at 00, then z e1/z=(z−2)f(z)z\,e^{1/z}=(z-2)f(z) would too, which is false. So z=0z=0 is an essential singularity.

2. Laurent series in 0<∣z∣<20<|z|<2 (The Residue TheoremThe residue of f at an isolated singularity is the coefficient of 1/(z - z0) in its Laurent series, computed by limit formulas at poles, and the residue theorem says that the integral over a closed curve is 2 pi i times the sum of the residues inside; it also evaluates real improper integrals of rational functions, trigonometric integrals and integrals with exponentials via Jordan's lemma, and underlies the argument principle.The Residue Theorem →, section on residues at essential singularities: there is no limit formula, one multiplies the series). In this annulus the two factors expand as

z e1/z=∑k=0∞z1−kk!,1z−2=−12⋅11−z/2=−12∑n=0∞zn2n(∣z∣<2),z\,e^{1/z}=\sum_{k=0}^{\infty}\frac{z^{1-k}}{k!},\qquad\frac1{z-2}=-\frac12\cdot\frac1{1-z/2}=-\frac12\sum_{n=0}^{\infty}\frac{z^n}{2^n}\quad(|z|<2),

so f(z)=−12(∑k≥0z1−kk!)(∑n≥0zn2n)f(z)=-\dfrac12\left(\displaystyle\sum_{k\ge0}\frac{z^{1-k}}{k!}\right)\left(\sum_{n\ge0}\frac{z^n}{2^n}\right). In the product the term z−1z^{-1} arises from the pairs (k,n)(k,n) with 1−k+n=−11-k+n=-1, i.e. k=n+2k=n+2 (for each n≥0n\ge0 exactly one kk). Therefore

a−1=−12∑n=0∞12n (n+2)!=−∑m=2∞2−(m−1)m!  (m=n+2) =−2∑m=2∞(1/2)mm!.a_{-1}=-\frac12\sum_{n=0}^{\infty}\frac1{2^n\,(n+2)!}=-\sum_{m=2}^{\infty}\frac{2^{-(m-1)}}{m!}\ \ (m=n+2)\ =-2\sum_{m=2}^{\infty}\frac{(1/2)^m}{m!}.

The last sum is the exponential series at 12\frac12 without its first two terms: ∑m≥2(1/2)mm!=e1/2−1−12\sum_{m\ge2}\frac{(1/2)^m}{m!}=e^{1/2}-1-\frac12. Hence

Res⁡(f,0)=a−1=−2(e−32)=3−2e≈−0.297.\operatorname{Res}(f,0)=a_{-1}=-2\left(\sqrt e-\frac32\right)=3-2\sqrt e\approx-0.297.

At the simple pole z=2z=2: Res⁡(f,2)=lim⁡z→2(z−2)f(z)=lim⁡z→2z e1/z=2e\operatorname{Res}(f,2)=\lim_{z\to2}(z-2)f(z)=\lim_{z\to2}z\,e^{1/z}=2\sqrt e. Typical errors: using the limit formula lim⁡z f(z)\lim z\,f(z) at z=0z=0 (it does not exist, since ff is essentially singular there); forgetting that 1z−2\frac1{z-2} expands in positive powers of zz only in ∣z∣<2|z|<2 (in ∣z∣>2|z|>2 the expansion is different).

3. The two integrals. By the residue theorem, ∮f dz=2πi∑Res⁡\oint f\,dz=2\pi i\sum\operatorname{Res} over the singularities inside the curve.

  • ∣z∣=1|z|=1: only z=0z=0 is inside (∣2∣>1|2|>1): ∮∣z∣=1f dz=2πi (3−2e)\oint_{|z|=1}f\,dz=2\pi i\,(3-2\sqrt e).
  • ∣z∣=3|z|=3: both 00 and 22 are inside: ∮∣z∣=3f dz=2πi(3−2e+2e)=6πi\oint_{|z|=3}f\,dz=2\pi i\left(3-2\sqrt e+2\sqrt e\right)=6\pi i.

Independent check of the second one: for ∣z∣>2|z|>2, f(z)=e1/z1−2/z=(1+1z+⋯ )(1+2z+⋯ )=1+3z+⋯f(z)=\dfrac{e^{1/z}}{1-2/z}=\left(1+\frac1z+\cdots\right)\left(1+\frac2z+\cdots\right)=1+\frac3z+\cdots, whose coefficient of 1z\frac1z is 33, so the integral over any large circle is 2πi⋅3=6πi2\pi i\cdot3=6\pi i. The two computations agree.

4. The real integral (The Residue TheoremThe residue of f at an isolated singularity is the coefficient of 1/(z - z0) in its Laurent series, computed by limit formulas at poles, and the residue theorem says that the integral over a closed curve is 2 pi i times the sum of the residues inside; it also evaluates real improper integrals of rational functions, trigonometric integrals and integrals with exponentials via Jordan's lemma, and underlies the argument principle.The Residue Theorem →, section on integrals with exponentials and Jordan's lemma). Write cos⁡(2x)=Re⁡e2ix\cos(2x)=\operatorname{Re}e^{2ix} and consider

∫−∞+∞e2ix(x2+1)(x2+9) dx,\int_{-\infty}^{+\infty}\frac{e^{2ix}}{(x^2+1)(x^2+9)}\,dx,

whose real part is II. The function g(z)=e2iz(z2+1)(z2+9)g(z)=\dfrac{e^{2iz}}{(z^2+1)(z^2+9)} is the product of e2ize^{2iz} (with a=2>0a=2>0) and a rational function with no real poles which tends to 00 at infinity (the denominator has degree 44), so Jordan's lemma lets us discard the upper semicircle and

∫−∞+∞g(x) dx=2πi∑Im⁡zj>0Res⁡(g,zj).\int_{-\infty}^{+\infty}g(x)\,dx=2\pi i\sum_{\operatorname{Im}z_j>0}\operatorname{Res}(g,z_j).

The poles are ±i\pm i and ±3i\pm3i, all simple; those in the upper half-plane are ii and 3i3i. Residues, writing the denominator as (z−z0)(z+z0)×(other factor)(z-z_0)(z+z_0)\times(\text{other factor}):

Res⁡(g,i)=e2i⋅i(i+i) (i2+9)=e−22i⋅8=e−216 i,Res⁡(g,3i)=e2i⋅3i((3i)2+1)(3i+3i)=e−6(−8)(6i)=−e−648 i.\operatorname{Res}(g,i)=\frac{e^{2i\cdot i}}{(i+i)\,(i^2+9)}=\frac{e^{-2}}{2i\cdot8}=\frac{e^{-2}}{16\,i},\qquad\operatorname{Res}(g,3i)=\frac{e^{2i\cdot3i}}{\left((3i)^2+1\right)(3i+3i)}=\frac{e^{-6}}{(-8)(6i)}=-\frac{e^{-6}}{48\,i}.

Then

∫−∞+∞g(x) dx=2πi(e−216 i−e−648 i)=2π(e−216−e−648)=π24(3e−2−e−6),\int_{-\infty}^{+\infty}g(x)\,dx=2\pi i\left(\frac{e^{-2}}{16\,i}-\frac{e^{-6}}{48\,i}\right)=2\pi\left(\frac{e^{-2}}{16}-\frac{e^{-6}}{48}\right)=\frac\pi{24}\left(3e^{-2}-e^{-6}\right),

which is real. Its real part is II, and its imaginary part ∫sin⁡(2x)(x2+1)(x2+9)dx\int\frac{\sin(2x)}{(x^2+1)(x^2+9)}dx is 00 because the integrand is odd, consistently with the result being real:

I=π24(3e−2−e−6)≈0.0528.I=\frac\pi{24}\left(3e^{-2}-e^{-6}\right)\approx0.0528.

Typical errors: including the poles of the lower half-plane; forgetting the factor ii that cancels in 2πi⋅1i2\pi i\cdot\frac1{i} (if an ii remains, there is a mistake); and, for a=2a=2, using eize^{iz} instead of e2ize^{2iz}, which would give e−1e^{-1} and e−3e^{-3} in place of e−2e^{-2} and e−6e^{-6}.

Self-assessment grid
Exercise Points What must be there for full marks Typical errors
1 9 Continuity by the polar bound 3r3r (2). Partials and Dvf(0,0)=cos⁡3α−2sin⁡3αD_{\mathbf v}f(0,0)=\cos^3\alpha-2\sin^3\alpha computed with the definition (3). Non-differentiability proved, either with the gradient formula along α=π/4\alpha=\pi/4 or with the limit of the quotient equal to 2/4\sqrt2/4 (2). C1C^1 outside the origin, ∇f(1,1)=(2,−5/2)\nabla f(1,1)=(2,-5/2) and the plane z=2x−52yz=2x-\frac52y (2). Checking continuity only along lines; deducing differentiability from the partial derivatives; using ∇f⋅v\nabla f\cdot\mathbf v at the origin without proof; using the gradient at (0,0)(0,0) in the plane at (1,1)(1,1).
2 8 Area 2π\sqrt2\pi and ∬Tz dσ=22π\iint_Tz\,d\sigma=2\sqrt2\pi with the factor 2\sqrt2 (2). div⁡F=4z\operatorname{div}\mathbf F=4z and total flux 17π2\frac{17\pi}2 in cylindrical coordinates (3). Fluxes 4π4\pi on TT, 00 on BB, 9π2\frac{9\pi}2 on LL by difference and directly (3). Forgetting ∣N∣\lvert\mathbf N\rvert; inward normal; leaving out one face of the boundary; wrong zz bound (2+ρsin⁡θ2+\rho\sin\theta); sign of the normal on BB.
3 8 Vertices and sketch; bijection onto R=[1,4]×[1,3]R=[1,4]\times[1,3] and Jacobian 2v2v (3). Area 32ln⁡3\frac32\ln3 with dx dy=du dv2vdx\,dy=\frac{du\,dv}{2v} (2). Integral 1010 after writing x2+y2=u(v+1v)x^2+y^2=u(v+\frac1v) (3). Multiplying by 2v2v instead of dividing; wrong limits of uu, vv; not expressing x2+y2x^2+y^2 in u,vu,v; arithmetic slips in ∫13(1+v−2)dv=83\int_1^3(1+v^{-2})dv=\frac83.
4 8 Essential singularity at 00 and simple pole at 22 with the argument (1). Cauchy product, Res⁡(f,0)=3−2e\operatorname{Res}(f,0)=3-2\sqrt e and Res⁡(f,2)=2e\operatorname{Res}(f,2)=2\sqrt e (3). 2πi(3−2e)2\pi i(3-2\sqrt e) and 6πi6\pi i, choosing the singularities inside the curve (1). Real integral with Jordan's lemma, poles ii and 3i3i only, value π24(3e−2−e−6)\frac\pi{24}(3e^{-2}-e^{-6}) (3). Limit formula for the residue at the essential singularity; summing residues outside the curve; poles of the lower half-plane; wrong exponent in e2ize^{2iz}; leaving an ii in the result.

Total: 33 points. For extra practice on the same topics see the notes linked in each solution.