Multivariable function definition

In summary, g(x,a) is a real valued function of two real variables, but s(y) is a real valued function of one real variable.
  • #1
Nikitin
735
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
  • #2
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]
 
  • #3
Isn't that the total derivative? I thought the partial derivative was supposed to keep all other variables constant (in this case, a).
 
  • #4
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 Nikitin
  • #5
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?
 
  • #6
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 Nikitin
  • #7
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 Nikitin and slider142

FAQ: Multivariable function definition

What is a multivariable function?

A multivariable function is a mathematical function that has more than one independent variable. This means that the output of the function depends on multiple inputs or factors.

What are the variables in a multivariable function?

The variables in a multivariable function are the independent variables or inputs that affect the output of the function. These variables can be represented by letters, such as x, y, and z, and can represent different quantities, such as time, distance, or temperature.

How is a multivariable function defined?

A multivariable function is defined by an equation that relates the output or dependent variable to the input or independent variables. This equation can take the form of a polynomial, exponential, or trigonometric function, among others.

What are some applications of multivariable functions?

Multivariable functions are used in many fields, including physics, engineering, economics, and biology. They are used to model and analyze complex systems that involve multiple variables, such as in weather forecasting, financial forecasting, and population growth.

What is the difference between a multivariable function and a single variable function?

The main difference between a multivariable function and a single variable function is the number of independent variables. Single variable functions have only one independent variable, while multivariable functions have more than one. This means that multivariable functions can have a more complex relationship between the inputs and the output.

Similar threads

Replies
4
Views
2K
Replies
14
Views
2K
Replies
3
Views
2K
Replies
6
Views
2K
Replies
1
Views
1K
Replies
2
Views
2K
Replies
3
Views
2K
Back
Top