Documentation

Lightlike.Regge.Linear.AngleDeriv

The first variation of a triangle angle #

triAngle a b c is the angle opposite the side of squared length c, between the sides of squared lengths a and b. For a nondegenerate triangle (D = 4ab - (a + b - c)² > 0) the angle is differentiable in the three squared lengths, with partial derivatives ∂c = 1/√D, ∂a = -(a - b + c)/(2a√D), ∂b = -(b - a + c)/(2b√D); here √D = 4 · area.

The discriminant D = 4ab - (a + b - c)² of a triangle with squared sides a, b, c (D = 16 · area²).

Equations
Instances For
    theorem Lightlike.Regge.Linear.hasDerivAt_triAngle {a b c a₁ b₁ c₁ : ℝ} (ha : 0 < a) (hb : 0 < b) (hD : 0 < disc a b c) :
    HasDerivAt (fun (ε : ℝ) => CMS.triAngle (a + ε * a₁) (b + ε * b₁) (c + ε * c₁)) ((2 * c₁ - (a - b + c) * a₁ / a - (b - a + c) * b₁ / b) / (2 * √(disc a b c))) 0

    First variation of a triangle angle. Along the line of squared lengths (a + ε a₁, b + ε b₁, c + ε c₁) the angle has derivative at ε = 0 equal to (2 c₁ - (a - b + c) a₁ / a - (b - a + c) b₁ / b) / (2 √D).