二重振り子

注意:これは claude-3.5-sonnet を使って作成したサンプルページです。

二重振り子は、単振り子を 2 つ連結した系で、非線形力学系の代表的な例です。初期条件のわずかな違いが大きな違いを生む「カオス」の性質を示します。

運動方程式の導出

二重振り子の運動方程式は、ラグランジュ方程式を用いて導出できます。

1. 座標系の設定

まず、以下のパラメータを定義します:

  • θ1,θ2\theta_1, \theta_2: それぞれの振り子の鉛直方向からの角度
  • l1,l2l_1, l_2: それぞれの振り子の長さ
  • m1,m2m_1, m_2: それぞれの振り子の質量
  • gg: 重力加速度
図1: 二重振り子

2. 運動エネルギーTTの計算

11質点と第 2 質点の位置座標は:

x1=l1sinθ1y1=l1cosθ1x2=l1sinθ1+l2sinθ2y2=l1cosθ1+l2cosθ2\begin{align} x_1 &= l_1\sin\theta_1 \\ y_1 &= l_1\cos\theta_1 \\ x_2 &= l_1\sin\theta_1 + l_2\sin\theta_2 \\ y_2 &= l_1\cos\theta_1 + l_2\cos\theta_2 \end{align}

これらを時間微分して速度を求めます。まず、第 1 質点の速度成分は:

x1˙=l1θ1˙cosθ1y1˙=l1θ1˙sinθ1\begin{align} \dot{x_1} &= l_1\dot{\theta_1}\cos\theta_1 \\ \dot{y_1} &= -l_1\dot{\theta_1}\sin\theta_1 \end{align}

第 2 質点の速度成分は:

x2˙=l1θ1˙cosθ1+l2θ2˙cosθ2y2˙=l1θ1˙sinθ1l2θ2˙sinθ2\begin{align} \dot{x_2} &= l_1\dot{\theta_1}\cos\theta_1 + l_2\dot{\theta_2}\cos\theta_2 \\ \dot{y_2} &= -l_1\dot{\theta_1}\sin\theta_1 - l_2\dot{\theta_2}\sin\theta_2 \end{align}

これらの速度成分を用いて、運動エネルギーを計算します:

T=12m1(x1˙2+y1˙2)+12m2(x2˙2+y2˙2)=12m1l12θ1˙2+12m2[l12θ1˙2+l22θ2˙2+2l1l2θ1˙θ2˙cos(θ1θ2)]\begin{align} T &= \frac{1}{2}m_1(\dot{x_1}^2 + \dot{y_1}^2) + \frac{1}{2}m_2(\dot{x_2}^2 + \dot{y_2}^2) \\ &= \frac{1}{2}m_1l_1^2\dot{\theta_1}^2 + \frac{1}{2}m_2\left[l_1^2\dot{\theta_1}^2 + l_2^2\dot{\theta_2}^2 + 2l_1l_2\dot{\theta_1}\dot{\theta_2}\cos(\theta_1-\theta_2)\right] \end{align}

3. 位置エネルギーVVの計算

重力による位置エネルギーは:

V=m1gl1cosθ1+m2g(l1cosθ1+l2cosθ2)V = m_1gl_1\cos\theta_1 + m_2g(l_1\cos\theta_1 + l_2\cos\theta_2)

4. ラグランジアンLLの計算

ラグランジアンは運動エネルギーと位置エネルギーの差で与えられます。具体的には:

L=TV=12m1l12θ1˙2+12m2[l12θ1˙2+l22θ2˙2+2l1l2θ1˙θ2˙cos(θ1θ2)][m1gl1cosθ1+m2g(l1cosθ1+l2cosθ2)]\begin{align} L &= T - V \\ &= \frac{1}{2}m_1l_1^2\dot{\theta_1}^2 + \frac{1}{2}m_2\left[l_1^2\dot{\theta_1}^2 + l_2^2\dot{\theta_2}^2 + 2l_1l_2\dot{\theta_1}\dot{\theta_2}\cos(\theta_1-\theta_2)\right] \\ &\quad - \left[m_1gl_1\cos\theta_1 + m_2g(l_1\cos\theta_1 + l_2\cos\theta_2)\right] \end{align}

5. ラグランジュ方程式の適用

ラグランジュ方程式:

ddtLθi˙Lθi=0(i=1,2)\frac{d}{dt}\frac{\partial L}{\partial \dot{\theta_i}} - \frac{\partial L}{\partial \theta_i} = 0 \quad (i = 1, 2)

これを具体的に計算します。まず、θ1\theta_1について:

Lθ1˙=(m1+m2)l12θ1˙+m2l1l2θ2˙cos(θ1θ2)ddtLθ1˙=(m1+m2)l12θ1¨+m2l1l2θ2¨cos(θ1θ2)m2l1l2θ2˙(θ1˙θ2˙)sin(θ1θ2)Lθ1=m2l1l2θ1˙θ2˙sin(θ1θ2)(m1+m2)gl1sinθ1\begin{align} \frac{\partial L}{\partial \dot{\theta_1}} &= (m_1 + m_2)l_1^2\dot{\theta_1} + m_2l_1l_2\dot{\theta_2}\cos(\theta_1-\theta_2) \\ \frac{d}{dt}\frac{\partial L}{\partial \dot{\theta_1}} &= (m_1 + m_2)l_1^2\ddot{\theta_1} + m_2l_1l_2\ddot{\theta_2}\cos(\theta_1-\theta_2) \\ &\quad - m_2l_1l_2\dot{\theta_2}(\dot{\theta_1}-\dot{\theta_2})\sin(\theta_1-\theta_2) \\ \frac{\partial L}{\partial \theta_1} &= -m_2l_1l_2\dot{\theta_1}\dot{\theta_2}\sin(\theta_1-\theta_2) - (m_1 + m_2)gl_1\sin\theta_1 \end{align}

次に、θ2\theta_2について:

Lθ2˙=m2l22θ2˙+m2l1l2θ1˙cos(θ1θ2)ddtLθ2˙=m2l22θ2¨+m2l1l2θ1¨cos(θ1θ2)m2l1l2θ1˙(θ1˙θ2˙)sin(θ1θ2)Lθ2=m2l1l2θ1˙θ2˙sin(θ1θ2)m2gl2sinθ2\begin{align} \frac{\partial L}{\partial \dot{\theta_2}} &= m_2l_2^2\dot{\theta_2} + m_2l_1l_2\dot{\theta_1}\cos(\theta_1-\theta_2) \\ \frac{d}{dt}\frac{\partial L}{\partial \dot{\theta_2}} &= m_2l_2^2\ddot{\theta_2} + m_2l_1l_2\ddot{\theta_1}\cos(\theta_1-\theta_2) \\ &\quad - m_2l_1l_2\dot{\theta_1}(\dot{\theta_1}-\dot{\theta_2})\sin(\theta_1-\theta_2) \\ \frac{\partial L}{\partial \theta_2} &= m_2l_1l_2\dot{\theta_1}\dot{\theta_2}\sin(\theta_1-\theta_2) - m_2gl_2\sin\theta_2 \end{align}

これらの計算結果をラグランジュ方程式に代入し整理すると、最終的に以下の連立微分方程式が得られます:

(m1+m2)l12θ1¨+m2l1l2θ2¨cos(θ1θ2)+m2l1l2θ2˙2sin(θ1θ2)+(m1+m2)gl1sinθ1=0m2l22θ2¨+m2l1l2θ1¨cos(θ1θ2)m2l1l2θ1˙2sin(θ1θ2)+m2gl2sinθ2=0\begin{align} (m_1 + m_2)l_1^2\ddot{\theta_1} + m_2l_1l_2\ddot{\theta_2}\cos(\theta_1-\theta_2) + m_2l_1l_2\dot{\theta_2}^2\sin(\theta_1-\theta_2) + (m_1+m_2)gl_1\sin\theta_1 &= 0 \\ m_2l_2^2\ddot{\theta_2} + m_2l_1l_2\ddot{\theta_1}\cos(\theta_1-\theta_2) - m_2l_1l_2\dot{\theta_1}^2\sin(\theta_1-\theta_2) + m_2gl_2\sin\theta_2 &= 0 \end{align}

シミュレーション

以下のシミュレーションでは、この運動方程式を数値的に解いています。Runge-Kutta 法を用いて高精度な数値積分を行い、系の時間発展を計算しています。

9.81 m/s²
1.00 m
1.00 m
1.00 kg
1.00 kg
0.79 rad (45.0°)
0.79 rad (45.0°)

カオス的振る舞い

二重振り子の特徴的な性質は、その運動がカオス的であることです。これは以下のような特徴として現れます:

  1. 初期条件敏感性

    • わずかな初期条件の違いが、時間とともに大きく異なる運動を生み出す
    • 長期的な運動の予測が実質的に不可能
  2. 非周期性

    • 単振り子と異なり、周期的な運動にならない
    • 複雑で予測不可能なパターンを示す
  3. エネルギー分配

    • 2 つの振り子の間でエネルギーが複雑に交換される
    • 運動エネルギーと位置エネルギーが非線形に変化

まとめ

二重振り子は、単純な構造ながら複雑な振る舞いを示す典型的な非線形系です。このシミュレーションを通じて:

  • カオス的な運動の特徴
  • 非線形系の基本的な性質
  • 初期条件敏感性の意味
  • エネルギーの非線形的な振る舞い

について、直感的な理解を深めることができます。