MHB Indefinite integration involving exponential and rational function

juantheron
Messages
243
Reaction score
1
Calculation of $\displaystyle \int e^x \cdot \frac{x^3-x+2}{(x^2+1)^2}dx$
 
Mathematics news on Phys.org
Let $$y = \mathrm{e}^x \cdot \frac{x^3 - x + 2}{(x^2 + 1)^2} = f'$$ for some function $$f$$.

If we then write $$f = \mathrm{e}^x q$$ for some function $$q$$ and differentiate this we see that $$f' = \mathrm{e}^x (q + q')$$. Thus we can write

$$\mathrm{e}^x \cdot \frac{x^3 - x + 2}{(x^2 + 1)^2} = \mathrm{e}^x (q + q') \quad \Leftrightarrow \quad \frac{x^3 - x + 2}{(x^2 + 1)^2} = q + q'$$.

This could be solved directly, but I liked more to do this light differently like this:

Now I assume that function $$q$$ can be written in form $$q = \frac{p}{x^2 + 1}$$ using some function $$p$$. Substituting this into the equation gives us

$$(x - 1)^2p + (x^2 + 1)p' = x^3 - x + 2$$.

This ODE is easy to solve. For homogenous equation we obtain

$$p_h = C\mathrm{e}^{-x}(x^2 + 1)$$

and particular solution

$$p_p = x + 1$$,

and thus the solution to the ODE is

$$p = x + 1 + C\mathrm{e}^{-x}(x^2 + 1)$$.

Now we can write the functions $$q$$ and $$f$$, namely

$$q = \frac{p}{x^2 + 1} = \frac{x + 1}{x^2 + 1} + C\mathrm{e}^{-x}$$

and

$$f = \mathrm{e}^x q = \mathrm{e}^x \cdot \frac{x + 1}{x^2 + 1} + C$$.

Hence

$$\int \mathrm{e}^x \cdot \frac{x^3 - x + 2}{(x^2 + 1)^2} \mathrm{d}x = \mathrm{e}^x \cdot \frac{x + 1}{x^2 + 1} + C$$.
 
Here is a little puzzle from the book 100 Geometric Games by Pierre Berloquin. The side of a small square is one meter long and the side of a larger square one and a half meters long. One vertex of the large square is at the center of the small square. The side of the large square cuts two sides of the small square into one- third parts and two-thirds parts. What is the area where the squares overlap?

Similar threads

  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
5K