Physlib

PhyslibAlpha.ClassicalMechanics.CoupledSpringPotential

Coupled spring potential

As a proof of concept, we use the second derivative test in `PhyslibAlpha.Mathematics.PartialDerivativeTest` to prove that the coupled spring potential `U := fun x : EuclideanSpace ℝ (Fin 2) => (x 0)^2 + x 0 * x 1 + (x 1)^2` has a local minimum at zero.

7 declarations

definition

Potential energy of coupled springs x02+x0x1+x12x_0^2 + x_0 x_1 + x_1^2

The function maps a vector x=(x0,x1)x = (x_0, x_1) in the 2-dimensional Euclidean space R2\mathbb{R}^2 to the real-valued potential energy of a pair of coupled springs, defined by the expression x02+x0x1+x12x_0^2 + x_0 x_1 + x_1^2.

theorem

The coupled spring potential is analytic at every point

Let U:R2RU: \mathbb{R}^2 \to \mathbb{R} be the coupled spring potential defined by U(x0,x1)=x02+x0x1+x12U(x_0, x_1) = x_0^2 + x_0 x_1 + x_1^2. For any point zR2z \in \mathbb{R}^2, the function UU is analytic at zz.

theorem

Fréchet derivative of the coupled spring potential x02+x0x1+x12x_0^2 + x_0 x_1 + x_1^2

Let U:R2RU: \mathbb{R}^2 \to \mathbb{R} be the coupled spring potential defined by U(x0,x1)=x02+x0x1+x12U(x_0, x_1) = x_0^2 + x_0 x_1 + x_1^2. For any vector x=(x0,x1)R2x = (x_0, x_1) \in \mathbb{R}^2, the Fréchet derivative of UU at xx is the linear map Df(x):R2RDf(x): \mathbb{R}^2 \to \mathbb{R} given by Df(x)(h)=(2x0+x1)h0+(x0+2x1)h1Df(x)(h) = (2x_0 + x_1)h_0 + (x_0 + 2x_1)h_1 for any increment vector h=(h0,h1)h = (h_0, h_1).

theorem

The gradient of the coupled spring potential vanishes at the origin (U(0,0)=0\nabla U(0, 0) = 0)

Let U:R2RU: \mathbb{R}^2 \to \mathbb{R} be the coupled spring potential defined by U(x0,x1)=x02+x0x1+x12U(x_0, x_1) = x_0^2 + x_0 x_1 + x_1^2. The gradient U\nabla U evaluated at the origin (0,0)(0, 0) is equal to the zero vector.

theorem

The second derivative of the coupled spring potential UU is 2a0b0+a0b1+a1b0+2a1b12 a_0 b_0 + a_0 b_1 + a_1 b_0 + 2 a_1 b_1

Let U:R2RU: \mathbb{R}^2 \to \mathbb{R} be the coupled spring potential defined by U(x0,x1)=x02+x0x1+x12U(x_0, x_1) = x_0^2 + x_0 x_1 + x_1^2. For any point zR2z \in \mathbb{R}^2 and any two vectors a,bR2a, b \in \mathbb{R}^2, the second Fréchet derivative of UU at zz evaluated on (a,b)(a, b) is given by D2U(z)(a,b)=2a0b0+a0b1+a1b0+2a1b1,D^2 U(z)(a, b) = 2 a_0 b_0 + a_0 b_1 + a_1 b_0 + 2 a_1 b_1, where aia_i and bib_i denote the components of the vectors aa and bb respectively.

theorem

The Second Fréchet Derivative of the Coupled Spring Potential at (0,0)(0, 0) is Positive Definite

Let U:R2RU: \mathbb{R}^2 \to \mathbb{R} be the coupled spring potential defined by U(x0,x1)=x02+x0x1+x12U(x_0, x_1) = x_0^2 + x_0 x_1 + x_1^2. The quadratic map Q:R2RQ: \mathbb{R}^2 \to \mathbb{R} associated with the second Fréchet derivative of UU at the origin (0,0)(0, 0), given by Q(y)=D2U(0,0)(y,y)Q(y) = D^2 U(0, 0)(y, y), is positive definite.

theorem

The function U(x0,x1)=x02+x0x1+x12U(x_0, x_1) = x_0^2 + x_0 x_1 + x_1^2 has a local minimum at (0,0)(0, 0)

Let U:R2RU: \mathbb{R}^2 \to \mathbb{R} be the potential function defined by U(x0,x1)=x02+x0x1+x12U(x_0, x_1) = x_0^2 + x_0 x_1 + x_1^2, where x0x_0 and x1x_1 are the components of a vector in the 2-dimensional Euclidean space. Then UU has a local minimum at the origin (0,0)(0, 0).