Salta al contenuto
Note per Studenti Integrals of Powers of Sine and Cosine and Irrational Functions Report

Integrals of Powers of Sine and Cosine and Irrational Functions

In questa pagina 3

Prerequisites: Integration Techniques - Immediate Integrals, Substitution and Integration by PartsImmediate integrals come from reading the table of derivatives backwards; there are no integration rules like those for derivatives, only methods: linearity, substitution (the chain rule read backwards) and integration by parts (the product rule read backwards, used for log x, arcsin x, arctan x, squares of sine and cosine, and products such as x^n e^(ax) or e^(ax) sin(bx)).Integration Techniques - Immediate Integrals, Substitution and Integration by Parts →, Integration of Rational Functions and Reducing SubstitutionsFor the integral of P(x)/Q(x) with deg P < deg Q: degree 1 denominator gives a logarithm; degree 2 denominator is handled by partial fractions (discriminant positive), a substitution (zero) or completing the square (negative, logarithm plus arctangent); if deg P >= deg Q divide first. Many other integrals become rational with a substitution: functions of e^x, of e^x and e^(-x), and rational functions of sin x and cos x with t = tan(x/2).Integration of Rational Functions and Reducing Substitutions →.

Powers of sine and cosine

∫cos⁡nx sin⁡mx dx,n,m∈N.\int\cos^nx\,\sin^mx\,dx, \qquad n, m \in \mathbb{N}. The strategy depends on the parity of the exponents.

Case 1: at least one odd exponent

If mm is odd, detach one factor sin⁡x\sin x; what remains, sin⁡m−1x\sin^{m-1}x, is an even power, written with the cosine through sin⁡2x=1−cos⁡2x\sin^2x = 1 - \cos^2x: ∫cos⁡nx sin⁡mx dx=∫cos⁡nx (1−cos⁡2x)m−12sin⁡x dx.\int\cos^nx\,\sin^mx\,dx = \int\cos^nx\,(1 - \cos^2x)^{\frac{m-1}2}\sin x\,dx. Now it is "a function of cos⁡x\cos x times sin⁡x\sin x" (the derivative of cos⁡x\cos x up to sign): put y=cos⁡xy = \cos x, dy=−sin⁡x dxdy = -\sin x\,dx, and a polynomial in yy remains. If instead nn is odd, detach a cos⁡x\cos x, use cos⁡2x=1−sin⁡2x\cos^2x = 1 - \sin^2x and put y=sin⁡xy = \sin x, dy=cos⁡x dxdy = \cos x\,dx.

Example. ∫sin⁡3x dx=∫(1−cos⁡2x)sin⁡x dx\int\sin^3x\,dx = \int(1 - \cos^2x)\sin x\,dx; with y=cos⁡xy = \cos x, sin⁡x dx=−dy\sin x\,dx = -dy: −∫(1−y2) dy=−y+y33+k=−cos⁡x+13cos⁡3x+k.-\int(1 - y^2)\,dy = -y + \frac{y^3}{3} + k = -\cos x + \frac13\cos^3x + k.

Case 2: both exponents even

Use the half-angle formulas (from cos⁡2x=2cos⁡2x−1=1−2sin⁡2x\cos2x = 2\cos^2x - 1 = 1 - 2\sin^2x): cos⁡2x=1+cos⁡2x2,sin⁡2x=1−cos⁡2x2.\cos^2x = \frac{1 + \cos2x}{2}, \qquad \sin^2x = \frac{1 - \cos2x}{2}. Example. ∫cos⁡2x dx=x2+sin⁡2x4+k\int\cos^2x\,dx = \frac x2 + \frac{\sin2x}4 + k.

The degree halves (at the price of cos⁡2x\cos2x in place of cos⁡x\cos x); repeat until known integrals or odd powers are reached.

Example. cos⁡4x=(1+cos⁡2x2)2=14(1+2cos⁡2x+cos⁡22x)\cos^4x = \left(\frac{1 + \cos2x}{2}\right)^2 = \frac14(1 + 2\cos2x + \cos^22x), so ∫cos⁡4x dx=x4+12∫cos⁡2x dx+14∫cos⁡22x dx.\int\cos^4x\,dx = \frac x4 + \frac12\int\cos2x\,dx + \frac14\int\cos^22x\,dx.

  • ∫cos⁡2x dx=12sin⁡2x\int\cos2x\,dx = \frac12\sin2x (with y=2xy = 2x, dx=12dydx = \frac12dy).
  • ∫cos⁡22x dx=12∫cos⁡2y dy=12⋅y+sin⁡ycos⁡y2=2x+sin⁡2xcos⁡2x4\int\cos^22x\,dx = \frac12\int\cos^2y\,dy = \frac12\cdot\frac{y + \sin y\cos y}2 = \frac{2x + \sin2x\cos2x}{4}.

∫cos⁡4x dx=x4+14sin⁡2x+116(2x+sin⁡2xcos⁡2x)+k=38x+14sin⁡2x+132sin⁡4x+k\int\cos^4x\,dx = \frac x4 + \frac14\sin2x + \frac1{16}(2x + \sin2x\cos2x) + k = \frac38x + \frac14\sin2x + \frac1{32}\sin4x + k (using x4+x8=38x\frac x4 + \frac x8 = \frac38x and sin⁡2xcos⁡2x=12sin⁡4x\sin2x\cos2x = \frac12\sin4x).

Exponents Method
mm odd detach sin⁡x\sin x, write sin⁡m−1\sin^{m-1} with 1−cos⁡21 - \cos^2, y=cos⁡xy = \cos x
nn odd detach cos⁡x\cos x, write cos⁡n−1\cos^{n-1} with 1−sin⁡21 - \sin^2, y=sin⁡xy = \sin x
both even half-angle: cos⁡2=1+cos⁡2x2\cos^2 = \frac{1 + \cos2x}{2}, sin⁡2=1−cos⁡2x2\sin^2 = \frac{1 - \cos2x}{2}

Irrational functions

1. Roots of xx (or x+ax + a) of different index

∫R(xn,xm)dx,∫R(x+an,x+am)dx.\int R\left(\sqrt[n]x, \sqrt[m]x\right)dx, \qquad \int R\left(\sqrt[n]{x + a}, \sqrt[m]{x + a}\right)dx. Put y=xNy = \sqrt[N]x (or x+aN\sqrt[N]{x + a}) with N=lcm{n,m}N = \text{lcm}\{n, m\}. Then x=yNx = y^N, dx=NyN−1 dydx = Ny^{N-1}\,dy and all roots become integer powers of yy (xn=yN/n\sqrt[n]x = y^{N/n}, Nn\frac Nn an integer): the integral is rational in yy.

Example. ∫x+5x+2x dx\int\frac{\sqrt x + 5}{x + 2\sqrt x}\,dx: N=2N = 2, y=xy = \sqrt x, dx=2y dydx = 2y\,dy: ∫y+5y2+2y⋅2y dy=2∫[1+3y+2]dy=2x+6log⁡(x+2)+k.\int\frac{y + 5}{y^2 + 2y}\cdot2y\,dy = 2\int\left[1 + \frac3{y + 2}\right]dy = 2\sqrt x + 6\log(\sqrt x + 2) + k.

2. ∫dxax2+bx+c\int\frac{dx}{\sqrt{ax^2 + bx + c}}

Complete the square and make a linear substitution to reach an immediate integral:

Case Reduces to Result
a<0a < 0, Δ>0\Delta > 0 ∫dy1−y2\int\frac{dy}{\sqrt{1 - y^2}} arcsin⁡y+k\arcsin y + k
a>0a > 0, Δ<0\Delta < 0 ∫dyy2+1\int\frac{dy}{\sqrt{y^2 + 1}} log⁡(y+y2+1)+k\log\left(y + \sqrt{y^2 + 1}\right) + k
a>0a > 0, Δ>0\Delta > 0 ∫dyy2−1\int\frac{dy}{\sqrt{y^2 - 1}} log⁡(y+y2−1)+k\log\left(y + \sqrt{y^2 - 1}\right) + k (y>1y > 1)

(With a<0a < 0 and Δ<0\Delta < 0 the radicand is always negative.)

Example. ∫dx3−2x−x2\int\frac{dx}{\sqrt{3 - 2x - x^2}}: 3−2x−x2=4−(x+1)2=4[1−(x+12)2]3 - 2x - x^2 = 4 - (x + 1)^2 = 4\left[1 - \left(\frac{x + 1}2\right)^2\right]. With y=x+12y = \frac{x + 1}2, dx=2 dydx = 2\,dy: ∫2 dy21−y2=arcsin⁡x+12+k\int\frac{2\,dy}{2\sqrt{1 - y^2}} = \arcsin\frac{x + 1}2 + k.

3. ∫ax2+bx+c dx\int\sqrt{ax^2 + bx + c}\,dx

Completing the square reduces to one of ∫R2−x2 dx (a<0,Δ>0),∫x2+R2 dx (a>0,Δ<0),∫x2−R2 dx (a>0,Δ>0),\int\sqrt{R^2 - x^2}\,dx\ (a < 0, \Delta > 0), \quad \int\sqrt{x^2 + R^2}\,dx\ (a > 0, \Delta < 0), \quad \int\sqrt{x^2 - R^2}\,dx\ (a > 0, \Delta > 0), which are not immediate. Use the substitution "backwards" x=f(t)x = f(t), ff invertible, chosen so that the root disappears:

Integral Substitution Relation used
R2−x2\sqrt{R^2 - x^2} x=Rsin⁡tx = R\sin t, t∈[−π2,π2]t \in [-\frac\pi2, \frac\pi2] 1−sin⁡2t=cos⁡2t1 - \sin^2t = \cos^2t
x2+R2\sqrt{x^2 + R^2} x=Rsinh⁡tx = R\sinh t sinh⁡2t+1=cosh⁡2t\sinh^2t + 1 = \cosh^2t
x2−R2\sqrt{x^2 - R^2} x=Rcosh⁡tx = R\cosh t, t≥0t \ge 0 cosh⁡2t−1=sinh⁡2t\cosh^2t - 1 = \sinh^2t

∫R2−x2 dx\int\sqrt{R^2 - x^2}\,dx (R>0R > 0, −R≤x≤R-R \le x \le R). With x=Rsin⁡tx = R\sin t, dx=Rcos⁡t dtdx = R\cos t\,dt, t=arcsin⁡xR∈[−π2,π2]t = \arcsin\frac xR \in [-\frac\pi2, \frac\pi2] where cos⁡t≥0\cos t \ge 0, so 1−sin⁡2t=cos⁡t\sqrt{1 - \sin^2t} = \cos t: R2∫cos⁡2t dt=R2⋅t+sin⁡tcos⁡t2+k.R^2\int\cos^2t\,dt = R^2\cdot\frac{t + \sin t\cos t}2 + k. Returning to xx (sin⁡t=xR\sin t = \frac xR, cos⁡t=1−x2R2\cos t = \sqrt{1 - \frac{x^2}{R^2}}): ∫R2−x2 dx=12(R2arcsin⁡xR+xR2−x2)+k.\int\sqrt{R^2 - x^2}\,dx = \frac12\left(R^2\arcsin\frac xR + x\sqrt{R^2 - x^2}\right) + k. Example. ∫024−x2 dx=π\int_0^2\sqrt{4 - x^2}\,dx = \pi, the area of a quarter of a disc of radius 22.

Area of the circle. The disc x2+y2≤R2x^2 + y^2 \le R^2: the quarter in the first quadrant is the trapezoid of f(x)=R2−x2f(x) = \sqrt{R^2 - x^2} on [0,R][0, R], so ∣C∣=4∫0RR2−x2 dx|C| = 4\int_0^R\sqrt{R^2 - x^2}\,dx. With x=Rsin⁡tx = R\sin t change the limits: x=0⇒t=0x = 0 \Rightarrow t = 0, x=R⇒t=π2x = R \Rightarrow t = \frac\pi2: ∣C∣=4R2∫0π/2cos⁡2t dt=4R2[t+sin⁡tcos⁡t2]0π/2=πR2.|C| = 4R^2\int_0^{\pi/2}\cos^2t\,dt = 4R^2\left[\frac{t + \sin t\cos t}2\right]_0^{\pi/2} = \pi R^2.

∫x2+R2 dx\int\sqrt{x^2 + R^2}\,dx. x=Rsinh⁡tx = R\sinh t, dx=Rcosh⁡t dtdx = R\cosh t\,dt, sinh⁡2t+1=cosh⁡t\sqrt{\sinh^2t + 1} = \cosh t: R2∫cosh⁡2t dt=R22(xR1+x2R2+arsinhxR)+k.R^2\int\cosh^2t\,dt = \frac{R^2}2\left(\frac xR\sqrt{1 + \frac{x^2}{R^2}} + \mathrm{arsinh}\frac xR\right) + k.

∫x2−R2 dx\int\sqrt{x^2 - R^2}\,dx (x≥Rx \ge R). x=Rcosh⁡tx = R\cosh t, t≥0t \ge 0, dx=Rsinh⁡t dtdx = R\sinh t\,dt, cosh⁡2t−1=sinh⁡t\sqrt{\cosh^2t - 1} = \sinh t: R2∫sinh⁡2t dt=R22(xRx2R2−1−arcoshxR)+k.R^2\int\sinh^2t\,dt = \frac{R^2}2\left(\frac xR\sqrt{\frac{x^2}{R^2} - 1} - \mathrm{arcosh}\frac xR\right) + k.

Common mistakes

  • Using the half-angle formulas when an exponent is odd: it works but is much longer.
  • Forgetting the factor 12\frac12 when integrating cos⁡2x\cos2x (y=2xy = 2x, dx=12dydx = \frac12dy).
  • Forgetting to substitute dxdx with NyN−1 dyNy^{N-1}\,dy (or Rcos⁡t dtR\cos t\,dt, etc.).
  • Removing the absolute value without justification: cos⁡2t=∣cos⁡t∣\sqrt{\cos^2t} = |\cos t|, equal to cos⁡t\cos t only because t∈[−π2,π2]t \in [-\frac\pi2, \frac\pi2].
  • In definite integrals, not changing the limits after the substitution.

Versione ripasso

∫cos⁡nxsin⁡mx dx\int\cos^nx\sin^mx\,dx.

  • mm odd: detach sin⁡x\sin x, sin⁡m−1=(1−cos⁡2)(m−1)/2\sin^{m-1} = (1 - \cos^2)^{(m-1)/2}, y=cos⁡xy = \cos x. Example: ∫sin⁡3x=−cos⁡x+13cos⁡3x+k\int\sin^3x = -\cos x + \frac13\cos^3x + k. nn odd: detach cos⁡x\cos x, y=sin⁡xy = \sin x.
  • Both even: cos⁡2=1+cos⁡2x2\cos^2 = \frac{1 + \cos2x}2, sin⁡2=1−cos⁡2x2\sin^2 = \frac{1 - \cos2x}2, repeat. Example: ∫cos⁡4x=38x+14sin⁡2x+132sin⁡4x+k\int\cos^4x = \frac38x + \frac14\sin2x + \frac1{32}\sin4x + k.
  • Do not use half-angle with an odd exponent; remember the factor 12\frac12 from y=2xy = 2x.

Irrational integrals.

  1. Roots of xx of different index: y=xNy = \sqrt[N]x, N=lcmN = \text{lcm}, dx=NyN−1dydx = Ny^{N-1}dy. Example: ∫x+5x+2x=2x+6log⁡(x+2)\int\frac{\sqrt x + 5}{x + 2\sqrt x} = 2\sqrt x + 6\log(\sqrt x + 2).
  2. ∫dxax2+bx+c\int\frac{dx}{\sqrt{ax^2 + bx + c}}: complete the square; a<0a < 0, Δ>0\Delta > 0 gives arcsin⁡\arcsin; a>0a > 0, Δ<0\Delta < 0 gives log⁡(y+y2+1)\log(y + \sqrt{y^2 + 1}); a>0a > 0, Δ>0\Delta > 0 gives log⁡(y+y2−1)\log(y + \sqrt{y^2 - 1}). Example: ∫dx3−2x−x2=arcsin⁡x+12\int\frac{dx}{\sqrt{3 - 2x - x^2}} = \arcsin\frac{x + 1}2.
  3. ∫ax2+bx+c\int\sqrt{ax^2 + bx + c}: complete the square, then
    • R2−x2\sqrt{R^2 - x^2}: x=Rsin⁡tx = R\sin t, giving 12(R2arcsin⁡xR+xR2−x2)\frac12(R^2\arcsin\frac xR + x\sqrt{R^2 - x^2});
    • x2+R2\sqrt{x^2 + R^2}: x=Rsinh⁡tx = R\sinh t, giving R22(xR1+x2R2+arsinhxR)\frac{R^2}2(\frac xR\sqrt{1 + \frac{x^2}{R^2}} + \mathrm{arsinh}\frac xR);
    • x2−R2\sqrt{x^2 - R^2}: x=Rcosh⁡tx = R\cosh t, giving R22(xRx2R2−1−arcoshxR)\frac{R^2}2(\frac xR\sqrt{\frac{x^2}{R^2} - 1} - \mathrm{arcosh}\frac xR).

Area of the circle. ∣C∣=4∫0RR2−x2 dx=4R2∫0π/2cos⁡2t dt=4R2[t+sin⁡tcos⁡t2]0π/2=πR2|C| = 4\int_0^R\sqrt{R^2 - x^2}\,dx = 4R^2\int_0^{\pi/2}\cos^2t\,dt = 4R^2\left[\frac{t + \sin t\cos t}2\right]_0^{\pi/2} = \pi R^2 (limits change to 00 and π2\frac\pi2). Also ∫024−x2=π\int_0^2\sqrt{4 - x^2} = \pi.

Typical mistakes. Unconverted dxdx; dropping ∣cos⁡t∣|\cos t| without checking the range; not changing limits in definite integrals.

Teoria collegata