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

In summary, Domain of f(x,g(x)), and partial derivatives are:- R for the domain of f, which is the set of all real numbers- RxR for the domain of the exact derivative function of f, which is the set of all real numbers and the set of all complex numbers- R*R for the domain of the composite function h(t), which is the set of all real numbers and the set of all complex numbers
  • #1
Rasalhague
1,387
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,

[tex]\frac{\mathrm{d} f}{\mathrm{d} x} = \frac{\partial f}{\partial x} + \frac{\partial f}{\partial g} \frac{\mathrm{d} g}{\mathrm{d} x},[/tex]

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,

[tex]g(x)=x^2;[/tex]

[tex]f(x,g(x)) = x \cdot g(x) = x \cdot x^2 = x^3.[/tex]

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

[tex]\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)[/tex]

[tex]=g(x)+x \cdot 2x = x^2 + 2x^2 = 3x^2,[/tex]

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

[tex]\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.[/tex]

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:

[tex]\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)[/tex]

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

where, for x positive,

[tex]\frac{\partial (x^3)}{\partial (x^2)} = \frac{\partial (x^{3/2})}{\partial x}.[/tex]
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
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:
  • #3
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?
 
  • #4
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, [tex]\vec{v}(t)=(v_{1}(t), v_{2}(t))=(t, g(t))[/tex]
This is a mapping from R to R*R
Thus, we may define the composite function:
[tex]h(t)=f(\vec{v}(t)}[/tex]
This is a mapping from R to R, going as follows R-->R*R-->R

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

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.
 
  • #5
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:

What is the domain of f(x,g(g))?

The domain of f(x,g(g)) is the set of all possible input values for both the functions f and g. It includes all values that can be plugged into both functions without resulting in an undefined expression.

What is a partial derivative?

A partial derivative is a mathematical concept that measures the rate of change of a multivariable function with respect to one of its variables, while holding all other variables constant. It is denoted by ∂f/∂x, where f is the function and x is the variable of interest.

How do you calculate a partial derivative?

To calculate a partial derivative, you first need to identify the variable of interest and hold all other variables constant. Then, you differentiate the function with respect to that variable, treating all other variables as constants. This will give you the partial derivative of the function with respect to the chosen variable.

Why are partial derivatives important in science?

Partial derivatives are important in science because they allow us to analyze how a multivariable function changes with respect to a specific variable. This is useful in fields such as physics, economics, and engineering where many real-world problems involve multiple variables.

What is the relationship between partial derivatives and the gradient?

The gradient is a vector that contains the partial derivatives of a multivariable function. It represents the direction and magnitude of the steepest increase of the function. In other words, the gradient is a generalization of the concept of a derivative to multivariable functions.

Similar threads

Replies
3
Views
1K
Replies
6
Views
1K
Replies
4
Views
2K
Replies
1
Views
2K
Replies
3
Views
1K
Replies
1
Views
179
Replies
3
Views
1K
Replies
4
Views
323
  • Calculus
Replies
5
Views
1K
Replies
1
Views
913
Back
Top