Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Why can't I apply Leibniz' rule in the following way?

$$\frac{d}{ds} g(s)\int_0^\infty f(s,x,u) \, du = \int_0^\infty \frac{d}{ds}g(s)f(s,x,u)\,du,$$

assuming $gf$ and $(gf)'$ are continuous on $[0,+\infty]\times [s_0,s_1]$ for some $s_0<s_1\in\mathbb{R}$.

share|cite|improve this question
It is unclear if there is any relationship between $s$, $x$ and $u$. Are $x$ and $u$ functions of $s$? – Siminore Aug 4 '12 at 16:51
@Siminore, well, the $u$ is a dummy variable, so... – J. M. Aug 4 '12 at 16:57
As written, the domain of $f$ seems to be a subset of $\mathbf R^2$, so the expression you've written doesn't make sense (saying that it is continuous in something two-dimensional). Unless you mean that for all $x$, $f(s,x,u)$ is continuous as a function of $s,u$ in the specified range. But in this case the usage of $x$ as a bound of the range is very confusing. – tomasz Aug 4 '12 at 20:13
up vote 0 down vote accepted

The problem I was originally having was in thinking that $g(s)$ was a constant coefficient of the definite integral. However, since we wish to differentiate w.r.t. $s$ it seems we can not think of $g$ as a constant, which seems obvious now. Instead, we must treat $g\int$ as a product and apply the product rule of differentiation, e.g.

$$\frac{\partial}{\partial s}g(s)\int_0^\infty f(s,x,u)du = g(s)\frac{\partial}{\partial s}\int_0^\infty f(s,x,u)du + \left(\frac{d}{d s}g(s)\right)\int_0^\infty f(s,x,u)du.$$

We can then take the $\partial/\partial s$ inside the integral as required.

share|cite|improve this answer
Indeed, as long as you take a partial derivative, the other variables are as good as constants. I recommend using the standard notation \partial for partial derivatives. – user31373 Aug 8 '12 at 3:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.