Confusion about partial derivatives

Click For Summary

Discussion Overview

The discussion revolves around the concept of partial derivatives, particularly in the context of a function y=f(x,t) where x is defined as a function of t, x=g(t). Participants explore whether it is appropriate to discuss partial derivatives in this scenario and how this relates to the Euler-Lagrange equation.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant questions the validity of discussing partial derivatives \(\frac{\partial y}{\partial x}\) and \(\frac{\partial y}{\partial t}\) when x is a function of t, suggesting that the definition of partial derivatives implies holding other variables constant.
  • Another participant argues that it does make sense to consider these partial derivatives, provided that the chain rule is applied appropriately, and that differentiability ensures the derivatives are meaningful.
  • A later reply affirms that the derivatives in the Euler-Lagrange equation arise from applying the chain rule, supporting the previous argument about the validity of the partial derivatives.
  • One participant clarifies that the notation \(\partial f/\partial x\) refers to the derivative of f with respect to x while ignoring the dependency of x on t, emphasizing the "form" of f rather than its content.
  • Another participant points out that writing \(f(t)=f(g(t),t)\) can lead to confusion and suggests that a new name should be used for the function on the left side to avoid ambiguity.

Areas of Agreement / Disagreement

Participants express differing views on the appropriateness of discussing partial derivatives in this context. While some argue that it is valid with the application of the chain rule, others highlight potential confusion in notation and the implications of treating x as a function of t.

Contextual Notes

There are limitations regarding the assumptions made about differentiability and the definitions of the functions involved, which may affect the validity of the claims made in the discussion.

Hassan2
Messages
422
Reaction score
5
Dear all,

I have a confusion about partial derivatives.

Say I have a function as

y=f(x,t)

and we know that
x=g(t)

1. Does it make sense to talk about partial derivatives like \frac{\partial y}{\partial x} and \frac{\partial y}{\partial t} ?

I doubt, because the definition of partial derivative is the change in the function due to the change on the selected variable ( other variables are kept constant).

2. If it does not make sense, then how in Euler–Lagrange equation we use the partial derivatives with respect to a function(x(t)) and its derivative(x'(t)) while they depend on one another.

Your help would be appreciated.
 
Physics news on Phys.org
Hassan2 said:
Dear all,

I have a confusion about partial derivatives.

Say I have a function as

y=f(x,t)

and we know that
x=g(t)

1. Does it make sense to talk about partial derivatives like \frac{\partial y}{\partial x} and \frac{\partial y}{\partial t} ?

I doubt, because the definition of partial derivative is the change in the function due to the change on the selected variable ( other variables are kept constant).

2. If it does not make sense, then how in Euler–Lagrange equation we use the partial derivatives with respect to a function(x(t)) and its derivative(x'(t)) while they depend on one another.

Your help would be appreciated.

Hey Hassan2.

For 1. Yes it makes sense to do both but you need to factor in things like the chain rule for this particular example: as long as you are taking into account these kinds of factors, then yes it's ok. Your partial with respect to t can take into account your g(t) using the chain rule.

If the function is differentiable in the the region you are considering, the derivative will make sense: it's guaranteed to as a consequence of differentiability holding.
 
Thanks Chiro,

Yes, I checked the derivation of Euler-Largrange equation once again, and i found that the derivatives wit respect to x and x' appear as a result of applying chain rule.

Thanks again.
 
The notation \partial f/\partial x means the derivative of f with respect to x while holding x constant- and ignoring the fact that x is a function of t. We are really dealing with the "form" of f rather than the content.

The same is true of \partial f/\partial t. However, we can, using x= g(t), think of f as a function of t only- f(x, t)= f(g(t), t). In that case, by the chain rule,
\frac{df}{dt}= \frac{\partial f}{\partial t}+ \frac{\partial f}{\partial x}\frac{dx}{dt}

Example: if f(x,t)= 3tx^2+ e^x then \partial f/\partial x= 6tx+ e^x and \partial f/\partial t= 3x^2. That has nothing to do with x being a function of t or vice-versa.

But if we also know that x= g(t)= 2t^2+ t we can write f(t)= 3t(2t^2+ t)+ e^{2t^2+ t}= 12t^5+ 12t^4+ 3t^3+ e^{2t^2+ t} so that the derivative is
\frac{df}{dt}= 60t^4+ 48t^3+ 9t^2+ (4t+ 1)e^{2t^2+ t}

Or, you could use the chain rule as I said:
\partial f/\partial t= 3x^2 and \partial f/\partial x= 3tx+ e^x, as above, while dx/dt= 4t+1 and so
\frac{df}{dx}= 3x^2+ (3tx+ e^x)(4t+ 1)
and, replacing x in that with 2t^2+ t
\frac{df}{dx}= 3(2t^2+ t)+ (3t(2t^2+ t)+ e^{2t^2+ t})(4t+1)
gives the same thing.
 
Strictly speaking, one should not write f(t)=f(g(t),t). The function on the left should have gotten a new name. That is the source of some confusion.
 
algebrat said:
Strictly speaking, one should not write f(t)=f(g(t),t). The function on the left should have gotten a new name. That is the source of some confusion.

Agreed!
What we should write, is something like:

F(t)=f(g(t),t)
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K