Order of integration and differentiation?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
9 replies · 6K views
Repetit
Messages
128
Reaction score
2
What am I doing wrong here, I thought the order of integration and differentiation didn't matter in most cases:

[tex] \int_a^b \frac{d}{dx} f(x) dx = \frac{d}{dx} \int_a^b f(x) dx = \frac{d}{dx} (F(b) - F(a)) = 0[/tex]

This is zero no matter what the expression of f(x) because F(a) and F(b) are constants. Am I not allowed to take the differentiation outside the integral when the integral has limits? This is most likely a stupid question for reasons I cannot see.
 
Physics news on Phys.org
[tex]\int_a^b f(x) \, dx[/tex]

is just a number, so your result shouldn't surprise you.

[tex]\int_a^b \frac{d}{dx}f(x) \, dx[/tex]

is a (most probably different) number. So I guess the answer to your question is:

[tex]\int_a^b \frac{d}{dx}f(x) \, dx \not= \frac{d}{dx}\int_a^b f(x) \, dx[/tex]
 
I would like to point out that the three uses of the letter x in

[tex] \frac{d}{dx} \int_a^b f(x) \, dx[/tex]

cannot all possibly refer to the same thing. You have written the mathematical equivalent of either gibberish or equivocation.



gibberish, meaning that it's not a well-formed mathematical expression

equivocation, meaning that you are using the same name for different things, and subsequently treating them as if they were the same thing.
 
Can you elaborate on this? I mean, it seems like the two inside the integration sign are fine. The function depends on x. It is being integrated with respect to x. And it's just a definite integral...a number. Why can't it be differentiated wrt x as well?

If it were something like this:

[tex]\frac{d}{dx} \int_a^x f(x) \, dx = f(x)[/tex]

then I could see why you'd complain. Some dummy variable of integration should be used:

[tex]\frac{d}{dx} \int_a^x f(t) \, dt = f(x)[/tex]
 
Last edited:
Hurkyl said:
I would like to point out that the three uses of the letter x in

[tex] \frac{d}{dx} \int_a^b f(x) \, dx[/tex]

cannot all possibly refer to the same thing. You have written the mathematical equivalent of either gibberish or equivocation.



gibberish, meaning that it's not a well-formed mathematical expression

equivocation, meaning that you are using the same name for different things, and subsequently treating them as if they were the same thing.

:confused:

[tex]f(x)=5x^2[/tex]
[tex] \int_a^b f(x) \, dx = \int_a^b (5x^2) \, dx = \frac{5}{3}b^3 - \frac{5}{3}a^3[/tex]

i don't understand how any of that is wrong except for the last part where differentiating a definite integral, which is a number, yields anything but 0
 
Hurkyl is complaining about the use of the symbol x to denote a dummy variable and a non-dummy variable.
 
DeadWolfe said:
Hurkyl is complaining about the use of the symbol x to denote a dummy variable and a non-dummy variable.

i don't understand what that means?
 
DeadWolfe said:
Hurkyl is complaining about the use of the symbol x to denote a dummy variable and a non-dummy variable.

That's just point of what I was asking! I don't think there *is* a need for a dummy variable in this situation. Didn't anybody read my post #4? I even gave an example of a situation in which you *would* need a dummy variable.
 
cepheid said:
That's just point of what I was asking! I don't think there *is* a need for a dummy variable in this situation. Didn't anybody read my post #4? I even gave an example of a situation in which you *would* need a dummy variable.

yEA I am with you!
 
In a definite integral, the symbol dx (or dwhatever) denotes that "x" is a "dummy" variable of integration. The integration variable vanishes once the function is integrated and the integration limits are applied. As Hurkl noted, using the same variable as the variable of integration and outside the integral leads to gibberish. The possibility for confusion become even less greater if the integration limits are functions rather than constants. For this reason, it is preferable to use a notation like cepheid did in post #4. Using a distinct variable of integration becomes mandatory when you do things like

[tex]\frac{d}{dt} \int_{a(t)}^{b(t)} f(t, \tau)\,\mathrm{d}\tau[/tex]