Given f(x(t), y(t)), I know that ∂f/∂x and ∂f/∂y is true

  • Context: Graduate 
  • Thread starter Thread starter Jhenrique
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the differentiation of functions with respect to time, particularly focusing on the use of partial derivatives (∂) versus total derivatives (d) in the context of functions of multiple variables. Participants explore the implications of these notations when dealing with functions that depend on time and other variables, such as f(x(t), y(t)) and f(x(t, s), y(t, s)).

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants assert that when f is a function of two variables, the derivatives with respect to those variables are partial derivatives: ∂f/∂x and ∂f/∂y.
  • Others argue that when considering the derivative of f with respect to a single variable t, it can be expressed as df/dt, applying the chain rule.
  • A participant introduces the concept of g(x(t, s), y(t, s)) and suggests that all derivatives must be partial derivatives since x and y are functions of two variables.
  • There is a contention regarding the use of partial derivatives when both x and t are functions of time, with some asserting that the partial derivative ∂f/∂t is valid while others claim it is not due to the dependency of x on t.
  • Some participants propose that for functions like f(r(t), t), the total derivative should be used, while others maintain that partial derivatives can still apply under certain conditions.
  • A later reply emphasizes the importance of defining auxiliary functions to avoid confusion when differentiating complex functions.
  • Several participants express that the distinction between d and ∂ can be ambiguous, particularly in cases where multiple variables are involved.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the use of d versus ∂ in various contexts. There are multiple competing views regarding when each notation is appropriate, and the discussion remains unresolved with ongoing debate about the implications of these choices.

Contextual Notes

Some participants note that the definitions and applications of d and ∂ depend on the specific relationships between the variables involved, and that the ambiguity arises particularly when functions are dependent on multiple parameters.

Jhenrique
Messages
676
Reaction score
4
Given f(x(t), y(t)), I know that ∂f/∂x and ∂f/∂y is true (with ∂) because, by definition, use ∂ where f is function of 2 (x, y) or more variable (x, y, z)... ok! But, which theory explain the use of d or ∂ when derive f with respect to parameter t? Is df/dt or ∂f/∂t? And if the function is f(x(t, s), y(t, s)), so, the correct is df/dt or ∂f/∂t? Why? Why? Why?

Thanks!
 
Physics news on Phys.org
Jhenrique said:
Given f(x(t), y(t)), I know that ∂f/∂x and ∂f/∂y is true (with ∂) because, by definition, use ∂ where f is function of 2 (x, y) or more variable (x, y, z)... ok! But, which theory explain the use of d or ∂ when derive f with respect to parameter t? Is df/dt or ∂f/∂t? And if the function is f(x(t, s), y(t, s)), so, the correct is df/dt or ∂f/∂t? Why? Why? Why?

Thanks!

Since the first f is a function of two variables, x and y, the derivatives with respect to x and y are partial derivatives: ∂f/∂x and ∂f/∂y.

However, since both x and y are functions of a single variable t, we can also talk about the derivative of f with respect to t: df/dt.

From your earlier threads, the chain rule formula should be familiar to you.
df/dt = ∂f/∂x * dx/dt + ∂f/∂y * dy/dt

Let's call the second function g, to reduce confusion, with g(x(t, s), y(t, s)). Here g is a function of two variables, x and y, but both x and y are functions of two variables, so all derivatives must be partial derivatives.
 
  • Like
Likes   Reactions: 1 person
Mark44 said:
Since the first f is a function of two variables, x and y, the derivatives with respect to x and y are partial derivatives: ∂f/∂x and ∂f/∂y.

However, since both x and y are functions of a single variable t, we can also talk about the derivative of f with respect to t: df/dt.

From your earlier threads, the chain rule formula should be familiar to you.
df/dt = ∂f/∂x * dx/dt + ∂f/∂y * dy/dt

Let's call the second function g, to reduce confusion, with g(x(t, s), y(t, s)). Here g is a function of two variables, x and y, but both x and y are functions of two variables, so all derivatives must be partial derivatives.

But... if I have ##f(\vec{r} (t), t)##, so, f is function of r and t, ie, to derive f with respect to t uses the partial notanion: ##\frac{\partial f}{\partial t}##. However, HOWEVER... r is function of t too, so that f is function only of t, ie, the derivative of f with respect to t is ##\frac{df}{dt}##, with d. You noticed how the use of d or ∂ is ambiguous??
 
There's no ambiguity here. Given your function ##f(\vec r(t),t)##, the total derivative of f with respect to time is given by
[tex]\frac{d f(\vec r(t),t)}{dt} =<br /> \frac{\partial f(\vec r(t),t)}{\partial \vec r(t)}\cdot \frac{d\vec r(t)}{dt} +<br /> \frac{\partial f(\vec r(t),t)}{\partial t}[/tex]
 
If you have a function of two variables f(x, y), then for every (fixed) value of y, you have a normal function of x: For each y [itex]f_y(x) = f(x,y)[/itex]

This function f_y(x) can be differentiated normally wrt x. So, for each y we have:

[itex]∂f/∂x|_y = df_y/dx[/itex]

Or, perhaps clearer:

[itex]\frac{∂f}{∂x} (x, y) = \frac{df_{y}}{dx} (x)[/itex]

If both x and y are functions of a third variable t, then f is effectively a function of one variable. In other words, you can plot a normal 2-D graph of f(t) and differentiate it normally.

And, if you have f(x(t), t), then you cannot have a partial derivative wrt t, because you cannot fix x and then differentiate wrt t. As t varies, both variables vary.
 
PeroK said:
And, if you have f(x(t), t), then you cannot have a partial derivative wrt t, because you cannot fix x and then differentiate wrt t. As t varies, both variables vary.
Nonsense. The partial of f with respect to t ignores that the other argument x is also a function of time.
 
it's confuse...
 
Yes, of course, you can go through the formal process of partial differentiation, but it's not really the point. Once you know f is a function of t as a single variable, it's the regular derivative you're after.

Partial derivatives really apply when f is a function of two or more free variables.
 
Last edited:
Jhenrique said:
it's confuse...

Here is how I would approach the problem of ##f(r(t),t)##. First we have ##f## with respect to two variables, which I'll call x and y. These are dummy variables. We have ##f(x,y)##.

However, x depends on another variable t. Hence ##x = r(t)##.
Similarly, y depends on t also. But the trick is that this is actually the identity function ##y = Id(t)##. Some students just like to write this as ##y = t##.

Now the chain rules says
##\frac{df}{dt} = \frac{\partial f}{\partial x}\frac{dx}{dt} + \frac{\partial f}{\partial y}\frac{dy}{dt}##.

So firstly what is ##\frac{dx}{dt}##? Well ##x = r(t)## so ##\frac{dx}{dt} = \frac{dr}{dt}##.
Now the other one. What is ##\frac{dy}{dt}##? Ah, but you see the derivative of the identity function is 1. So we get ##\frac{dy}{dt} = 1##.

We now write the answer out exactly:
##\frac{df}{dt} = \frac{\partial f}{\partial x}\frac{dx}{dt} + \frac{\partial f}{\partial y}##.
Oh but wait! ##x = r(t)## and ##y = t## remember. We should correct that:
##\frac{df}{dt} = \frac{\partial f}{\partial r}\frac{dr}{dt} + \frac{\partial f}{\partial t}##.
 
  • #10
... just to add a note to what pwsnafu has said. We can define:

[itex]g:\mathbb{R} → \mathbb{R} \ s.t. \ g(t) = f(x(t), y(t))[/itex]

And then, strictly speaking, it's g that we diffentiate wrt t using the partials of f wrt x and y, the chain rule and the normal derivatives of x and y wrt t.

And that sorts things out in terms of always differentiating a well-defined function wrt the "correct" variables.
 
  • #11
PeroK, that is formally a good way of defining things but in practice everyone will simplify the notation and write [itex]\frac{\partial f}{\partial t}[/itex] when talking about f(x(t),t).
 
  • #12
Yes, I agree, but hopefully it helps the OP see where to use ∂ and d and understand the difference.
 
  • #13
If you want to be REALLY careful when you meet an uglyargument function, say f(x(t,s),t), you should introduce auxiliary functions with their own, distinct names. In that way, you won't get confused when differentiating.

In the above, the fundamental function is f(x,t). Also define the function X(t,s).
Then, we introduce a THIRD function, F(t,s), defined by the identity F(t,s)=f(X(t,s),t)

Here, we have:
[tex]\frac{\partial{F}}{\partial{t}}=\frac{\partial{f}} {\partial{x}}\frac{\partial{X}}{\partial{t}}+ \frac{\partial{f}}{\partial {t}}[/tex]

Note that the last addend here is perfectly well defined, because we have made the explicit definition that f has two INDEPENDENT variables, "x" and "t". The definition of F as an explicitly different function, shows why its partial derivative with respect to "t" is totally different from f's partial derivative with respect to "t".
--------------------------------------------------------------------------------------------------
As you can see, I have a strong sympathy for Perok's formal approach; for truly uglynastinesses, it is the simplest approach, although it is overly tedious for the simplest examples.
 
Last edited:
  • Like
Likes   Reactions: 1 person
  • #14
In such cases it's sometimes better to put the arguments explicitly. So here, I'd write
[tex]\partial_t f[X(t,s),t]=\left [\partial_x f(x,t) \right ]_{x=X(t,s)} \partial_t X(t,s) + \left [\partial_t f(x,t) \right]_{x=X(t,s)}.[/tex]
 
  • #15
vanhees71 said:
In such cases it's sometimes better to put the arguments explicitly. So here, I'd write
[tex]\partial_t f[X(t,s),t]=\left [\partial_x f(x,t) \right ]_{x=X(t,s)} \partial_t X(t,s) + \left [\partial_t f(x,t) \right]_{x=X(t,s)}.[/tex]

Absolutely. That's the next level (or alternate manner) of elucidating specification.
But, writing first down the table of the auxiliary functions you are using, and how they are related remains an alternative.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K