Exact differential of scalar field

In summary: F o f)[t] = F[f[t]] = F[t,f_2[t]] = 0,we can, without ambiguity, compute the derivative of the composition, henceD[F o f,t] = D[F f, t] = D[F, f[t]] D[f,t] = D[F, t, f_2[t]] D[t, f_2[t]] + D[F, (f_1[t], I[t])] D[(f_1[t], I[t]), t]= D[F, x, y] D[x, t] + D[F, x, y] D[y, t] + D[F, x, y] D[y, t] + D[F,
  • #1
7thSon
44
0
Suppose I have the scalar field f in the xy-plane and that it is smooth.

Its total derivative is given the normal way, i.e.

[tex] df = \frac{\partial f}{\partial x} dx + \frac{\partial f}{\partial y} dy [/tex]

and the gradient of f is given the normal way as well.

I read in a paper that, due to the fact that the gradient and isocontours of f are perpendicular, the following relation holds:

[tex] \frac{dy}{dx} = \frac{f_y}{f_x} [/tex],

where [tex] f_x [/tex] is the partial derivative of f with respect to x.

My question is, how the heck do they get this and what does the quantity dy/dx mean? The motivation for writing this quantity in the first place is because there is a reason to find the quantities

[tex] \frac{dx}{dT}[/tex] and [tex]\frac{dy}{dT} [/tex]

where those quantities are exact differentials and not partial differentials.

I guess my confusion lies in the fact that I am not used to seeing the exact differential dy/dx in the context of a function f of two variables, though I do understand that an increment df will, in general, vary dependently on x and y.
 
Physics news on Phys.org
  • #2
7thSon said:
Suppose I have the scalar field f in the xy-plane and that it is smooth.

Its total derivative is given the normal way, i.e.

[tex] df = \frac{\partial f}{\partial x} dx + \frac{\partial f}{\partial y} dy [/tex]

and the gradient of f is given the normal way as well.

I read in a paper that, due to the fact that the gradient and isocontours of f are perpendicular, the following relation holds:

[tex] \frac{dy}{dx} = \frac{f_y}{f_x} [/tex],

where [tex] f_x [/tex] is the partial derivative of f with respect to x.

Are you sure the formula you wrote is correct? I would expect [itex]dy/dx = - f_x/f_y[/itex]? (e.g., see http://en.wikipedia.org/wiki/Implicit_function#Formula_for_two_variables) I would guess from the comment "gradient and isocontours of f are perpendicular" the derivative is the variation of y with respect to x along contours on which f is constant (an "isocontour").
 
Last edited:
  • #3
Mute said:
Are you sure you're not missing a minus sign? [itex]dy/dx = - f_y/f_x[/itex]? I would guess from the comment "gradient and isocontours of f are perpendicular" the derivative is the variation of y with respect to x along contours on which f is constant (an "isocontour").

I too noticed that this just becomes the reciprocity relation when the sign is flipped, but wasn't sure whether or not that was a typo in the paper I was reading. I think you are probably right, and the lack of minus sign might have to do with the fact that the authors are more interested in the opposite of the gradient and were being sloppy.

Now that I think of it though, your comment makes a lot of sense, considering I remember a similar notation with exact differentials for phase lines in thermodynamics, i.e. there is a line dP/dT on some contour that represents the phase transition.

Your explanation of dy/dx thus makes sense, but I'm still wondering how to interpret the quantities

[tex] \frac{df}{dx} [/tex]

vs.

[tex] \frac{\partial f}{\partial x} [/tex]

The former looks/behaves kinda like a material derivative (having multiple contributions) but I still don't see the difference
 
  • #4
by the way, if anyone can explain this in terms of standard differential calculus, and then with the deeper interpretation of df as a one-form, that would be extremely useful to me.
 
  • #5
7thSon said:
Suppose I have the scalar field f in the xy-plane and that it is smooth.

Its total derivative is given the normal way, i.e.

[tex] df = \frac{\partial f}{\partial x} dx + \frac{\partial f}{\partial y} dy [/tex]

and the gradient of f is given the normal way as well.

I read in a paper that, due to the fact that the gradient and isocontours of f are perpendicular, the following relation holds:

[tex] \frac{dy}{dx} = \frac{f_y}{f_x} [/tex],

where [tex] f_x [/tex] is the partial derivative of f with respect to x.

My question is, how the heck do they get this and what does the quantity dy/dx mean? The motivation for writing this quantity in the first place is because there is a reason to find the quantities

[tex] \frac{dx}{dT}[/tex] and [tex]\frac{dy}{dT} [/tex]

where those quantities are exact differentials and not partial differentials.


I guess my confusion lies in the fact that I am not used to seeing the exact differential dy/dx in the context of a function f of two variables, though I do understand that an increment df will, in general, vary dependently on x and y.

If (dx,dy) is tangent to a level curve of f the df is zero on it.
 
  • #6
NOTATION. (Except for I and D, the particular letters used in this first paragraph are arbitrary, just for the sake of example, and have no significance to what follows. I'm introducing all this notation in the hope that it will make things clearer; if it doesn't work for you, or seems unnecessary, skip to the end where I've used a disambiguated form of the traditional Leibniz notation.) So, anyway... Let square brackets enclose the argument(s) of a function, thus a[x], b[x,y]. Let round brackets around items separated by commas denote a tuple, thus (p,q). Let I denote an identity function defined, for a given domain and codomain, by the rule I[t] = t. Let fk denote the k'th component function of a vector-valued function, that is, a function with values in Rn, for n > 1. Let D[g,x] denote the (total) derivative of a function, g, evaluated at x, which we'll identify with its Jacobian matrix. Let Di[h,(x,y)] denote the i'th partial derivative of h, evaluated at (x,y).

Now, to your the particular example. Consider the case described in the Wikipedia section Mute linked to. I'll keep their letter F for this "outer" function from R2 to R, or rather, its restriction to the subset of R2 where its value, F[x,y], is identically equal to 0, but I'll introduce a new letter, f, which will stand for the "inner" function of the composition, thus

[tex]F:U \subseteq \mathbb{R}^2 \rightarrow \mathbb{R}, \enspace F[x,y]=0,[/tex]

[tex]f = (I,f_2):\mathbb{R} \rightarrow \mathbb{R}^2, \enspace f[t] = (I[t],f_2[t]) = (t,f_2[t]),[/tex]

so that, letting the composition operator "o" make all necessary restrictions to ensure that the expression below is well defined (EDIT: I could have made this simpler by just defining the range of f to be U.),

[tex]F \circ f : \mathbb{R} \rightarrow \mathbb{R}, \enspace F \circ f[t] = F[I[t],f_2[t]]=F[t,f_2[t]].[/tex]

Does this make sense so far? The rest is just application of the (multivariable) chain rule, and a little algebra. I'll present the whole thing in more traditional notation afterwards; if this is heavy going, you might want to look at the traditional versions first.

[tex]D[F \circ f,t] = D[F,f[t]] \circ D[f,t],[/tex]

which, in matrix form (since composition of matrices, viewed as linear operators, amounts to matrix multiplication), is

[tex]\begin{pmatrix} D_1[F,(t,f_2[t])] & D_2[F,(t,f_2[t])]
\end{pmatrix} \begin{pmatrix}D[I,t] \\ D[f_2,t]\end{pmatrix}[/tex]

[tex]=D_1[F,(t,f_2[t])] \cdot 1 + D_2[F,(t,f_2[t])] \cdot D[f_2,t].[/tex]

In more traditional notation:

[tex]\frac{\mathrm{d} }{\mathrm{d} t} F \circ f (t) \bigg|_{t_0} = \sum_{i=1}^{2} \partial_i F(x,y) \bigg|_{(t_0,f_2(t_0))} \cdot \frac{\mathrm{d} }{\mathrm{d} t} f_i(t) \bigg|_{t_0}[/tex]

[tex]=\partial_1 F(x,y) \bigg|_{(t_0,f_2(t_0))} \cdot 1 + \partial_2 F(x,y) \bigg|_{(t_0,f_2(t_0))} \cdot \frac{\mathrm{d} }{\mathrm{d} t} f_2(t) \bigg|_{t_0}[/tex]

[tex]=\partial_1 F(x,y) \bigg|_{(t_0,f_2(t_0))} + \partial_2 F(x,y) \bigg|_{(t_0,f_2(t_0))} \cdot \frac{\mathrm{d} }{\mathrm{d} t} f_2(t) \bigg|_{t_0}[/tex]

[tex]=\frac{\partial }{\partial x} F(x,y) \bigg|_{(t_0,f_2(t_0))} + \frac{\partial }{\partial y} F(x,y) \bigg|_{(t_0,f_2(t_0))} \cdot \frac{\mathrm{d} }{\mathrm{d} t} f_2(t) \bigg|_{t_0}.[/tex]

Now, a function identically equal to 0 is constant, so its derivative is also identically equal to 0:

[tex]\forall (x,y)(F[x,y] = 0) \Rightarrow \forall t(F[t,f_2[t]]=0) \Rightarrow \forall t (D[F \circ f, t] = 0).[/tex]

Equating the above expression for the derivative of [itex]F \circ f[/itex] with zero, we can rearrange the equation by subtracting the first summand from both sides, then dividing by the partial derivative of F with respect to its second argument to get

[tex]D[f_2,t]=-\frac{D_1[F,(t,f_2[t]])}{D_2[F,(t,f_2[t])]}[/tex]

or in good old Leibniz notation

[tex]\frac{\mathrm{d} }{\mathrm{d} t} f_2(t) \bigg|_{t_0}=-\frac{\partial_1F(x,y)}{\partial_2F(x,y)} \bigg|_{(t_0,f_2(t_0))} \equiv -\frac{\partial F (x,y)/\partial x}{\partial F(x,y)/\partial y} \bigg|_{(t_0,f_2(t_0))}.[/tex]

Thanks to Arildno for helping me with this issue, in post #4 here; (if you look at the rest of that thread, best to ignore my confused ramblings at the beginning).
 
Last edited:
  • #7
lavinia said:
If (dx,dy) is tangent to a level curve of f the df is zero on it.

Maybe Rasalhague's post will answer this but I can't read it until after work (Thanks for all of your repsonses).

I think part of my confusion is that I have been trying to reconcile all of this with trying to learn forms.

I see (dx,dy) and traditionally, I interpret it as the components of a vector, but in the context of forms it looks like a (dual) covector basis, not the components of a tangent vector.

I don't know what to properly call dx and dy... they are infinitesimal coordinate displacements? Am I correct to say they are a basis of the cotangent space at some point? Just to clarify, the notation for the basis of tangent vectors I would use is

[tex] \frac{\partial}{\partial x^i} = \mathbf{e_i} [/tex]

Using this notation, I wouldn't think it's correct to write (dx,dy) as the components of a (tangent) vector.
 

Related to Exact differential of scalar field

1. What is an exact differential of a scalar field?

The exact differential of a scalar field is a mathematical concept used in vector calculus to describe the change of a scalar field with respect to a change in its independent variables. It is represented as a vector that contains the partial derivatives of the scalar field with respect to each independent variable.

2. How is the exact differential of a scalar field different from a regular derivative?

The exact differential of a scalar field takes into account the changes of all the independent variables, whereas a regular derivative only considers the change of one variable. Additionally, the exact differential is represented as a vector, while a regular derivative is a single value.

3. What is the relationship between the exact differential and the gradient of a scalar field?

The gradient of a scalar field is a special case of the exact differential. It represents the vector of partial derivatives of the scalar field with respect to each independent variable, evaluated at a specific point in the field. Therefore, the gradient is a specific instance of the exact differential.

4. How is the exact differential used in physics?

The exact differential is used in physics to describe the changes in a scalar field, such as temperature or pressure, in relation to changes in its independent variables. It is also used in vector calculus to solve problems involving scalar fields, such as finding the maximum or minimum values of a function.

5. Can the exact differential be used for non-scalar fields?

No, the concept of exact differential only applies to scalar fields, as it involves taking the partial derivatives of a single variable. For vector fields, the analogous concept is known as a path integral or line integral, which takes into account the changes along a specific path or line.

Similar threads

Replies
1
Views
1K
Replies
2
Views
1K
  • Calculus
Replies
4
Views
929
Replies
6
Views
2K
Replies
3
Views
1K
Replies
3
Views
1K
Replies
14
Views
1K
  • Calculus
Replies
8
Views
300
  • Calculus
Replies
2
Views
2K
Replies
6
Views
1K
Back
Top