Domain of f(x,g(g)), and partial derivatives

Click For Summary
The discussion centers on the domain of the function f(x, g(x)) and the implications for partial derivatives. It clarifies that while f is defined as a two-variable function with a domain of R*R, the composite function h(t) = f(v(t)) is a one-variable function mapping R to R. The conversation highlights that partial derivatives for h are not applicable since it only has a single variable derivative. It also emphasizes that even though x and y are related through g(x), f still requires two arguments, maintaining its two-variable nature. The distinction between f and h is crucial for understanding their roles in the context of exact differential equations.
Rasalhague
Messages
1,383
Reaction score
2
Domain of f(x,g(x)), and partial derivatives

Watching http://www.khanacademy.org/video/exact-equations-intuition-1--proofy?playlist=Differential%20Equations Khan Academy video on exact equations, I got to wondering: if x is a real number, what is the domain of a function defined by f(x,g(x))? Is it R, or RxR? What about the domains of the exact derivative function of f,

\frac{\mathrm{d} f}{\mathrm{d} x} = \frac{\partial f}{\partial x} + \frac{\partial f}{\partial g} \frac{\mathrm{d} g}{\mathrm{d} x},

and the partial derivative functions? It seems kind-of paradoxical to talk about the partial derivative of a function defined by f(x,g(x)); how can we hold x constant and vary g(x), or vice versa, without changing the definition of f(x,g(x)) to f(x,g(t)), where x and t are independent variables (or is that, in fact, what's done)?

Suppose, for example,

g(x)=x^2;

f(x,g(x)) = x \cdot g(x) = x \cdot x^2 = x^3.

Then, differentiating first wrt g, and afterwards substituting x2 for g(x),

\frac{\partial }{\partial x} (x \cdot g(x)) + \frac{\partial }{\partial g}(x \cdot g(x)) \cdot \frac{\mathrm{d} g}{\mathrm{d} x}(x)

=g(x)+x \cdot 2x = x^2 + 2x^2 = 3x^2,

gives the same result as substituting first, only if the embedded function g is "opaque" to the partial operator:

\frac{\partial (x^3)}{\partial x}(x) + \frac{\partial (x^3)}{\partial g}(x) \cdot \frac{\mathrm{d} (x^2)}{\mathrm{d} x}(x) = 3x^2 + 0 \cdot 2x = 3x^2.

But is it opaque? If we suppose the partial derivative can "see through" g(x), allowing us to substitute x2 for g(x) everywhere, then the result differs. If I've got this right, where x is positive, for example:

\frac{\partial (x^3)}{\partial x}(x) + \frac{\partial (x^{3/2})}{\partial x}(x) \cdot \frac{\mathrm{d} (x^2)}{\mathrm{d} x}(x)

= 3x^2 + \frac{3}{2}x^{1/2} \cdot 2x = 3(x^2+x^{3/2}),

where, for x positive,

\frac{\partial (x^3)}{\partial (x^2)} = \frac{\partial (x^{3/2})}{\partial x}.
 
Last edited by a moderator:
Physics news on Phys.org
The domain of h(x)=f(x,g(x)) is R. f is a two-variable function f(x,y), with domain R*R
The rate of change, dh/dx, is simply the rate of change of f experienced as we traverse the curve y=g(x).
 
Last edited:
Thanks, arildno. I'm still a bit confused about what consequences this has for calculating partial derivatives. Are partial derivative functions undefined for h (at least, two distinct partial derivative functions)? When y=g(x), can we say that f = h:R-->R? Or does it need to still be regarded as f:RxR-->R for partial derivatives with respect to x and y to be meaningful?
 
Okay, we will be very precise about this.
This will mean that I choose to introduce new letters for variables that I didn't use in the previous post.

First, we have f(x,y) that is a mapping R*R on R
We also have a vector function, \vec{v}(t)=(v_{1}(t), v_{2}(t))=(t, g(t))
This is a mapping from R to R*R
Thus, we may define the composite function:
h(t)=f(\vec{v}(t)}
This is a mapping from R to R, going as follows R-->R*R-->R

Thus, we get:
\frac{dh}{dt}=\frac{\partial{f}}{\partial{x}}\frac{dv_{1}}{dt}+\frac{\partial{f}}{\partial{y}}\frac{dv_{2}}{dt}

To answer your questions:
1. "Are partial derivative functions undefined for h"
h being only a one-variable function do not have what we ordinarily calls "partial" derivatives. It only has a derivative with respect to its variable.

2. When y=g(x), can we say that f = h:R-->R?
h is R-->R, f is always R*R-->R
Even though x and y are interrelated by g, the arguments of f will always be two, namely "x" itself and g's function value.

Not that the domain of f(x,y) is the whole xy-plane. When we draw the graph (x,g(x)) there, then the function values of h(x) are simply f's function values computed along that graph.
 
Thanks you, that's very helpful!

One more question, for now: which is the potential function, f or h?

(In the context of exact differential equations, that is. This article seems to use the same symbol, F, for both f and h.)
 
Last edited:

Similar threads

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