Salta al contenuto
Note per Studenti Integration of Rational Functions and Reducing Substitutions Report

Integration of Rational Functions and Reducing Substitutions

In questa pagina 7

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 →.

A rational function is a quotient of polynomials: ∫R(x) dx=∫P(x)Q(x) dx,deg⁡P=m, deg⁡Q=n.\int R(x)\,dx = \int\frac{P(x)}{Q(x)}\,dx, \qquad \deg P = m, \ \deg Q = n. The methods below hold only if m<nm < n. Only n=1n = 1 and n=2n = 2 are treated in detail.

Denominator of degree 1

∫a0ax+b dx(a≠0):y=ax+b, dx=1a dy  ⟹  a0a∫dyy=a0alog⁡∣ax+b∣+k.\int\frac{a_0}{ax + b}\,dx \quad (a \ne 0): \quad y = ax + b,\ dx = \tfrac1a\,dy \implies \frac{a_0}{a}\int\frac{dy}{y} = \frac{a_0}{a}\log|ax + b| + k. Example. ∫53x−1 dx=53log⁡∣3x−1∣+k\int\frac{\sqrt5}{3x - 1}\,dx = \frac{\sqrt5}{3}\log|3x - 1| + k.

Denominator of degree 2 (m≤1m \le 1)

I=∫a0+a1xax2+bx+c dx(a≠0),Δ=b2−4ac.I = \int\frac{a_0 + a_1x}{ax^2 + bx + c}\,dx \quad (a \ne 0), \qquad \Delta = b^2 - 4ac.

Δ>0\Delta > 0: two distinct real roots

ax2+bx+c=a(x−x1)(x−x2)ax^2 + bx + c = a(x - x_1)(x - x_2) with x1,2=−b±Δ2ax_{1,2} = \frac{-b \pm \sqrt\Delta}{2a}. Partial fractions: there exist unique A,B∈RA, B \in \mathbb{R} with a0+a1xax2+bx+c=1a[Ax−x1+Bx−x2],I=1a[Alog⁡∣x−x1∣+Blog⁡∣x−x2∣]+k.\frac{a_0 + a_1x}{ax^2 + bx + c} = \frac1a\left[\frac{A}{x - x_1} + \frac{B}{x - x_2}\right], \qquad I = \frac1a\Big[A\log|x - x_1| + B\log|x - x_2|\Big] + k.

Finding AA, BB. Bring the right side to a common denominator: Ax−x1+Bx−x2=(A+B)x−(Ax2+Bx1)(x−x1)(x−x2)\frac{A}{x - x_1} + \frac{B}{x - x_2} = \frac{(A + B)x - (Ax_2 + Bx_1)}{(x - x_1)(x - x_2)} and equate the numerator to a0+a1xa_0 + a_1x. By the identity principle for polynomials (equal for every xx iff coefficients of equal powers are equal), equate the coefficients of xx and the constant terms: a system in AA, BB.

Example. ∫2x+12x2−5x+2 dx\int\frac{2x + 1}{2x^2 - 5x + 2}\,dx. Δ=25−16=9\Delta = 25 - 16 = 9, x1,2=5±34=2,12x_{1,2} = \frac{5 \pm 3}{4} = 2, \frac12, so 2x2−5x+2=2(x−2)(x−12)2x^2 - 5x + 2 = 2(x - 2)(x - \frac12) and 2x+12x2−5x+2=12[Ax−2+Bx−12]=(A+B)x−12A−2B2(x−2)(x−12).\frac{2x + 1}{2x^2 - 5x + 2} = \frac12\left[\frac{A}{x - 2} + \frac{B}{x - \frac12}\right] = \frac{(A + B)x - \frac12A - 2B}{2(x - 2)(x - \frac12)}. Coefficients of xx: A+B=2A + B = 2; constants: −12A−2B=1-\frac12A - 2B = 1. With B=2−AB = 2 - A: 32A=5\frac32A = 5, A=103A = \frac{10}3, B=−43B = -\frac43: I=53log⁡∣x−2∣−23log⁡∣x−12∣+k.I = \frac53\log|x - 2| - \frac23\log\left|x - \tfrac12\right| + k. Shortcut: the identity A(x−x2)+B(x−x1)=A(x - x_2) + B(x - x_1) = numerator holds for every xx; x=x1x = x_1 eliminates BB, x=x2x = x_2 eliminates AA. Here x=2x = 2 gives 32A=5\frac32A = 5 and x=12x = \frac12 gives −32B=2-\frac32B = 2.

Δ=0\Delta = 0: a double root

ax2+bx+c=a(x−x1)2ax^2 + bx + c = a(x - x_1)^2, x1=−b2ax_1 = -\frac b{2a}. Put y=x−x1y = x - x_1 (x=y+x1x = y + x_1, dy=dxdy = dx): the integral splits into ∫dyy\int\frac{dy}y and ∫dyy2=−1y\int\frac{dy}{y^2} = -\frac1y.

Example. ∫2x−14x2+4x+1 dx\int\frac{2x - 1}{4x^2 + 4x + 1}\,dx: 4x2+4x+1=4(x+12)24x^2 + 4x + 1 = 4(x + \frac12)^2; with y=x+12y = x + \frac12, x=y−12x = y - \frac12: 14∫2(y−12)−1y2 dy=14∫[2y−2y2]dy=12log⁡∣x+12∣+12(x+12)+k.\frac14\int\frac{2(y - \frac12) - 1}{y^2}\,dy = \frac14\int\left[\frac2y - \frac2{y^2}\right]dy = \frac12\log\left|x + \tfrac12\right| + \frac{1}{2(x + \frac12)} + k.

Δ<0\Delta < 0: no real roots

The denominator never vanishes. Aim for denominator x2+1x^2 + 1: ∫dxx2+1=arctan⁡x+k,∫xx2+1 dx=12log⁡(x2+1)+k.\int\frac{dx}{x^2 + 1} = \arctan x + k, \qquad \int\frac{x}{x^2 + 1}\,dx = \frac12\log(x^2 + 1) + k.

Constant numerator: completing the square. Take a=1a = 1: I1=∫dxx2+bx+cI_1 = \int\frac{dx}{x^2 + bx + c}, Δ=b2−4c<0\Delta = b^2 - 4c < 0. Add and subtract b24\frac{b^2}4: x2+bx+c=(x+b2)2+4c−b24⏟=−Δ/4>0=(x+b2)2+R2,R=−Δ2.x^2 + bx + c = \left(x + \tfrac b2\right)^2 + \underbrace{\tfrac{4c - b^2}{4}}_{= -\Delta/4 > 0} = \left(x + \tfrac b2\right)^2 + R^2, \qquad R = \tfrac{\sqrt{-\Delta}}{2}. Factor out R2R^2 and substitute y=1R(x+b2)y = \frac1R(x + \frac b2), dy=1R dxdy = \frac1R\,dx: I1=1R∫dyy2+1=1Rarctan⁡(x+b2R)+k.I_1 = \frac1R\int\frac{dy}{y^2 + 1} = \frac1R\arctan\left(\frac{x + \frac b2}{R}\right) + k. Special case: ∫dxx2+R2=1Rarctan⁡xR+k\int\frac{dx}{x^2 + R^2} = \frac1R\arctan\frac xR + k.

Example. ∫dxx2+x+4\int\frac{dx}{x^2 + x + 4}: Δ=1−16<0\Delta = 1 - 16 < 0, x2+x+4=(x+12)2+154x^2 + x + 4 = (x + \frac12)^2 + \frac{15}{4}, R=152R = \frac{\sqrt{15}}2: ∫dxx2+x+4=215arctan⁡(215(x+12))+k.\int\frac{dx}{x^2 + x + 4} = \frac2{\sqrt{15}}\arctan\left(\frac2{\sqrt{15}}\left(x + \tfrac12\right)\right) + k.

Numerator of degree 1. Write a0+a1x=A(2x+b)+Ba_0 + a_1x = A(2x + b) + B, with A=a12A = \frac{a_1}2, B=a0−AbB = a_0 - Ab. Then I=A∫2x+bx2+bx+c dx+B I1=Alog⁡(x2+bx+c)+B I1I = A\int\frac{2x + b}{x^2 + bx + c}\,dx + B\,I_1 = A\log(x^2 + bx + c) + B\,I_1 (no absolute value: the denominator is always positive).

Degree of numerator ≥\ge degree of denominator: division

If m≥nm \ge n, divide: P=D Q+RP = D\,Q + R with deg⁡R<n\deg R < n, so ∫PQ dx=∫D dx+∫RQ dx.\int\frac PQ\,dx = \int D\,dx + \int\frac RQ\,dx. Example. 3x4−2x3+1=(3x2−2x−3)(x2+1)+(2x+4)3x^4 - 2x^3 + 1 = (3x^2 - 2x - 3)(x^2 + 1) + (2x + 4), so ∫3x4−2x3+1x2+1 dx=x3−x2−3x+log⁡(x2+1)+4arctan⁡x+k.\int\frac{3x^4 - 2x^3 + 1}{x^2 + 1}\,dx = x^3 - x^2 - 3x + \log(x^2 + 1) + 4\arctan x + k. Often division is unnecessary: add and subtract in the numerator, e.g. 2x2+1x2−4=2(x2−4)+9x2−4=2+9x2−4\frac{2x^2 + 1}{x^2 - 4} = \frac{2(x^2 - 4) + 9}{x^2 - 4} = 2 + \frac9{x^2 - 4}.

Denominator of degree n>2n > 2 (outline)

QQ factors into linear factors (x−x1)k1(x - x_1)^{k_1} (one per real root, with multiplicity) and quadratic factors with Δ<0\Delta < 0. With m<nm < n the fraction splits into partial fractions: for each (x−x1)k1(x - x_1)^{k_1} a term A0+A1x+⋯+Ak1−1xk1−1(x−x1)k1\frac{A_0 + A_1x + \dots + A_{k_1 - 1}x^{k_1 - 1}}{(x - x_1)^{k_1}}, for each quadratic factor (with h1=1h_1 = 1) a term Bx+Cx2+p1x+q1\frac{Bx + C}{x^2 + p_1x + q_1}; there are nn unknown constants in all, found by the identity principle.

Example. x3−3x2+x−3=x2(x−3)+(x−3)=(x−3)(x2+1)x^3 - 3x^2 + x - 3 = x^2(x - 3) + (x - 3) = (x - 3)(x^2 + 1), so 1(x−3)(x2+1)=Ax−3+Bx+Cx2+1\frac{1}{(x - 3)(x^2 + 1)} = \frac A{x - 3} + \frac{Bx + C}{x^2 + 1}.

Summary (rational functions)

Denominator Method Typical result
ax+bax + b y=ax+by = ax + b log⁡∣ax+b∣\log\lvert ax + b\rvert
Δ>0\Delta > 0 partial fractions sum of two logarithms
Δ=0\Delta = 0 y=x−x1y = x - x_1 logarithm + 1x−x1+\ \frac1{x - x_1}
Δ<0\Delta < 0 numerator A(2x+b)+BA(2x + b) + B, complete the square logarithm ++ arctangent
deg⁡P≥deg⁡Q\deg P \ge \deg Q polynomial division polynomial ++ cases above
deg⁡Q>2\deg Q > 2 factor QQ, partial fractions logarithms, arctangents, powers

Integrals reducible to rational functions

Here R(⋅)R(\cdot) denotes a rational function of the expression in brackets. With the right substitution the integral becomes ∫R(y) dy\int R(y)\,dy.

1. ∫R(f(x))f′(x) dx=∫R(y) dy\int R(f(x))f'(x)\,dx = \int R(y)\,dy, y=f(x)y = f(x). Example. ∫dx(1+x2)[arctan⁡2x+2arctan⁡x+3]\int\frac{dx}{(1 + x^2)[\arctan^2x + 2\arctan x + 3]}: 11+x2\frac1{1 + x^2} is the derivative of arctan⁡x\arctan x; with y=arctan⁡xy = \arctan x it becomes ∫dyy2+2y+3\int\frac{dy}{y^2 + 2y + 3}, rational with Δ4=1−3<0\frac\Delta4 = 1 - 3 < 0.

2. ∫R(ex) dx\int R(e^x)\,dx and ∫R(ax) dx\int R(a^x)\,dx. y=exy = e^x, dy=ex dxdy = e^x\,dx, so dx=dyydx = \frac{dy}y: ∫R(ex) dx=∫R(y)y dy.\int R(e^x)\,dx = \int\frac{R(y)}y\,dy. With base a>0a > 0, a≠1a \ne 1: y=axy = a^x, dx=dyylog⁡adx = \frac{dy}{y\log a}. Example. ∫dx2x−1=∫2x dx2x(2x−1)\int\frac{dx}{2^x - 1} = \int\frac{2^x\,dx}{2^x(2^x - 1)}; with y=2xy = 2^x, 2x dx=dylog⁡22^x\,dx = \frac{dy}{\log2}, it becomes 1log⁡2∫dyy(y−1)\frac1{\log2}\int\frac{dy}{y(y - 1)}: partial fractions with Δ>0\Delta > 0.

3. Functions of exe^x and e−xe^{-x}. For ∫dxaex+be−x+c\int\frac{dx}{ae^x + be^{-x} + c}, ∫dxcosh⁡x\int\frac{dx}{\cosh x}, ∫dxsinh⁡x\int\frac{dx}{\sinh x} multiply numerator and denominator by exe^x (so e−xe^{-x} disappears): ∫ex dxae2x+cex+b=∫dyay2+cy+b,y=ex.\int\frac{e^x\,dx}{ae^{2x} + ce^x + b} = \int\frac{dy}{ay^2 + cy + b}, \quad y = e^x. Example. ∫dxcosh⁡x=2∫ex dxe2x+1=2∫dyy2+1=2arctan⁡(ex)+k\int\frac{dx}{\cosh x} = 2\int\frac{e^x\,dx}{e^{2x} + 1} = 2\int\frac{dy}{y^2 + 1} = 2\arctan(e^x) + k.

4. ∫R(sin⁡x,cos⁡x) dx\int R(\sin x, \cos x)\,dx: t=tan⁡x2t = \tan\frac x2. t=tan⁡x2  ⟺  x=2arctan⁡t (−π<x<π),dx=2 dt1+t2,t = \tan\frac x2 \iff x = 2\arctan t\ (-\pi < x < \pi), \quad dx = \frac{2\,dt}{1 + t^2}, sin⁡x=2t1+t2,cos⁡x=1−t21+t2,tan⁡x=2t1−t2.\sin x = \frac{2t}{1 + t^2}, \quad \cos x = \frac{1 - t^2}{1 + t^2}, \quad \tan x = \frac{2t}{1 - t^2}. Origin: sin⁡x=2sin⁡x2cos⁡x2sin⁡2x2+cos⁡2x2\sin x = \frac{2\sin\frac x2\cos\frac x2}{\sin^2\frac x2 + \cos^2\frac x2}; dividing by cos⁡2x2\cos^2\frac x2 gives 2tt2+1\frac{2t}{t^2 + 1}. Likewise cos⁡x=cos⁡2x2−sin⁡2x2cos⁡2x2+sin⁡2x2=1−t21+t2\cos x = \frac{\cos^2\frac x2 - \sin^2\frac x2}{\cos^2\frac x2 + \sin^2\frac x2} = \frac{1 - t^2}{1 + t^2}.

Example. ∫dxsin⁡x=∫1+t22t⋅21+t2 dt=log⁡∣t∣+k=log⁡∣tan⁡x2∣+k\int\frac{dx}{\sin x} = \int\frac{1 + t^2}{2t}\cdot\frac2{1 + t^2}\,dt = \log|t| + k = \log\left|\tan\frac x2\right| + k.

The method always works for these functions but often leads to high-degree rationals: use it only on simple integrals. Split first and try simpler substitutions (y=sin⁡xy = \sin x or y=cos⁡xy = \cos x if the derivative appears): in ∫3+2cos⁡xsin⁡x dx=3∫dxsin⁡x+2∫cos⁡xsin⁡x dx\int\frac{3 + 2\cos x}{\sin x}\,dx = 3\int\frac{dx}{\sin x} + 2\int\frac{\cos x}{\sin x}\,dx the first piece uses t=tan⁡x2t = \tan\frac x2 and the second y=sin⁡xy = \sin x.

Integral Substitution dxdx becomes
∫R(f(x))f′(x) dx\int R(f(x))f'(x)\,dx y=f(x)y = f(x) f′(x) dx=dyf'(x)\,dx = dy
∫R(ex) dx\int R(e^x)\,dx y=exy = e^x dyy\frac{dy}y
∫R(ax) dx\int R(a^x)\,dx y=axy = a^x dyylog⁡a\frac{dy}{y\log a}
functions of exe^x, e−xe^{-x} multiply by exe^x, then y=exy = e^x dyy\frac{dy}y
∫R(sin⁡x,cos⁡x) dx\int R(\sin x, \cos x)\,dx t=tan⁡x2t = \tan\frac x2 2 dt1+t2\frac{2\,dt}{1 + t^2}

Common mistakes

  • Forgetting the factor aa in ax2+bx+c=a(x−x1)(x−x2)ax^2 + bx + c = a(x - x_1)(x - x_2).
  • Applying these methods when deg⁡P≥deg⁡Q\deg P \ge \deg Q: divide first.
  • Sign errors in the system for AA, BB: check with x=x1x = x_1, x=x2x = x_2.
  • Substituting y=exy = e^x and leaving dxdx: it must become dyy\frac{dy}y.
  • Using t=tan⁡x2t = \tan\frac x2 on an interval containing ±π\pm\pi, where tan⁡x2\tan\frac x2 is undefined; and not looking for simpler substitutions first.

Versione ripasso

∫PQ\int\frac PQ with deg⁡P=m<deg⁡Q=n\deg P = m < \deg Q = n; if m≥nm \ge n divide: P=DQ+RP = DQ + R, ∫PQ=∫D+∫RQ\int\frac PQ = \int D + \int\frac RQ (or rewrite the numerator: 2x2+1x2−4=2+9x2−4\frac{2x^2 + 1}{x^2 - 4} = 2 + \frac9{x^2 - 4}).

Degree 1. ∫a0ax+b=a0alog⁡∣ax+b∣\int\frac{a_0}{ax + b} = \frac{a_0}a\log|ax + b|.

Degree 2, Δ=b2−4ac\Delta = b^2 - 4ac.

  • Δ>0\Delta > 0: a0+a1xa(x−x1)(x−x2)=1a[Ax−x1+Bx−x2]\frac{a_0 + a_1x}{a(x - x_1)(x - x_2)} = \frac1a\left[\frac A{x - x_1} + \frac B{x - x_2}\right]; ∫=1a[Alog⁡∣x−x1∣+Blog⁡∣x−x2∣]\int = \frac1a[A\log|x - x_1| + B\log|x - x_2|]. Find AA, BB by equating coefficients or setting x=x1x = x_1, x=x2x = x_2. Example: ∫2x+12x2−5x+2=53log⁡∣x−2∣−23log⁡∣x−12∣+k\int\frac{2x + 1}{2x^2 - 5x + 2} = \frac53\log|x - 2| - \frac23\log|x - \frac12| + k.
  • Δ=0\Delta = 0: y=x−x1y = x - x_1; split into ∫dyy\int\frac{dy}y and ∫dyy2=−1y\int\frac{dy}{y^2} = -\frac1y. Example: ∫2x−14x2+4x+1=12log⁡∣x+12∣+12(x+12)\int\frac{2x - 1}{4x^2 + 4x + 1} = \frac12\log|x + \frac12| + \frac1{2(x + \frac12)}.
  • Δ<0\Delta < 0: x2+bx+c=(x+b2)2+R2x^2 + bx + c = (x + \frac b2)^2 + R^2, R=−Δ2R = \frac{\sqrt{-\Delta}}2; ∫dxx2+bx+c=1Rarctan⁡x+b/2R\int\frac{dx}{x^2 + bx + c} = \frac1R\arctan\frac{x + b/2}R. Numerator a0+a1x=A(2x+b)+Ba_0 + a_1x = A(2x + b) + B gives Alog⁡(x2+bx+c)+B⋅(arctan term)A\log(x^2 + bx + c) + B\cdot(\text{arctan term}). Example: ∫dxx2+x+4=215arctan⁡(215(x+12))\int\frac{dx}{x^2 + x + 4} = \frac2{\sqrt{15}}\arctan\left(\frac2{\sqrt{15}}(x + \frac12)\right).

Degree >2> 2. Factor QQ into (x−x1)k(x - x_1)^k and quadratics with Δ<0\Delta < 0; partial fractions, e.g. 1(x−3)(x2+1)=Ax−3+Bx+Cx2+1\frac1{(x - 3)(x^2 + 1)} = \frac A{x - 3} + \frac{Bx + C}{x^2 + 1}. Constants by the identity principle.

Example with division. ∫3x4−2x3+1x2+1=x3−x2−3x+log⁡(x2+1)+4arctan⁡x+k\int\frac{3x^4 - 2x^3 + 1}{x^2 + 1} = x^3 - x^2 - 3x + \log(x^2 + 1) + 4\arctan x + k.

Reducing substitutions.

  • ∫R(f(x))f′(x) dx\int R(f(x))f'(x)\,dx: y=f(x)y = f(x).
  • ∫R(ex) dx\int R(e^x)\,dx: y=exy = e^x, dx=dyydx = \frac{dy}y; axa^x: dx=dyylog⁡adx = \frac{dy}{y\log a}.
  • Functions of exe^x, e−xe^{-x}: multiply by exe^x; e.g. ∫dxcosh⁡x=2arctan⁡(ex)\int\frac{dx}{\cosh x} = 2\arctan(e^x).
  • R(sin⁡x,cos⁡x)R(\sin x, \cos x): t=tan⁡x2t = \tan\frac x2, dx=2 dt1+t2dx = \frac{2\,dt}{1 + t^2}, sin⁡x=2t1+t2\sin x = \frac{2t}{1 + t^2}, cos⁡x=1−t21+t2\cos x = \frac{1 - t^2}{1 + t^2}; e.g. ∫dxsin⁡x=log⁡∣tan⁡x2∣\int\frac{dx}{\sin x} = \log|\tan\frac x2|. Only for simple integrals; prefer y=sin⁡xy = \sin x or y=cos⁡xy = \cos x when possible; invalid across ±π\pm\pi.

Typical mistakes. Missing factor aa; skipping division; sign errors in AA, BB; leaving dxdx unconverted; t=tan⁡x2t = \tan\frac x2 over ±π\pm\pi.

Teoria collegata