Multivariable function definition

Click For Summary

Discussion Overview

The discussion centers around the definition and properties of multivariable functions, particularly focusing on the differentiation of such functions. Participants explore the implications of defining functions with interdependent variables and the distinctions between partial and total derivatives.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant questions whether the function ##g(x,a) = x^2 + a##, with ##a=x##, qualifies as a multivariable function given the differing results of its partial derivative compared to a single-variable function ##f(x) = x^2 + x##.
  • Another participant clarifies that the total derivative incorporates dependencies on all variables, while the partial derivative keeps other variables constant, leading to different results for ##g(x,a)##.
  • There is a discussion about whether a function like ##h(x,y,z)##, when expressed in terms of a single variable ##t##, can still be considered a multivariable function without taking partial derivatives with respect to its variables.
  • A later reply emphasizes the importance of defining functions clearly and acknowledges that notation can sometimes obscure the underlying mathematical relationships.
  • One participant suggests that the notation used in the original question can lead to confusion regarding the nature of the functions involved.

Areas of Agreement / Disagreement

Participants express differing views on the classification of functions as multivariable based on their definitions and the implications for differentiation. The discussion remains unresolved regarding the strict criteria for a function to be considered multivariable.

Contextual Notes

There are limitations in the discussion regarding the assumptions made about variable dependencies and the notation used, which may lead to ambiguity in interpreting the functions and their derivatives.

Nikitin
Messages
734
Reaction score
27
Hi. I am a bit confused on the definition of multivariable functions. Say you have ##f(x) = x^2 + x## and ##g(x,a) = x^2 + a## where ##a=x##. Is ##g(x,a)## then a mathematically legal multivariable function? Because if you take ## \frac{\partial f(x)}{\partial x}=2x +1## you'll get a different result from ##\frac{\partial g(x,a)}{\partial x} = 2x## even though ##g(x,a)## and ##f(x)## are the exact same functions.

Or am I missing something?
 
Physics news on Phys.org
For your g, we have:
[itex] \frac{\partial g(x,a)}{\partial x}=\frac{\partial g(x,a)}{\partial x}+\frac{\partial g(x,a)}{\partial a}\frac{da}{dx}=2x+1[/itex]
 
Isn't that the total derivative? I thought the partial derivative was supposed to keep all other variables constant (in this case, a).
 
Nikitin said:
Isn't that the total derivative? I thought the partial derivative was supposed to keep all other variables constant (in this case, a).
We use partial derivative only when the function being differentiated is a function of several variables. But a depends only on x.
I should correct myself though!
[itex] \frac{d g(x,a)}{dx}=\frac{\partial g(x,a)}{\partial x}+\frac{\partial g(x,a)}{\partial a}\frac{da}{dx}=2x+1[/itex]
The [itex]\frac{d}{dx}[/itex] notation, if used on a function of several variables, means the change of the function caused by the change of x through any kind of x dependence of the function, even the indirect ones. But [itex]\frac{\partial}{\partial x}[/itex] is only for explicit dependence.
So in contrast to the above, we have:
[itex]\frac{\partial g(x,a)}{\partial x}=2x[/itex]
For functions of one variable, the two derivatives are equal.
 
Last edited:
  • Like
Likes   Reactions: Nikitin
OK, I see. so g(x,a) is NOT a function of several variables, right?

But what if you have a function ##h(x,y,z)## such that ##x=x(t),y=y(t),z=z(t)##. In that case, ##h(x,y,z)=h(t)## is NOT a multivariable function without a partial derivative with regards to x, y or z?
 
Nikitin said:
Hi. I am a bit confused on the definition of multivariable functions. Say you have ##f(x) = x^2 + x## and ##g(x,a) = x^2 + a## where ##a=x##. Is ##g(x,a)## then a mathematically legal multivariable function? Because if you take ## \frac{\partial f(x)}{\partial x}=2x +1## you'll get a different result from ##\frac{\partial g(x,a)}{\partial x} = 2x## even though ##g(x,a)## and ##f(x)## are the exact same functions.

Or am I missing something?

You need to be more careful about what you are doing. First, let's define:

##g(x, y) = x^2 + y##

That's a multi-variable function with ##\frac{\partial{g}}{\partial{x}} = 2x## and ##\frac{\partial{g}}{\partial{y}} = 1##

Now, if you evaluate the first partial derivative along the line ##y=x## you get:

##\frac{\partial{g}}{\partial{x}}(x, x) = 2x##

If, however, you define ##g(x, y) = x^2 + x## then ##\frac{\partial{g}}{\partial{x}} = 2x + 1## and ##\frac{\partial{g}}{\partial{y}} = 0##

But, this is now a different muti-variable function, with different partial derivatives.
 
  • Like
Likes   Reactions: Nikitin
Nikitin said:
Is ##g(x,a)## then a mathematically legal multivariable function?

Using symbols is an attempt to abbreviate thought, but it isn't systematic enough to replace thinking. it is a cultural tradition in writing mathematics to "abuse notation". It's common to see the same symbols used to represent distinct things. It also common to see symbols used in a way that is meaningless when they are interpreted literally.

The general form of what you have asked about is this scenario: Let [itex]g(x,a)[/itex] be a real valued function of two real variables. Let [itex]r(w)[/itex] be a real valued function of one real varable. Define a real valued function of one real variable by [itex]s(y) = g(y,r(y))[/itex]. Using that sort of symbolism, there is no ambiguity about the number of variables that functions [itex]g,[/itex] and [itex]s[/itex] have.

In your question, you have followed the above scenario (using [itex]r(w) = w[/itex] ). The ambiguity in the way that your are using symbols leads to confusion. You don't have symbolism that clearly identifies the difference between [itex]g(x,a)[/itex] and [itex]s(y)[/itex]. The way you use symbols in your question follows cultural traditions, so I'm not saying you have to change your style. However, you do have to keep in mind that writing in that style obscures some technicalities.
 
  • Like
Likes   Reactions: Nikitin and slider142

Similar threads

  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K