Register to reply

Differentiation Question

by S_David
Tags: differentiation
Share this thread:
S_David
#1
Feb13-11, 03:52 PM
P: 601
Hi,

I have this derivation, and I am not sure how to derive it:

[tex]\frac{d}{dp(x)}\int_{-\infty}^{\infty}p(x)\,log(p(x))\,dx[/tex]

I mean, what to do with the integral?

Another thing, how to integrate:

[tex]\int_{-\infty}^{\infty}e^{x^2}\,dx[/tex]

Thanks in advance
Phys.Org News Partner Mathematics news on Phys.org
Heat distributions help researchers to understand curved space
Professor quantifies how 'one thing leads to another'
Team announces construction of a formal computer-verified proof of the Kepler conjecture
Curl
#2
Feb13-11, 04:40 PM
P: 757
For the first one, read here:
http://en.wikipedia.org/wiki/Differe..._integral_sign

For the second one, square the thing and use Fubini's theorem. Then square root the answer at the end.
S_David
#3
Feb13-11, 07:43 PM
P: 601
Quote Quote by Curl View Post
For the first one, read here:
http://en.wikipedia.org/wiki/Differe..._integral_sign

For the second one, square the thing and use Fubini's theorem. Then square root the answer at the end.
It is still not fully clear, can you elaborate a little more, please?

Curl
#4
Feb14-11, 05:51 PM
P: 757
Differentiation Question

Quote Quote by S_David View Post
Hi,

I have this derivation, and I am not sure how to derive it:

[tex]\frac{d}{dp(x)}\int_{-\infty}^{\infty}p(x)\,log(p(x))\,dx[/tex]

I mean, what to do with the integral?

Another thing, how to integrate:

[tex]\int_{-\infty}^{\infty}e^{x^2}\,dx[/tex]

Thanks in advance
Squaring something means multiplying it by itself:

I2 =
[tex](\int_{-\infty}^{\infty}e^{x^2}\,dx)(\int_{-\infty}^{\infty}e^{x^2}\,dx)[/tex]

x is a dummy variable of integration. You can change it to "y" (or your favorite letter)

[tex](\int_{-\infty}^{\infty}e^{x^2}\,dx)(\int_{-\infty}^{\infty}e^{y^2}\,dy)[/tex]

This is similar to a double integral where it got split up because the first integrand was independent of the other variable. You can put them back together (you should know what Fubini's theorem says).

Switch to polar coordinates and it becomes a simple integral over the entire r-theta plane.

Square root the answer at the end (since you just calculated the square of the answer, remember you squared the integral)

Eat cookie
dextercioby
#5
Feb14-11, 06:20 PM
Sci Advisor
HW Helper
P: 11,928
Quote Quote by S_David View Post
Hi,

I have this derivation, and I am not sure how to derive it:

[tex]\frac{d}{dp(x)}\int_{-\infty}^{\infty}p(x)\,log(p(x))\,dx[/tex]

I mean, what to do with the integral?
Good question. :) You perform it and end up with a number which, when differentiated wrt to a function gives 0, because it won't depend on x, or on p(x) anymore.

Quote Quote by S_David
Another thing, how to integrate:

[tex]\int_{-\infty}^{\infty}e^{x^2}\,dx[/tex]

Thanks in advance
The function under the integral diverges when nearing the 2 infinities. The integral cannot be computed, because it's infinite.
HallsofIvy
#6
Feb15-11, 09:01 AM
Math
Emeritus
Sci Advisor
Thanks
PF Gold
P: 39,571
Good point bigubau! The others were thinking of
[tex]\int_{-\infty}^{\infty} e^{-x^2}dx[/tex]

S David, you seem to have difficulty distinguishing between a "definite" integral and "indefinite" integral. The first problem was also a "definite" integral and so, also as bitubau said, a constant. It's derivative is 0. The others were thinking of differentiating the "indefinite integral"
[tex]\frac{d}{dp(x)}\int p(x)\,log(p(x))\,dx[/tex]
S_David
#7
Feb15-11, 09:57 AM
P: 601
Quote Quote by HallsofIvy View Post
Good point bigubau! The others were thinking of
[tex]\int_{-\infty}^{\infty} e^{-x^2}dx[/tex]

S David, you seem to have difficulty distinguishing between a "definite" integral and "indefinite" integral. The first problem was also a "definite" integral and so, also as bitubau said, a constant. It's derivative is 0. The others were thinking of differentiating the "indefinite integral"
[tex]\frac{d}{dp(x)}\int p(x)\,log(p(x))\,dx[/tex]
Thank you all for these comments. Actually HallsofIvy, the integral in hand came from an optimization problem, and if it is 0, then we can not find the optimum solution. The problem is:

[tex]\underset{p(x)}{\text{max}}-\int_{-\infty}^{\infty}p(x)\log_2[p(x)]\,dx[/tex]

subject to:

[tex]\int_{-\infty}^{\infty}p(x)\,dx=1[/tex]
Mute
#8
Feb15-11, 02:55 PM
HW Helper
P: 1,391
Quote Quote by S_David View Post
Hi,

I have this derivation, and I am not sure how to derive it:

[tex]\frac{d}{dp(x)}\int_{-\infty}^{\infty}p(x)\,log(p(x))\,dx[/tex]
It looks like what you actually want to be doing here is taking a functional derivative.

That is, I think what you want is

[tex]\frac{\delta}{\delta p(y)}\int_{-\infty}^{\infty}p(x)\,log(p(x))\,dx[/tex]

The usual rules of regular calculus usually apply, but note

[tex]\frac{\delta f(x)}{\delta f(y)} = \delta(x-y)[/tex]
where [itex]\delta(x-y)[/itex] is the dirac delta. In doing this you will not get zero as an answer.


Register to reply

Related Discussions
Difficult differentiation question (the concept behind this question is elusive) Calculus & Beyond Homework 5
Differentiation Question help Calculus & Beyond Homework 1
Some help with this differentiation question thanks Precalculus Mathematics Homework 6
Question on Differentiation Calculus 10
Differentiation question General Math 11