Primitives

Primitive de fraction rationnelle - Exercice 1

50 min
75
Voici un exemple qu'il est essentiel de savoir réaliser.
Question 1
Soit xx un nombre réel, et ff la fonction continue sur l'intervalle R{1}\mathbb{R}-\left\lbrace 1 \right\rbrace qui est définie par f:x3x31f : x \longmapsto \dfrac{3}{x^3-1}.

Déterminer l'expression des primitives FF de ff.

Correction
On cherche :
F(x)=f(x)dx=3x31dxF(x) = \int f(x) \, dx = \int \dfrac{3}{x^3-1} \, dx
Nous allons décomposer en éléments simples la fonction ff.
Si aa et bb sont deux nombres réels alors on a :
a3b3=(ab)×(a2+ab+b2)a^3-b^3 = (a-b) \times (a^2 + ab + b^2)
Donc, avec a=xa=x et b=1b=1, on obtient :
x313=(x1)×(x2+1x+12)x^3 - 1^3 = (x-1) \times (x^2+1x+1^2)
Soit :
x31=(x1)×(x2+x+1)x^3 - 1 = (x-1) \times (x^2+x+1)
Donc, avec AA, BB et CC qui sont trois nombres réels, on a :
f(x)=3x31=3(x1)×(x2+x+1)=Ax1+Bx+Cx2+x+1f(x) = \dfrac{3}{x^3-1} = \dfrac{3}{(x-1) \times (x^2+x+1)} = \dfrac{A}{x-1} + \dfrac{Bx+C}{x^2+x+1}
Commençons par multiplier ff par x1x-1. On a alors :
3(x1)(x1)×(x2+x+1)=A(x1)x1+(Bx+C)(x1)x2+x+1\dfrac{3(x-1)}{(x-1) \times (x^2+x+1)} = \dfrac{A(x-1)}{x-1} + \dfrac{(Bx+C)(x-1)}{x^2+x+1}
Soit :
3x2+x+1=A+(Bx+C)(x1)x2+x+1\dfrac{3}{x^2+x+1} = A + \dfrac{(Bx+C)(x-1)}{x^2+x+1}
Posons x=1x=1, on obtient :
312+1+1=A+(B1+C)(11)12+1+1312+1+1=A+033=A1=A\dfrac{3}{1^2+1+1} = A + \dfrac{(B1+C)(1-1)}{1^2+1+1} \,\,\, \Longleftrightarrow \,\,\, \dfrac{3}{1^2+1+1} = A + 0 \,\,\, \Longleftrightarrow \,\,\, \dfrac{3}{3} = A \,\,\, \Longleftrightarrow \,\,\, 1 = A
D'où :
f(x)=3x31=1x1+Bx+Cx2+x+1f(x) = \dfrac{3}{x^3-1} = \dfrac{1}{x-1} + \dfrac{Bx+C}{x^2+x+1}
Posons x=0x = 0, on a alors :
f(0)=3031=101+B0+C02+0+1f(0) = \dfrac{3}{0^3-1} = \dfrac{1}{0-1} + \dfrac{B0+C}{0^2+0+1}
Soit :
f(0)=3=1+C1f(0) = -3 = -1 + \dfrac{C}{1}
Ce qui nous donne :
C=13C=2C = 1 - 3 \,\,\, \Longleftrightarrow \,\,\, C = -2
f(x)=3x31=1x1+Bx2x2+x+1f(x) = \dfrac{3}{x^3-1} = \dfrac{1}{x-1} + \dfrac{Bx-2}{x^2+x+1}
Posons x=1x = -1, on a alors :
f(1)=3(1)31=1(1)1+B(1)2(1)2+(1)+1f(-1) = \dfrac{3}{(-1)^3-1} = \dfrac{1}{(-1)-1} + \dfrac{B(-1)-2}{(-1)^2+(-1)+1}
Soit :
f(1)=311=111+B211+1f(-1) = \dfrac{3}{-1-1} = \dfrac{1}{-1-1} + \dfrac{-B-2}{1-1+1}
Soit encore :
f(1)=32=12B+21f(-1) = -\dfrac{3}{2} = -\dfrac{1}{2} - \dfrac{B+2}{1}
Ce qui nous donne :
32=12+B+2132=12+B+23212=B+21=B+212=B\dfrac{3}{2} = \dfrac{1}{2} + \dfrac{B+2}{1} \,\,\, \Longleftrightarrow \,\,\, \dfrac{3}{2} = \dfrac{1}{2} + B+2 \,\,\, \Longleftrightarrow \,\,\, \dfrac{3}{2} - \dfrac{1}{2} = B+2 \,\,\, \Longleftrightarrow \,\,\, 1 = B+2 \,\,\, \Longleftrightarrow \,\,\, 1 - 2 = B
Ainsi B=1B = -1. Donc :
f(x)=3x31=1x1+x2x2+x+1f(x) = \dfrac{3}{x^3-1} = \dfrac{1}{x-1} + \dfrac{-x-2}{x^2+x+1}
D'où :
f(x)=3x31=1x1x+2x2+x+1f(x) = \dfrac{3}{x^3-1} = \dfrac{1}{x-1} - \dfrac{x+2}{x^2+x+1}
On en déduit donc que :
F(x)=f(x)dx=3x31dx=(1x1x+2x2+x+1)dxF(x) = \int f(x) \, dx = \int \dfrac{3}{x^3-1} \, dx = \int \left( \dfrac{1}{x-1} - \dfrac{x+2}{x^2+x+1} \right) \, dx
Par linéarité :
F(x)=f(x)dx=3x31dx=1x1dxx+2x2+x+1dxF(x) = \int f(x) \, dx = \int \dfrac{3}{x^3-1} \, dx = \int \dfrac{1}{x-1} \, dx - \int \dfrac{x+2}{x^2+x+1} \, dx
Avec C1RC_1 \in \mathbb{R}, on a :
1x1dx=ln(x1)+C1\int \dfrac{1}{x-1} \, dx = \ln \big( | x-1 | \big) + C_1
Et :
x+2x2+x+1dx=122x+2x2+x+1dx=122x+121+212x2+x+1dx=122x+121+212x2+x+1dx\int \dfrac{x+2}{x^2+x+1} \, dx = \int \dfrac{\dfrac{1}{2}2x+2}{x^2+x+1} \, dx = \int \dfrac{\dfrac{1}{2}2x+\dfrac{1}{2}1+2-\dfrac{1}{2}}{x^2+x+1} \, dx = \int \dfrac{\dfrac{1}{2}2x+\dfrac{1}{2}1+2-\dfrac{1}{2}}{x^2+x+1} \, dx
D'où :
x+2x2+x+1dx=12(2x+1)+32x2+x+1dx=122x+1x2+x+1dx+321x2+x+1dx\int \dfrac{x+2}{x^2+x+1} \, dx = \int \dfrac{\dfrac{1}{2}(2x+1)+\dfrac{3}{2}}{x^2+x+1} \, dx = \dfrac{1}{2} \int \dfrac{2x+1}{x^2+x+1} \, dx + \dfrac{3}{2} \int \dfrac{1}{x^2+x+1} \, dx
Soit :
x+2x2+x+1dx=12ln(x2+x+1)+321x2+2x12+14+114dx\int \dfrac{x+2}{x^2+x+1} \, dx = \dfrac{1}{2} \ln \big( | x^2+x+1 | \big) + \dfrac{3}{2} \int \dfrac{1}{x^2+2x\dfrac{1}{2}+\dfrac{1}{4}+1-\dfrac{1}{4}} \, dx
En factorisant selon une identité remarquable :
x+2x2+x+1dx=12ln(x2+x+1)+321(x+12)2+34dx\int \dfrac{x+2}{x^2+x+1} \, dx = \dfrac{1}{2} \ln \big( | x^2+x+1 | \big) + \dfrac{3}{2} \int \dfrac{1}{\left(x+\dfrac{1}{2}\right)^2 + \dfrac{3}{4}} \, dx
Soit encore :
x+2x2+x+1dx=12ln(x2+x+1)+321(x+12)2+(32)2dx\int \dfrac{x+2}{x^2+x+1} \, dx = \dfrac{1}{2} \ln \big( | x^2+x+1 | \big) + \dfrac{3}{2} \int \dfrac{1}{\left(x+\dfrac{1}{2}\right)^2 + \left(\dfrac{\sqrt{3}}{2}\right)^2} \, dx
D'où le jeu d'écriture suivant :
x+2x2+x+1dx=12ln(x2+x+1)+321(32)2(23)2(x+12)2+(32)2dx\int \dfrac{x+2}{x^2+x+1} \, dx = \dfrac{1}{2} \ln \big( | x^2+x+1 | \big) + \dfrac{3}{2} \int \dfrac{1}{\left(\dfrac{\sqrt{3}}{2}\right)^2 \left(\dfrac{2}{\sqrt{3}}\right)^2\left(x+\dfrac{1}{2}\right)^2 + \left(\dfrac{\sqrt{3}}{2}\right)^2} \, dx
En factorisant le dénominateur par (32)2\left(\dfrac{\sqrt{3}}{2}\right)^2, on obtient :
x+2x2+x+1dx=12ln(x2+x+1)+321(32)21(23)2(x+12)2+1dx\int \dfrac{x+2}{x^2+x+1} \, dx = \dfrac{1}{2} \ln \big( | x^2+x+1 | \big) + \dfrac{3}{2} \dfrac{1}{\left(\dfrac{\sqrt{3}}{2}\right)^2} \int \dfrac{1}{ \left(\dfrac{2}{\sqrt{3}}\right)^2\left(x+\dfrac{1}{2}\right)^2 + 1} \, dx
Soit encore :
x+2x2+x+1dx=12ln(x2+x+1)+321341(23(x+12))2+1dx\int \dfrac{x+2}{x^2+x+1} \, dx = \dfrac{1}{2} \ln \big( | x^2+x+1 | \big) + \dfrac{3}{2} \dfrac{1}{\dfrac{3}{4}} \int \dfrac{1}{ \left(\dfrac{2}{\sqrt{3}}\left(x+\dfrac{1}{2}\right)\right)^2 + 1} \, dx
Ce qui nous donne :
x+2x2+x+1dx=12ln(x2+x+1)+21(23(x+12))2+1dx\int \dfrac{x+2}{x^2+x+1} \, dx = \dfrac{1}{2} \ln \big( | x^2+x+1 | \big) + 2\int \dfrac{1}{ \left(\dfrac{2}{\sqrt{3}}\left(x+\dfrac{1}{2}\right)\right)^2 + 1} \, dx
Mais, on peut écrire que :
dx=d(3223x)=32d(23x)=32d(23x+13)=32d(23x+223)=32d(23(x+12))dx = d \left( \dfrac{\sqrt{3}}{2}\dfrac{2}{\sqrt{3}}x \right) = \dfrac{\sqrt{3}}{2} d \left( \dfrac{2}{\sqrt{3}}x \right) = \dfrac{\sqrt{3}}{2} d \left( \dfrac{2}{\sqrt{3}}x + \dfrac{1}{\sqrt{3}} \right) = \dfrac{\sqrt{3}}{2} d \left( \dfrac{2}{\sqrt{3}}x + \dfrac{2}{2\sqrt{3}} \right) = \dfrac{\sqrt{3}}{2} d \left( \dfrac{2}{\sqrt{3}}\left(x+\dfrac{1}{2}\right) \right)
Ce qui nous permet d'obtenir :
x+2x2+x+1dx=12ln(x2+x+1)+21(23(x+12))2+132d(23(x+12))\int \dfrac{x+2}{x^2+x+1} \, dx = \dfrac{1}{2} \ln \big( | x^2+x+1 | \big) + 2\int \dfrac{1}{ \left(\dfrac{2}{\sqrt{3}}\left(x+\dfrac{1}{2}\right)\right)^2 + 1} \, \dfrac{\sqrt{3}}{2} d \left( \dfrac{2}{\sqrt{3}}\left(x+\dfrac{1}{2}\right) \right)
Donc :
x+2x2+x+1dx=12ln(x2+x+1)+2321(23(x+12))2+1d(23(x+12))\int \dfrac{x+2}{x^2+x+1} \, dx = \dfrac{1}{2} \ln \big( | x^2+x+1 | \big) + 2 \dfrac{\sqrt{3}}{2}\int \dfrac{1}{ \left(\dfrac{2}{\sqrt{3}}\left(x+\dfrac{1}{2}\right)\right)^2 + 1} \, d \left( \dfrac{2}{\sqrt{3}}\left(x+\dfrac{1}{2}\right) \right)
En simplifiant :
x+2x2+x+1dx=12ln(x2+x+1)+31(23(x+12))2+1d(23(x+12))\int \dfrac{x+2}{x^2+x+1} \, dx = \dfrac{1}{2} \ln \big( | x^2+x+1 | \big) + \sqrt{3} \int \dfrac{1}{ \left(\dfrac{2}{\sqrt{3}}\left(x+\dfrac{1}{2}\right)\right)^2 + 1} \, d \left( \dfrac{2}{\sqrt{3}}\left(x+\dfrac{1}{2}\right) \right)
Posons alors X=(23(x+12))X = \left( \dfrac{2}{\sqrt{3}}\left(x+\dfrac{1}{2}\right) \right). Ainsi, cela nous permet d'obtenir :
x+2x2+x+1dx=12ln(x2+x+1)+31X2+1dX\int \dfrac{x+2}{x^2+x+1} \, dx = \dfrac{1}{2} \ln \big( | x^2+x+1 | \big) + \sqrt{3} \int \dfrac{1}{ X^2 + 1} \, d X
Avec C2RC_2 \in \mathbb{R}, on trouve que :
Soit :
x+2x2+x+1dx=12ln(x2+x+1)+3arctan(X)+C2\int \dfrac{x+2}{x^2+x+1} \, dx = \dfrac{1}{2} \ln \big( | x^2+x+1 | \big) + \sqrt{3} \arctan\left( X \right) + C_2
Comme X=23(x+12)X = \dfrac{2}{\sqrt{3}}\left(x+\dfrac{1}{2}\right) , cela nous donne donc :
x+2x2+x+1dx=12ln(x2+x+1)+3arctan(23(x+12))+C2\int \dfrac{x+2}{x^2+x+1} \, dx = \dfrac{1}{2} \ln \big( | x^2+x+1 | \big) + \sqrt{3} \arctan\left( \dfrac{2}{\sqrt{3}}\left(x+\dfrac{1}{2}\right) \right) + C_2
On trouve alors :
F(x)=f(x)dx=ln(x1)+C1(12ln(x2+x+1)+3arctan(23(x+12))+C2)F(x) = \int f(x) \, dx = \ln \big( | x-1 | \big) + C_1 - \left( \dfrac{1}{2} \ln \big( | x^2+x+1 | \big) + \sqrt{3} \arctan\left( \dfrac{2}{\sqrt{3}}\left(x+\dfrac{1}{2}\right) \right) + C_2 \right)
D'où :
F(x)=f(x)dx=ln(x1)+C112ln(x2+x+1)3arctan(23(x+12))C2F(x) = \int f(x) \, dx = \ln \big( | x-1 | \big) + C_1 - \dfrac{1}{2} \ln \big( | x^2+x+1 | \big) - \sqrt{3} \arctan\left( \dfrac{2}{\sqrt{3}}\left(x+\dfrac{1}{2}\right) \right) - C_2
En posant C=C1C2C = C_1 - C_2, on trouve finalement que :
F(x)=f(x)dx=ln(x1)12ln(x2+x+1)3arctan(23(x+12))+CF(x) = \int f(x) \, dx = \ln \big( | x-1 | \big) - \dfrac{1}{2} \ln \big( | x^2+x+1 | \big) - \sqrt{3} \arctan\left( \dfrac{2}{\sqrt{3}}\left(x+\dfrac{1}{2}\right) \right) + C