Translated with the help of ChatGPT and Google Translator
I studied Lagrange mechanics briefly a while ago. I think I did it because I needed to do some complicated physics calculations during my senior year of high school, when everything was fun except for my studies, but I don't really remember what I was trying to do. I think it was probably to simulate a double pendulum.
Anyway, I'm going to use this again this time, so I'd like to organize it this time.
calculus of variations
Lagrange mechanics uses a branch of mathematics called variation calculus, which is an extension of general calculus.
The method of variation deals with functional functions, which are functions whose domain is a set of functions. Of course, conjugate space can also be multiple sets, but this article will only deal with cases where conjugate space is a real number. In other words, if the set of functional functions that will be discussed in this article is , and the set of real numbers is , then $J:\mathbb{F}\rightarrow\mathbb{R} $ refers to the function. Examples of simple functional functions include:
The functional function in the above formula takes a function as a parameter (assuming is a real function) and returns a real number.
In calculus, when there is a function, we investigate the relationship between slight changes in the value of the function due to slight changes in its parameters. Likewise, in the calculus of variation, when there is a slight change in the function, which is the parameter, we deal with what is the relationship with the slight change (variation) of the functional function. In particular, it is important to make the functional function the maximum or minimum. This maximum or minimum value is called stationary value, and the function that makes the functional function maximum or minimum is called the stationary function or stationary point<. It is called /u>. For example, the above function has a commutation value of only when , and becomes the commutation point (or commutation function).
Euler-Lagrange equation
Of course, there are many important principles in the calculus of variation that I am not aware of, but the Lagrangian mechanics we will cover is mainly derived from an important equation called Euler-Lagrange equation.
The Euler-Lagrange equation is an equation for finding the stationary point of a functional function that looks like the formula below for a certain function .
At this time, is an arbitrary three-variable function for which all partial derivatives are continuous. (It is a general function. It is not a functional function.) And, of course, must be differentiable. For example, assuming , the above formula can be written as follows.
(In this case, it is not difficult to see that .)
And if a certain stationary point of this type of functional function is called , then satisfies the following equation.
This equation is called the Euler-Lagrange equation.
Basic lemma of variational calculus
In order to prove the Euler-Lagrange equation, you must first know the basic lemma of the calculus of variations. The basic lemma of the method of variation is,
-
is a continuous function
-
If the following holds true for any Compactly supported smooth function
-
.
This is the theorem.
In fact, in some ways, it seems quite natural. No matter what you multiply and integrate with , if it is always 0, then is 0.
proof
Actually, I am a computer science major, not a math major, so I don't know much about the condition of compactly supported smooth. However, after researching, it seems to be okay to consider it as infinitely differentiable across all real numbers (continuous across all real numbers, with no diverging values).
Let us prove this using the reductio ad absurdum method. In other words, for any , but at least some exists, such that . Suppose exists.
First, let us consider the case where .
Then, since is a continuous function, by the definition of a continuous function, there exists an interval that contains at least one , so for where , $ It satisfies f(x)>0$. Of course .
At this time, let us consider the following function:
This function is a compactly supported smooth function. then
When taking the interval , it was set so that , and since , holds true. and therefore . However, this contradicts the initial assumption . So the assumption is false and no such exists.
Likewise, we can prove that .
A little easier proof(?)
After thinking about it, I think that many of the functions handled in physics (especially mechanics) are compactly supported and smooth. Therefore, let’s add one more constraint that is compactly supported smooth.
In that case, if , , so , and we can intuitively see that the equal sign holds only when .
Proof of Euler-Lagrange equation
Before looking at functional functions, let's look at general functions first. In calculus, a vector function is said to be infinitesimal (or maximum) at . For
This refers to the case where . (Actually, you can write , but I deliberately introduced a new function called to make it the same as when dealing with the functional functions below.) In other words, that point Even if a small change was made in a random direction in the surrounding area, if the amount of change was 0, it was considered an extreme point.
Likewise, the rectified value of a functional function can be thought of similarly.
Let’s take another look at the functional function described above. (**From now on, various variables appear, such as , etc. The first two are real numbers, and the last two are functions. ** To avoid confusion as much as possible, if it is a function, use I tried to indicate that it was a function and its parameters as much as possible.)
If is a stationary point of the functional function , that is, it minimizes or maximizes , then any differentiable function such that will satisfy the following (similarly to the case of vector functions):
This means that even if the function is slightly changed by adding a very small function called , there will be no significant difference in the amount of change in .
Now, let’s resubstitute the original expression into and organize it.
The integral equation may look complicated, but it has a lot of characters, but it is nothing more than the pre-differentiation of a multivariate function. Let's develop this once.
The ceremony has become more complicated. However, there is a hidden trap here: when differentiating, such as , when the variable of the function being differentiated and the variable being differentiated are different from each other, The point is that it becomes 0. For example, in the first term , if , it becomes 0. If we cancel all the terms that become 0, we can obtain a relatively neat equation as shown below. (From now on, there will be less confusion with parameters, so I will omit the function parameter to improve readability. However, since is a general function, not a general function, it can only receive scalars as parameters, and therefore Please note that you are not passing the function itself as a parameter, but rather the function value.)
Let's put this back into the integral symbol.
Now let's go back to the very beginning.
If is a stationary point of the functional function , that is, it minimizes or maximizes , then any differentiable function $\eta such that For $ we will be satisfied with:
Therefore, let’s say . Then we get the equation below:
Here, let's do a partial integration on the second term to eliminate . The partial integration formula is as follows.
Let's do partial integration by setting , .
However, first defining
...if we maximize, for any differentiable function such that ...
I said so. Therefore, the second term becomes 0, and it can be simply summarized as follows.
Now it is time to write the basic lemma of the calculus of variation that we proved earlier. is not a special function, but an arbitrary differentiable function. According to the basic lemma of the calculus of variations, for a function to always be 0 when multiplied by an arbitrary function and integrated, the function must be 0.
From this we get the Euler-Lagrange equations. If you go up to the top and look at the part that introduces the Euler-Lagrange equations, you can see that they have exactly the same form.
references
Wikipedia
- [Lagrange mechanics](https://ko.wikipedia.org/wiki/%EB%9D%BC%EA%B7%B8%EB%9E%91%EC%A3%BC_%EC%97%AD%ED %95%99)
- [Euler-Lagrange equation](https://ko.wikipedia.org/wiki/%EC%98%A4%EC%9D%BC%EB%9F%AC-%EB%9D%BC%EA%B7% B8%EB%9E%91%EC%A3%BC_%EB%B0%A9%EC%A0%95%EC%8B%9D)
- Division of Variations
- Function