Resolving Integrals by Parts: Why Can't I Do It?

  • Thread starter Thread starter SclayP
  • Start date Start date
  • Tags Tags
    Integral
Click For Summary

Homework Help Overview

The discussion revolves around the integral \(\int \frac{1}{(1+x^2)(x+1)}\,dx\) and the challenges faced by the original poster in resolving it using integration by parts. There is a mention of alternative methods, such as partial fractions, which seem to be a point of confusion.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants explore the use of integration by parts and question its applicability for the given integral. There are attempts to apply partial fraction decomposition, with some participants expressing uncertainty about their approach and the necessity of using additional variables in the decomposition.

Discussion Status

The conversation is ongoing, with participants providing insights into the limitations of integration by parts for certain integrands. Guidance has been offered regarding the structure of partial fractions, and there is an acknowledgment of multiple methods to approach the problem.

Contextual Notes

There is a noted confusion regarding the setup of partial fractions, particularly when dealing with irreducible quadratics and the need for linear terms in the numerator. Participants are also grappling with the implications of their choices in method and the assumptions underlying their approaches.

SclayP
Messages
27
Reaction score
0
1. So, I have this integral which i'll post in a moment. The thing is that i attempted to resolve the integral by parts and i came up with a solution, but then i looked up in the internet and the way it's resolved it's very very different. I searched it on wolfram and i even have the step by step resolution but i don't know why i can't do it by parts. In Wolfram it's resolved first of all by "simple fractions"??
2.[itex]\int 1/((1+x^2)*(x+1))\,dx[/itex]
3. Well, like i said i tried to resolve it by part choosing 1/(x^2+1) dx like dv and 1/(x+1) like u. The i integrated by part and after all the precidure i came up with the next solution; I=arctg(x)/(x+1)

Please i'd be really happy if you could help me with this. AND SORRY FOR MY ENGLISH
 
Last edited by a moderator:
Physics news on Phys.org


Have you tried splitting the integrand into partial fractions?
 


jbunniii said:
Have you tried splitting the integrand into partial fractions?

Yes, I've tried but i don't come up with nothing that way. I mean, I'm clearly splitting the integrand wrong, but...can't it be resolved by parts. Why ?

Thank you.
 


SclayP said:
Yes, I've tried but i don't come up with nothing that way. I mean, I'm clearly splitting the integrand wrong, but...can't it be resolved by parts. Why ?
Integration by parts doesn't necessarily work for all integrands, even those that are a product of two functions. Over time you learn by experience what is likely to work in what case. Please show what you got when you tried partial fractions:
$$\frac{1}{(x^2 + 1)((x+1)} = \frac{?}{x^2 + 1} + \frac{?}{x + 1}$$
 


P.S. Are you saying that you used integration by parts and got the right answer? If so, there is nothing wrong with that. Often there is more than one way to solve a problem. If you post your work I will check it for you.
 


jbunniii said:
Integration by parts doesn't necessarily work for all integrands, even those that are a product of two functions. Over time you learn by experience what is likely to work in what case. Please show what you got when you tried partial fractions:
$$\frac{1}{(x^2 + 1)((x+1)} = \frac{?}{x^2 + 1} + \frac{?}{x + 1}$$

jbunniii said:
P.S. Are you saying that you used integration by parts and got the right answer? If so, there is nothing wrong with that. Often there is more than one way to solve a problem. If you post your work I will check it for you.

This i how it goes:

[itex]\frac{A}{x^2+1} + \frac{B}{x+1} = \frac{1}{(x^2+1)(x+1)}[/itex]

Then...

[itex]A(x+1) + B(x^2+1) = 1[/itex]

So,

[itex]Ax + A + Bx^2 + B = 1[/itex]

So now i do this,

[itex]Ax = 0[/itex]
[itex]Bx^2 = 0[/itex]
[itex]A + B = 1[/itex]

And this is where i don't know how to proceed...

Thanks again.
 


SclayP said:
This i how it goes:

[itex]\frac{A}{x^2+1} + \frac{B}{x+1} = \frac{1}{(x^2+1)(x+1)}[/itex]

Then...

[itex]A(x+1) + B(x^2+1) = 1[/itex]

So,

[itex]Ax + A + Bx^2 + B = 1[/itex]

So now i do this,

[itex]Ax = 0[/itex]
[itex]Bx^2 = 0[/itex]
[itex]A + B = 1[/itex]

And this is where i don't know how to proceed...

Thanks again.

Actually it goes ##\frac{Ax+B}{x^2+1} + \frac{C}{x+1} = \frac{1}{(x^2+1)(x+1)}##. Try it starting from there.
 


Dick said:
Actually it goes ##\frac{Ax+B}{x^2+1} + \frac{C}{x+1} = \frac{1}{(x^2+1)(x+1)}##. Try it starting from there.

I've tried it that way and i come up with this:

[itex](Ax+B)(x+1) + C(x^2+1) = 1[/itex]

→ [itex]Ax^2 + Ax + Bx + B + Cx^2 + C = 1[/itex]
→ [itex]x^2(A +C) + x(A +B) + B + C = 1[/itex]

[itex]A + C = 0[/itex]
[itex]A + B = 0[/itex]
[itex]B + C = 1[/itex]

So...

[itex]A = -C[/itex]
[itex]A = -B[/itex]

Then...

[itex]-C = -B[/itex] → [itex]B = C[/itex]

So, the only way is that B = 1/2 and C = 1/2

I guess its ok, but i have a doubt. How did you know it was that way, i mean i would never had though it that way. Why the x multipying the A ? And well would you explain please that ?

Thanks
 


SclayP said:
I've tried it that way and i come up with this:

[itex](Ax+B)(x+1) + C(x^2+1) = 1[/itex]

→ [itex]Ax^2 + Ax + Bx + B + Cx^2 + C = 1[/itex]
→ [itex]x^2(A +C) + x(A +B) + B + C = 1[/itex]

[itex]A + C = 0[/itex]
[itex]A + B = 0[/itex]
[itex]B + C = 1[/itex]

So...

[itex]A = -C[/itex]
[itex]A = -B[/itex]

Then...

[itex]-C = -B[/itex] → [itex]B = C[/itex]

So, the only way is that B = 1/2 and C = 1/2

I guess its ok, but i have a doubt. How did you know it was that way, i mean i would never had though it that way. Why the x multipying the A ? And well would you explain please that ?

Thanks

You generally need more variables than one if the factor has power greater than one. If you don't have enough variables you won't find any solution to the partial fractions problem - as you noticed. If the factor is quadratic, like x^2+1 you need a linear function having two variables (A,B) in the numerator, like Ax+B. The same sort of thing happens if you have powers of polynomials, like (x+1)^2. See http://tutorial.math.lamar.edu/Classes/CalcII/PartialFractions.aspx
 
  • #10


Dick said:
You generally need more variables than one if the factor has power greater than one. If you don't have enough variables you won't find any solution to the partial fractions problem - as you noticed. If the factor is quadratic, like x^2+1 you need a linear function having two variables (A,B) in the numerator, like Ax+B. The same sort of thing happens if you have powers of polynomials, like (x+1)^2. See http://tutorial.math.lamar.edu/Classes/CalcII/PartialFractions.aspx
Just to expand on what Dick said
If the factor is an irreducible quadratic, like x^2+1, then ...

If the quadratic is factorable, then you factor it and write expressions such as A/(x - r) + B/(x - s).
 
  • #11


Mark44 said:
Just to expand on what Dick said
If the factor is an irreducible quadratic, like x^2+1, then ...

If the quadratic is factorable, then you factor it and write expressions such as A/(x - r) + B/(x - s).

You CAN do the partial fractions formalism on reducible polynomials. E.g. (3x^2+12x+11)/((x^2+3x+2)(x+3)) can be split into (2x+3)/(x^2+3x+2)+1/(x+3). But, of course, you would be a lot better off if you recognize (x^2+3x+2)=(x+1)(x+2) and split it into 1/(x+1)+1/(x+2)+1/(x+3). It's just a lot simpler.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
11K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
3
Views
2K