Salta al contenuto
Note per Studenti Change of Variables and Polar Coordinates Report

Change of Variables and Polar Coordinates

In questa pagina 4

Prerequisite: 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 →. Next: 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 →.

A double integral over a complicated domain or with a complicated integrand often becomes simple after a change of coordinates.

The change of variables theorem

Let Φ\Phi map a domain DuvD_{uv} of the (u,v)(u,v) plane onto DxyD_{xy}, with x=ϕ(u,v)x=\phi(u,v), y=ψ(u,v)y=\psi(u,v).

Theorem. If Φ:Duv→Dxy\Phi:D_{uv}\to D_{xy} is of class C1C^1, one-to-one and its Jacobian matrix JJ is invertible (each of the three conditions may fail on a set of zero area, e.g. a boundary segment), and ff is continuous, then ∬Dxyf(x,y) dx dy=∬Duvf(ϕ(u,v),ψ(u,v)) ∣det⁡J(u,v)∣ du dv,\iint_{D_{xy}}f(x,y)\,dx\,dy=\iint_{D_{uv}}f(\phi(u,v),\psi(u,v))\,|\det J(u,v)|\,du\,dv, where J=(∂x∂u∂x∂v∂y∂u∂y∂v)J=\begin{pmatrix}\frac{\partial x}{\partial u}&\frac{\partial x}{\partial v}\\\frac{\partial y}{\partial u}&\frac{\partial y}{\partial v}\end{pmatrix}.

Example: x=u+vx=u+v, y=u−vy=u-v gives det⁡J=det⁡(111−1)=−2\det J=\det\begin{pmatrix}1&1\\1&-1\end{pmatrix}=-2, so dx dy=2 du dvdx\,dy=2\,du\,dv: the square [0,1]2[0,1]^2 of the uvuv plane is mapped to a region of area 22.

The factor ∣det⁡J∣|\det J| is the local scale factor: the transformation deforms the infinitesimal area du dvdu\,dv into dx dydx\,dy. It is the analogue of φ′(t)dt\varphi'(t)dt in one-variable substitution; the absolute value appears because areas are positive (in one variable a negative sign is absorbed by swapping the limits).

Why the determinant. A linear map (x,y)=A(u,v)(x,y)=A(u,v) sends the unit square to the parallelogram spanned by the columns of AA, of area ∣det⁡A∣|\det A|, so it multiplies all areas by ∣det⁡A∣|\det A|. A nonlinear map near a point behaves like its linear part J(u,v)J(u,v) (it is differentiable), so a small rectangle of area du dvdu\,dv becomes approximately a parallelogram of area ∣det⁡J∣ du dv|\det J|\,du\,dv, with a factor varying from point to point.

Linear maps

Parallelogram. u=3x−2yu=3x-2y, v=x+yv=x+y: the matrix (3−211)\begin{pmatrix}3&-2\\1&1\end{pmatrix} has determinant 3+2=53+2=5, so the unit square becomes a parallelogram of area 55: du dv=5 dx dydu\,dv=5\,dx\,dy, and conversely dx dy=15du dvdx\,dy=\frac15du\,dv (inverse maps have reciprocal determinants).

Area of an ellipse. E={x2a2+y2b2≤1}E=\{\frac{x^2}{a^2}+\frac{y^2}{b^2}\le1\}. With x=aux=au, y=bvy=bv the ellipse becomes the unit disc and det⁡J=ab\det J=ab: Area(E)=∬u2+v2≤1ab du dv=πab\text{Area}(E)=\iint_{u^2+v^2\le1}ab\,du\,dv=\pi ab (for a=b=Ra=b=R: πR2\pi R^2).

A nonlinear example

∬[0,1]2x2y dx dy\iint_{[0,1]^2}x^2y\,dx\,dy with u=xu=x, v=xyv=xy (direct value 13⋅12=16\frac13\cdot\frac12=\frac16; the aim is to show the method).

  1. Jacobian of (x,y)↦(u,v)(x,y)\mapsto(u,v): det⁡(10yx)=x\det\begin{pmatrix}1&0\\y&x\end{pmatrix}=x, so du dv=x dx dydu\,dv=x\,dx\,dy, i.e. dx dy=1u du dvdx\,dy=\frac1u\,du\,dv.
  2. Integrand: x2y=x⋅xy=uvx^2y=x\cdot xy=uv; times 1u\frac1u gives vv.
  3. Domain: x=1→u=1x=1\to u=1; y=0→v=0y=0\to v=0; y=1→v=uy=1\to v=u; the side x=0x=0 collapses to the origin. The square becomes the triangle {0≤v≤u≤1}\{0\le v\le u\le1\}.
  4. ∫01 ⁣∫v1v du dv=∫01v(1−v)dv=12−13=16\int_0^1\!\int_v^1v\,du\,dv=\int_0^1v(1-v)dv=\frac12-\frac13=\frac16.

Polar coordinates

For circular, elliptical or radially symmetric domains polar coordinates are the most efficient choice: x=rcos⁡θ,y=rsin⁡θ,r≥0, θ∈[0,2π],x=r\cos\theta,\quad y=r\sin\theta,\qquad r\ge0,\ \theta\in[0,2\pi], with r=x2+y2r=\sqrt{x^2+y^2} the distance from the origin and θ\theta the counterclockwise angle from the positive xx semi-axis. The Jacobian is det⁡J=det⁡(cos⁡θ−rsin⁡θsin⁡θrcos⁡θ)=r(cos⁡2θ+sin⁡2θ)=r,\det J=\det\begin{pmatrix}\cos\theta&-r\sin\theta\\\sin\theta&r\cos\theta\end{pmatrix}=r(\cos^2\theta+\sin^2\theta)=r, so dA=r dr dθdA=r\,dr\,d\theta.

Geometrically, the small rectangle [r,r+dr]×[θ,θ+dθ][r,r+dr]\times[\theta,\theta+d\theta] becomes a piece of annulus with sides drdr (radial) and r dθr\,d\theta (arc of radius rr): farther from the origin the arc is longer, hence the factor rr. The map is not injective at r=0r=0 and at θ=0,2π\theta=0,2\pi, but these sets have zero area.

Domains that become rectangles:

  • disc centred at the origin, radius RR: 0≤r≤R0\le r\le R, 0≤θ≤2π0\le\theta\le2\pi;
  • annulus R12≤x2+y2≤R22R_1^2\le x^2+y^2\le R_2^2: R1≤r≤R2R_1\le r\le R_2;
  • sector between two rays: θ1≤θ≤θ2\theta_1\le\theta\le\theta_2; e.g. {x2+y2≤1, 0≤y≤x}\{x^2+y^2\le1,\ 0\le y\le x\} is 0≤r≤10\le r\le1, 0≤θ≤π40\le\theta\le\frac\pi4.

A disc not centred at the origin is not a rectangle: the disc of centre (a,0)(a,0) and radius aa, x2+y2≤2axx^2+y^2\le2ax, becomes r2≤2arcos⁡θr^2\le2ar\cos\theta, i.e. 0≤r≤2acos⁡θ0\le r\le2a\cos\theta, −π2≤θ≤π2-\frac\pi2\le\theta\le\frac\pi2.

Area of a disc. ∫02π ⁣∫0Rr dr dθ=2π⋅R22=πR2\int_0^{2\pi}\!\int_0^Rr\,dr\,d\theta=2\pi\cdot\frac{R^2}2=\pi R^2.

Quarter disc. ∬D(1−x2−y2) dx dy\iint_D(1-x^2-y^2)\,dx\,dy on the unit quarter disc in the first quadrant: in polar form the integrand is 1−r21-r^2, 0≤r≤10\le r\le1, 0≤θ≤π20\le\theta\le\frac\pi2: ∫0π/2 ⁣ ⁣∫01(1−r2) r dr dθ=π2[r22−r44]01=π8.\int_0^{\pi/2}\!\!\int_0^1(1-r^2)\,r\,dr\,d\theta=\frac\pi2\left[\frac{r^2}2-\frac{r^4}4\right]_0^1=\frac\pi8. This is the volume under the paraboloid z=1−x2−y2z=1-x^2-y^2 in the first quadrant. In Cartesian coordinates (limits 0≤y≤1−x20\le y\le\sqrt{1-x^2}) it would be much harder.

Physical applications

  • Mass of a lamina of surface density δ\delta: M=∬Rδ dAM=\iint_R\delta\,dA.
  • Centre of mass: xcm=1M∬Rx δ dAx_{cm}=\frac1M\iint_Rx\,\delta\,dA, ycm=1M∬Ry δ dAy_{cm}=\frac1M\iint_Ry\,\delta\,dA.
  • Mean value of ff on RR: fˉ=1Area(R)∬Rf dA\bar f=\frac1{\text{Area}(R)}\iint_Rf\,dA; the geometric centroid (constant density) is the mean of the coordinates.
  • Moment of inertia about the origin (axis perpendicular to the plane): I0=∬R(x2+y2)δ dA=∬Rr2δ r dr dθI_0=\iint_R(x^2+y^2)\delta\,dA=\iint_Rr^2\delta\,r\,dr\,d\theta. About the xx axis the distance from that axis counts: Ix=∬Ry2δ dAI_x=\iint_Ry^2\delta\,dA.

Example: disc of radius aa, δ=1\delta=1, about the centre: I0=∫02π ⁣∫0ar2⋅r dr dθ=2πa44=πa42I_0=\int_0^{2\pi}\!\int_0^ar^2\cdot r\,dr\,d\theta=2\pi\frac{a^4}4=\frac{\pi a^4}2.

Common mistakes

  • Forgetting the factor rr: in polar coordinates dAdA is always r dr dθr\,dr\,d\theta, never dr dθdr\,d\theta.
  • Omitting the absolute value of the Jacobian: for general maps the determinant can be negative.
  • Limits: if the domain is a translated disc, rr ranges up to a function of θ\theta, not a constant.
  • Centre of mass: it must be computed with weighted means of xx and yy, not by averaging rr and θ\theta.

Versione ripasso

Theorem. If Φ:Duv→Dxy\Phi:D_{uv}\to D_{xy} is C1C^1, one-to-one, with JJ invertible (up to zero-area sets) and ff continuous: ∬Dxyf dx dy=∬Duvf(ϕ,ψ) ∣det⁡J∣ du dv,J=(xuxvyuyv).\iint_{D_{xy}}f\,dx\,dy=\iint_{D_{uv}}f(\phi,\psi)\,|\det J|\,du\,dv,\quad J=\begin{pmatrix}x_u&x_v\\y_u&y_v\end{pmatrix}. ∣det⁡J∣|\det J| is the local area scale factor.

  • x=u+vx=u+v, y=u−vy=u-v: det⁡J=−2\det J=-2, dx dy=2 du dvdx\,dy=2\,du\,dv.
  • u=3x−2yu=3x-2y, v=x+yv=x+y: det⁡=5\det=5, dx dy=15du dvdx\,dy=\frac15du\,dv (inverse maps, reciprocal determinants).
  • Ellipse, x=aux=au, y=bvy=bv: det⁡J=ab\det J=ab, area πab\pi ab.

Nonlinear example. ∬[0,1]2x2y\iint_{[0,1]^2}x^2y with u=xu=x, v=xyv=xy: dx dy=1u du dvdx\,dy=\frac1u\,du\,dv, integrand uv⋅1u=vuv\cdot\frac1u=v, domain {0≤v≤u≤1}\{0\le v\le u\le1\}, ∫01v(1−v)dv=16\int_0^1v(1-v)dv=\frac16.

Polar coordinates. x=rcos⁡θx=r\cos\theta, y=rsin⁡θy=r\sin\theta, det⁡J=r\det J=r, dA=r dr dθdA=r\,dr\,d\theta.

  • Disc: 0≤r≤R0\le r\le R, 0≤θ≤2π0\le\theta\le2\pi, area πR2\pi R^2.
  • Annulus: R1≤r≤R2R_1\le r\le R_2. Sector: θ1≤θ≤θ2\theta_1\le\theta\le\theta_2 ({x2+y2≤1,0≤y≤x}\{x^2+y^2\le1,0\le y\le x\}: θ∈[0,π4]\theta\in[0,\frac\pi4]).
  • Translated disc x2+y2≤2axx^2+y^2\le2ax: 0≤r≤2acos⁡θ0\le r\le2a\cos\theta, −π2≤θ≤π2-\frac\pi2\le\theta\le\frac\pi2.
  • Quarter disc: ∬(1−x2−y2)=∫0π/2∫01(1−r2)r dr dθ=π8\iint(1-x^2-y^2)=\int_0^{\pi/2}\int_0^1(1-r^2)r\,dr\,d\theta=\frac\pi8.

Applications. M=∬δ dAM=\iint\delta\,dA; xcm=1M∬xδ dAx_{cm}=\frac1M\iint x\delta\,dA; I0=∬(x2+y2)δ dA=∬r2δ r dr dθI_0=\iint(x^2+y^2)\delta\,dA=\iint r^2\delta\,r\,dr\,d\theta. Disc of radius aa, δ=1\delta=1: I0=πa42I_0=\frac{\pi a^4}2.

Typical errors. Missing rr; Jacobian without absolute value; translated disc with constant rr; averaging rr and θ\theta for the centre of mass.

Teoria collegata