Salta al contenuto
Note per Studenti Integration Techniques - Immediate Integrals, Substitution and Integration by Parts Report

Integration Techniques - Immediate Integrals, Substitution and Integration by Parts

In questa pagina 4

Prerequisites: Antiderivatives and the Fundamental Theorem of CalculusAn antiderivative (primitive) of f is a function G with G' = f; two antiderivatives differ by a constant and the indefinite integral is the set of all of them. The integral function F_a(x) = integral from a to x of f is an antiderivative of f (second fundamental theorem), hence the integral from a to b of f equals G(b) - G(a) for any antiderivative G (first fundamental theorem).Antiderivatives and the Fundamental Theorem of Calculus →, Derivatives - Definition and Differentiation RulesThe derivative is the limit of the difference quotient and gives the slope of the tangent line; differentiable implies continuous but not conversely; the notes collect the derivatives of elementary functions, the rules (linearity, product, quotient, chain rule, inverse function, f^g) and higher-order derivatives with the classes C^n.Derivatives - Definition and Differentiation Rules → (chain and product rules).

Immediate integrals

They rest on ∫f′(x) dx=f(x)+k\int f'(x)\,dx = f(x) + k: every known derivative, read backwards, gives an integral. To check an integral, differentiate the result and verify you recover the integrand: always do it.

Powers. For α≠−1\alpha \ne -1: D(xα+1)=(α+1)xαD\left(x^{\alpha+1}\right) = (\alpha + 1)x^\alpha, so dividing by the constant α+1≠0\alpha + 1 \ne 0: ∫xα dx=xα+1α+1+k.\int x^\alpha\,dx = \frac{x^{\alpha+1}}{\alpha + 1} + k. Examples. ∫x3 dx=x44+k\int x^3\,dx = \frac{x^4}{4} + k; ∫x dx=x3/23/2+k=23xx+k\int\sqrt x\,dx = \frac{x^{3/2}}{3/2} + k = \frac23x\sqrt x + k.

The case α=−1\alpha = -1. 1x\frac1x is defined on two separate intervals. On ]0,+∞[]0, +\infty[, Dlog⁡x=1xD\log x = \frac1x; on ]−∞,0[]-\infty, 0[, Dlog⁡(−x)=1−x⋅(−1)=1xD\log(-x) = \frac{1}{-x}\cdot(-1) = \frac1x. Together: ∫1x dx=log⁡∣x∣+kon ]−∞,0[ or on ]0,+∞[.\int\frac1x\,dx = \log|x| + k \quad \text{on } ]-\infty, 0[ \text{ or on } ]0, +\infty[. Example. ∫1e1x dx=[log⁡∣x∣]1e=1\int_1^e\frac1x\,dx = [\log|x|]_1^e = 1.

Table of immediate integrals

(k∈Rk \in \mathbb{R}; each formula holds on the intervals where the integrand is defined.)

Integral Result
∫xα dx\int x^\alpha\,dx, α≠−1\alpha \ne -1 xα+1α+1+k\frac{x^{\alpha+1}}{\alpha+1} + k
∫1x dx\int\frac1x\,dx log⁡∣x∣+k\log\lvert x\rvert + k
∫eαx dx\int e^{\alpha x}\,dx, α≠0\alpha \ne 0 1αeαx+k\frac1\alpha e^{\alpha x} + k
∫sin⁡x dx\int\sin x\,dx −cos⁡x+k-\cos x + k
∫cos⁡x dx\int\cos x\,dx sin⁡x+k\sin x + k
∫1cos⁡2x dx=∫(1+tan⁡2x) dx\int\frac{1}{\cos^2x}\,dx = \int(1 + \tan^2x)\,dx tan⁡x+k\tan x + k
∫11−x2 dx\int\frac{1}{\sqrt{1 - x^2}}\,dx, −1<x<1-1 < x < 1 arcsin⁡x+k\arcsin x + k
∫−11−x2 dx\int\frac{-1}{\sqrt{1 - x^2}}\,dx, −1<x<1-1 < x < 1 arccos⁡x+k\arccos x + k
∫11+x2 dx\int\frac{1}{1 + x^2}\,dx arctan⁡x+k\arctan x + k
∫sinh⁡x dx\int\sinh x\,dx cosh⁡x+k\cosh x + k
∫cosh⁡x dx\int\cosh x\,dx sinh⁡x+k\sinh x + k
∫1x2+1 dx\int\frac{1}{\sqrt{x^2 + 1}}\,dx arsinh x+k=log⁡(x+x2+1)+k\mathrm{arsinh}\,x + k = \log\left(x + \sqrt{x^2 + 1}\right) + k
∫1x2−1 dx\int\frac{1}{\sqrt{x^2 - 1}}\,dx, x>1x > 1 arcosh x+k=log⁡(x+x2−1)+k\mathrm{arcosh}\,x + k = \log\left(x + \sqrt{x^2 - 1}\right) + k
∫1cosh⁡2x dx\int\frac{1}{\cosh^2x}\,dx tanh⁡x+k\tanh x + k

Example (linearity). ∫(3x2−2x+5cos⁡x)dx=x3−2log⁡∣x∣+5sin⁡x+k\int\left(3x^2 - \frac2x + 5\cos x\right)dx = x^3 - 2\log|x| + 5\sin x + k (check: the derivative is 3x2−2x+5cos⁡x3x^2 - \frac2x + 5\cos x).

Remark. arcsin⁡x\arcsin x and −arccos⁡x-\arccos x have the same derivative, so they differ by a constant: indeed arcsin⁡x+arccos⁡x=π2\arcsin x + \arccos x = \frac\pi2. No contradiction.

There are no "integration rules". With derivatives, rules for sums, products, quotients and compositions give the derivative of any function. For integrals nothing similar exists: no formula for ∫fg\int fg or ∫g(f(x)) dx\int g(f(x))\,dx in terms of ∫f\int f and ∫g\int g. There are only methods: linearity, substitution, integration by parts. Moreover some continuous functions, such as e−x2e^{-x^2} or sin⁡xx\frac{\sin x}{x}, have an antiderivative (by FTC 2) that cannot be written with elementary functions.

Integration by substitution

It is the chain rule read backwards: D[G(f(x))]=G′(f(x))⋅f′(x).D\big[G(f(x))\big] = G'(f(x))\cdot f'(x). If the integrand has the form "a function of f(x)f(x), times f′(x)f'(x)", i.e. g(f(x))f′(x)g(f(x))f'(x), and GG is an antiderivative of gg, then G(f(x))G(f(x)) is an antiderivative.

Theorem. Let g:[a,b]→Rg: [a, b] \to \mathbb{R} be continuous and f:[c,d]→[a,b]f: [c, d] \to [a, b] of class C1C^1.

(1) ∫g(f(x))f′(x) dx=∫g(y) dy=G(y)+k=G(f(x))+k\displaystyle\int g(f(x))f'(x)\,dx = \int g(y)\,dy = G(y) + k = G(f(x)) + k, with y=f(x)y = f(x), dy=f′(x) dxdy = f'(x)\,dx, GG an antiderivative of gg.

(1') For definite integrals: ∫cdg(f(x))f′(x) dx=∫f(c)f(d)g(y) dy=G(f(d))−G(f(c)).\int_c^dg(f(x))f'(x)\,dx = \int_{f(c)}^{f(d)}g(y)\,dy = G(f(d)) - G(f(c)).

Example. ∫2xcos⁡(x2) dx\int2x\cos(x^2)\,dx: with y=x2y = x^2, dy=2x dxdy = 2x\,dx, ∫cos⁡y dy=sin⁡y+k=sin⁡(x2)+k\int\cos y\,dy = \sin y + k = \sin(x^2) + k.

The symbol dy=f′(x) dxdy = f'(x)\,dx comes formally from dydx=f′(x)\frac{dy}{dx} = f'(x); it is a reminder of what to substitute for f′(x) dxf'(x)\,dx. In (1') the new variable runs from f(c)f(c) to f(d)f(d): the limits change, and one does not go back to xx.

Proof of (1). G′=gG' = g, so by the chain rule D[G(f(x))]=g(f(x))f′(x)D[G(f(x))] = g(f(x))f'(x). (1') follows from (1) and FTC 1. ■\blacksquare

Substitution backwards. If ff is invertible, read right to left: to compute ∫g(y) dy\int g(y)\,dy put y=f(x)y = f(x), x=f−1(y)x = f^{-1}(y), dy=f′(x) dxdy = f'(x)\,dx: ∫g(y) dy=∫g(f(x))f′(x) dx=F(x)+k=F(f−1(y))+k,\int g(y)\,dy = \int g(f(x))f'(x)\,dx = F(x) + k = F\big(f^{-1}(y)\big) + k, with FF an antiderivative of g(f(x))f′(x)g(f(x))f'(x); for definite integrals ∫abg(y) dy=[F(x)]x=f−1(a)x=f−1(b)\int_a^bg(y)\,dy = [F(x)]_{x = f^{-1}(a)}^{x = f^{-1}(b)}. Example. ∫dyy(1+y)\int\frac{dy}{\sqrt y(1 + y)} with y=x2y = x^2 (x>0x > 0): ∫2xx(1+x2) dx=2arctan⁡x+k=2arctan⁡y+k\int\frac{2x}{x(1 + x^2)}\,dx = 2\arctan x + k = 2\arctan\sqrt y + k. Useful when the integral in xx is easier than the one in yy.

How to recognise it

Look for an "inner" function f(x)f(x) whose derivative appears (up to a multiplicative constant) as a factor.

Example 1. ∫sin⁡(log⁡x)x dx\int\frac{\sin(\log x)}{x}\,dx: inner function log⁡x\log x, derivative 1x\frac1x present. With y=log⁡xy = \log x: ∫sin⁡y dy=−cos⁡(log⁡x)+k\int\sin y\,dy = -\cos(\log x) + k.

If the derivative is present only up to a constant, multiply and divide by it: ∫xex2 dx=12∫2xex2 dx=12ex2+k\int xe^{x^2}\,dx = \frac12\int2xe^{x^2}\,dx = \frac12e^{x^2} + k.

Warning: only a constant can be adjusted, never a function of xx. ∫ex2 dx\int e^{x^2}\,dx cannot be done this way: the factor 2x2x is missing and xx cannot be moved out of the integral.

Immediate integrals by substitution

Integral Result
∫f(x)αf′(x) dx\int f(x)^\alpha f'(x)\,dx, α≠−1\alpha \ne -1 f(x)α+1α+1+k\frac{f(x)^{\alpha+1}}{\alpha+1} + k
∫f′(x)f(x) dx\int\frac{f'(x)}{f(x)}\,dx log⁡∣f(x)∣+k\log\lvert f(x)\rvert + k
∫eαf(x)f′(x) dx\int e^{\alpha f(x)}f'(x)\,dx, α≠0\alpha \ne 0 1αeαf(x)+k\frac1\alpha e^{\alpha f(x)} + k
∫sin⁡(f(x))f′(x) dx\int\sin(f(x))f'(x)\,dx −cos⁡(f(x))+k-\cos(f(x)) + k
∫cos⁡(f(x))f′(x) dx\int\cos(f(x))f'(x)\,dx sin⁡(f(x))+k\sin(f(x)) + k
∫f′(x)1−f(x)2 dx\int\frac{f'(x)}{\sqrt{1 - f(x)^2}}\,dx arcsin⁡(f(x))+k\arcsin(f(x)) + k
∫f′(x)1+f(x)2 dx\int\frac{f'(x)}{1 + f(x)^2}\,dx arctan⁡(f(x))+k\arctan(f(x)) + k
∫sinh⁡(f(x))f′(x) dx\int\sinh(f(x))f'(x)\,dx cosh⁡(f(x))+k\cosh(f(x)) + k
∫cosh⁡(f(x))f′(x) dx\int\cosh(f(x))f'(x)\,dx sinh⁡(f(x))+k\sinh(f(x)) + k
∫f′(x)f(x)2+1 dx\int\frac{f'(x)}{\sqrt{f(x)^2 + 1}}\,dx log⁡(f(x)+f(x)2+1)+k\log\left(f(x) + \sqrt{f(x)^2 + 1}\right) + k
∫f′(x)f(x)2−1 dx\int\frac{f'(x)}{\sqrt{f(x)^2 - 1}}\,dx log⁡(f(x)+f(x)2−1)+k\log\left(f(x) + \sqrt{f(x)^2 - 1}\right) + k
∫f′(x)cosh⁡2(f(x)) dx\int\frac{f'(x)}{\cosh^2(f(x))}\,dx tanh⁡(f(x))+k\tanh(f(x)) + k

Example. ∫2xx2+1 dx=log⁡(x2+1)+k\int\frac{2x}{x^2 + 1}\,dx = \log(x^2 + 1) + k. The second row is the most used: numerator == derivative of the denominator gives the logarithm of the denominator. E.g. ∫tan⁡x dx=−∫−sin⁡xcos⁡x dx=−log⁡∣cos⁡x∣+k\int\tan x\,dx = -\int\frac{-\sin x}{\cos x}\,dx = -\log|\cos x| + k. Substitution is the first method to think of.

Definite integrals: two equivalent ways

For ∫13xex2 dx\int_1^3xe^{x^2}\,dx:

  • Way A (antiderivative, then FTC 1). G=12ex2G = \frac12e^{x^2}, so [12ex2]13=12(e9−e)\left[\frac12e^{x^2}\right]_1^3 = \frac12(e^9 - e).
  • Way B (change the limits, formula (1')). With y=x2y = x^2: x=1↦y=1x = 1 \mapsto y = 1, x=3↦y=9x = 3 \mapsto y = 9; 12∫19ey dy=12(e9−e)\frac12\int_1^9e^y\,dy = \frac12(e^9 - e).

Do not mix the two ways: changing variable and keeping the old limits, or going back to xx after changing the limits.

Integration by parts

Theorem. Let f,g∈C1([a,b])f, g \in C^1([a, b]). Then (1) ∫f(x)g′(x) dx=f(x)g(x)−∫f′(x)g(x) dx\displaystyle\int f(x)g'(x)\,dx = f(x)g(x) - \int f'(x)g(x)\,dx, (1') ∫abf(x)g′(x) dx=[f(x)g(x)]ab−∫abf′(x)g(x) dx\displaystyle\int_a^bf(x)g'(x)\,dx = \Big[f(x)g(x)\Big]_a^b - \int_a^bf'(x)g(x)\,dx.

Example. ∫xex dx\int xe^x\,dx with f=xf = x, g′=exg' = e^x: xex−∫ex dx=ex(x−1)+kxe^x - \int e^x\,dx = e^x(x - 1) + k.

One factor is to be differentiated (ff) and one integrated (g′g', with a known antiderivative gg). The price is a new integral ∫f′g\int f'g, which must be easier than the original.

Proof of (1). From D(fg)=f′g+fg′D(fg) = f'g + fg', integrate both sides (the indefinite integral is linear): fg+k=∫f′g+∫fg′fg + k = \int f'g + \int fg'. Move ∫f′g\int f'g to the left. (1') follows from (1) and FTC 1. ■\blacksquare

Try substitution first; if it fails, try parts. Three typical classes.

Class 1: elementary functions that are not immediate integrals

log⁡x\log x, arcsin⁡x\arcsin x, arctan⁡x\arctan x: write them as the function times 11, with ff the function (simple derivative) and g′=1g' = 1 (g=xg = x).

Example. ∫log⁡x dx\int\log x\,dx: f=log⁡xf = \log x, g′=1g' = 1, f′=1xf' = \frac1x, g=xg = x: ∫log⁡x dx=xlog⁡x−∫1x⋅x dx=xlog⁡x−x+k.\int\log x\,dx = x\log x - \int\frac1x\cdot x\,dx = x\log x - x + k. It works because the logarithm becomes 1x\frac1x, which cancels with xx.

Class 2: "circular" integrals (squares of sin⁡\sin, cos⁡\cos, sinh⁡\sinh, cosh⁡\cosh)

Example. ∫cos⁡2x dx\int\cos^2x\,dx: f=cos⁡xf = \cos x, g′=cos⁡xg' = \cos x, f′=−sin⁡xf' = -\sin x, g=sin⁡xg = \sin x: ∫cos⁡2x dx=cos⁡xsin⁡x+∫sin⁡2x dx=cos⁡xsin⁡x+∫(1−cos⁡2x) dx=cos⁡xsin⁡x+x−∫cos⁡2x dx.\int\cos^2x\,dx = \cos x\sin x + \int\sin^2x\,dx = \cos x\sin x + \int(1 - \cos^2x)\,dx = \cos x\sin x + x - \int\cos^2x\,dx. The original integral reappears on the right with a minus sign. Moving it to the left like an unknown: 2∫cos⁡2x dx=x+sin⁡xcos⁡x+k  ⟹  ∫cos⁡2x dx=x+sin⁡xcos⁡x2+k.2\int\cos^2x\,dx = x + \sin x\cos x + k \implies \int\cos^2x\,dx = \frac{x + \sin x\cos x}{2} + k. (If it reappeared with a plus sign and coefficient 11, it would cancel and nothing would be obtained.) For sinh⁡\sinh, cosh⁡\cosh use cosh⁡2x−sinh⁡2x=1\cosh^2x - \sinh^2x = 1.

Integral Result
∫sin⁡2x dx\int\sin^2x\,dx x−sin⁡xcos⁡x2+k\frac{x - \sin x\cos x}{2} + k
∫cos⁡2x dx\int\cos^2x\,dx x+sin⁡xcos⁡x2+k\frac{x + \sin x\cos x}{2} + k
∫sinh⁡2x dx\int\sinh^2x\,dx sinh⁡xcosh⁡x−x2+k\frac{\sinh x\cosh x - x}{2} + k
∫cosh⁡2x dx\int\cosh^2x\,dx sinh⁡xcosh⁡x+x2+k\frac{\sinh x\cosh x + x}{2} + k

For higher powers see Integrals of Powers of Sine and Cosine and Irrational FunctionsFor integrals of cos^n x sin^m x, an odd exponent allows detaching one factor and substituting y = cos x or y = sin x, while two even exponents are handled with the half-angle formulas; for irrational functions, roots of different index become rational with y equal to the root of index lcm, and square roots of quadratic polynomials reduce to arcsine, hyperbolic inverses or trigonometric and hyperbolic substitutions (which also prove the area of the circle).Integrals of Powers of Sine and Cosine and Irrational Functions →.

Class 3: products of different elementary functions

∫eαxsin⁡(βx) dx\int e^{\alpha x}\sin(\beta x)\,dx, ∫eαxcos⁡(βx) dx\int e^{\alpha x}\cos(\beta x)\,dx, ∫xneαx dx\int x^ne^{\alpha x}\,dx, ∫xnsin⁡(βx) dx\int x^n\sin(\beta x)\,dx, ∫xncos⁡(βx) dx\int x^n\cos(\beta x)\,dx are not done by substitution.

  • xnx^n times exponential/sine/cosine: differentiate the polynomial (f=xnf = x^n) and integrate the other factor; the degree drops by 11 each time and after nn steps the polynomial disappears.
  • Exponential times sine/cosine: neither factor simplifies, but after two steps (choosing always the same kind of factor to differentiate) the original integral reappears: again a circular integral.

Common mistakes

  • Forgetting to substitute dxdx: all of f′(x) dxf'(x)\,dx becomes dydy and no xx must remain.
  • In definite integrals, not changing the limits after the substitution.
  • "Adjusting" a non-constant factor by multiplying and dividing by a function of xx.
  • Poor choice of ff and g′g': if ∫f′g\int f'g is harder, swap. E.g. in ∫xex dx\int xe^x\,dx with f=exf = e^x, g′=xg' = x one gets ∫x22ex dx\int\frac{x^2}{2}e^x\,dx, worse.
  • In circular integrals, swapping the choice at the second step (return to I=II = I).
  • Forgetting the minus sign in front of ∫f′g\int f'g; using xα+1α+1\frac{x^{\alpha+1}}{\alpha+1} with α=−1\alpha = -1; writing log⁡x\log x instead of log⁡∣x∣\log|x|; wrong sign in ∫sin⁡x=−cos⁡x\int\sin x = -\cos x.

Versione ripasso

Check any antiderivative by differentiating. No integration rules exist, only methods (linearity, substitution, parts); some antiderivatives are not elementary (e−x2e^{-x^2}).

Immediate integrals. ∫xα=xα+1α+1\int x^\alpha = \frac{x^{\alpha+1}}{\alpha+1} (α≠−1\alpha \ne -1); ∫1x=log⁡∣x∣\int\frac1x = \log|x|; ∫eαx=1αeαx\int e^{\alpha x} = \frac1\alpha e^{\alpha x}; ∫sin⁡=−cos⁡\int\sin = -\cos; ∫cos⁡=sin⁡\int\cos = \sin; ∫1cos⁡2=tan⁡\int\frac{1}{\cos^2} = \tan; ∫11−x2=arcsin⁡\int\frac{1}{\sqrt{1 - x^2}} = \arcsin; ∫11+x2=arctan⁡\int\frac{1}{1 + x^2} = \arctan; ∫sinh⁡=cosh⁡\int\sinh = \cosh; ∫cosh⁡=sinh⁡\int\cosh = \sinh; ∫1x2+1=log⁡(x+x2+1)\int\frac{1}{\sqrt{x^2 + 1}} = \log(x + \sqrt{x^2 + 1}); ∫1x2−1=log⁡(x+x2−1)\int\frac{1}{\sqrt{x^2 - 1}} = \log(x + \sqrt{x^2 - 1}) (x>1x > 1); ∫1cosh⁡2=tanh⁡\int\frac{1}{\cosh^2} = \tanh.

Substitution. Chain rule backwards: ∫g(f(x))f′(x) dx=∫g(y) dy=G(f(x))+k\int g(f(x))f'(x)\,dx = \int g(y)\,dy = G(f(x)) + k, y=f(x)y = f(x), dy=f′(x) dxdy = f'(x)\,dx. Definite: ∫cd=∫f(c)f(d)g(y) dy\int_c^d = \int_{f(c)}^{f(d)}g(y)\,dy (change the limits, do not return to xx).

  • Constants may be adjusted, functions of xx not (∫ex2\int e^{x^2} no): ∫xex2=12ex2+k\int xe^{x^2} = \frac12e^{x^2} + k.
  • ∫f′f=log⁡∣f∣\int\frac{f'}{f} = \log|f| (e.g. ∫tan⁡x=−log⁡∣cos⁡x∣\int\tan x = -\log|\cos x|); ∫fαf′=fα+1α+1\int f^\alpha f' = \frac{f^{\alpha+1}}{\alpha+1}; ∫f′1+f2=arctan⁡f\int\frac{f'}{1 + f^2} = \arctan f.
  • Backwards: y=f(x)y = f(x) invertible, ∫g(y) dy=F(f−1(y))+k\int g(y)\,dy = F(f^{-1}(y)) + k; e.g. y=x2y = x^2 gives ∫dyy(1+y)=2arctan⁡y\int\frac{dy}{\sqrt y(1 + y)} = 2\arctan\sqrt y.
  • ∫13xex2 dx=12(e9−e)\int_1^3xe^{x^2}\,dx = \frac12(e^9 - e) either by the antiderivative or with limits 11 to 99.

Parts. ∫fg′=fg−∫f′g\int fg' = fg - \int f'g; ∫abfg′=[fg]ab−∫abf′g\int_a^bfg' = [fg]_a^b - \int_a^bf'g (from D(fg)=f′g+fg′D(fg) = f'g + fg'). Differentiate one factor, integrate the other; the new integral must be easier.

  1. log⁡x\log x, arcsin⁡x\arcsin x, arctan⁡x\arctan x: function times 11. ∫log⁡x=xlog⁡x−x+k\int\log x = x\log x - x + k.
  2. Circular: ∫cos⁡2x=cos⁡xsin⁡x+x−∫cos⁡2x\int\cos^2x = \cos x\sin x + x - \int\cos^2x, so ∫cos⁡2x=x+sin⁡xcos⁡x2+k\int\cos^2x = \frac{x + \sin x\cos x}{2} + k; ∫sin⁡2=x−sin⁡xcos⁡x2\int\sin^2 = \frac{x - \sin x\cos x}{2}; ∫sinh⁡2=sinh⁡xcosh⁡x−x2\int\sinh^2 = \frac{\sinh x\cosh x - x}{2}; ∫cosh⁡2=sinh⁡xcosh⁡x+x2\int\cosh^2 = \frac{\sinh x\cosh x + x}{2}.
  3. xn×x^n\times exponential/sine/cosine: differentiate xnx^n (nn steps). Exponential times sine/cosine: two steps, same role each time, circular.

Typical mistakes. Not substituting all of dxdx; not changing the limits; adjusting by a function of xx; swapping roles in circular integrals; missing minus sign; α=−1\alpha = -1 in the power rule; log⁡x\log x instead of log⁡∣x∣\log|x|.

Teoria collegata