Integration by parts question help

Click For Summary

Homework Help Overview

The discussion revolves around the application of integration by parts, specifically addressing the treatment of the constant of integration in the context of indefinite integrals. Participants explore why constants are not considered separately for each integral in the integration by parts formula.

Discussion Character

  • Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants examine the integration by parts formula and question the necessity of treating constants of integration separately. They discuss the implications of using different constants and how it affects the resulting functions.

Discussion Status

The discussion is active, with participants providing insights into the reasoning behind using a single constant of integration. Some clarify the relationship between the constants and the functions involved, while others express confusion about the implications of different constants.

Contextual Notes

There are mentions of potential misunderstandings regarding the notation used in integrals, as well as the nature of indefinite versus definite integrals in the context of integration by parts.

Suraj M
Gold Member
Messages
596
Reaction score
39

Homework Statement


While integrating by parts( by the formula) why don't we consider the contant of integration for every integral in the equation.

Homework Equations



$$∫uv = u∫v - ∫ ∫v . d/dx(u) $$

The Attempt at a Solution



[/B]
example.
$$∫x \sin(x) dx = ?? $$
this is can be done like this
$$ x ∫ \sin(x) - ∫ ∫ \sin(x) .1 $$
$$ ⇒ -x \cos(x) + \sin(x) + c$$
why not like this..??
$$ ⇒ x( - \cos(x) +c₁ ) +\sin(x) +c₂$$
in this case the two constants don't add up to give one constant, it give s a new ##c_1x## term
 
Physics news on Phys.org
Suraj M said:

Homework Statement


While integrating by parts( by the formula) why don't we consider the constant of integration for every integral in the equation.

Homework Equations


$$∫uv = u∫v - ∫ ∫v . d/dx(u) $$

The Attempt at a Solution


[/B]
example.
$$∫x \sin(x) dx = ?? $$
this is can be done like this
$$ x ∫ \sin(x) - ∫ ∫ \sin(x) .1 $$
$$ ⇒ -x \cos(x) + \sin(x) + c$$
why not like this..??
$$ ⇒ x( - \cos(x) +c₁ ) +\sin(x) +c₂$$
in this case the two constants don't add up to give one constant, it give s a new ##c_1x## term
You have lots of ∫ symbols with no trailing differential, like dx or du or dv ...
That makes it difficult or impossible to untangle much of what you have written.

To see that the result for your example is wrong, differentiate that result.
 
You have to put the same integration constant in both places where it appears on the RHS, so it cancels out. In your example this works as so:
$$\int x \sin x\, dx = x \int \sin x\, dx - \int 1\cdot \int \sin u\, du\, dx
= x [- \cos x+c_1] - \int 1\cdot [- \cos x+c_1]\, dx
= -x \cos x-c_1x +c_1x + \sin x+c_2
= -x \cos x + \sin x+c_2
$$
So we end up with only one integration constant.
 
  • Like
Likes   Reactions: Suraj M and RUber
SammyS said:
You have lots of ∫ symbols with no trailing differential, like dx or du or dv ...
That makes it difficult or impossible to untangle much of what you have written.
Im very sorry about that! i can't edit it now. But i hope you get what I'm saying. Also if you could verify Andrew's reasoning, it would be very helpful.
 
andrewkirk said:
You have to put the same integration constant in both places where it appears on the RHS, so it cancels out.
Why should we consider the same constant?? in both cases, because differentiating with different constants we still get ##\sin(x)##.
 
Last edited:
It is the same function. You start with ##\int x \sin(x) dx## and then say that your sine is function 'v' in your formula. So, yes there are different constants that would work, but if you use different constants, you have two different functions. v = v all the time.
'
 
RUber said:
ut if you use different constants, you have two different functions. v = v all the time.
Yes, but there is a possibility for ## ∫ v dv ≠ ∫v dv ## ?
 
Nope. There is a possibility that ##\int v'_1 dv \neq \int v'_2 dv## where v1 and v2 have the same derivative. But your assumption from the outset is that v = v.
 
So are you saying that ##∫vdv =∫vdv##?always?
 
  • #10
Within the context of a given problem, yes.
When you apply integration by parts to the form ##\int f(x) dx##, you are assuming that f(x)dx is of the form uv'. Thus you are assuming that there is one v that gives you that v' and you want to solve for it. Clearly, there are an infinite number of options, which is why you denote it with a C, but the underlying assumption is that there is only one function v.
 
  • #11
Suraj M said:
Why should we consider the same constant?? in both cases, because differentiating with different constants we still get ##\sin(x)##.
The reason is in the proof that integration by parts works. THe proof is based on the product rule
##(fg)'=f'g+fg'##
which is rearranged to give
##fg'=(fg)'-f'g##
We then integrate both sides to get
##\int fg' = fg +c_1 - \int f'g##
We can ignore ##c_1## because it will end up being added to the constant of integration we get when we integrate ## \int f'g##.
So we can just write
##\int fg' = fg - \int (f'g)##.

This is the correct form of the rule for integration by parts. Note that ##g## occurs twice on the RHS, and it is the same function both times. It cannot differ by a constant under this formula.

The version of the rule you wrote is not quite correct, specifically because it introduces an additional constant. Texts sometimes do this, but it is sloppy, and can introduce errors, of the type you have identified here. If we want to write it without a ##g'##, we should write:
##\int fh = fg - \int (f'g)## where ##g## is a function whose derivative is ##h##.
 
  • Like
Likes   Reactions: Suraj M
  • #12
Suraj M said:
So are you saying that ##∫vdv =∫vdv##?always?
If we got a different anti-derivative every time we integrated something, calculus would be meaningless. Mathematics would be totally and capriciously random.
 
  • #13
Thank you Andrew, cleared all my doubts :-)
 
  • #14
There shouldn't be any big mystery about integrating by parts. It is easily understood and remembered thinking of definite integrals and areas The curve in my as usual crude sketch represents a function u(v) of variable v. The total rectangle whose corners are (0, 0) and (b, u(b)) has area b.u(b) . The total shaded are is [uv]ab or (b.u(b) - a.u(a)). The |||| hatched area is ∫ab u dv and this obviously equals the difference between the said total hatched [uv]ab and the ≡≡ hatched
which is obviously ∫u(a)u(b)v du . Simples.

image.jpg
 

Attachments

  • image.jpg
    image.jpg
    23.5 KB · Views: 346
Last edited:
  • Like
Likes   Reactions: SammyS
  • #15
but then this(the question i have mentioned) is not a definite integral,
im sorry if i might have misinterpreted what you were saying.
 
  • #16
Suraj M said:
but then this(the question i have mentioned) is not a definite integral,
im sorry if i might have misinterpreted what you were saying.

Well think about it more flexibly or maybe someone else can explain what I mean. Every indefinite integral is essentially a definite integral by the time you've included the constant of integration and used it for anything, I'd say. Consider the fact you can make the integration limits anything you like (or rather anything he function permits), Whatever the a and b in my fig.- don't have to be the ones I chose.
 
Last edited:

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 27 ·
Replies
27
Views
4K
Replies
3
Views
2K