Documentation

TauCeti.Analysis.Green.Affine.Triangle

Affine coordinates on nondegenerate triangles #

The positive real basis (1,I) gives an invertible affine coordinate map from the standard triangle to any nondegenerate ordered triangle. Its determinant is the existing triangleDet. Area uses the absolute determinant; the oriented three-segment circulation retains its sign.

The real linear map sending the positive basis to the two edges based at c.

Equations
Instances For
    @[simp]

    The first basis vector is sent to the first edge.

    @[simp]

    The second basis vector is sent to the second edge.

    The determinant of the triangle coordinate map is the existing oriented triangle determinant.

    noncomputable def TauCeti.Green.triangleCoordinates (c p q : ℂ) (hdet : triangleDet c p q ≠ 0) :

    Nonzero triangle determinant gives an invertible real continuous linear coordinate map.

    Equations
    Instances For
      theorem TauCeti.Green.triangleCoordinates_toLinearMap (c p q : ℂ) (hdet : triangleDet c p q ≠ 0) :
      ↑↑(triangleCoordinates c p q hdet) = triangleLinearMap c p q

      The invertible triangle coordinates have the prescribed underlying linear map.

      @[simp]
      theorem TauCeti.Green.triangleCoordinates_one (c p q : ℂ) (hdet : triangleDet c p q ≠ 0) :
      (triangleCoordinates c p q hdet) 1 = p - c

      Triangle coordinates send 1 to the first edge vector.

      @[simp]
      theorem TauCeti.Green.triangleCoordinates_I (c p q : ℂ) (hdet : triangleDet c p q ≠ 0) :
      (triangleCoordinates c p q hdet) Complex.I = q - c

      Triangle coordinates send I to the second edge vector.

      theorem TauCeti.Green.det_triangleCoordinates (c p q : ℂ) (hdet : triangleDet c p q ≠ 0) :

      The coordinate determinant is the oriented triangle determinant.

      Triangle coordinates identify the actual closed convex hulls.

      The actual open triangle is the image of the standard triangle interior.

      The literal three-segment triangle chain transports its actual curve-integral sum.

      Positive planar area on an ordered triangle scales by the absolute triangle determinant.

      theorem TauCeti.Green.integral_convexHull_triangle (c p q : ℂ) (hdet : triangleDet c p q ≠ 0) (f : ℂ → ℝ) :
      ∫ (z : ℂ) in (convexHull ℝ) {c, p, q}, f z = |triangleDet c p q| * ∫ (z : ℂ) in standardTriangle, f (affineMap (↑(triangleCoordinates c p q hdet)) c z)

      Area integration on an actual triangle agrees with the affine-coordinate integral.

      theorem TauCeti.Green.green_triangle_of_det_ne_zero {c p q : ℂ} (hdet : triangleDet c p q ≠ 0) {U : Set ℂ} (hU : IsOpen U) (hTU : (convexHull ℝ) {c, p, q} ⊆ U) {P Q : ℂ → ℝ} (hP : ContDiffOn ℝ 1 P U) (hQ : ContDiffOn ℝ 1 Q U) :

      Green's theorem on any nondegenerate ordered triangle. The sign of its orientation is triangleDet / |triangleDet|, and the area integral uses the usual positive planar volume.