ラグランジュ関数
ラグランジュ関数
速度で運動している質量
の運動エネルギー
![](https://diff-eq.com/wp-content/uploads/2024/06/tt_kinetic_energy_large_dxdt_huge_2024img-1.png)
これの変分を考えてみましょう。簡単のために運動は軸方向のみを考え、そのずれの時間を
から
とします。
まず、自体の時間に対する変分と微分の関係を求めます。
![](https://diff-eq.com/wp-content/uploads/2024/06/delta_t_diff_lagrangian_function_huge_2024img2.png)
さらに運動エネルギーの変分を考えれば、
![](https://diff-eq.com/wp-content/uploads/2024/06/delta_t_diff_lagrangian_function_huge_2024img3-1024x151-1.png)
![](https://diff-eq.com/wp-content/uploads/2024/06/delta_t_diff_lagrangian_function_huge_2024img4-1024x516-1.png)
この出てきた上記の式に関して両辺を
で積分します。
![](https://diff-eq.com/wp-content/uploads/2024/06/integral_variational_calculus_lagrangian_function_calculate_huge_2024img1-1024x264-1.png)
さらに上記積分式の右辺のの
のみ以下のように微分表記にします。
![](https://diff-eq.com/wp-content/uploads/2024/06/integral_variational_calculus_lagrangian_function_calculate_huge_2024img2-1024x311-1.png)
ここで微分と変分の入れ替えが可能なので次のようになります。
![](https://diff-eq.com/wp-content/uploads/2024/06/integral_variational_calculus_lagrangian_function_calculate_huge_2024img3-1024x323-1.png)
上記式の右辺に対してさらに部分積分を適用しますが、この時右辺の積分に関しては端点を固定しているので結果になることに注意すれば以下のようになります。
![](https://diff-eq.com/wp-content/uploads/2024/06/integral_variational_calculus_lagrangian_function_calculate_huge_2024img4-1-1024x261.png)
となるので次のように求まります。
![](https://diff-eq.com/wp-content/uploads/2024/06/integral_variational_calculus_lagrangian_function_calculate_huge_2024img5-1024x201-1.png)
力がポテンシャルエネルギーなどの保存力だった場合は、
![](https://diff-eq.com/wp-content/uploads/2024/06/mdvdt_eq_u_potential_energy_differential_dx_huge_img.png)
そしてこれの変分を考えれば、
![](https://diff-eq.com/wp-content/uploads/2024/06/delta_u_potential_energy_differential_dx_deltax_huge_img2.png)
これを部分積分の結果に代入します。
![](https://diff-eq.com/wp-content/uploads/2024/06/integral_delta_t_delta_u_potential_energy_differential_dx_deltax_huge_img1-1024x638-1.png)
途中微分と変分を入れ替えています。
さらに以下のように式変形をしていきます。
![](https://diff-eq.com/wp-content/uploads/2024/06/integral_stationary_value_delta_t_delta_u_potential_energy_large_img1.png)
![](https://diff-eq.com/wp-content/uploads/2024/06/integral_stationary_value_delta_t_delta_u_potential_energy_large_img2-1024x207-1.png)
このように停留値をとらせるようなものになっており、実現される運動はこれを満たすものだと考えることが出来ます。
ここでこのを
とおき、オイラーの方程式と対応させれば、
![](https://diff-eq.com/wp-content/uploads/2024/06/euler_lagrangian_stationary_value_large_img1.png)
![](https://diff-eq.com/wp-content/uploads/2024/06/euler_lagrangian_stationary_value_huge_img1-1024x151-1.png)
これより以下のような式が決まります。
![](https://diff-eq.com/wp-content/uploads/2024/06/euler_lagrangian_stationary_value_huge_img2.png)
これをに拡張すれば、
![](https://diff-eq.com/wp-content/uploads/2024/06/euler_lagrangian_stationary_value_xyz_large_img2.png)
またさらにここでを
と表せば、
![](https://diff-eq.com/wp-content/uploads/2024/06/euler_lagrangian_stationary_value_x123_large_img1.png)
一般化運動量は、
![](https://diff-eq.com/wp-content/uploads/2024/06/generalized_momentum_pi_eq_roundl_roundqdot_hueg_img.png)
ある質点の運動
ある質点の運動を考えてみましょう。
を水平面とし
を鉛直上向きに座標を取ります。
そうするとラグランジアンは、
![](https://diff-eq.com/wp-content/uploads/2024/06/lag_applied_lagrangian_large_img.png)
となるのでこれをラグランジュの式に当てはめれば、
![](https://diff-eq.com/wp-content/uploads/2024/06/lag_applied_lagrangian_x_example_large_img.png)
![](https://diff-eq.com/wp-content/uploads/2024/06/lag_applied_lagrangian_y_example_large_img.png)
![](https://diff-eq.com/wp-content/uploads/2024/06/lag_applied_lagrangian_z_example_large_img.png)
となるので結果は次のようになります。
![](https://diff-eq.com/wp-content/uploads/2024/06/lag_applied_lagrangian_example_result_huge_img.png)
このカテゴリーではラグランジュ関数を使った弦及び3重ばねの連成振動、2重振り子の微小な場合とそうでない場合の考察を行っていきます。