Why y, y' (derivative of y), x are independent?

In summary, when solving Euler's equation in calculus of variations, we consider y, x, and y' as independent variables, while in thermodynamics, different potentials have different variables. The slope of a function is directly dependent on the function itself, but when computing the variation of a function with multiple variables, we need to take the partial derivative with respect to each argument separately and multiply by the inner derivative. This shows that the arguments are not independent. In simpler terms, this means that the variables used in a function can affect each other's derivatives, even if they are not directly dependent on each other.
  • #1
SSDdefragger
5
0
In calculus of variations when we solve Euler's equation we always do think of y, x and y' as independent variables.
In thermodynamics we think that different potentials have totally different variables
I don't understand why the slope of the function is not directly dependent on function itself.
 
Physics news on Phys.org
  • #2
SSDdefragger said:
In calculus of variations when we solve Euler's equation we always do think of y, x and y' as independent variables.
In thermodynamics we think that different potentials have totally different variables
I don't understand why the slope of the function is not directly dependent on function itself.
It is directly dependent on the function. This is why you get one differential equation as the Euler equation and not several.

However, when computing the variation of a function which depends on several variables, you need to take the partial derivative wrt each argument separately and multiply by the inner derivative. That the arguments are not independent manifests itself by the inner derivatives not being independent.
 
  • #3
Orodruin said:
However, when computing the variation of a function which depends on several variables, you need to take the partial derivative wrt each argument separately and multiply by the inner derivative. That the arguments are not independent manifests itself by the inner derivatives not being independent

Please can you explain this in more plain English, I don't quite follow.
 
  • #4
You have a function of the form ##f(a,b,c)## where you are going to plug in ##a = y(x)##, ##b = y'(x)##, and ##c = x##. If you want to know how this changes when you let ##y(x) = y_0(x) + \epsilon y_1(x)##, you do the following:
$$
\frac{df}{d\epsilon} = \frac{\partial f}{\partial a} \frac{da}{d\epsilon} + \frac{\partial f}{\partial b} \frac{db}{d\epsilon} + \frac{\partial f}{\partial c} \frac{dc}{d\epsilon}.
$$
Here, ##a##, ##b##, and ##c## are just placeholders for the functions that are going to go into this. What ##\partial f/\partial a## really means is "the derivative of ##f## with respect to the first argument. In order not to have to write down dummy variables like this, we usually just write ##f(y,y',x)## and by ##\partial f/\partial y## we mean the derivative of ##f## with respect to its first argument and so on. Inserting ##a = y(x)##, ##b = y'(x)##, and ##c = x## gives you the correct result and ##da/d\epsilon = y_1##, ##db/d\epsilon = y'_1##, and ##dc/d\epsilon = 0##. The fact that ##y'_1## is not independent of ##y_1## encodes the fact that ##y'## is not independent of ##y##.

To take an analogy to usual multivariable calculus, consider the function ##f(x,y) = xy##. If we let ##x## and ##y## depend on a parameter ##t##, we find that
$$
\frac{df}{dt} = x' \partial_x f + y' \partial_y f = x' y + y' x.
$$
If we now assume that ##y = x^2##, we would find ##y' = 2xx'## and inserting this into the above would give
$$
\frac{df}{dt} = x' x^2 + 2xx' x = 3 x^2 x',
$$
the very same result as we would get if we had inserted ##y = x^2## into ##f## before differentiating, so it is consistent with ##y## being dependent on ##x##.
 
  • Like
Likes SSDdefragger

FAQ: Why y, y' (derivative of y), x are independent?

1. Why are y, y' (derivative of y), and x considered independent variables?

Y, y' (derivative of y), and x are considered independent variables because they represent different quantities that are not affected by each other. In other words, changes in one variable do not directly cause changes in the other variables. This allows for the study of each variable separately and their relationships with other variables.

2. How does the independence of y, y' (derivative of y), and x impact mathematical models?

The independence of y, y' (derivative of y), and x is crucial in creating accurate mathematical models. It allows for the identification of cause and effect relationships between variables and the understanding of how changes in one variable affect the others. This results in more precise and reliable mathematical models.

3. Can y, y' (derivative of y), and x ever be dependent variables?

Yes, there are cases where y, y' (derivative of y), and x can be dependent variables. This occurs when there is a direct relationship between the variables, meaning changes in one variable directly affect the others. In these cases, the independence of the variables may need to be assumed in order to simplify the model and make it more manageable.

4. How do we determine the independence of y, y' (derivative of y), and x in a given situation?

The independence of y, y' (derivative of y), and x can be determined by analyzing the nature of the relationship between the variables. If changes in one variable do not directly cause changes in the others, then they are considered independent variables. Additionally, statistical methods such as correlation and regression analysis can also be used to determine the independence of variables.

5. What are the advantages of having independent variables in scientific research?

The use of independent variables in scientific research allows for the study of specific variables and their relationships with others. This allows for a better understanding of the underlying mechanisms and factors that contribute to a phenomenon. It also allows for the manipulation of variables in experiments, which can provide valuable insights and lead to the development of new theories and models.

Similar threads

Replies
1
Views
2K
Replies
12
Views
2K
Replies
4
Views
1K
Replies
6
Views
2K
Replies
4
Views
1K
Replies
9
Views
2K
Replies
22
Views
3K
Replies
12
Views
2K
Back
Top