Leibniz Rule for multivariable function

In summary, the conversation discusses the fundamental theorem of calculus and how to deal with it when the partial derivative is not equal to zero. The suggestion is to use the chain rule and define a function F that represents the integral with varying limits. The chain rule is then applied to find the partial derivative of F with respect to x. There is some confusion about the details, but the conversation ends with a request for clarification on the meaning of D1.
  • #1
member 428835
Hi PF!

Can anyone help me with showing the following: $$\frac{\partial}{\partial x} \int_{f(x)}^{g(x)} L(x,y)dy = \int_{f(x)}^{g(x)} \frac{\partial L}{\partial x} dy + \frac{\partial g}{\partial x} L(g,y) - \frac{\partial f}{\partial x} L(f,y)$$

I understand this as the fundamental theorem if ##\frac{\partial L}{\partial x} = 0## but how do I deal with this if it is not equal to zero? i was thinking about trying to say let ##F(x,f,g) = \int_{f(x)}^{g(x)} L(x,y)dy## and use chain rule but I'm not sure how to deal with the boundary terms.

Thanks!
 
Physics news on Phys.org
  • #2
You want to go at it from first principles.
 
  • #3
Sorry, I'm a little confused at what you're saying. Are you asking if I want to or telling me I should?
 
  • #4
What I have if I use the chain rule is $$\frac{\partial F}{\partial x}+\frac{\partial F}{\partial g}\frac{\partial g}{\partial x} + \frac{\partial F}{\partial x}\frac{\partial f}{\partial x} = \frac{\partial}{\partial x} \int_{f(x)}^{g(x)} L(x,y) dy$$. Now we may have $$\frac{\partial F}{\partial x} = \lim_{\Delta x \to 0} \frac{\int_f^g L(x+\Delta x,y) dy - \int_f^gL(x,y) dy}{\Delta x}$$ (So far is this correct? I haven't done anything with the ##\Delta x## in ##f## or ##g##, but should I have added ##\Delta x## in the bounds?)

At any rate, once we move the limit in the integral we can write $$\frac{\partial F}{\partial x} = \int_f^g \frac{\partial L}{\partial x} dy$$. Thus, this addresses our first term of the three in the chain rule approach. Can someone answer my questions here and let me know if this is correct, and how to proceed?

Thanks so much!

Josh
 
  • #5
joshmccraney said:
What I have if I use the chain rule is $$\frac{\partial F}{\partial x}+\frac{\partial F}{\partial g}\frac{\partial g}{\partial x} + \frac{\partial F}{\partial x}\frac{\partial f}{\partial x} = \frac{\partial}{\partial x} \int_{f(x)}^{g(x)} L(x,y) dy$$. Now we may have $$\frac{\partial F}{\partial x} = \lim_{\Delta x \to 0} \frac{\int_f^g L(x+\Delta x,y) dy - \int_f^gL(x,y) dy}{\Delta x}$$ (So far is this correct? I haven't done anything with the ##\Delta x## in ##f## or ##g##, but should I have added ##\Delta x## in the bounds?)

At any rate, once we move the limit in the integral we can write $$\frac{\partial F}{\partial x} = \int_f^g \frac{\partial L}{\partial x} dy$$. Thus, this addresses our first term of the three in the chain rule approach. Can someone answer my questions here and let me know if this is correct, and how to proceed?

Thanks so much!

Josh

The integration limits themselves depend on x.
So you need to write g(x+h) (or delta x) and f(x+h) for that one there.
 
  • #6
HomogenousCow said:
The integration limits themselves depend on x.
So you need to write g(x+h) (or delta x) and f(x+h) for that one there.
Shoot, I was afraid of this! This puts me even further back than where I was. Can you give me some help then on how to proceed?
 
  • #7
You might have to just "cheat" and use g(x+h)=g(x)+g'(x)h and then break the integral up.
Edit: When I say break it up I mean break the integral into a few pieces to isolate the individual integration limits.
 
  • #8
HomogenousCow said:
You might have to just "cheat" and use g(x+h)=g(x)+g'(x)h and then break the integral up.
Edit: When I say break it up I mean break the integral into a few pieces to isolate the individual integration limits.
Hahaha. Yep, I'm with you. But this would then be approximate, right? How would it be done exact? (We have been using this extensively and I don't mind but since it's an engineering course we don't prove it and I would like seeing that it works.)
 
  • #9
joshmccraney said:
Can anyone help me with showing the following: $$\frac{\partial}{\partial x} \int_{f(x)}^{g(x)} L(x,y)dy = \int_{f(x)}^{g(x)} \frac{\partial L}{\partial x} dy + \frac{\partial g}{\partial x} L(g,y) - \frac{\partial f}{\partial x} L(f,y)$$
There's something wrong here. y is just a dummy variable on the left-hand side, so why are there two y's that aren't dummy variables on the right-hand side?

joshmccraney said:
i was thinking about trying to say let ##F(x,f,g) = \int_{f(x)}^{g(x)} L(x,y)dy## and use chain rule but I'm not sure how to deal with the boundary terms.
I think this idea works. You just need to be more careful with the details. You define F by
$$F(x,s,t)=\int_s^t L(x,y)\mathrm dy,$$ for all x,s,t. Your job is to compute ##\frac{d}{dx}F(x,f(x),g(x))##, right? The chain rule tells you that
$$\frac{d}{dx}F(x,f(x),g(x)) =D_1F(x,f(x),g(x))+D_2F(x,f(x),g(x))f'(x)+D_3F(x,f(x),g(x))g'(x).$$
 
Last edited:
  • #10
Fredrik said:
There's something wrong here. y is just a dummy variable on the left-hand side, so why are there two y's that aren't dummy variables on the right-hand side?
Yikes, I should definitely have written ##L(x,f(x))## and ##L(x,g(x))## instead of the ##y##. Sorry about that!

Fredrik said:
I think this idea works. You just need to be more careful with the details. You define F by
$$F(x,s,t)=\int_s^t L(x,y)\mathrm dy,$$ for all x,s,t. Your job is to compute ##\frac{d}{dx}F(x,f(x),g(x))##, right? The chain rule tells you that
$$\frac{d}{dx}F(x,f(x),g(x)) =D_1F(x,f(x),g(x))+D_2F(x,f(x),g(x))f'(x)+D_3F(x,f(x),g(x))g'(x).$$
Can you tell me what ##D_1## means? I'm afraid I've lost you.

Thanks for your help!
 
  • #11
joshmccraney said:
Can you tell me what ##D_1## means? I'm afraid I've lost you.
It's a standard notation for the partial derivative with respect to the first variable slot. It's a more versatile notation than ##\frac{\partial}{\partial x}##, which is only appropriate when the first variable is denoted by ##x##. So ##D_1F## is the function defined by
$$D_1F(x,s,t)=\lim_{h\to 0}\frac{F(x+h,s,t)-F(x,s,t)}{h}$$ for all ##x,s,t##.
 
Last edited:
  • #12
Gotcha! So $$D_1 F(x,s,t) = \lim_{h \to 0} \frac{\int_{s(x+h)}^{t(x+h)} L(x+h,y)dy - \int_{s(x)}^{t(x)} L(x,y)dy}{h}$$ but how do i proceed? My idea was to consolidate integrals and swap order with the limit but the bounds are different. Any ideas?
 
  • #13
My s and t aren't functions. When I said "for all x,s,t", I meant for all ##x,s,t\in\mathbb R##. What I wrote down is just the definition of the partial derivative with respect to the first variable slot, applied to the function F. The calculation of the partial derivatives is actually pretty simple. You don't need to work directly with the definition of partial derivative. You just need a solid understanding of functions and partial derivatives.
\begin{align}
&D_1F(x,f(x),g(x))=\left(\left.\frac{d}{dx}F(x,s,t)\right)\right|_{s=f(x),\, t=g(x)} =\left(\left.\frac{d}{dx}\int_s^t L(x,y)\mathrm dy\right)\right|_{s=f(x),\, t=g(x)}\\
&=\left(\left.\int_s^t\frac{\partial}{\partial x}L(x,y)\mathrm dy\right) \right|_{s=f(x),\, t=g(x)} =\int_{f(x)}^{g(x)}\frac{\partial}{\partial x}L(x,y)\mathrm dy.
\end{align}
 
  • #14
Fredrik said:
My s and t aren't functions. When I said "for all x,s,t", I meant for all ##x,s,t\in\mathbb R##. What I wrote down is just the definition of the partial derivative with respect to the first variable slot, applied to the function F. The calculation of the partial derivatives is actually pretty simple. You don't need to work directly with the definition of partial derivative. You just need a solid understanding of functions and partial derivatives.
\begin{align}
&D_1F(x,f(x),g(x))=\left(\left.\frac{d}{dx}F(x,s,t)\right)\right|_{s=f(x),\, t=g(x)} =\left(\left.\frac{d}{dx}\int_s^t L(x,y)\mathrm dy\right)\right|_{s=f(x),\, t=g(x)}\\
&=\left(\left.\int_s^t\frac{\partial}{\partial x}L(x,y)\mathrm dy\right) \right|_{s=f(x),\, t=g(x)} =\int_{f(x)}^{g(x)}\frac{\partial}{\partial x}L(x,y)\mathrm dy.
\end{align}
So why aren't the bounds included? I'm a little confused if ##s=f(x)##. Can you tell me what I'm missing?
 
  • #15
I could have stated that more clearly. For all ##x,s,t\in\mathbb R##, we have
$$D_1F(x,s,t)=\frac{d}{dx}\int_s^tL(x,y)\mathrm dy=\int_s^t \frac{\partial}{\partial x}L(x,y)\mathrm dy.$$ This implies that for all ##x\in\mathbb R##, we have
$$D_1F(x,f(x),g(x)) =\int_{f(x)}^{g(x)} \frac{\partial}{\partial x}L(x,y)\mathrm dy.$$
 
  • #16
How then would we write ##D_2 F(x,s,t)##? Sorry, I'm just a little confused here.
 
  • #17
joshmccraney said:
How then would we write ##D_2 F(x,s,t)##? Sorry, I'm just a little confused here.
$$D_2F(x,s,t)=\frac{d}{ds}\int_s^t L(x,y)\mathrm dy.$$ To compute ##D_2F(x,f(x),g(x))##, you can use the fundamental theorem of calculus on the above, and when you're done, substitute f(x) and g(x) for s and t respectively. Alternatively, (this is just another way of writing the same thing) you can use this notation from the start:
$$D_2F(x,f(x),g(x))=\frac{d}{ds}\bigg|_{f(x)}\int_s^{g(x)}L(x,y)\mathrm dy.$$
 
  • Like
Likes member 428835
  • #18
Gotcha! Thanks a ton! You rock!
 

1. What is the Leibniz Rule for multivariable function?

The Leibniz Rule, also known as the Product Rule, is a mathematical formula used to find the derivative of a product of two or more functions. It is commonly used in multivariable calculus to find the derivative of a function with more than one variable.

2. How is the Leibniz Rule applied to multivariable functions?

The Leibniz Rule states that the derivative of a product of two functions is equal to the first function times the derivative of the second function, plus the second function times the derivative of the first function.

3. Why is the Leibniz Rule important in multivariable calculus?

The Leibniz Rule is important because it allows us to find derivatives of more complex functions with multiple variables. This is essential in many areas of science and engineering, such as physics, economics, and optimization problems.

4. Can the Leibniz Rule be extended to more than two functions?

Yes, the Leibniz Rule can be extended to any number of functions. For example, the derivative of a product of three functions would be the first function times the derivative of the second function, plus the second function times the derivative of the first function, plus the third function times the derivative of the first two functions, and so on.

5. What are some common mistakes when using the Leibniz Rule for multivariable functions?

Some common mistakes include incorrectly applying the rule, forgetting to take the derivative of each function, and not considering the order of the functions. It is also important to remember to use the chain rule when necessary, and to simplify the resulting expression if possible.

Similar threads

Replies
1
Views
945
Replies
3
Views
1K
Replies
17
Views
2K
Replies
3
Views
1K
Replies
6
Views
2K
Replies
4
Views
2K
  • Calculus
Replies
9
Views
2K
Replies
2
Views
1K
Replies
6
Views
907
Back
Top