Integration by Parts: A Powerful Tool in the Theory of Distributions

In summary, to solve the integral \int 4x cos(2x), we use the formula \int{uv'dx}=uv-\int{u'vdx}+C and set u(x)=4x, v'(x)=cos(2x), which gives us v(x)=1/2sin(2x). We plug these into the formula to get 4x*1/2sin(2x) - \int 4*1/2sin(2x)*dx + C. To solve \int 4*1/2sin(2x), we use the substitution method by letting u=2x, which gives us du=2dx and dv=cos(u)du
  • #1
Whatupdoc
99
0
[tex]\int 4x cos(2x)[/tex]

using integration by parts...

u=4x
du= 4
dv=cos(2x)
v=cos(x)sin(x)

using the formula uv - [tex]\int[/tex]v*du...

4x*cos(x)sin(x) - [tex]\int[/tex]cos(x)sin(x)*4x

hmm i can't seem to finish this problem, can someone help? and am i doing it correctly so far?
 
Physics news on Phys.org
  • #2
Your expression for v is incorrect.
 
  • #3
DO NOT USE THIS HORRIBLE MIXTURE OF INTEGRATION BY PARTS AND INTEGRATION BY SUBSTITUTION!
Use the following:
[tex]\int{uv'dx}=uv-\int{u'vdx}+C[/tex]
Set:
[tex]u(x)=4x, v'(x)=\cos(2x)\to{v(x)}=\frac{1}{2}\sin(2x)[/tex]
 
  • #4
arildno said:
DO NOT USE THIS HORRIBLE MIXTURE OF INTEGRATION BY PARTS AND INTEGRATION BY SUBSTITUTION!
Use the following:
[tex]\int{uv'dx}=uv-\int{u'vdx}+C[/tex]
Set:
[tex]u(x)=4x, v'(x)=\cos(2x)\to{v(x)}=\frac{1}{2}\sin(2x)[/tex]


ok so i plugged the parts into the formula
[tex]\int{uv'dx}=uv-\int{u'vdx}+C[/tex]

[tex]4x*1/2*sin(2x) - \int 4*1/2*sin(2x)*dx + C[/tex]

anti-deri. of sin is -cos that is why it's adding now...

4x*1/2*sin(2x) + 4x*1/4*cos(2x)
so... would that be the answer?
 
  • #5
Whatupdoc said:
ok so i plugged the parts into the formula
[tex]\int{uv'dx}=uv-\int{u'vdx}+C[/tex]

[tex]4x*1/2*sin(2x) - \int 4*1/2*sin(2x)*dx + C[/tex]

anti-deri. of sin is -cos that is why it's adding now...

4x*1/2*sin(2x) + 4x*1/4*cos(2x)
so... would that be the answer?
Yes, it's the answer, try differentiating it.

EDIT: Error.
 
Last edited by a moderator:
  • #6
the thing is, the answer is incorrect. i don't know what the correct answer is, but i know that isn't the answer. i submit my homework thru a online server and it checks your answer. what am i doing wrong?
 
  • #7
Whatupdoc said:
the thing is, the answer is incorrect. i don't know what the correct answer is, but i know that isn't the answer. i submit my homework thru a online server and it checks your answer. what am i doing wrong?
My deepest apologies. I must have been blind! The correct answer should be [tex]2xsin2x + cos2x[/tex] (written in Tex for clarity)
 
  • #8
thanks for the correct answer, but where did i go wrong?
 
  • #9
Whatupdoc said:
4x*1/2*sin(2x) + 4x*1/4*cos(2x)
That x is not supposed to be there.
 
  • #10
[tex]4x*1/2*sin(2x) - \int 4*1/2*sin(2x)*dx + C[/tex]

hmm i thought i was suppose to take the anti-derivative of 4 also... can you tell me why i don't need to take the anti-derivative of the "4" after the intergral?
 
  • #11
here are my thoughts..

[tex] \int 4*1/2*sin(2x)dx[/tex]
is equivalent to
[tex] \int 2 *sin(2x)dx[/tex]
is equivalent to
[tex]2* \int sin(2x)dx[/tex]

you can always pull out the constant factor
 
Last edited:
  • #12
Whatupdoc said:
[tex]4x*1/2*sin(2x) - \int 4*1/2*sin(2x)*dx + C[/tex]

hmm i thought i was suppose to take the anti-derivative of 4 also... can you tell me why i don't need to take the anti-derivative of the "4" after the intergral?


What do you mean by "take the anti-derivative of 4 also"? Did you also think you should take the anti-derivative of the 1/2?
[itex]\int{f(x)g(x)dx} [/itex] is NOT [itex]\int{f(x)dx}\int{g(x)dx}[/itex].

In particular, if C is any constant (4, 1/2, whatever),
[tex]\int{Cf(x)dx}= C\int{f(x)dx}[/itex].

[tex]\int{4(1/2)sin(2x)dx}= \int{2sin(2x)dx}= 2\int{sin(2x)dx}= -cos(2x)+ C [/tex].
 
  • #13
HallsofIvy said:
What do you mean by "take the anti-derivative of 4 also"? Did you also think you should take the anti-derivative of the 1/2?
[itex]\int{f(x)g(x)dx} [/itex] is NOT [itex]\int{f(x)dx}\int{g(x)dx}[/itex].

In particular, if C is any constant (4, 1/2, whatever),
[tex]\int{Cf(x)dx}= C\int{f(x)dx}[/itex].

[tex]\int{4(1/2)sin(2x)dx}= \int{2sin(2x)dx}= 2\int{sin(2x)dx}= -cos(2x)+ C [/tex].


that was very very very helpful, thank you sooo much. i always thought that [itex]\int{f(x)g(x)dx} [/itex] is equal to [itex]\int{f(x)dx}\int{g(x)dx}[/itex] .

ok one more thing, so what is [itex]\int{f(x)g(x)dx} [/itex] then? would i just take the anti-derv. of f(x)?
 
  • #14
No. Generally, you would have to find the antiderivative of [itex]f(x)g(x)[/itex]. Knowing the antiderivative of one of them would permit you to use integration by parts.
 
  • #15
This is a little off-topic, but given a function, how do we know if it's anti-derivative exists?
 
  • #16
I think all continuous functions have anti-derivatives, because given a real continuous function f defined on say [a, b], if we define A by

[tex]A(x) = \int^{x}_{a} f(t) dt[/tex]

then A'(x) = f(x) (for all sensible values of x) (this is usually part of the proof of the fundamental theorem of (integral) calculus). So an anti-derivative exists (actually writing such a function in a closed form is a totally different matter though ;)).

Someone correct me if I'm wrong...
 
Last edited:
  • #17
Ethereal said:
This is a little off-topic, but given a function, how do we know if it's anti-derivative exists?

Every continuous function (in fact, every bounded function whose points of discontinuity form a set of measure 0) has an anti-derivative. Whether or not that anti-derivative is an "elementary" function depends on your definition of "elementary" function!

Whatsupdoc said:
that was very very very helpful, thank you sooo much. i always thought that [itex]\int{f(x)g(x)dx} [/itex] is equal to [itex]\int{f(x)g(x)dx} [/itex].

ok one more thing, so what is [itex]\int{f(x)g(x)dx} [/itex] then? would i just take the anti-derv. of f(x)?

No, of course, not! You can't just ignore g! The way you integrate a product IS "integration by parts".


Remember the differentiation laws? IF (fg)'= f' g' THEN we could integrate both sides and get [itex]\int{f(x)g(x)dx}=\int{f(x)g(x)dx} [/itex].

But that's NOT true. What is true is the "product rule": (fg)'= f'g+ fg'.
That's the same as fg'= (fg)'- f'g. Integrating both sides,
[itex]\intf(x)g'(x)dx= fg- \int g f' dx[/itex].

Writing u= f, dv= g'dx, that is exactly [itex]\int udv= uv- \int vdu[/itex].
 
  • #18
HallsofIvy said:
No, of course, not! You can't just ignore g! The way you integrate a product IS "integration by parts".


Remember the differentiation laws? IF (fg)'= f' g' THEN we could integrate both sides and get [itex]\int{f(x)g(x)dx}=\int{f(x)g(x)dx} [/itex].

But that's NOT true. What is true is the "product rule": (fg)'= f'g+ fg'.
That's the same as fg'= (fg)'- f'g. Integrating both sides,
[itex]\intf(x)g'(x)dx= fg- \int g f' dx[/itex].

Writing u= f, dv= g'dx, that is exactly [itex]\int udv= uv- \int vdu[/itex].


i read your post many many times, and i kinda get what your saying, but i am also confused about some parts. I am way better with examples, can you help me step by step and solve this problem:

[tex]\int 4x cos(2x)[/tex] <-- this problem is the one i asked for from my first post, i already got the answer, but i don't know how Ethereal got the answer.

let me show you how i tried to solve the problem.

using [tex]\int{uv'dx}=uv-\int{u'vdx}+C[/tex]
u(x) = 4x
du(x) = 4dx
dv(x) = cos(2x)
v = 1/2sin(2x)

plugged in what i have...

[tex]4x*1/2sin(2x) \int 4*1/2sin(2x)[/tex]

ok now i know that i need to solve [tex]\int 4*1/2sin(2x)[/tex]
ok at this point, i am really stuck and confused. can someone help me step by step and explain to me what i really need to do? i know it's a lot to ask for, but i really want to learn it.
 
Last edited:
  • #19
I think there's still some problems in your setup. The formula for int. by parts is:
[itex]\int udv= uv- \int vdu[/itex]

Let u = 4x
dv = cos(2x)dx
du = 4 dx
v = 1/2 sin(2x)

[itex]\int 4x cos(2x)dx = 4x (1/2 sin (2x)) - \int (1/2 sin (2x)) 4 dx[/itex]

which becomes:

[itex]\int 4x cos(2x)dx = 2x sin (2x) - \int 2 sin (2x) dx[/itex]

which becomes

[itex]\int 4x cos(2x)dx = 2x sin (2x) - 2\int sin (2x) dx[/itex]

the last integral is pretty easy to solve with a substitution for 2x. Does that help at all?
 
  • #20
If you're stuck on the last part, show how you would integrate this:

[itex]\int sin(2x)dx [/itex]

that should pinpoint where the problem is.
 
  • #21
thanks for the help, everything makes sense now besides one thing.that is extactly where I am having the problem at, would i use the chain rule backwards or something to integrate [itex]\int sin(2x)dx [/itex] ?

and do you see how [itex]\int (1/2 sin (2x)) 4 dx[/itex] became [itex]\int 2 sin (2x) dx[/itex]. if 4 was let's say 4x, would i have to do a second integration for the 2nd part of the problem?
 
  • #22
HallsofIvy said:
Every continuous function (in fact, every bounded function whose points of discontinuity form a set of measure 0) has an anti-derivative. Whether or not that anti-derivative is an "elementary" function depends on your definition of "elementary" function!
Is there a proof of this somewhere? And is there a standard definition which exists for "elementary"?
 
  • #23
you can use substitution on

[itex]\int sin(2x)dx [/itex]

let u = 2x
du = 2 dx
1/2 du = dx

now you can rewrite the integral like so:

[itex]\int sin u (1/2 du) [/itex]

or

[itex]1/2 \int sin u du [/itex]

which is 1/2 * (-cos u) + c

and subbing back is

-1/2 cos(2x) + c

(apologies for my cruddy latex)
 
Last edited:
  • #24
ah perfect, i totally understand. thank you
 
  • #25
Ethereal said:
Is there a proof of this somewhere? And is there a standard definition which exists for "elementary"?

Proofs that every continuous function or every bounded function with a finite number of discontinuities can be found in any good calculus book. The proof that every bounded function whose discontinuities form a set of measure is (Riemann) integrable depends upon "measure" theory, normally an advanced topic in analysis, in order to define "set of measure zero"!

In terms of the Lebesque integral, there exist functions discontinuous everywhere that are integrable.
 
  • #26
halls of ivy's interesting remarks, may be enlarged on as follows.

first of all it is a basic fact of elementary integration theory, proved say in spivak's calculus on manifolds, that every bounded function f which has only a measure zero set of discontinutities, is riemann integrable.

then we can take the indefinite integral of any such function as an "antiderivative". i.e. the function G(x) = integral of f from a to x, is in some sense an "antiderivative" of f. I.e. the usual elementary proof of the fundamental theorem of calculus surely found in every calculus book, (except maybe sylvanus p thompson?), proves that G is differentiable at least at every point x where f was continuous, and at such points that G'(x) = f(x).

Moreover G is continuous everywhere.

However, it does not follow that such an "antiderivative" can be used to evaluate the integral of f. I.e. there may exist other continuous functions H which are also differentiable everywhere that f is continuous, and such that H'(x) = f(x) at such points, and yet H and G may not differ by a constant!

So the usual mean value theorem fails here for these more general functions.

So we would like to rule out allowing the latter function H be an "antiderivative" of f.

E.g. consider the famous "middle third" construction, in which we define H to equal 1/2 on the open middle third of the unit interval, to equal 1/4 on the open middle third of the interval from 0 to 1/3, and to be 3/4 on the open middle third of the interval from 2/3 to 1. Continue this construction forever, and obtain a function H which is continuous on all of [0,1], has H(0) = 0, H(1) = 1, but H has derivative zero on the union of all the middle third sets, which together have length one, by the geometric series formula.

Thus this H is an antiderivative in our naive sense above for the function f which equals zero on the union of the middle third sets and equals 1 elsewhere (elsewhere being a closed set of measure zero). However the integral of this function f is zero, while using H to compute H(1)-H(0) gives us 1.

Thus we need a morev restrictive definition of "antiderivative" if we want the concept to be useful in integrating arbitrary riemann integrabele functions. the concept needed is a strengthening of uniform continuity called "absolute continuity". i think it says more or less that given any length e, we can find a length d such that on any finite disjoint union of subintervals of total length d, the total change in the function is less than e.

Then if we define an antiderivative of a riemann integrable function f to be an absolutely continuous function G for which G'(x) = f(x) wherever f is continuous, then it does follow that any two such functions differ by a constant, and thus that the integral of f from a to b is G(b)-G(a), for anyone of them.


In trying to offer new stuff to my calculus clas this eyar I was venturing into these waters, and actually made a false conjecture about the more naive antiderivatives above, until educated by an analyst colleague. so to my great delight, i finally found out what that concept "absolute continutiy" was good for, that I encountered so long ago in measure theory!

by the way a set has measure zero if it can be covered by a sequence of intervals of arbitrarily small total length. for instance any sequence of points ahs measure zero, since given a length e, we can take a sequence of intervals of lengths e/2, e/4, e/8,... and center one interval on each point thus covering them all.

the complement of the middle thiord set disacussed above is actually more numerous than this, but has measure zero because the complement in [0,1] has length 1. i have proved elsewhere on this site that this set is uncountable.
 
Last edited:
  • #27
integration by parts is extremely interestijng for another reason, it let's you differentiate functions which are not differentiable at all in any usual sense.

i.e. just as a vector in R^n is determined by its dot product with every other vector, a wide variety of functions are essentially determined by their analogous "dot products", i.e. by all the integrals of their products with all other smooth functions.

we can even restrict these other smooth functions to vanish at infinity. now imagine that there is a function we want to differentiate, but it is not differentiable, but it is at least integrable. Then by the remark abbove we would know what its "derivative" was if we knew the integral of that derivative against every smooth function vanishing at infinity.

But then by the integration by parts formula, the integral of our unknown "derivative" against that smooth function, should equal the (negative of) the integral of the original integrable function multiplied by the actual derivative of the smooth function!

i.e. integration by parts let's us move the derivative operation over from the function where it is not understood, to the one where it is known.

so although we cannot differentiate our function directly we can define the dot product with every smooth function (vanishing at infinity) of its so called "derivative".

so even though we do not know what the derivative is, we do know how it behaves under dot product with other smooth functions, and that is enough for many purposes.

gussied up, this is called the theory of "distributions", and is extremely powerful in proving existence of solutions of differential equations. see frank warner's book. e.g.
 

Related to Integration by Parts: A Powerful Tool in the Theory of Distributions

1. How does integration by parts work?

Integration by parts is a technique used in calculus to solve integrals involving products of functions. It involves rewriting the integral as a product of two functions, usually denoted as u(x) and v(x), and then using the integration by parts formula: ∫u(x)v'(x)dx = u(x)v(x) - ∫u'(x)v(x)dx. This formula allows us to solve the integral by integrating one function and differentiating the other, until the integral becomes easier to solve.

2. When should I use integration by parts?

Integration by parts is most useful when the integral involves a product of functions that cannot be easily integrated using other techniques, such as substitution or trigonometric identities. It is also useful when the integral involves a function that can be easily differentiated or integrated multiple times.

3. How do I choose u and v in integration by parts?

When using integration by parts, the choice of u and v is important in order to simplify the integral as much as possible. In general, u should be a function that becomes simpler when differentiated, and v should be a function that becomes simpler when integrated. A common rule is to let u be the more complicated function in the product, and v be the simpler function.

4. Can I use integration by parts to solve definite integrals?

Yes, integration by parts can also be used to solve definite integrals. In this case, the integration by parts formula becomes: ∫a to b u(x)v'(x)dx = [u(x)v(x)]ab - ∫a to b u'(x)v(x)dx. The limits of integration, a and b, are substituted into the formula and the integral is solved as usual.

5. Are there any other techniques for solving integrals?

Yes, there are several other techniques for solving integrals, such as substitution, trigonometric identities, partial fractions, and integration by parts. The choice of technique depends on the complexity of the integral and the functions involved. It is important to be familiar with all of these techniques in order to solve a variety of integrals.

Similar threads

  • Calculus and Beyond Homework Help
Replies
15
Views
801
Replies
8
Views
250
Replies
2
Views
989
  • Calculus and Beyond Homework Help
Replies
5
Views
795
  • Calculus
Replies
6
Views
1K
Replies
16
Views
1K
  • Differential Equations
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
22
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
897
Back
Top