Integration by parts constants

  • Thread starter Yegor
  • Start date
147
1
It's not homework, but i think it can make someone think a little.
[tex]\int\frac{dx}{x}[/tex]
Take it by parts.
If you'll be as careless as me you can make a discovery :rofl:
 
Last edited:

arildno

Science Advisor
Homework Helper
Gold Member
Dearly Missed
9,948
130
Set v'=1/x, u=1.
 

HallsofIvy

Science Advisor
Homework Helper
41,664
852
I'm clearly not understanding this (and it really belongs in the Calculus section rather than Homework).

Using arildno's suggestion: [tex] dv= \frac{1}{x}dx[/tex], u= 1 just means that you have to integrate [tex]\int\frac{dx}{x}[/tex] directly.

The only other possibility is dv= dx, [tex]u= \frac{1}{x}[/tex] so that v= x, [tex]du= \frac{-1}{x^2}[/tex]. Then integration by parts gives [tex]\int\frac{dx}{x}= (x)\frac{1}{x}- \int\frac{-xdx}{x^2}= 1+ \int\frac{dx}{x}[/tex] which is certainly true allowing for different constants of integration.
 
Last edited by a moderator:

arildno

Science Advisor
Homework Helper
Gold Member
Dearly Missed
9,948
130
It was a trick question, HallsofIvy:
He wanted to see if someone besides himself made a sign error so that you "get", say:
[tex]\int\frac{dx}{x}=1-\int\frac{dx}{x}\to\int\frac{dx}{x}=\frac{1}{2}[/tex]
 

dextercioby

Science Advisor
Homework Helper
Insights Author
12,927
504
Nope,my guess is it must have been 1=0.

Daniel.
 
788
0
This can applied to any basic integral. Example:

[tex]\int xdx[/tex]

I'll take this by parts.

dv = x
u = 1

[tex]\int udv = uv-\int vdu[/tex]

[tex]\int xdx = 1*\frac{x^2}{2}-\int \frac{x^2}{2}*0dx + C_1[/tex]

The [itex]C_1[/itex] from the first integral and the [itex]C_2[/itex] from [itex]\int 0 dx[/itex] can just be called [itex]C[/itex]

So the resulting answer is the same:

[tex]\int xdx = \frac{x^2}{2} + C[/tex]

I'm sorry to say I find this a little pointless...
 

arildno

Science Advisor
Homework Helper
Gold Member
Dearly Missed
9,948
130
Of course you can do that, Jameson.
I wasn't particularly serious about the whole thing, since the original post was, after all, rather silly.
 
788
0
I wasn't directing that at you... it was to the OP. I think it's agreed that this is silly.
 

arildno

Science Advisor
Homework Helper
Gold Member
Dearly Missed
9,948
130
Allright.
But, to take the thread into a bit of defense:
I'm sure we can recognize Yegor's feeling:
We do a calculation over and over again and get some complete nonsense out of it.

Then, slapping our head, we realize what an idiotic mistake we've made, and will start laughing over the whole matter .
I don't think Yegor ever meant it to be serious, since he had a :rofl: in his post, and perhaps want to share the joke with others.
 
147
1
Of course i disappoint you, but i meant exactly what Daniel wrote (0=1).
I just had some associations with [tex]\int e^{ax}\sin(bx)dx[/tex], where we have to make similar trick. And that's why posted it here.
Don't be so strict, please, if someone isn't so brainy as you and pays attention to silly things.
 

dextercioby

Science Advisor
Homework Helper
Insights Author
12,927
504
This is for Arildno: :tongue: My intuition was simply sublime :wink: :approve:

Daniel.

P.S.Yegor,only smart people learn from mistakes.Welcome aboard !! :smile:
 

arildno

Science Advisor
Homework Helper
Gold Member
Dearly Missed
9,948
130
Yes, you were absolutely divine today, daniel.
 

arildno

Science Advisor
Homework Helper
Gold Member
Dearly Missed
9,948
130
Yegor said:
Of course i disappoint you, but i meant exactly what Daniel wrote (0=1).
I just had some associations with [tex]\int e^{ax}\sin(bx)dx[/tex], where we have to make similar trick. And that's why posted it here.
Don't be so strict, please, if someone isn't so brainy as you and pays attention to silly things.
Okay, sorry that I phrased myself in a manner which seemed contemptuous towards you. That was not my intent at all, but evidently the result anyway.

Sorry about that.
 

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving

Hot Threads

Top