Partial Derivatives multivariable

Click For Summary

Discussion Overview

The discussion revolves around the concept of partial derivatives in multivariable calculus, specifically focusing on the gradient operator (∇) and its application in physical scenarios involving multiple variables, including time. Participants explore how to compute the gradient when the variables have different units and the implications of treating time as a constant in certain equations, such as the Schrödinger equation.

Discussion Character

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

Main Points Raised

  • One participant expresses confusion about computing the gradient when the variables x, y, and t have different units.
  • Another participant clarifies that the gradient is a vector, with each partial derivative representing a component multiplied by a unit vector in that direction, and suggests using spatial coordinates only.
  • Some participants emphasize that in physics, the gradient typically involves only spatial coordinates and that time is not usually included in the gradient calculation.
  • One participant mentions that in quantum mechanics, the time derivative is treated separately from spatial derivatives in equations like the Schrödinger equation.
  • There is a discussion about whether time can be considered constant when calculating spatial derivatives, with differing views on its treatment in the context of the Schrödinger equation.

Areas of Agreement / Disagreement

Participants generally agree that the gradient is a vector and that it typically involves spatial coordinates. However, there is disagreement regarding the inclusion of time in the gradient and how to treat time in the context of partial derivatives, particularly in the Schrödinger equation.

Contextual Notes

Participants note that the treatment of time as a constant during differentiation is a common practice in multivariable calculus, but it does not imply that time is actually constant in the physical context. The discussion also touches on the need for consistent units when dealing with gradients in different coordinate systems.

PFuser1232
Messages
479
Reaction score
20
I am quite new to the topic of multivariable calculus. I came across the concept of "gradient" (∇), and although the treatment was somewhat slapdash, I think I got the hang of it. Consider the following case:

##z = f(x,y,t)##

##∇z = \frac{∂z}{∂t} + \frac{∂z}{∂y} + \frac{∂z}{∂x}##

If we're dealing with a physical scenario, wherein the variables x, y and t have different units, how is it possible to compute ∇z?
 
Physics news on Phys.org
MohammedRady97 said:
z=f(x,y,t)z = f(x,y,t)

z=∂zt+∂zy+∂zx∇z = \frac{∂z}{∂t} + \frac{∂z}{∂y} + \frac{∂z}{∂x}


No, the gradient is a vector. Each partial derivative is one component of the vector, and is multiplied by the unit vector in that direction. Also, I've never seen anyone use t (time) as part of a gradient (at least not in physics!) so I'll use u = f(x,y,z) instead: $$\vec \nabla u = \frac{\partial u}{\partial x} \hat x + \frac{\partial u}{\partial y} \hat y + \frac{\partial u}{\partial z} \hat z$$ Compare this to a generic vector $$\vec A = A_x \hat x + A_y \hat y + A_z \hat z$$ (Maybe your textbook uses ##\hat i##, ##\hat j##, ##\hat k## for the unit vectors instead of ##\hat x##, ##\hat y##, ##\hat z##)

MohammedRady97 said:
If we're dealing with a physical scenario, wherein the variables x, y and t have different units, how is it possible to compute ∇z?

In physics, the gradient is always in terms of position coordinates: x,y,z in rectangular (Cartesian) coordinates, r,θ,φ in spherical coordinates, etc. For non-Cartesian coordinates, the formula for the gradient is different than above, partly to ensure that each component has the same units.
 
  • Like
Likes   Reactions: PFuser1232
Usually in physics the gradient implies a derivative of spatial coordinates only. Remember also that the gradient is a vector operator, such that
$$
\nabla f(x,y,t) = \frac{\partial f(x,y,t)}{\partial x} \mathbf{i} + \frac{\partial f(x,y,t)}{\partial y} \mathbf{j}
$$
where ##\mathbf{i}## and ##\mathbf{j}## are unit vectors along the x and y axes respectively.
 
  • Like
Likes   Reactions: PFuser1232
jtbell said:
No, the gradient is a vector. Each partial derivative is one component of the vector, and is multiplied by the unit vector in that direction. Also, I've never seen anyone use t (time) as part of a gradient (at least not in physics!) so I'll use u = f(x,y,z) instead: $$\vec \nabla u = \frac{\partial u}{\partial x} \hat x + \frac{\partial u}{\partial y} \hat y + \frac{\partial u}{\partial z} \hat z$$ Compare this to a generic vector $$\vec A = A_x \hat x + A_y \hat y + A_z \hat z$$ (Maybe your textbook uses ##\hat i##, ##\hat j##, ##\hat k## for the unit vectors instead of ##\hat x##, ##\hat y##, ##\hat z##)
In physics, the gradient is always in terms of position coordinates: x,y,z in rectangular (Cartesian) coordinates, r,θ,φ in spherical coordinates, etc. For non-Cartesian coordinates, the formula for the gradient is different than above, partly to ensure that each component has the same units.

This clears it up, thanks!
 
I most often deal with the gradient in situations where there's no time dependence, e.g. electrostatics (##\vec E = -\vec \nabla V##), but DrClaude's interpretation of your original example is spot on. Just apply the derivatives to the spatial variables only, and carry the t's along as if they were constants.
 
  • Like
Likes   Reactions: PFuser1232
jtbell said:
I most often deal with the gradient in situations where there's no time dependence, e.g. electrostatics (##\vec E = -\vec \nabla V##), but DrClaude's interpretation of your original example is spot on. Just apply the derivatives to the spatial variables only, and carry the t's along as if they were constants.
To give some context, one field where this is the case is quantum mechanics. Take for instance the Schrödinger equation for a free particle:
$$
\begin{align}
i \hbar \frac{\partial}{\partial t} \psi(x,y,z,t) &= -\frac{\hbar^2}{2m} \nabla^2 \psi(x,y,z,t) \\
&= -\frac{\hbar^2}{2m} \left[ \frac{\partial^2}{\partial x^2} + \frac{\partial^2}{\partial y^2} + \frac{\partial^2}{\partial z^2} \right] \psi(x,y,z,t)
\end{align}
$$
where the time derivative is treated separately from the spatial derivatives. (Note that ##\nabla^2 = \nabla \cdot \nabla##, so it results in a scalar.)

Mohammed, you can also look up the D'Alambertian,[/PLAIN] which is used in special relativity when all 4 coordinates must be treated on the same footing. You will see that the speed of light is introduced to make it such that all the derivatives have the same units.
 
Last edited by a moderator:
  • Like
Likes   Reactions: PFuser1232
DrClaude said:
To give some context, one field where this is the case is quantum mechanics. Take for instance the Schrödinger equation for a free particle:
$$
\begin{align}
i \hbar \frac{\partial}{\partial t} \psi(x,y,z,t) &= -\frac{\hbar^2}{2m} \nabla^2 \psi(x,y,z,t) \\
&= -\frac{\hbar^2}{2m} \left[ \frac{\partial^2}{\partial x^2} + \frac{\partial^2}{\partial y^2} + \frac{\partial^2}{\partial z^2} \right] \psi(x,y,z,t)
\end{align}
$$
where the time derivative is treated separately from the spatial derivatives. (Note that ##\nabla^2 = \nabla \cdot \nabla##, so it results in a scalar.)

Mohammed, you can also look up the D'Alambertian,[/PLAIN] which is used in special relativity when all 4 coordinates must be treated on the same footing. You will see that the speed of light is introduced to make it such that all the derivatives have the same units.

So, in the case of the Schrödinger equation, do we consider t to be constant (considering variations of spatial coordinates only at a particular time t)?
 
Last edited by a moderator:
MohammedRady97 said:
So, in the case of the Schrödinger equation, do we consider t to be constant (considering variations of spatial coordinates only at a particular time t)?

No, we can't consider time a constant in the Schrödinger equation because otherwise the partial derivative with respect to time, on the left hand side, would just be 0. When we take the gradient, we are taking a partial derivative with respect to spatial coordinates. Recall from elementary multivariable calculus that to take the partial derivative with respect to one variable, we take the derivative as if the other variables are constant. But of course, the other variables are not actually constant, we just treat them as such when we are taking the partial derivative.
 
MohammedRady97 said:
So, in the case of the Schrödinger equation, do we consider t to be constant (considering variations of spatial coordinates only at a particular time t)?

if you're talking about calculating spatial derivatives, yes you keep t constant when differentiating. but in general t cannot be a constant. it is one of the independent variables, the four coordinates, (x,y,z,t)
 

Similar threads

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