{
  "schemaVersion": 1,
  "id": "differential-geometry",
  "engine": "mixed-cards-v1",
  "metadata": {
    "title": "Differential Geometry",
    "lecturer": "Claudio Arezzo",
    "deckAuthor": "Anonymous",
    "source": {
      "label": "YouTube lecture playlist",
      "url": "https://www.youtube.com/playlist?list=PLLq_gUfXAnkl5JArcktbOrIUeR5rra-Gz"
    }
  },
  "decks": [
    {
      "id": "lecture1",
      "kind": "lecture",
      "shortName": "L1",
      "title": "Lecture 1",
      "subtitle": "Curve speed, length and reparametrization",
      "description": "Curve speed, length and reparametrization.",
      "cards": [
        "l1-velocity",
        "l1-speed",
        "l1-length",
        "l1-line",
        "l1-shortest",
        "l1-orthogonal",
        "l1-reparametrization"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture1Computations",
      "kind": "computation",
      "shortName": "L1C",
      "title": "Lecture 1 computations",
      "subtitle": "Length invariance and arc-length parametrization",
      "description": "Length invariance and arc-length parametrization.",
      "cards": [
        "compute-l1-foundation-reparametrized-speed",
        "compute-l1-foundation-endpoint-bound",
        "compute-l1-foundation-rigid-motion-speed",
        "compute-arc-length"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture2",
      "kind": "lecture",
      "shortName": "L2",
      "title": "Lecture 2",
      "subtitle": "Curvature, torsion and the Frenet frame",
      "description": "Curvature, torsion and the Frenet frame.",
      "cards": [
        "l2-speed",
        "l2-unit-tangent",
        "l2-curvature",
        "l2-normal",
        "l2-binormal",
        "l2-frenet-normal",
        "l2-torsion",
        "l2-frenet-tangent",
        "l2-frenet-binormal"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture2Computations",
      "kind": "computation",
      "shortName": "L2C",
      "title": "Lecture 2 computations",
      "subtitle": "Deriving the Frenet equations",
      "description": "Deriving the Frenet equations.",
      "cards": [
        "compute-l2-foundation-inner-product",
        "compute-l2-foundation-unit-vector",
        "compute-l2-foundation-orthogonality",
        "compute-l2-binormal-tangent",
        "compute-l2-binormal-derivative",
        "compute-l2-normal-derivative"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture3",
      "kind": "lecture",
      "shortName": "L3",
      "title": "Lecture 3",
      "subtitle": "Frenet equations, enclosed area and the isoperimetric inequality",
      "description": "Frenet equations, enclosed area and the isoperimetric inequality.",
      "cards": [
        "l3-frenet-matrix",
        "l3-gram",
        "l3-area",
        "l3-optimal-area"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture4",
      "kind": "lecture",
      "shortName": "L4",
      "title": "Lecture 4",
      "subtitle": "Surface charts, graph tangents and implicit differentiation",
      "description": "Surface charts, graph tangents and implicit differentiation.",
      "cards": [
        "l4-differential",
        "l4-rank",
        "l4-graph",
        "l4-graph-cross",
        "l4-implicit"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture4Computations",
      "kind": "computation",
      "shortName": "L4C",
      "title": "Lecture 4 computations",
      "subtitle": "Tangent vectors from curves; criticality at a minimum",
      "description": "Tangent vectors from curves; criticality at a minimum.",
      "cards": [
        "compute-l4-curve-tangent",
        "compute-l4-minimum-critical"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture5",
      "kind": "lecture",
      "shortName": "L5",
      "title": "Lecture 5",
      "subtitle": "Tangent planes to level surfaces and spheres",
      "description": "Tangent planes to level surfaces and spheres.",
      "cards": [
        "l5-dimension",
        "l5-level-tangent",
        "l5-sphere-tangent"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture6",
      "kind": "lecture",
      "shortName": "L6",
      "title": "Lecture 6",
      "subtitle": "Differentials of quadratic, distance and height functions",
      "description": "Differentials of quadratic, distance and height functions.",
      "cards": [
        "l6-foundation-differential",
        "l6-quadratic",
        "l6-eigenvector",
        "l6-distance",
        "l6-height-differential"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture6Computations",
      "kind": "computation",
      "shortName": "L6C",
      "title": "Lecture 6 computations",
      "subtitle": "Differentiating quadratic forms",
      "description": "Differentiating quadratic forms.",
      "cards": [
        "compute-l6-quadratic"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture7",
      "kind": "lecture",
      "shortName": "L7",
      "title": "Lecture 7",
      "subtitle": "The Gauss map, fundamental forms and surface curvatures",
      "description": "The Gauss map, fundamental forms and surface curvatures.",
      "cards": [
        "normal",
        "unit-length",
        "normal-orthogonal",
        "gradient-normal",
        "tangent-level",
        "symmetric",
        "first",
        "second",
        "principal",
        "gaussian",
        "mean",
        "plane-differential",
        "sphere-normal",
        "sphere-differential",
        "sphere-second",
        "sphere-principal",
        "sphere-gaussian",
        "sphere-mean"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture7Computations",
      "kind": "computation",
      "shortName": "L7C",
      "title": "Lecture 7 computations",
      "subtitle": "Differentiating the Gauss map and proving self-adjointness",
      "description": "Differentiating the Gauss map and proving self-adjointness.",
      "cards": [
        "compute-chart-velocity",
        "compute-curve-independence",
        "compute-normal-tangent",
        "compute-coordinate-velocity-u",
        "compute-normal-coordinate-u",
        "compute-normal-product-uu",
        "compute-normal-product-uv",
        "compute-self-adjoint"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "self-adjointness",
      "kind": "supplementary",
      "shortName": "SA",
      "title": "Self-adjointness",
      "subtitle": "Gram matrices, self-adjoint operators and bilinear forms",
      "description": "Gram matrices, self-adjoint operators and bilinear forms.",
      "cards": [
        "sa-gram-entry",
        "sa-gram-volume",
        "sa-orthonormal-gram",
        "sa-operator-coordinates",
        "sa-coordinate-inner-product",
        "sa-two-operators-inner-product",
        "sa-metric-self-adjoint",
        "sa-bilinear-matrix",
        "sa-recover-operator"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "self-adjointness-computations",
      "kind": "computation",
      "shortName": "SAC",
      "title": "Self-adjointness computations",
      "subtitle": "Self-adjointness in nonorthonormal bases and orthogonal eigenspaces",
      "description": "Self-adjointness in nonorthonormal bases and orthogonal eigenspaces.",
      "cards": [
        "sa-compute-bilinear-entries",
        "sa-compute-bilinear",
        "sa-compute-self-adjoint",
        "sa-compute-eigenvectors",
        "sa-swap-scaled-basis",
        "sa-reflection-diagonal-basis"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture8",
      "kind": "lecture",
      "shortName": "L8",
      "title": "Lecture 8",
      "subtitle": "Normal curvature, Euler’s formula and curvature in coordinates",
      "description": "Normal curvature, Euler’s formula and curvature in coordinates.",
      "cards": [
        "l8-cylinder-axis",
        "l8-cylinder-circle",
        "l8-cylinder-gaussian",
        "l8-cylinder-mean",
        "l8-normal-angle",
        "l8-normal-second",
        "l8-principal-direction",
        "l8-euler",
        "l8-umbilic",
        "l8-metric-E",
        "l8-metric-F",
        "l8-metric-G",
        "l14-gram-determinant-area",
        "l8-second-e",
        "l8-second-f",
        "l8-second-g",
        "l8-gaussian-coordinates",
        "l8-mean-coordinates",
        "l8-determinant",
        "l8-trace",
        "l8-smaller-principal",
        "l8-larger-principal"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture8Computations",
      "kind": "computation",
      "shortName": "L8C",
      "title": "Lecture 8 computations",
      "subtitle": "Normal acceleration, the shape operator and umbilic surfaces",
      "description": "Normal acceleration, the shape operator and umbilic surfaces.",
      "cards": [
        "compute-l12-area-gram",
        "compute-tangent-normal-derivative",
        "compute-normal-acceleration",
        "compute-normal-curvature",
        "compute-gram-operator-matrix",
        "compute-second-form-uu",
        "compute-second-form-uv",
        "compute-shape-first",
        "compute-shape-second",
        "compute-l8-umbilic-constant"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture9",
      "kind": "lecture",
      "shortName": "L9",
      "title": "Lecture 9",
      "subtitle": "Graph tangents, fundamental forms, curvature and the Hessian",
      "description": "Graph tangents, fundamental forms, curvature, the Hessian and height functions.",
      "cards": [
        "l9-graph-frame",
        "l9-graph-E",
        "l9-graph-F",
        "l9-graph-G",
        "l9-graph-e",
        "l9-graph-f",
        "l9-graph-g",
        "l9-graph-K",
        "l9-graph-H",
        "l9-helicoid-parametrization",
        "l9-quadratic-form",
        "l9-polarization",
        "l9-hessian-curve-definition",
        "l9-height-critical",
        "l10-hessian-definition",
        "l9-height-hessian"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture9Computations",
      "kind": "computation",
      "shortName": "L9C",
      "title": "Lecture 9 computations",
      "subtitle": "Graph area, the surface Hessian and second-derivative tests",
      "description": "Graph area, the surface Hessian and second-derivative tests.",
      "cards": [
        "compute-l9-graph-gram-determinant",
        "compute-l9-critical-coordinate-differential",
        "compute-l9-foundation-hessian-chain-rule",
        "compute-l9-hessian-curve-independence",
        "compute-l9-hessian-bilinear-existence",
        "compute-l9-hessian-minimum-semidefinite",
        "compute-l9-hessian-positive-test",
        "compute-height-hessian",
        "compute-l9-second-differential-chain-rule",
        "compute-l9-hessian-second-differential"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture10",
      "kind": "lecture",
      "shortName": "L10",
      "title": "Lecture 10",
      "subtitle": "Distance Hessians and Hilbert’s curvature theorem",
      "description": "Distance Hessians and Hilbert’s curvature theorem.",
      "cards": [
        "l10-distance-product-rule",
        "l10-distance-squared",
        "l10-distance-critical",
        "l10-distance-hessian",
        "l10-hilbert",
        "l10-constant-mean",
        "l10-constant-gaussian",
        "l10-umbilic-curvatures",
        "l10-distance-principal"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture10Computations",
      "kind": "computation",
      "shortName": "L10C",
      "title": "Lecture 10 computations",
      "subtitle": "Hilbert’s local curvature proof, followed by distance estimates and sphere rigidity",
      "description": "Hilbert’s local curvature proof, followed by distance estimates and sphere rigidity",
      "cards": [
        "compute-l10-normal-curvature-normalization",
        "compute-l10-hilbert-extremum-transfer",
        "compute-l10-hilbert-principal-value",
        "compute-l10-hilbert-adapted-graph",
        "compute-l10-hilbert-q-derivatives",
        "compute-l10-hilbert-product-derivative",
        "compute-l10-hilbert-factor-values",
        "compute-l10-hilbert-test-derivatives",
        "compute-l10-hilbert-cancellation",
        "compute-l10-sphere-center",
        "compute-l10-distance-bilinear",
        "compute-l10-farthest-curvature"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture11",
      "kind": "lecture",
      "shortName": "L11",
      "title": "Lecture 11",
      "subtitle": "Surfaces of revolution, the catenoid and ruled surfaces",
      "description": "Surfaces of revolution, the catenoid and ruled surfaces.",
      "cards": [
        "l11-revolution",
        "l11-arc-length",
        "l11-foundation-tangents",
        "l11-foundation-profile-tangent",
        "l11-normal",
        "l11-gaussian",
        "l11-ruled",
        "l11-revolution-metric",
        "l11-parallel-curvature",
        "l11-meridian-curvature"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture11Computations",
      "kind": "computation",
      "shortName": "L11C",
      "title": "Lecture 11 computations",
      "subtitle": "Curvature computations for surfaces of revolution",
      "description": "Curvature computations for surfaces of revolution.",
      "cards": [
        "compute-l11-foundation-speed-constraint",
        "compute-l11-parallel-curvature",
        "compute-l11-meridian-curvature",
        "compute-l11-gaussian-chain"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture12",
      "kind": "lecture",
      "shortName": "L12",
      "title": "Lecture 12",
      "subtitle": "Ruled surfaces, area density and minimal surfaces",
      "description": "Ruled surfaces, area density and minimal surfaces.",
      "cards": [
        "l12-ruled-cross",
        "l12-ruled-g",
        "l12-density",
        "l12-minimal",
        "l12-area-variation"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture12Computations",
      "kind": "computation",
      "shortName": "L12C",
      "title": "Lecture 12 computations",
      "subtitle": "Ruled-surface curvature and the first variation of area",
      "description": "Ruled-surface curvature and the first variation of area.",
      "cards": [
        "compute-l12-ruled",
        "compute-l12-developability",
        "compute-l12-dot-inner-product",
        "compute-l12-foundation-variation-tangent-u-first",
        "l12-foundation-variation-velocity",
        "compute-l12-foundation-variation-tangent",
        "compute-l12-foundation-vary-E",
        "compute-l12-foundation-vary-F",
        "compute-l12-foundation-vary-G",
        "compute-l12-foundation-vary-D",
        "compute-l12-density",
        "compute-l12-area-variation",
        "compute-l12-stationary-minimal"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "cross-product-background",
      "kind": "supplementary",
      "shortName": "CP",
      "title": "Cross products",
      "subtitle": "Levi-Civita notation and the three cross-product identities",
      "description": "Levi-Civita notation and the three cross-product identities.",
      "cards": [
        "cross-kronecker",
        "cross-epsilon-positive",
        "cross-epsilon-negative",
        "cross-epsilon-repeated",
        "cross-components",
        "cross-contraction",
        "cross-signed-volume",
        "cross-cyclic",
        "cross-inner-product",
        "cross-triple"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "cross-product-computations",
      "kind": "computation",
      "shortName": "CPC",
      "title": "Cross-product computations",
      "subtitle": "Triple-product proofs with and without epsilon notation; surface curvature",
      "description": "Triple-product proofs with and without epsilon notation; surface curvature.",
      "cards": [
        "compute-cross-cyclic-proof",
        "compute-cross-delta-selection",
        "compute-cross-inner-product-proof",
        "compute-cross-inner-product-geometric",
        "compute-cross-triple-proof",
        "compute-cross-surface"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture13",
      "kind": "lecture",
      "shortName": "L13",
      "title": "Lecture 13",
      "subtitle": "Isometries, conformal charts and area preservation",
      "description": "Isometries, conformal charts and area preservation.",
      "cards": [
        "l13-metric-diagonal",
        "l13-conformal",
        "l13-area-preserving",
        "l13-stereographic",
        "l13-isometry"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture13Computations",
      "kind": "computation",
      "shortName": "L13C",
      "title": "Lecture 13 computations",
      "subtitle": "Metric lengths, isometries and conformal scales",
      "description": "Metric lengths, isometries and conformal scales.",
      "cards": [
        "compute-l13-polarization",
        "compute-l13-matching-metrics",
        "compute-l13-conformal-scale"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture14",
      "kind": "lecture",
      "shortName": "L14",
      "title": "Lecture 14",
      "subtitle": "Metric identities, first variation & geodesics",
      "description": "Metric identities, first variation & geodesics.",
      "cards": [
        "l14-metric-determinant",
        "l14-gauss-map-area",
        "l14-curvature-numerator-normal",
        "l14-frame-e1",
        "l14-frame-e2",
        "l14-normal-cross-frame",
        "l14-alpha1-v",
        "l14-alpha2-u",
        "l13-moving-frame",
        "l13-intrinsic",
        "l13-egregium",
        "l14-curvature-special",
        "l14-velocity",
        "l14-speed",
        "l14-length",
        "l14-differentiate-length",
        "l14-equation-u",
        "l14-equation-v",
        "l14-normal-acceleration"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture14Computations",
      "kind": "computation",
      "shortName": "L14C",
      "title": "Lecture 14 computations",
      "subtitle": "Metric identities, variations and geodesics",
      "description": "Metric identities, variations and geodesics.",
      "cards": [
        "compute-l14-frame-curvature",
        "compute-l13-normal-frame",
        "compute-l14-normal-cross",
        "compute-l13-frame-sign",
        "compute-l13-alpha1-v",
        "compute-l13-alpha2-u",
        "compute-l16-frame-cancellation",
        "compute-l14-frame-alpha1",
        "compute-l14-frame-alpha2",
        "l14-metric-uu-u",
        "l14-metric-uv-u",
        "l14-metric-uv-v",
        "l14-metric-uu-v",
        "compute-l14-egregium-conclusion",
        "compute-l14-special-curvature",
        "l14-vary-R",
        "l14-parts",
        "compute-l14-fundamental-lemma",
        "compute-l14-stationarity-equation",
        "l14-inner-expansion",
        "l14-acceleration-u",
        "l14-acceleration-v"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture15",
      "kind": "lecture",
      "shortName": "L15",
      "title": "Lecture 15",
      "subtitle": "Geodesics on planes and surfaces of revolution; constant curvature",
      "description": "Geodesics on planes and surfaces of revolution; constant curvature.",
      "cards": [
        "l15-angular-momentum",
        "l15-parallel",
        "l15-fermi-metric",
        "l15-curvature-ode",
        "l15-sphere-geodesic"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture15Computations",
      "kind": "computation",
      "shortName": "L15C",
      "title": "Lecture 15 computations",
      "subtitle": "Conserved momentum and geodesic coordinates",
      "description": "Conserved momentum and geodesic coordinates.",
      "cards": [
        "compute-l15-foundation-conservation",
        "compute-l15-geodesic-orthogonality",
        "compute-l15-base-geodesic-initial",
        "compute-l15-constant-curvature-models"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture16",
      "kind": "lecture",
      "shortName": "L16",
      "title": "Lecture 16",
      "subtitle": "Geodesic curvature, angle sums and Gauss–Bonnet",
      "description": "Geodesic curvature, angle sums and Gauss–Bonnet.",
      "cards": [
        "l16-geodesic-curvature",
        "l16-local-gauss-bonnet",
        "l16-euler",
        "l16-global-gauss-bonnet",
        "l16-triangle",
        "l16-acceleration-split",
        "l16-curvature-pythagoras",
        "l16-frame-turning",
        "l16-corners",
        "l16-polygon-angles"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture16Computations",
      "kind": "computation",
      "shortName": "L16C",
      "title": "Lecture 16 computations",
      "subtitle": "Deriving local and global Gauss–Bonnet",
      "description": "Deriving local and global Gauss–Bonnet.",
      "cards": [
        "compute-l16-frame-turning",
        "compute-l16-local-gauss-bonnet",
        "compute-l16-global-counting"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture17",
      "kind": "lecture",
      "shortName": "L17",
      "title": "Lecture 17",
      "subtitle": "Hyperbolic metrics, coordinate changes and surface isometries",
      "description": "Hyperbolic metrics, coordinate changes and surface isometries.",
      "cards": [
        "l17-genus",
        "l17-metric-change",
        "l17-disk-metric",
        "l17-half-plane-metric",
        "l17-foundation-metric-length",
        "l17-foundation-pullback-factor",
        "l17-cayley",
        "l17-catenoid-metric",
        "l17-helicoid-coordinate-change",
        "l17-disk-distance",
        "l17-cayley-derivative"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture17Computations",
      "kind": "computation",
      "shortName": "L17C",
      "title": "Lecture 17 computations",
      "subtitle": "Half-plane curvature, the Cayley map and the helicoid metric",
      "description": "Half-plane curvature, the Cayley map and the helicoid metric.",
      "cards": [
        "compute-l17-half-plane-curvature",
        "compute-l17-cayley-metric",
        "compute-l17-helicoid-metric"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture18",
      "kind": "lecture",
      "shortName": "L18",
      "title": "Lecture 18",
      "subtitle": "Hyperbolic isometries and geodesics; projective charts",
      "description": "Hyperbolic isometries and geodesics; projective charts.",
      "cards": [
        "l18-mobius",
        "l18-foundation-unit-speed",
        "l18-momentum",
        "l18-circle",
        "l18-triangle-area",
        "l18-projective-transition",
        "l18-mobius-derivative",
        "l18-mobius-height",
        "l18-geodesic-u",
        "l18-geodesic-v",
        "l18-vertical-unit-speed",
        "l18-vertical-distance"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture18Computations",
      "kind": "computation",
      "shortName": "L18C",
      "title": "Lecture 18 computations",
      "subtitle": "Möbius isometries and semicircular hyperbolic geodesics",
      "description": "Möbius isometries and semicircular hyperbolic geodesics.",
      "cards": [
        "compute-l18-mobius-metric",
        "compute-l18-speed-reduction",
        "compute-l18-vertical-equation",
        "compute-l18-geodesic-center",
        "compute-l18-geodesic-circle",
        "compute-l18-distance-bound"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture19",
      "kind": "lecture",
      "shortName": "L19",
      "title": "Lecture 19",
      "subtitle": "Manifold tangent vectors, differentials and the tangent bundle",
      "description": "Manifold tangent vectors, differentials and the tangent bundle.",
      "cards": [
        "l19-tangent-action",
        "l19-differential",
        "l19-immersion",
        "l19-tangent-bundle",
        "l19-vector-components",
        "l19-bundle-transition",
        "l19-chain-rule-matrices",
        "l19-inverse-differential"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture19Computations",
      "kind": "computation",
      "shortName": "L19C",
      "title": "Lecture 19 computations",
      "subtitle": "Composing differentials and changing tangent coordinates",
      "description": "Composing differentials and changing tangent coordinates.",
      "cards": [
        "compute-l19-derivation-coordinates"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture20",
      "kind": "lecture",
      "shortName": "L20",
      "title": "Lecture 20",
      "subtitle": "Embedding the projective plane; helicoid curvature and isometries",
      "description": "Embedding the projective plane; helicoid curvature and isometries.",
      "cards": [
        "l20-projective-embedding",
        "l20-embedding-chart",
        "l20-embedding-differential",
        "l20-embedding-minor",
        "l20-orientation-transition",
        "l20-helicoid-metric",
        "l20-helicoid-curvature",
        "l20-helicoid-isometries"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "lecture20Computations",
      "kind": "computation",
      "shortName": "L20C",
      "title": "Lecture 20 computations",
      "subtitle": "Projective embedding checks and helicoid curvature and isometries",
      "description": "Projective embedding checks and helicoid curvature and isometries.",
      "cards": [
        "compute-l20-embedding-kernel",
        "compute-l20-helicoid-curvature",
        "compute-l20-isometry-classification"
      ],
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ]
    },
    {
      "id": "outtakes",
      "kind": "supplementary",
      "shortName": "Outtakes",
      "title": "Outtakes",
      "description": "Optional additional practice. Does not count toward overall course progress.",
      "cards": [
        "compute-l4-jacobian-tangent",
        "compute-l4-univariate-minimum",
        "l5-tangent",
        "compute-l9-polarization-expansion",
        "compute-l10-distance-hessian",
        "compute-l10-distance-principal",
        "compute-l10-rigidity-product",
        "compute-l11-catenoid-speed",
        "l12-vary-E",
        "l12-vary-F",
        "l12-vary-G",
        "l12-vary-D",
        "l12-vary-density",
        "l6-critical-value",
        "l19-coordinate-evaluation",
        "l12-ruled-K",
        "l14-chain-rule-E",
        "l14-commute",
        "l14-boundary",
        "l14-coefficient-P",
        "l14-coefficient-Q",
        "l14-first-variation",
        "l14-fundamental-lemma",
        "l14-unit-speed",
        "l14-tangent-derivative",
        "compute-l13-foundation-frame-coefficient",
        "compute-l14-foundation-vary-one-term",
        "l14-parts-boundary",
        "compute-coordinate-velocity-v",
        "compute-normal-coordinate-v",
        "compute-normal-product-vu",
        "compute-normal-product-vv",
        "sa-orthonormal-symmetry",
        "compute-shape-matrix",
        "compute-second-form-matrix",
        "sa-compute-nonsymmetric",
        "sa-compute-metric-orthogonality",
        "l9-graph-parametrization",
        "l9-graph-Xu",
        "l9-graph-Xv",
        "l9-graph-Xuu",
        "l9-graph-Xuv",
        "l9-graph-Xvv",
        "l9-graph-normal",
        "l9-helicoid-Xu",
        "l9-helicoid-Xv",
        "l9-critical-point",
        "l9-height-function",
        "compute-l9-foundation-hessian-critical-point",
        "compute-l9-foundation-height-derivatives",
        "compute-l9-polarization-recovery",
        "compute-l9-hessian-minimum-test",
        "compute-l12-foundation-vary-D-product",
        "l11-catenoid-curvatures",
        "l15-positive-curvature",
        "compute-l19-pushforward-chain",
        "compute-l20-embedding-minor",
        "compute-l20-isometry-pullback",
        "l15-foundation-plane-geodesic",
        "compute-l19-component-chain",
        "compute-l20-foundation-antipodal",
        "compute-l11-normalize-u",
        "compute-l11-normalize-v",
        "l13-stereographic-scale",
        "compute-l14-projection",
        "l14-gram-schmidt-area",
        "l14-frame-e2",
        "l14-frame-e1",
        "compute-cross-contraction-proof",
        "compute-l14-gauss-map-area"
      ],
      "countsTowardCourseProgress": false,
      "settingsEditors": [
        {
          "editor": "audio-practice-mode",
          "configuration": "solve"
        }
      ],
      "subtitle": "Optional · excluded from course progress"
    }
  ],
  "cards": [
    {
      "id": "normal",
      "title": "Unit normal",
      "prompt": "Write a unit normal in terms of the two tangent vectors of a parametrization.",
      "learningVersion": 1,
      "legacyKey": "equation-playground-v1.0",
      "editor": {
        "palette": [
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "X_u",
            "label": "X_u",
            "accessibleLabel": "Insert X sub u"
          },
          {
            "tool": "X_v",
            "label": "X_v",
            "accessibleLabel": "Insert X sub v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "N"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "×"
                  },
                  {
                    "kind": "symbol",
                    "text": "X_v"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "×"
                  },
                  {
                    "kind": "symbol",
                    "text": "X_v"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "In a regular chart, $X_u,X_v$ are independent. Thus $C=X_u\\times X_v\\ne0$, so $\\|C\\|>0$.",
          "steps": [
            {
              "text": "The alternating property of the scalar triple product gives $\\langle C,X_u\\rangle=\\det(X_u,X_v,X_u)=0$ and $\\langle C,X_v\\rangle=\\det(X_u,X_v,X_v)=0$."
            },
            {
              "text": "For any tangent $w=aX_u+bX_v$, $\\langle C,w\\rangle=a\\langle C,X_u\\rangle+b\\langle C,X_v\\rangle=0$. Hence $C$ is normal."
            },
            {
              "text": "Normalize it: $N=C/\\|C\\|$. Then $\\|N\\|^2=\\langle C,C\\rangle/\\|C\\|^2=1$. This chooses the orientation of $X_u\\times X_v$; the opposite orientation is $-N$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "mean",
      "title": "Mean curvature",
      "prompt": "Write the mean curvature at $p$ in terms of the two principal curvatures.",
      "learningVersion": 1,
      "legacyKey": "equation-playground-mean-curvature-v1",
      "editor": {
        "palette": [
          {
            "tool": "H",
            "label": "H"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "k_1",
            "label": "k_1",
            "accessibleLabel": "Insert k sub 1"
          },
          {
            "tool": "k_2",
            "label": "k_2",
            "accessibleLabel": "Insert k sub 2"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "H"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "p"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "k_1"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "p"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "symbol",
                    "text": "k_2"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "p"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        },
        {
          "children": [
            {
              "kind": "symbol",
              "text": "H"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "k_1"
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "symbol",
                    "text": "k_2"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "definition",
        "definition": "This is the definition of mean curvature in terms of the two principal curvatures."
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "second",
      "title": "Second fundamental form",
      "prompt": "Express the second fundamental form at $p$, applied to $v$ and $w$, using the differential of the Gauss map.",
      "learningVersion": 1,
      "legacyKey": "equation-playground-second-form-v1",
      "editor": {
        "palette": [
          {
            "tool": "II_p",
            "label": "II_p",
            "accessibleLabel": "Insert second fundamental form at p"
          },
          {
            "tool": "dN_p",
            "label": "dN_p",
            "accessibleLabel": "Insert differential of N at p"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "w",
            "label": "w"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "II_p"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "v"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "w"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "dN_p"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "v"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "w"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "definition",
        "definition": "This is the definition of the second fundamental form under the lecture’s sign convention."
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "unit-length",
      "title": "Length of a unit normal",
      "prompt": "Express the length of $N(p)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "p",
            "label": "p"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "||"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "p"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "||"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "1"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "definition",
        "proof": {
          "intro": "A unit normal is, by definition, perpendicular to the tangent plane and of Euclidean length one. Thus $\\|N(p)\\|=1$.",
          "steps": [
            {
              "text": "For the normalized chart construction, $N=C/\\|C\\|$ with $C=X_u\\times X_v\\ne0$, this is also verified directly: $\\|N\\|=\\|C\\|/\\|C\\|=1$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "normal-orthogonal",
      "title": "Orthogonality of normal and tangent vectors",
      "prompt": "For a tangent vector $v$ at $p$, express its inner product with the normal $N(p)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "p"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "definition",
        "proof": {
          "intro": "A normal vector belongs to the perpendicular complement of the tangent plane. By definition this means $\\langle N(p),v\\rangle=0$ for every $v\\in T_pS$.",
          "steps": [
            {
              "text": "For $N=(X_u\\times X_v)/\\|X_u\\times X_v\\|$ and $v=aX_u+bX_v$, both terms of $\\langle N,v\\rangle=a\\langle N,X_u\\rangle+b\\langle N,X_v\\rangle$ vanish because a cross product is perpendicular to each of its factors."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "gradient-normal",
      "title": "Normal to a level surface",
      "prompt": "For a regular level surface of $f$, write the unit normal using $\\nabla f$. Choose the gradient orientation.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "∇f",
            "label": "∇f"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "N"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "∇f"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "∇f"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Let $S=\\{f=c\\}$ near $p$ with $\\nabla f(p)\\ne0$. If $\\alpha(t)$ is a curve in $S$ with $\\alpha(0)=p$, $\\dot\\alpha(0)=w$, then $f(\\alpha(t))=c$.",
          "steps": [
            {
              "text": "Differentiation gives $0=\\left.\\frac d{dt}\\right|_0f(\\alpha(t))=df_p(w)=\\langle\\nabla f(p),w\\rangle$. Hence $T_pS$ is contained in the kernel of this inner product."
            },
            {
              "text": "The kernel has dimension two: it is the perpendicular plane to the nonzero vector $\\nabla f(p)$. The regular surface tangent plane also has dimension two. Inclusion of two planes of the same dimension is equality, proving the converse."
            },
            {
              "text": "Therefore $\\nabla f(p)$ is a normal. Dividing by its positive norm gives $N(p)=\\nabla f(p)/\\|\\nabla f(p)\\|$, with $\\|N(p)\\|=1$ and $\\langle N(p),w\\rangle=0$ for every tangent $w$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "tangent-level",
      "title": "Tangent to a level surface",
      "prompt": "Write the inner-product condition on $v$ to be tangent to the level surface of $f$ at $p$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "∇f",
            "label": "∇f"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "∇f"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "p"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Let $S=\\{f=c\\}$ near $p$ with $\\nabla f(p)\\ne0$. If $\\alpha(t)$ is a curve in $S$ with $\\alpha(0)=p$, $\\dot\\alpha(0)=w$, then $f(\\alpha(t))=c$.",
          "steps": [
            {
              "text": "Differentiation gives $0=\\left.\\frac d{dt}\\right|_0f(\\alpha(t))=df_p(w)=\\langle\\nabla f(p),w\\rangle$. Hence $T_pS$ is contained in the kernel of this inner product."
            },
            {
              "text": "The kernel has dimension two: it is the perpendicular plane to the nonzero vector $\\nabla f(p)$. The regular surface tangent plane also has dimension two. Inclusion of two planes of the same dimension is equality, proving the converse."
            },
            {
              "text": "Therefore $\\nabla f(p)$ is a normal. Dividing by its positive norm gives $N(p)=\\nabla f(p)/\\|\\nabla f(p)\\|$, with $\\|N(p)\\|=1$ and $\\langle N(p),w\\rangle=0$ for every tangent $w$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "symmetric",
      "title": "Self-adjointness of the Gauss-map differential",
      "prompt": "Write the self-adjointness identity for $dN_p$ applied to tangent vectors $v,w\\in T_pS$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dN_p",
            "label": "dN_p"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "w",
            "label": "w"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dN_p"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "w"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dN_p"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "w"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Write $N_u=dN_p(X_u)$ and $N_v=dN_p(X_v)$. Orthogonality gives $\\langle N,X_u\\rangle=\\langle N,X_v\\rangle=0$.",
          "steps": [
            {
              "text": "Differentiate the second equality in $u$: $0=\\langle N_u,X_v\\rangle+\\langle N,X_{vu}\\rangle$. Differentiate the first in $v$: $0=\\langle N_v,X_u\\rangle+\\langle N,X_{uv}\\rangle$."
            },
            {
              "text": "With $X_{ij}=\\partial_j(X_i)$ and $N_i=\\partial_i(N\\circ X)$, mixed partials give $X_{vu}=X_{uv}$. We obtain $\\langle dN(X_u),X_v\\rangle=-\\langle N,X_{uv}\\rangle=\\langle X_u,dN(X_v)\\rangle$."
            },
            {
              "text": "For $v=aX_u+bX_v$ and $w=cX_u+dX_v$, expand the difference of the two proposed sides. The diagonal terms cancel by symmetry of the inner product; the remaining difference is"
            },
            {
              "text": "$\\displaystyle (ad-bc)\\big(\\langle dN(X_u),X_v\\rangle-\\langle X_u,dN(X_v)\\rangle\\big)=0$."
            },
            {
              "text": "Therefore $\\langle dN(v),w\\rangle=\\langle v,dN(w)\\rangle$ for arbitrary tangent vectors."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "first",
      "title": "First fundamental form",
      "prompt": "Express $\\mathrm{I}_p(v,w)$ using the ambient inner product.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "I_p",
            "label": "I_p"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "w",
            "label": "w"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "I_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "w"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "w"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "definition",
        "definition": "This is the definition of the first fundamental form: it is the ambient inner product restricted to the tangent plane."
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "principal",
      "title": "Principal curvature equation",
      "prompt": "For a principal direction $v_i$ at $p$, write the eigenvector equation relating $dN_p$ and $k_i(p)$. The lecture defines principal curvatures using $-dN_p$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dN_p",
            "label": "dN_p"
          },
          {
            "tool": "v_i",
            "label": "v_i"
          },
          {
            "tool": "k_i",
            "label": "k_i"
          },
          {
            "tool": "p",
            "label": "p"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "dN_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v_i"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "k_i"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "p"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "v_i"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "definition",
        "definition": "This is the definition of a principal direction and its principal curvature: they form an eigenvector and eigenvalue pair for the shape operator $-dN_p$."
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "gaussian",
      "title": "Gaussian curvature",
      "prompt": "Express $K(p)$ using the two principal curvatures.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "K",
            "label": "K"
          },
          {
            "tool": "k_1",
            "label": "k_1"
          },
          {
            "tool": "k_2",
            "label": "k_2"
          },
          {
            "tool": "p",
            "label": "p"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "K"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "p"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "k_1"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "p"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "k_2"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "p"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "definition",
        "definition": "This is the definition of Gaussian curvature in terms of the two principal curvatures."
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "plane-differential",
      "title": "Gauss-map differential of a plane",
      "prompt": "On a plane with a constant unit normal, what is $dN_p(v)$?",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dN_p",
            "label": "dN_p"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "dN_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Choose a constant unit normal $n$ to the plane. For every curve $\\alpha(t)$ in the plane, $N(\\alpha(t))=n$.",
          "steps": [
            {
              "text": "$\\displaystyle dN_p(v)=\\left.\\frac d{dt}\\right|_0N(\\alpha(t))=\\left.\\frac d{dt}\\right|_0n=0$, where $\\alpha(0)=p$ and $\\dot\\alpha(0)=v$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "sphere-normal",
      "title": "Outward normal to a sphere",
      "prompt": "A sphere has radius $r$ and center $p_0$. Express its outward unit normal $N(p)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "p_0",
            "label": "p_0"
          },
          {
            "tool": "r",
            "label": "r"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "p"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "r"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "p"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "symbol",
                    "text": "p_0"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        },
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "p"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "p"
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "p_0"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "p"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "symbol",
                    "text": "p_0"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "On the sphere of radius $r>0$ centered at $a$, the level function is $f(p)=\\|p-a\\|^2=r^2$. Its differential is $df_p(w)=\\langle w,p-a\\rangle+\\langle p-a,w\\rangle=2\\langle p-a,w\\rangle$.",
          "steps": [
            {
              "text": "Thus a tangent vector satisfies $\\langle p-a,w\\rangle=0$. The outward radial normal has length $r$, so $N(p)=(p-a)/r$ is unit and normal."
            },
            {
              "text": "For a surface curve with $\\alpha(0)=p$, $\\dot\\alpha(0)=w$, differentiate $N(\\alpha(t))=(\\alpha(t)-a)/r$: $dN_p(w)=\\dot\\alpha(0)/r=w/r$."
            },
            {
              "text": "The lecture uses $S=-dN$, so $S(w)=-w/r$ and $\\mathrm{II}_p(v,w)=\\langle S(v),w\\rangle=-\\langle v,w\\rangle/r$."
            },
            {
              "text": "Every nonzero tangent is an eigenvector with eigenvalue $-1/r$. Hence $k_1=k_2=-1/r$."
            },
            {
              "text": "$\\displaystyle H=\\frac{k_1+k_2}{2}=\\frac{-1/r-1/r}{2}=-\\frac1r,\\qquad K=k_1k_2=\\left(-\\frac1r\\right)\\left(-\\frac1r\\right)=\\frac1{r^2}$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "sphere-differential",
      "title": "Gauss-map differential of a sphere",
      "prompt": "For the outward normal on a sphere of radius $r$, express $dN_p(v)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dN_p",
            "label": "dN_p"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "r",
            "label": "r"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "dN_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "r"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "v"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "On the sphere of radius $r>0$ centered at $a$, the level function is $f(p)=\\|p-a\\|^2=r^2$. Its differential is $df_p(w)=\\langle w,p-a\\rangle+\\langle p-a,w\\rangle=2\\langle p-a,w\\rangle$.",
          "steps": [
            {
              "text": "Thus a tangent vector satisfies $\\langle p-a,w\\rangle=0$. The outward radial normal has length $r$, so $N(p)=(p-a)/r$ is unit and normal."
            },
            {
              "text": "For a surface curve with $\\alpha(0)=p$, $\\dot\\alpha(0)=w$, differentiate $N(\\alpha(t))=(\\alpha(t)-a)/r$: $dN_p(w)=\\dot\\alpha(0)/r=w/r$."
            },
            {
              "text": "The lecture uses $S=-dN$, so $S(w)=-w/r$ and $\\mathrm{II}_p(v,w)=\\langle S(v),w\\rangle=-\\langle v,w\\rangle/r$."
            },
            {
              "text": "Every nonzero tangent is an eigenvector with eigenvalue $-1/r$. Hence $k_1=k_2=-1/r$."
            },
            {
              "text": "$\\displaystyle H=\\frac{k_1+k_2}{2}=\\frac{-1/r-1/r}{2}=-\\frac1r,\\qquad K=k_1k_2=\\left(-\\frac1r\\right)\\left(-\\frac1r\\right)=\\frac1{r^2}$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "sphere-second",
      "title": "Second fundamental form of a sphere",
      "prompt": "For a sphere of radius $r$ with outward normal, express $\\mathrm{II}_p(v,w)$ using the inner product. Use the lecture’s minus-sign convention.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "II_p",
            "label": "II_p"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "w",
            "label": "w"
          },
          {
            "tool": "r",
            "label": "r"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "II_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "w"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "r"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "⟨"
                  },
                  {
                    "kind": "symbol",
                    "text": "v"
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "symbol",
                    "text": "w"
                  },
                  {
                    "kind": "symbol",
                    "text": "⟩"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "On the sphere of radius $r>0$ centered at $a$, the level function is $f(p)=\\|p-a\\|^2=r^2$. Its differential is $df_p(w)=\\langle w,p-a\\rangle+\\langle p-a,w\\rangle=2\\langle p-a,w\\rangle$.",
          "steps": [
            {
              "text": "Thus a tangent vector satisfies $\\langle p-a,w\\rangle=0$. The outward radial normal has length $r$, so $N(p)=(p-a)/r$ is unit and normal."
            },
            {
              "text": "For a surface curve with $\\alpha(0)=p$, $\\dot\\alpha(0)=w$, differentiate $N(\\alpha(t))=(\\alpha(t)-a)/r$: $dN_p(w)=\\dot\\alpha(0)/r=w/r$."
            },
            {
              "text": "The lecture uses $S=-dN$, so $S(w)=-w/r$ and $\\mathrm{II}_p(v,w)=\\langle S(v),w\\rangle=-\\langle v,w\\rangle/r$."
            },
            {
              "text": "Every nonzero tangent is an eigenvector with eigenvalue $-1/r$. Hence $k_1=k_2=-1/r$."
            },
            {
              "text": "$\\displaystyle H=\\frac{k_1+k_2}{2}=\\frac{-1/r-1/r}{2}=-\\frac1r,\\qquad K=k_1k_2=\\left(-\\frac1r\\right)\\left(-\\frac1r\\right)=\\frac1{r^2}$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "sphere-principal",
      "title": "Principal curvatures of a sphere",
      "prompt": "For either principal curvature $k_i(p)$ of an outward-oriented sphere of radius $r$, give its value.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "k_i",
            "label": "k_i"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "r",
            "label": "r"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "k_i"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "p"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "r"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "1"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "On the sphere of radius $r>0$ centered at $a$, the level function is $f(p)=\\|p-a\\|^2=r^2$. Its differential is $df_p(w)=\\langle w,p-a\\rangle+\\langle p-a,w\\rangle=2\\langle p-a,w\\rangle$.",
          "steps": [
            {
              "text": "Thus a tangent vector satisfies $\\langle p-a,w\\rangle=0$. The outward radial normal has length $r$, so $N(p)=(p-a)/r$ is unit and normal."
            },
            {
              "text": "For a surface curve with $\\alpha(0)=p$, $\\dot\\alpha(0)=w$, differentiate $N(\\alpha(t))=(\\alpha(t)-a)/r$: $dN_p(w)=\\dot\\alpha(0)/r=w/r$."
            },
            {
              "text": "The lecture uses $S=-dN$, so $S(w)=-w/r$ and $\\mathrm{II}_p(v,w)=\\langle S(v),w\\rangle=-\\langle v,w\\rangle/r$."
            },
            {
              "text": "Every nonzero tangent is an eigenvector with eigenvalue $-1/r$. Hence $k_1=k_2=-1/r$."
            },
            {
              "text": "$\\displaystyle H=\\frac{k_1+k_2}{2}=\\frac{-1/r-1/r}{2}=-\\frac1r,\\qquad K=k_1k_2=\\left(-\\frac1r\\right)\\left(-\\frac1r\\right)=\\frac1{r^2}$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "sphere-mean",
      "title": "Mean curvature of a sphere",
      "prompt": "Give $H(p)$ for an outward-oriented sphere of radius $r$, using the lecture’s sign convention.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "H",
            "label": "H"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "r",
            "label": "r"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "H"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "p"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "r"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "1"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "On the sphere of radius $r>0$ centered at $a$, the level function is $f(p)=\\|p-a\\|^2=r^2$. Its differential is $df_p(w)=\\langle w,p-a\\rangle+\\langle p-a,w\\rangle=2\\langle p-a,w\\rangle$.",
          "steps": [
            {
              "text": "Thus a tangent vector satisfies $\\langle p-a,w\\rangle=0$. The outward radial normal has length $r$, so $N(p)=(p-a)/r$ is unit and normal."
            },
            {
              "text": "For a surface curve with $\\alpha(0)=p$, $\\dot\\alpha(0)=w$, differentiate $N(\\alpha(t))=(\\alpha(t)-a)/r$: $dN_p(w)=\\dot\\alpha(0)/r=w/r$."
            },
            {
              "text": "The lecture uses $S=-dN$, so $S(w)=-w/r$ and $\\mathrm{II}_p(v,w)=\\langle S(v),w\\rangle=-\\langle v,w\\rangle/r$."
            },
            {
              "text": "Every nonzero tangent is an eigenvector with eigenvalue $-1/r$. Hence $k_1=k_2=-1/r$."
            },
            {
              "text": "$\\displaystyle H=\\frac{k_1+k_2}{2}=\\frac{-1/r-1/r}{2}=-\\frac1r,\\qquad K=k_1k_2=\\left(-\\frac1r\\right)\\left(-\\frac1r\\right)=\\frac1{r^2}$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "sphere-gaussian",
      "title": "Gaussian curvature of a sphere",
      "prompt": "Give $K(p)$ for a sphere of radius $r$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "K",
            "label": "K"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "r",
            "label": "r"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "K"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "p"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "base": {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "r"
                    }
                  ],
                  "kind": "row"
                },
                "exponent": {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ],
                  "kind": "row"
                },
                "kind": "power"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "1"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "On the sphere of radius $r>0$ centered at $a$, the level function is $f(p)=\\|p-a\\|^2=r^2$. Its differential is $df_p(w)=\\langle w,p-a\\rangle+\\langle p-a,w\\rangle=2\\langle p-a,w\\rangle$.",
          "steps": [
            {
              "text": "Thus a tangent vector satisfies $\\langle p-a,w\\rangle=0$. The outward radial normal has length $r$, so $N(p)=(p-a)/r$ is unit and normal."
            },
            {
              "text": "For a surface curve with $\\alpha(0)=p$, $\\dot\\alpha(0)=w$, differentiate $N(\\alpha(t))=(\\alpha(t)-a)/r$: $dN_p(w)=\\dot\\alpha(0)/r=w/r$."
            },
            {
              "text": "The lecture uses $S=-dN$, so $S(w)=-w/r$ and $\\mathrm{II}_p(v,w)=\\langle S(v),w\\rangle=-\\langle v,w\\rangle/r$."
            },
            {
              "text": "Every nonzero tangent is an eigenvector with eigenvalue $-1/r$. Hence $k_1=k_2=-1/r$."
            },
            {
              "text": "$\\displaystyle H=\\frac{k_1+k_2}{2}=\\frac{-1/r-1/r}{2}=-\\frac1r,\\qquad K=k_1k_2=\\left(-\\frac1r\\right)\\left(-\\frac1r\\right)=\\frac1{r^2}$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l8-cylinder-axis",
      "title": "Gauss-map differential along the cylinder axis",
      "prompt": "On a cylinder with outward normal, $v$ is parallel to its axis. What is $dN_p(v)$?",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dN_p",
            "label": "dN_p"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "dN_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Use $X(\\theta,z)=(r\\cos\\theta,r\\sin\\theta,z)$ with $r>0$, and outward unit normal $N=(\\cos\\theta,\\sin\\theta,0)$.",
          "steps": [
            {
              "text": "$\\displaystyle X_z=(0,0,1),\\quad N_z=(0,0,0),\\quad X_\\theta=(-r\\sin\\theta,r\\cos\\theta,0),\\quad N_\\theta=(-\\sin\\theta,\\cos\\theta,0)=X_\\theta/r$."
            },
            {
              "text": "By the chain rule, $dN(X_z)=N_z=0$ and $dN(X_\\theta)=N_\\theta=X_\\theta/r$. Linearity gives the same identities for any axial vector or circular tangent, respectively."
            },
            {
              "text": "For $S=-dN$, these orthogonal directions have eigenvalues $0$ and $-1/r$. Thus $K=0\\cdot(-1/r)=0$ and $H=(0-1/r)/2=-1/(2r)$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l8-cylinder-circle",
      "title": "Gauss-map differential around a cylinder",
      "prompt": "On a cylinder of radius $r$ with outward normal, $v$ is tangent to a circular cross-section. Express $dN_p(v)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dN_p",
            "label": "dN_p"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "r",
            "label": "r"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "dN_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "r"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "v"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Use $X(\\theta,z)=(r\\cos\\theta,r\\sin\\theta,z)$ with $r>0$, and outward unit normal $N=(\\cos\\theta,\\sin\\theta,0)$.",
          "steps": [
            {
              "text": "$\\displaystyle X_z=(0,0,1),\\quad N_z=(0,0,0),\\quad X_\\theta=(-r\\sin\\theta,r\\cos\\theta,0),\\quad N_\\theta=(-\\sin\\theta,\\cos\\theta,0)=X_\\theta/r$."
            },
            {
              "text": "By the chain rule, $dN(X_z)=N_z=0$ and $dN(X_\\theta)=N_\\theta=X_\\theta/r$. Linearity gives the same identities for any axial vector or circular tangent, respectively."
            },
            {
              "text": "For $S=-dN$, these orthogonal directions have eigenvalues $0$ and $-1/r$. Thus $K=0\\cdot(-1/r)=0$ and $H=(0-1/r)/2=-1/(2r)$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l8-cylinder-gaussian",
      "title": "Gaussian curvature of a cylinder",
      "prompt": "Give the Gaussian curvature $K$ of a circular cylinder.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "K",
            "label": "K"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "K"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Use $X(\\theta,z)=(r\\cos\\theta,r\\sin\\theta,z)$ with $r>0$, and outward unit normal $N=(\\cos\\theta,\\sin\\theta,0)$.",
          "steps": [
            {
              "text": "$\\displaystyle X_z=(0,0,1),\\quad N_z=(0,0,0),\\quad X_\\theta=(-r\\sin\\theta,r\\cos\\theta,0),\\quad N_\\theta=(-\\sin\\theta,\\cos\\theta,0)=X_\\theta/r$."
            },
            {
              "text": "By the chain rule, $dN(X_z)=N_z=0$ and $dN(X_\\theta)=N_\\theta=X_\\theta/r$. Linearity gives the same identities for any axial vector or circular tangent, respectively."
            },
            {
              "text": "For $S=-dN$, these orthogonal directions have eigenvalues $0$ and $-1/r$. Thus $K=0\\cdot(-1/r)=0$ and $H=(0-1/r)/2=-1/(2r)$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l8-cylinder-mean",
      "title": "Mean curvature of a cylinder",
      "prompt": "Give the mean curvature $H$ of a cylinder of radius $r$ with outward normal, using principal curvatures of $-dN$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "H",
            "label": "H"
          },
          {
            "tool": "r",
            "label": "r"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "H"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  },
                  {
                    "kind": "symbol",
                    "text": "r"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "1"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Use $X(\\theta,z)=(r\\cos\\theta,r\\sin\\theta,z)$ with $r>0$, and outward unit normal $N=(\\cos\\theta,\\sin\\theta,0)$.",
          "steps": [
            {
              "text": "$\\displaystyle X_z=(0,0,1),\\quad N_z=(0,0,0),\\quad X_\\theta=(-r\\sin\\theta,r\\cos\\theta,0),\\quad N_\\theta=(-\\sin\\theta,\\cos\\theta,0)=X_\\theta/r$."
            },
            {
              "text": "By the chain rule, $dN(X_z)=N_z=0$ and $dN(X_\\theta)=N_\\theta=X_\\theta/r$. Linearity gives the same identities for any axial vector or circular tangent, respectively."
            },
            {
              "text": "For $S=-dN$, these orthogonal directions have eigenvalues $0$ and $-1/r$. Thus $K=0\\cdot(-1/r)=0$ and $H=(0-1/r)/2=-1/(2r)$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l8-normal-angle",
      "title": "Normal curvature and curve curvature",
      "prompt": "A unit-speed surface curve has curvature $k$. Its principal normal makes angle $\\theta$ with the surface normal. Express its signed normal curvature $k_n$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "k_n",
            "label": "k_n"
          },
          {
            "tool": "k",
            "label": "k"
          },
          {
            "tool": "cos",
            "label": "cos"
          },
          {
            "tool": "θ",
            "label": "θ"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "k_n"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "k"
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "cos"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "θ"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "For a unit-speed surface curve, write $v=\\alpha'(0)$ and assume its curvature $k>0$ when using its principal normal $n$. Then $\\alpha''(0)=kn$ and $\\langle n,N\\rangle=\\cos\\theta$.",
          "steps": [
            {
              "text": "$\\displaystyle \\langle\\alpha''(0),N\\rangle=\\langle kn,N\\rangle=k\\cos\\theta=k_n$."
            },
            {
              "text": "Along the curve, $\\langle\\alpha',N\\circ\\alpha\\rangle=0$. Differentiating at zero gives $0=\\langle\\alpha''(0),N\\rangle+\\langle v,dN_p(v)\\rangle$."
            },
            {
              "text": "Thus $k_n=-\\langle dN_p(v),v\\rangle=\\mathrm{II}_p(v,v)$. The last identity also makes sense when $k=0$, without choosing a principal normal."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l8-normal-second",
      "title": "Normal curvature from the second form",
      "prompt": "For a unit tangent vector $v$ at $p$, express normal curvature $k_n$ using $\\mathrm{II}_p$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "k_n",
            "label": "k_n"
          },
          {
            "tool": "II_p",
            "label": "II_p"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "k_n"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "II_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "For a unit-speed surface curve, write $v=\\alpha'(0)$ and assume its curvature $k>0$ when using its principal normal $n$. Then $\\alpha''(0)=kn$ and $\\langle n,N\\rangle=\\cos\\theta$.",
          "steps": [
            {
              "text": "$\\displaystyle \\langle\\alpha''(0),N\\rangle=\\langle kn,N\\rangle=k\\cos\\theta=k_n$."
            },
            {
              "text": "Along the curve, $\\langle\\alpha',N\\circ\\alpha\\rangle=0$. Differentiating at zero gives $0=\\langle\\alpha''(0),N\\rangle+\\langle v,dN_p(v)\\rangle$."
            },
            {
              "text": "Thus $k_n=-\\langle dN_p(v),v\\rangle=\\mathrm{II}_p(v,v)$. The last identity also makes sense when $k=0$, without choosing a principal normal."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l8-principal-direction",
      "title": "Unit vector in a principal basis",
      "prompt": "Let $e_1$ and $e_2$ be an orthonormal principal basis. Write the unit vector $v$ making oriented angle $\\theta$ from $e_1$ toward $e_2$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "e_1",
            "label": "e_1"
          },
          {
            "tool": "e_2",
            "label": "e_2"
          },
          {
            "tool": "cos",
            "label": "cos"
          },
          {
            "tool": "sin",
            "label": "sin"
          },
          {
            "tool": "θ",
            "label": "θ"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "v"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "cos"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "θ"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "e_1"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "sin"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "θ"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "e_2"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Let $e_1,e_2$ be an orthonormal principal basis with $S(e_i)=k_i e_i$. A unit vector at oriented angle $\\theta$ from $e_1$ has components $\\langle v,e_1\\rangle=\\cos\\theta$, $\\langle v,e_2\\rangle=\\sin\\theta$.",
          "steps": [
            {
              "text": "Hence $v=\\cos\\theta\\,e_1+\\sin\\theta\\,e_2$ and $S(v)=k_1\\cos\\theta\\,e_1+k_2\\sin\\theta\\,e_2$."
            },
            {
              "text": "$\\displaystyle \\langle S(v),v\\rangle=k_1\\cos^2\\theta\\langle e_1,e_1\\rangle+k_1\\cos\\theta\\sin\\theta\\langle e_1,e_2\\rangle+k_2\\sin\\theta\\cos\\theta\\langle e_2,e_1\\rangle+k_2\\sin^2\\theta\\langle e_2,e_2\\rangle$."
            },
            {
              "text": "The diagonal inner products are one and the mixed ones zero. Therefore $k_n=\\mathrm{II}(v,v)=k_1\\cos^2\\theta+k_2\\sin^2\\theta$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l8-euler",
      "title": "Euler’s normal-curvature formula",
      "prompt": "Express normal curvature $k_n$ in a unit direction making angle $\\theta$ with the first principal direction. Use $k_1$ and $k_2$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "k_n",
            "label": "k_n"
          },
          {
            "tool": "k_1",
            "label": "k_1"
          },
          {
            "tool": "k_2",
            "label": "k_2"
          },
          {
            "tool": "cos",
            "label": "cos"
          },
          {
            "tool": "sin",
            "label": "sin"
          },
          {
            "tool": "θ",
            "label": "θ"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "k_n"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "k_1"
            },
            {
              "base": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "cos"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "θ"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "exponent": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ],
                "kind": "row"
              },
              "kind": "power"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "k_2"
            },
            {
              "base": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "sin"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "θ"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "exponent": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ],
                "kind": "row"
              },
              "kind": "power"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Let $e_1,e_2$ be an orthonormal principal basis with $S(e_i)=k_i e_i$. A unit vector at oriented angle $\\theta$ from $e_1$ has components $\\langle v,e_1\\rangle=\\cos\\theta$, $\\langle v,e_2\\rangle=\\sin\\theta$.",
          "steps": [
            {
              "text": "Hence $v=\\cos\\theta\\,e_1+\\sin\\theta\\,e_2$ and $S(v)=k_1\\cos\\theta\\,e_1+k_2\\sin\\theta\\,e_2$."
            },
            {
              "text": "$\\displaystyle \\langle S(v),v\\rangle=k_1\\cos^2\\theta\\langle e_1,e_1\\rangle+k_1\\cos\\theta\\sin\\theta\\langle e_1,e_2\\rangle+k_2\\sin\\theta\\cos\\theta\\langle e_2,e_1\\rangle+k_2\\sin^2\\theta\\langle e_2,e_2\\rangle$."
            },
            {
              "text": "The diagonal inner products are one and the mixed ones zero. Therefore $k_n=\\mathrm{II}(v,v)=k_1\\cos^2\\theta+k_2\\sin^2\\theta$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l8-umbilic",
      "title": "Equal principal curvatures at an umbilic",
      "prompt": "Write the condition relating the two principal curvatures at an umbilic point $p$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "k_1",
            "label": "k_1"
          },
          {
            "tool": "k_2",
            "label": "k_2"
          },
          {
            "tool": "p",
            "label": "p"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "k_1"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "p"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "k_2"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "p"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "definition",
        "definition": "This is the definition of an umbilic point: the two principal curvatures agree."
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l8-metric-E",
      "title": "First-form coefficient E",
      "prompt": "Express $E$ using the coordinate tangent vectors and the inner product.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "G",
            "label": "G"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "E"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "definition",
        "proof": {
          "intro": "The first fundamental form is the ambient inner product restricted to tangent vectors. Its coordinate coefficients are the entries of its matrix in the basis $X_u,X_v$.",
          "steps": [
            {
              "text": "$E=\\mathrm I(X_u,X_u)=\\langle X_u,X_u\\rangle$. This is a definition of the coefficient, not an additional theorem."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l8-metric-F",
      "title": "First-form coefficient F",
      "prompt": "Express $F$ using the coordinate tangent vectors and the inner product.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "G",
            "label": "G"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "F"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "definition",
        "proof": {
          "intro": "The first fundamental form is the ambient inner product restricted to tangent vectors. Its coordinate coefficients are the entries of its matrix in the basis $X_u,X_v$.",
          "steps": [
            {
              "text": "$F=\\mathrm I(X_u,X_v)=\\langle X_u,X_v\\rangle$. This is a definition of the coefficient, not an additional theorem."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l8-metric-G",
      "title": "First-form coefficient G",
      "prompt": "Express $G$ using the coordinate tangent vectors and the inner product.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "G",
            "label": "G"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "G"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "definition",
        "proof": {
          "intro": "The first fundamental form is the ambient inner product restricted to tangent vectors. Its coordinate coefficients are the entries of its matrix in the basis $X_u,X_v$.",
          "steps": [
            {
              "text": "$G=\\mathrm I(X_v,X_v)=\\langle X_v,X_v\\rangle$. This is a definition of the coefficient, not an additional theorem."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l8-second-e",
      "title": "Second-form coefficient e",
      "prompt": "Express $e$ using $N$ and the second derivatives of $X$. Use $\\mathrm{II}(v,w) = -\\langle dN(v),w\\rangle$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "e",
            "label": "e"
          },
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "g",
            "label": "g"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "X_uu",
            "label": "X_uu"
          },
          {
            "tool": "X_uv",
            "label": "X_uv"
          },
          {
            "tool": "X_vv",
            "label": "X_vv"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "e"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_uu"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The convention is $\\mathrm{II}(v,w)=-\\langle dN(v),w\\rangle$. The coefficients are defined by $e=\\mathrm{II}(X_u,X_u)$, $f=\\mathrm{II}(X_u,X_v)$, and $g=\\mathrm{II}(X_v,X_v)$. Thus $e=-\\langle N_u,X_u\\rangle$, $f=-\\langle N_u,X_v\\rangle=-\\langle N_v,X_u\\rangle$, and $g=-\\langle N_v,X_v\\rangle$. Differentiate the zero inner products of $N$ with the coordinate tangents:",
          "steps": [
            {
              "text": "$\\displaystyle 0=\\partial_u\\langle N,X_u\\rangle=\\langle N_u,X_u\\rangle+\\langle N,X_{uu}\\rangle$."
            },
            {
              "text": "$\\displaystyle 0=\\partial_v\\langle N,X_u\\rangle=\\langle N_v,X_u\\rangle+\\langle N,X_{uv}\\rangle$."
            },
            {
              "text": "$\\displaystyle 0=\\partial_v\\langle N,X_v\\rangle=\\langle N_v,X_v\\rangle+\\langle N,X_{vv}\\rangle$."
            },
            {
              "text": "Isolating the negative normal derivatives and using symmetry of $\\mathrm{II}$ yields $e=\\langle N,X_{uu}\\rangle$, $f=\\langle N,X_{uv}\\rangle$, $g=\\langle N,X_{vv}\\rangle$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l8-second-f",
      "title": "Second-form coefficient f",
      "prompt": "Express $f$ using $N$ and the second derivatives of $X$. Use $\\mathrm{II}(v,w) = -\\langle dN(v),w\\rangle$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "e",
            "label": "e"
          },
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "g",
            "label": "g"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "X_uu",
            "label": "X_uu"
          },
          {
            "tool": "X_uv",
            "label": "X_uv"
          },
          {
            "tool": "X_vv",
            "label": "X_vv"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "f"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_uv"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The convention is $\\mathrm{II}(v,w)=-\\langle dN(v),w\\rangle$. The coefficients are defined by $e=\\mathrm{II}(X_u,X_u)$, $f=\\mathrm{II}(X_u,X_v)$, and $g=\\mathrm{II}(X_v,X_v)$. Thus $e=-\\langle N_u,X_u\\rangle$, $f=-\\langle N_u,X_v\\rangle=-\\langle N_v,X_u\\rangle$, and $g=-\\langle N_v,X_v\\rangle$. Differentiate the zero inner products of $N$ with the coordinate tangents:",
          "steps": [
            {
              "text": "$\\displaystyle 0=\\partial_u\\langle N,X_u\\rangle=\\langle N_u,X_u\\rangle+\\langle N,X_{uu}\\rangle$."
            },
            {
              "text": "$\\displaystyle 0=\\partial_v\\langle N,X_u\\rangle=\\langle N_v,X_u\\rangle+\\langle N,X_{uv}\\rangle$."
            },
            {
              "text": "$\\displaystyle 0=\\partial_v\\langle N,X_v\\rangle=\\langle N_v,X_v\\rangle+\\langle N,X_{vv}\\rangle$."
            },
            {
              "text": "Isolating the negative normal derivatives and using symmetry of $\\mathrm{II}$ yields $e=\\langle N,X_{uu}\\rangle$, $f=\\langle N,X_{uv}\\rangle$, $g=\\langle N,X_{vv}\\rangle$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l8-second-g",
      "title": "Second-form coefficient g",
      "prompt": "Express $g$ using $N$ and the second derivatives of $X$. Use $\\mathrm{II}(v,w) = -\\langle dN(v),w\\rangle$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "e",
            "label": "e"
          },
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "g",
            "label": "g"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "X_uu",
            "label": "X_uu"
          },
          {
            "tool": "X_uv",
            "label": "X_uv"
          },
          {
            "tool": "X_vv",
            "label": "X_vv"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "g"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_vv"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The convention is $\\mathrm{II}(v,w)=-\\langle dN(v),w\\rangle$. The coefficients are defined by $e=\\mathrm{II}(X_u,X_u)$, $f=\\mathrm{II}(X_u,X_v)$, and $g=\\mathrm{II}(X_v,X_v)$. Thus $e=-\\langle N_u,X_u\\rangle$, $f=-\\langle N_u,X_v\\rangle=-\\langle N_v,X_u\\rangle$, and $g=-\\langle N_v,X_v\\rangle$. Differentiate the zero inner products of $N$ with the coordinate tangents:",
          "steps": [
            {
              "text": "$\\displaystyle 0=\\partial_u\\langle N,X_u\\rangle=\\langle N_u,X_u\\rangle+\\langle N,X_{uu}\\rangle$."
            },
            {
              "text": "$\\displaystyle 0=\\partial_v\\langle N,X_u\\rangle=\\langle N_v,X_u\\rangle+\\langle N,X_{uv}\\rangle$."
            },
            {
              "text": "$\\displaystyle 0=\\partial_v\\langle N,X_v\\rangle=\\langle N_v,X_v\\rangle+\\langle N,X_{vv}\\rangle$."
            },
            {
              "text": "Isolating the negative normal derivatives and using symmetry of $\\mathrm{II}$ yields $e=\\langle N,X_{uu}\\rangle$, $f=\\langle N,X_{uv}\\rangle$, $g=\\langle N,X_{vv}\\rangle$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l8-gaussian-coordinates",
      "title": "Gaussian curvature in coordinates",
      "prompt": "Express $K$ in terms of $E, F, G$ and $e, f, g$, the first and second fundamental-form coefficients.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "K",
            "label": "K"
          },
          {
            "tool": "e",
            "label": "e"
          },
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "g",
            "label": "g"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "G",
            "label": "G"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "K"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "E"
                  },
                  {
                    "kind": "symbol",
                    "text": "G"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "e"
                  },
                  {
                    "kind": "symbol",
                    "text": "g"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "f"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Put $M=\\left(\\begin{smallmatrix}E&F\\\\F&G\\end{smallmatrix}\\right)$ and $B=\\left(\\begin{smallmatrix}e&f\\\\f&g\\end{smallmatrix}\\right)$. If $A$ represents $S=-dN$ in the coordinate basis, then $B=MA$: the entry $B_{ij}=\\langle X_i,SX_j\\rangle=\\sum_k M_{ik}A_{kj}$.",
          "steps": [
            {
              "text": "Regularity gives $\\Delta=EG-F^2>0$, so $M^{-1}=\\Delta^{-1}\\left(\\begin{smallmatrix}G&-F\\\\-F&E\\end{smallmatrix}\\right)$."
            },
            {
              "text": "Multiplication gives $\\displaystyle A=\\frac1\\Delta\\left(\\begin{matrix}Ge-Ff&Gf-Fg\\\\Ef-Fe&Eg-Ff\\end{matrix}\\right)$."
            },
            {
              "text": "The self-adjoint operator $S$ has an orthonormal eigenbasis with matrix $\\operatorname{diag}(k_1,k_2)$. Determinant and trace do not change under a basis change, so $K=k_1k_2=\\det A$ and $2H=k_1+k_2=\\operatorname{tr}A$."
            },
            {
              "text": "$\\displaystyle K=\\det(M^{-1})\\det B=\\frac{eg-f^2}{EG-F^2}$."
            },
            {
              "text": "$\\displaystyle H=\\frac12\\left(\\frac{Ge-Ff}{\\Delta}+\\frac{Eg-Ff}{\\Delta}\\right)=\\frac{eG+gE-2fF}{2(EG-F^2)}$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l8-mean-coordinates",
      "title": "Mean curvature in coordinates",
      "prompt": "Express $H$ in terms of the first- and second-form coefficients $E, F, G$ and $e, f, g$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "H",
            "label": "H"
          },
          {
            "tool": "e",
            "label": "e"
          },
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "g",
            "label": "g"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "G",
            "label": "G"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "H"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "E"
                  },
                  {
                    "kind": "symbol",
                    "text": "G"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "e"
                  },
                  {
                    "kind": "symbol",
                    "text": "G"
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "symbol",
                    "text": "g"
                  },
                  {
                    "kind": "symbol",
                    "text": "E"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "symbol",
                    "text": "2"
                  },
                  {
                    "kind": "symbol",
                    "text": "f"
                  },
                  {
                    "kind": "symbol",
                    "text": "F"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Put $M=\\left(\\begin{smallmatrix}E&F\\\\F&G\\end{smallmatrix}\\right)$ and $B=\\left(\\begin{smallmatrix}e&f\\\\f&g\\end{smallmatrix}\\right)$. If $A$ represents $S=-dN$ in the coordinate basis, then $B=MA$: the entry $B_{ij}=\\langle X_i,SX_j\\rangle=\\sum_k M_{ik}A_{kj}$.",
          "steps": [
            {
              "text": "Regularity gives $\\Delta=EG-F^2>0$, so $M^{-1}=\\Delta^{-1}\\left(\\begin{smallmatrix}G&-F\\\\-F&E\\end{smallmatrix}\\right)$."
            },
            {
              "text": "Multiplication gives $\\displaystyle A=\\frac1\\Delta\\left(\\begin{matrix}Ge-Ff&Gf-Fg\\\\Ef-Fe&Eg-Ff\\end{matrix}\\right)$."
            },
            {
              "text": "The self-adjoint operator $S$ has an orthonormal eigenbasis with matrix $\\operatorname{diag}(k_1,k_2)$. Determinant and trace do not change under a basis change, so $K=k_1k_2=\\det A$ and $2H=k_1+k_2=\\operatorname{tr}A$."
            },
            {
              "text": "$\\displaystyle K=\\det(M^{-1})\\det B=\\frac{eg-f^2}{EG-F^2}$."
            },
            {
              "text": "$\\displaystyle H=\\frac12\\left(\\frac{Ge-Ff}{\\Delta}+\\frac{Eg-Ff}{\\Delta}\\right)=\\frac{eG+gE-2fF}{2(EG-F^2)}$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l8-determinant",
      "title": "Gaussian curvature as a determinant",
      "prompt": "Let $A$ be the matrix of the shape operator $-dN_p$. Express $K$ using $A$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "K",
            "label": "K"
          },
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "det",
            "label": "det"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "K"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "det"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "A"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Put $M=\\left(\\begin{smallmatrix}E&F\\\\F&G\\end{smallmatrix}\\right)$ and $B=\\left(\\begin{smallmatrix}e&f\\\\f&g\\end{smallmatrix}\\right)$. If $A$ represents $S=-dN$ in the coordinate basis, then $B=MA$: the entry $B_{ij}=\\langle X_i,SX_j\\rangle=\\sum_k M_{ik}A_{kj}$.",
          "steps": [
            {
              "text": "Regularity gives $\\Delta=EG-F^2>0$, so $M^{-1}=\\Delta^{-1}\\left(\\begin{smallmatrix}G&-F\\\\-F&E\\end{smallmatrix}\\right)$."
            },
            {
              "text": "Multiplication gives $\\displaystyle A=\\frac1\\Delta\\left(\\begin{matrix}Ge-Ff&Gf-Fg\\\\Ef-Fe&Eg-Ff\\end{matrix}\\right)$."
            },
            {
              "text": "The self-adjoint operator $S$ has an orthonormal eigenbasis with matrix $\\operatorname{diag}(k_1,k_2)$. Determinant and trace do not change under a basis change, so $K=k_1k_2=\\det A$ and $2H=k_1+k_2=\\operatorname{tr}A$."
            },
            {
              "text": "$\\displaystyle K=\\det(M^{-1})\\det B=\\frac{eg-f^2}{EG-F^2}$."
            },
            {
              "text": "$\\displaystyle H=\\frac12\\left(\\frac{Ge-Ff}{\\Delta}+\\frac{Eg-Ff}{\\Delta}\\right)=\\frac{eG+gE-2fF}{2(EG-F^2)}$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l8-trace",
      "title": "Mean curvature as a trace",
      "prompt": "Let $A$ be the matrix of the shape operator $-dN_p$. Express $H$ using $A$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "H",
            "label": "H"
          },
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "tr",
            "label": "tr"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "H"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "tr"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "A"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Put $M=\\left(\\begin{smallmatrix}E&F\\\\F&G\\end{smallmatrix}\\right)$ and $B=\\left(\\begin{smallmatrix}e&f\\\\f&g\\end{smallmatrix}\\right)$. If $A$ represents $S=-dN$ in the coordinate basis, then $B=MA$: the entry $B_{ij}=\\langle X_i,SX_j\\rangle=\\sum_k M_{ik}A_{kj}$.",
          "steps": [
            {
              "text": "Regularity gives $\\Delta=EG-F^2>0$, so $M^{-1}=\\Delta^{-1}\\left(\\begin{smallmatrix}G&-F\\\\-F&E\\end{smallmatrix}\\right)$."
            },
            {
              "text": "Multiplication gives $\\displaystyle A=\\frac1\\Delta\\left(\\begin{matrix}Ge-Ff&Gf-Fg\\\\Ef-Fe&Eg-Ff\\end{matrix}\\right)$."
            },
            {
              "text": "The self-adjoint operator $S$ has an orthonormal eigenbasis with matrix $\\operatorname{diag}(k_1,k_2)$. Determinant and trace do not change under a basis change, so $K=k_1k_2=\\det A$ and $2H=k_1+k_2=\\operatorname{tr}A$."
            },
            {
              "text": "$\\displaystyle K=\\det(M^{-1})\\det B=\\frac{eg-f^2}{EG-F^2}$."
            },
            {
              "text": "$\\displaystyle H=\\frac12\\left(\\frac{Ge-Ff}{\\Delta}+\\frac{Eg-Ff}{\\Delta}\\right)=\\frac{eG+gE-2fF}{2(EG-F^2)}$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l8-smaller-principal",
      "title": "Recover the smaller principal curvature",
      "prompt": "Write $k_1$, the smaller principal curvature, in terms of $H$ and $K$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "k_1",
            "label": "k_1"
          },
          {
            "tool": "H",
            "label": "H"
          },
          {
            "tool": "K",
            "label": "K"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "k_1"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "H"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "children": [
                {
                  "kind": "radical",
                  "radicand": {
                    "children": [
                      {
                        "children": [
                          {
                            "base": {
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "H"
                                }
                              ],
                              "kind": "row"
                            },
                            "exponent": {
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "2"
                                }
                              ],
                              "kind": "row"
                            },
                            "kind": "power"
                          },
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "K"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "kind": "row"
                  }
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Since $k_1+k_2=2H$ and $k_1k_2=K$, the polynomial with these roots is $(x-k_1)(x-k_2)=x^2-2Hx+K$.",
          "steps": [
            {
              "text": "The quadratic formula gives $x=(2H\\pm\\sqrt{4H^2-4K})/2=H\\pm\\sqrt{H^2-K}$."
            },
            {
              "text": "Its discriminant is nonnegative because $H^2-K=(k_1+k_2)^2/4-k_1k_2=(k_2-k_1)^2/4$."
            },
            {
              "text": "With $k_1\\leq k_2$, the minus sign gives $k_1=H-\\sqrt{H^2-K}$ and the plus sign gives $k_2=H+\\sqrt{H^2-K}$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l8-larger-principal",
      "title": "Recover the larger principal curvature",
      "prompt": "Write $k_2$, the larger principal curvature, in terms of $H$ and $K$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "k_2",
            "label": "k_2"
          },
          {
            "tool": "H",
            "label": "H"
          },
          {
            "tool": "K",
            "label": "K"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "k_2"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "H"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "children": [
                {
                  "kind": "radical",
                  "radicand": {
                    "children": [
                      {
                        "children": [
                          {
                            "base": {
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "H"
                                }
                              ],
                              "kind": "row"
                            },
                            "exponent": {
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "2"
                                }
                              ],
                              "kind": "row"
                            },
                            "kind": "power"
                          },
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "K"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "kind": "row"
                  }
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Since $k_1+k_2=2H$ and $k_1k_2=K$, the polynomial with these roots is $(x-k_1)(x-k_2)=x^2-2Hx+K$.",
          "steps": [
            {
              "text": "The quadratic formula gives $x=(2H\\pm\\sqrt{4H^2-4K})/2=H\\pm\\sqrt{H^2-K}$."
            },
            {
              "text": "Its discriminant is nonnegative because $H^2-K=(k_1+k_2)^2/4-k_1k_2=(k_2-k_1)^2/4$."
            },
            {
              "text": "With $k_1\\leq k_2$, the minus sign gives $k_1=H-\\sqrt{H^2-K}$ and the plus sign gives $k_2=H+\\sqrt{H^2-K}$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-graph-parametrization",
      "title": "Graph parametrization",
      "prompt": "Parametrize the graph $z = f(u,v)$ using coordinates $u$ and $v$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "X",
            "label": "X"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "f",
            "label": "f"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "X"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "f"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The graph of $f$ consists of the points $(u,v,f(u,v))$, so define $X(u,v)=(u,v,f(u,v))$.",
          "steps": [
            {
              "text": "Projection $\\pi(x,y,z)=(x,y)$ satisfies $\\pi(X(u,v))=(u,v)$ and $X(\\pi(p))=p$ for every point $p$ of the graph. It is a smooth inverse."
            },
            {
              "text": "The coordinate tangents are $X_u=(1,0,f_u)$ and $X_v=(0,1,f_v)$. If $aX_u+bX_v=0$, the first two components give $a=b=0$, proving regularity."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-graph-Xu",
      "title": "Graph tangent in the u-direction",
      "prompt": "Write $X_u$ for the graph parametrization. Here $X(u,v)=(u,v,f(u,v))$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "f_u",
            "label": "f_u"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "1"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "f_u"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Differentiate each coordinate separately. The coordinate functions $u$ and $v$ contribute only 0 or 1; all remaining differentiation occurs in $f$.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "u"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "v"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "f"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "u"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Begin with the graph parametrization:"
            },
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "1"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "f_u"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Differentiate the displayed vector component by component:"
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-graph-Xv",
      "title": "Graph tangent in the v-direction",
      "prompt": "Write $X_v$ for the graph parametrization. Here $X(u,v)=(u,v,f(u,v))$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "f_v",
            "label": "f_v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "X_v"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "1"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "f_v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Differentiate each coordinate separately. The coordinate functions $u$ and $v$ contribute only 0 or 1; all remaining differentiation occurs in $f$.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "u"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "v"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "f"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "u"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Begin with the graph parametrization:"
            },
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X_v"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "1"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "f_v"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Differentiate the displayed vector component by component:"
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-graph-Xuu",
      "title": "Second u-derivative of a graph parametrization",
      "prompt": "Write $X_{uu}$ for the graph parametrization. Here $X(u,v)=(u,v,f(u,v))$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "X_uu",
            "label": "X_uu"
          },
          {
            "tool": "f_uu",
            "label": "f_uu"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "X_uu"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "f_uu"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Differentiate each coordinate separately. The coordinate functions $u$ and $v$ contribute only 0 or 1; all remaining differentiation occurs in $f$.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "1"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "f_u"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Begin with the corresponding first derivative:"
            },
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X_uu"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "f_uu"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Differentiate the displayed vector component by component:"
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-graph-Xuv",
      "title": "Mixed derivative of a graph parametrization",
      "prompt": "Write $X_{uv}$ for the graph parametrization. Here $X(u,v)=(u,v,f(u,v))$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "X_uv",
            "label": "X_uv"
          },
          {
            "tool": "f_uv",
            "label": "f_uv"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "X_uv"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "f_uv"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Differentiate each coordinate separately. The coordinate functions $u$ and $v$ contribute only 0 or 1; all remaining differentiation occurs in $f$.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "1"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "f_u"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Begin with the corresponding first derivative:"
            },
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X_uv"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "f_uv"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Differentiate the displayed vector component by component:"
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-graph-Xvv",
      "title": "Second v-derivative of a graph parametrization",
      "prompt": "Write $X_{vv}$ for the graph parametrization. Here $X(u,v)=(u,v,f(u,v))$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "X_vv",
            "label": "X_vv"
          },
          {
            "tool": "f_vv",
            "label": "f_vv"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "X_vv"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "f_vv"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Differentiate each coordinate separately. The coordinate functions $u$ and $v$ contribute only 0 or 1; all remaining differentiation occurs in $f$.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X_v"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "1"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "f_v"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Begin with the corresponding first derivative:"
            },
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X_vv"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "f_vv"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Differentiate the displayed vector component by component:"
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-graph-normal",
      "title": "Upward unit normal to a graph",
      "prompt": "Write the upward unit normal $N$ for the graph of $f(u,v)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "f_u",
            "label": "f_u"
          },
          {
            "tool": "f_v",
            "label": "f_v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "N"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "radical",
                    "radicand": {
                      "children": [
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "1"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "base": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "f_u"
                                  }
                                ],
                                "kind": "row"
                              },
                              "exponent": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "power"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "base": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "f_v"
                                  }
                                ],
                                "kind": "row"
                              },
                              "exponent": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "power"
                            }
                          ],
                          "kind": "row"
                        }
                      ],
                      "kind": "row"
                    }
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "f_u"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "f_v"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "symbol",
                    "text": "1"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "For $X(u,v)=(u,v,f(u,v))$, differentiating the three components gives $X_u=(1,0,f_u)$ and $X_v=(0,1,f_v)$.",
          "steps": [
            {
              "text": "$\\displaystyle X_u\\times X_v=(0f_v-f_u\\cdot1,\\ f_u\\cdot0-1f_v,\\ 1\\cdot1-0\\cdot0)=(-f_u,-f_v,1)$."
            },
            {
              "text": "The final component is one, so this vector is nonzero. Its squared norm is $(-f_u)^2+(-f_v)^2+1^2=1+f_u^2+f_v^2$."
            },
            {
              "text": "Thus the upward unit normal is $N=(-f_u,-f_v,1)/\\sqrt{1+f_u^2+f_v^2}$. The denominator is positive and the third component is positive."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-graph-E",
      "title": "Graph metric coefficient E",
      "prompt": "For the graph $X(u,v)=(u,v,f(u,v))$, give the first fundamental-form coefficient $E$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "f_u",
            "label": "f_u"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "E"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "1"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "base": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "f_u"
                  }
                ],
                "kind": "row"
              },
              "exponent": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ],
                "kind": "row"
              },
              "kind": "power"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The first fundamental form is $\\mathrm I(V,W)=\\langle V,W\\rangle$. Its coordinate coefficients are $E=\\langle X_u,X_u\\rangle$, $F=\\langle X_u,X_v\\rangle$, $G=\\langle X_v,X_v\\rangle$. For $X=(u,v,f(u,v))$, use $X_u=(1,0,f_u)$ and $X_v=(0,1,f_v)$.",
          "steps": [
            {
              "text": "$E=\\langle X_u,X_u\\rangle=1\\cdot1+0\\cdot0+f_u f_u=1+f_u^2$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-graph-F",
      "title": "Graph metric coefficient F",
      "prompt": "For the graph $X(u,v)=(u,v,f(u,v))$, give the first fundamental-form coefficient $F$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "f_u",
            "label": "f_u"
          },
          {
            "tool": "f_v",
            "label": "f_v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "F"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "f_u"
            },
            {
              "kind": "symbol",
              "text": "f_v"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The first fundamental form is $\\mathrm I(V,W)=\\langle V,W\\rangle$. Its coordinate coefficients are $E=\\langle X_u,X_u\\rangle$, $F=\\langle X_u,X_v\\rangle$, $G=\\langle X_v,X_v\\rangle$. For $X=(u,v,f(u,v))$, use $X_u=(1,0,f_u)$ and $X_v=(0,1,f_v)$.",
          "steps": [
            {
              "text": "$F=\\langle X_u,X_v\\rangle=1\\cdot0+0\\cdot1+f_u f_v=f_u f_v$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-graph-G",
      "title": "Graph metric coefficient G",
      "prompt": "For the graph $X(u,v)=(u,v,f(u,v))$, give the first fundamental-form coefficient $G$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "G",
            "label": "G"
          },
          {
            "tool": "f_v",
            "label": "f_v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "G"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "1"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "base": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "f_v"
                  }
                ],
                "kind": "row"
              },
              "exponent": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ],
                "kind": "row"
              },
              "kind": "power"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The first fundamental form is $\\mathrm I(V,W)=\\langle V,W\\rangle$. Its coordinate coefficients are $E=\\langle X_u,X_u\\rangle$, $F=\\langle X_u,X_v\\rangle$, $G=\\langle X_v,X_v\\rangle$. For $X=(u,v,f(u,v))$, use $X_u=(1,0,f_u)$ and $X_v=(0,1,f_v)$.",
          "steps": [
            {
              "text": "$G=\\langle X_v,X_v\\rangle=0\\cdot0+1\\cdot1+f_v f_v=1+f_v^2$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-graph-e",
      "title": "Graph second-form coefficient e",
      "prompt": "For the upward-oriented graph $X(u,v)=(u,v,f(u,v))$, give the second fundamental-form coefficient $e$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "e",
            "label": "e"
          },
          {
            "tool": "f_uu",
            "label": "f_uu"
          },
          {
            "tool": "f_u",
            "label": "f_u"
          },
          {
            "tool": "f_v",
            "label": "f_v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "e"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "radical",
                    "radicand": {
                      "children": [
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "1"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "base": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "f_u"
                                  }
                                ],
                                "kind": "row"
                              },
                              "exponent": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "power"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "base": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "f_v"
                                  }
                                ],
                                "kind": "row"
                              },
                              "exponent": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "power"
                            }
                          ],
                          "kind": "row"
                        }
                      ],
                      "kind": "row"
                    }
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "f_uu"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "With $S=-dN$, the second fundamental form is $\\mathrm{II}(V,W)=\\langle SV,W\\rangle$. Differentiating $\\langle N,X_i\\rangle=0$ gives $\\mathrm{II}(X_i,X_j)=\\langle N,X_{ij}\\rangle$. Here $N=(-f_u,-f_v,1)/W$ and $W=\\sqrt{1+f_u^2+f_v^2}$.",
          "steps": [
            {
              "text": "The second derivative is $X_{uu}=(0,0,f_{uu})$."
            },
            {
              "text": "$\\displaystyle e=\\langle N,X_{uu}\\rangle=\\frac{(-f_u)\\cdot0+(-f_v)\\cdot0+1\\cdot f_{uu}}{W}=\\frac{f_{uu}}{\\sqrt{1+f_u^2+f_v^2}}$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-graph-f",
      "title": "Graph second-form coefficient f",
      "prompt": "For the upward-oriented graph $X(u,v)=(u,v,f(u,v))$, give the second fundamental-form coefficient $f$. Here the coefficient $f=\\mathrm{II}(X_u,X_v)$ is distinct from the graph function $f(u,v)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "f_uv",
            "label": "f_uv"
          },
          {
            "tool": "f_u",
            "label": "f_u"
          },
          {
            "tool": "f_v",
            "label": "f_v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "f"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "radical",
                    "radicand": {
                      "children": [
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "1"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "base": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "f_u"
                                  }
                                ],
                                "kind": "row"
                              },
                              "exponent": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "power"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "base": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "f_v"
                                  }
                                ],
                                "kind": "row"
                              },
                              "exponent": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "power"
                            }
                          ],
                          "kind": "row"
                        }
                      ],
                      "kind": "row"
                    }
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "f_uv"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "With $S=-dN$, the second fundamental form is $\\mathrm{II}(V,W)=\\langle SV,W\\rangle$. Differentiating $\\langle N,X_i\\rangle=0$ gives $\\mathrm{II}(X_i,X_j)=\\langle N,X_{ij}\\rangle$. Here $N=(-f_u,-f_v,1)/W$ and $W=\\sqrt{1+f_u^2+f_v^2}$.",
          "steps": [
            {
              "text": "The second derivative is $X_{uv}=(0,0,f_{uv})$."
            },
            {
              "text": "$\\displaystyle f=\\langle N,X_{uv}\\rangle=\\frac{(-f_u)\\cdot0+(-f_v)\\cdot0+1\\cdot f_{uv}}{W}=\\frac{f_{uv}}{\\sqrt{1+f_u^2+f_v^2}}$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-graph-g",
      "title": "Graph second-form coefficient g",
      "prompt": "For the upward-oriented graph $X(u,v)=(u,v,f(u,v))$, give the second fundamental-form coefficient $g$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "g",
            "label": "g"
          },
          {
            "tool": "f_vv",
            "label": "f_vv"
          },
          {
            "tool": "f_u",
            "label": "f_u"
          },
          {
            "tool": "f_v",
            "label": "f_v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "g"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "radical",
                    "radicand": {
                      "children": [
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "1"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "base": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "f_u"
                                  }
                                ],
                                "kind": "row"
                              },
                              "exponent": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "power"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "base": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "f_v"
                                  }
                                ],
                                "kind": "row"
                              },
                              "exponent": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "power"
                            }
                          ],
                          "kind": "row"
                        }
                      ],
                      "kind": "row"
                    }
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "f_vv"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "With $S=-dN$, the second fundamental form is $\\mathrm{II}(V,W)=\\langle SV,W\\rangle$. Differentiating $\\langle N,X_i\\rangle=0$ gives $\\mathrm{II}(X_i,X_j)=\\langle N,X_{ij}\\rangle$. Here $N=(-f_u,-f_v,1)/W$ and $W=\\sqrt{1+f_u^2+f_v^2}$.",
          "steps": [
            {
              "text": "The second derivative is $X_{vv}=(0,0,f_{vv})$."
            },
            {
              "text": "$\\displaystyle g=\\langle N,X_{vv}\\rangle=\\frac{(-f_u)\\cdot0+(-f_v)\\cdot0+1\\cdot f_{vv}}{W}=\\frac{f_{vv}}{\\sqrt{1+f_u^2+f_v^2}}$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-graph-K",
      "title": "Gaussian curvature of a graph",
      "prompt": "Give the Gaussian curvature $K$ of the graph $X(u,v)=(u,v,f(u,v))$ in terms of derivatives of $f$. Write $K$ on the left.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "K",
            "label": "K"
          },
          {
            "tool": "f_uu",
            "label": "f_uu"
          },
          {
            "tool": "f_uv",
            "label": "f_uv"
          },
          {
            "tool": "f_vv",
            "label": "f_vv"
          },
          {
            "tool": "f_u",
            "label": "f_u"
          },
          {
            "tool": "f_v",
            "label": "f_v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "K"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "base": {
                  "children": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "1"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "base": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "f_u"
                                  }
                                ],
                                "kind": "row"
                              },
                              "exponent": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "power"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "base": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "f_v"
                                  }
                                ],
                                "kind": "row"
                              },
                              "exponent": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "power"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                "exponent": {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ],
                  "kind": "row"
                },
                "kind": "power"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "f_uu"
                  },
                  {
                    "kind": "symbol",
                    "text": "f_vv"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "f_uv"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Put $W=\\sqrt{1+f_u^2+f_v^2}$. L4 gives $X_u=(1,0,f_u)$, $X_v=(0,1,f_v)$, and the upward normal $N=(-f_u,-f_v,1)/W$.",
          "steps": [
            {
              "text": "The second derivatives are $X_{uu}=(0,0,f_{uu})$, $X_{uv}=(0,0,f_{uv})$, and $X_{vv}=(0,0,f_{vv})$. Taking the inner products from L8 gives $E=1+f_u^2$, $F=f_uf_v$, $G=1+f_v^2$ and $(e,f_{\\mathrm{II}},g)=(f_{uu},f_{uv},f_{vv})/W$. Here $f_{\\mathrm{II}}$ is the mixed second-form coefficient."
            },
            {
              "text": "The denominator simplifies to $EG-F^2=(1+f_u^2)(1+f_v^2)-f_u^2f_v^2=W^2$."
            },
            {
              "text": "Thus $K=(eg-f_{\\mathrm{II}}^2)/(EG-F^2)=(f_{uu}f_{vv}-f_{uv}^2)/W^4$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-graph-H",
      "title": "Mean curvature of a graph",
      "prompt": "Give the mean curvature $H$ of the upward-oriented graph $X(u,v)=(u,v,f(u,v))$ in terms of derivatives of $f$. You may write simply $H$ on the left.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "H",
            "label": "H"
          },
          {
            "tool": "X",
            "label": "X"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "f_u",
            "label": "f_u"
          },
          {
            "tool": "f_v",
            "label": "f_v"
          },
          {
            "tool": "f_uu",
            "label": "f_uu"
          },
          {
            "tool": "f_uv",
            "label": "f_uv"
          },
          {
            "tool": "f_vv",
            "label": "f_vv"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "H"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  },
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "1"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "base": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "f_u"
                                  }
                                ],
                                "kind": "row"
                              },
                              "exponent": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "power"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "base": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "f_v"
                                  }
                                ],
                                "kind": "row"
                              },
                              "exponent": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "power"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "3"
                        },
                        {
                          "kind": "symbol",
                          "text": "/"
                        },
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "1"
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "f_v"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "symbol",
                    "text": "f_uu"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "symbol",
                    "text": "2"
                  },
                  {
                    "kind": "symbol",
                    "text": "f_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "f_v"
                  },
                  {
                    "kind": "symbol",
                    "text": "f_uv"
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "1"
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "f_u"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "symbol",
                    "text": "f_vv"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        },
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "H"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  },
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "1"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "base": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "f_u"
                                  }
                                ],
                                "kind": "row"
                              },
                              "exponent": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "power"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "base": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "f_v"
                                  }
                                ],
                                "kind": "row"
                              },
                              "exponent": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "power"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "3"
                        },
                        {
                          "kind": "symbol",
                          "text": "/"
                        },
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "1"
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "f_v"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "symbol",
                    "text": "f_uu"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "symbol",
                    "text": "2"
                  },
                  {
                    "kind": "symbol",
                    "text": "f_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "f_v"
                  },
                  {
                    "kind": "symbol",
                    "text": "f_uv"
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "1"
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "f_u"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "symbol",
                    "text": "f_vv"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Put $W=\\sqrt{1+f_u^2+f_v^2}$. L4 gives $X_u=(1,0,f_u)$, $X_v=(0,1,f_v)$, and the upward normal $N=(-f_u,-f_v,1)/W$.",
          "steps": [
            {
              "text": "The second derivatives are $X_{uu}=(0,0,f_{uu})$, $X_{uv}=(0,0,f_{uv})$, and $X_{vv}=(0,0,f_{vv})$. Taking the inner products from L8 gives $E=1+f_u^2$, $F=f_uf_v$, $G=1+f_v^2$ and $(e,f_{\\mathrm{II}},g)=(f_{uu},f_{uv},f_{vv})/W$. Here $f_{\\mathrm{II}}$ is the mixed second-form coefficient."
            },
            {
              "text": "The denominator simplifies to $EG-F^2=(1+f_u^2)(1+f_v^2)-f_u^2f_v^2=W^2$."
            },
            {
              "text": "Substitute into $H=(eG+gE-2f_{\\mathrm{II}}F)/(2(EG-F^2))$. Each second-form coefficient contributes $1/W$, so $H=((1+f_v^2)f_{uu}-2f_uf_vf_{uv}+(1+f_u^2)f_{vv})/(2W^3)$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-helicoid-parametrization",
      "title": "Helicoid parametrization",
      "prompt": "Write the lecture’s parametrization of a helicoid with pitch parameter $a$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "X",
            "label": "X"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "cos",
            "label": "cos"
          },
          {
            "tool": "sin",
            "label": "sin"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "X"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "cos"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "u"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "sin"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "u"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": "u"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "definition",
        "proof": {
          "intro": "At fixed $u$, $(v\\cos u,v\\sin u,au)$ traces a horizontal straight line. Increasing $u$ rotates that line about the vertical axis and raises it by $au$.",
          "steps": [
            {
              "text": "Thus $X(u,v)=(v\\cos u,v\\sin u,au)$ describes the helicoid. Its tangent cross product is $(-a\\sin u,a\\cos u,-v)$, of squared length $a^2+v^2$. The usual nondegenerate helicoid has $a\\ne0$, making every parameter point regular. This is a construction, rather than a theorem."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-helicoid-Xu",
      "title": "Helicoid u-derivative",
      "prompt": "Differentiate the helicoid parametrization with respect to $u$. Here $X(u,v)=(v\\cos u,v\\sin u,au)$, with constant $a\\ne0$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "cos",
            "label": "cos"
          },
          {
            "tool": "sin",
            "label": "sin"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "sin"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "u"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "cos"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "u"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Differentiate each coordinate of the vector separately, keeping the other parameter fixed.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "cos"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "u"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "sin"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "u"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "a"
                          },
                          {
                            "kind": "symbol",
                            "text": "u"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Begin with $X$:"
            },
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "sin"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "u"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "cos"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "u"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "a"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Differentiate component by component:"
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-helicoid-Xv",
      "title": "Helicoid v-derivative",
      "prompt": "Differentiate the helicoid parametrization with respect to $v$. Here $X(u,v)=(v\\cos u,v\\sin u,au)$, with constant $a\\ne0$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "cos",
            "label": "cos"
          },
          {
            "tool": "sin",
            "label": "sin"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "X_v"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "cos"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "u"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "sin"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "u"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Differentiate each coordinate of the vector separately, keeping the other parameter fixed.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "cos"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "u"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "sin"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "u"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "a"
                          },
                          {
                            "kind": "symbol",
                            "text": "u"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Begin with $X$:"
            },
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X_v"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "cos"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "u"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "sin"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "u"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Differentiate component by component:"
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-helicoid-Xuu",
      "title": "Helicoid second u-derivative",
      "prompt": "Differentiate $X_u$ once more with respect to $u$. Here $X(u,v)=(v\\cos u,v\\sin u,au)$, with constant $a\\ne0$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "X_uu",
            "label": "X_uu"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "cos",
            "label": "cos"
          },
          {
            "tool": "sin",
            "label": "sin"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "X_uu"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "cos"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "u"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "sin"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "u"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Differentiate each coordinate of the vector separately, keeping the other parameter fixed.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "sin"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "u"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "cos"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "u"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "a"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Begin with the first derivative already obtained:"
            },
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X_uu"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "cos"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "u"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "sin"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "u"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Differentiate component by component:"
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-helicoid-Xuv",
      "title": "Helicoid mixed derivative",
      "prompt": "Differentiate $X_u$ with respect to $v$. Here $X(u,v)=(v\\cos u,v\\sin u,au)$, with constant $a\\ne0$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "X_uv",
            "label": "X_uv"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "cos",
            "label": "cos"
          },
          {
            "tool": "sin",
            "label": "sin"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "X_uv"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "sin"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "u"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "cos"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "u"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Differentiate each coordinate of the vector separately, keeping the other parameter fixed.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "sin"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "u"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "cos"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "u"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "a"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Begin with the first derivative already obtained:"
            },
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X_uv"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "sin"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "u"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "cos"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "u"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Differentiate component by component:"
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-helicoid-Xvv",
      "title": "Helicoid second v-derivative",
      "prompt": "Differentiate $X_v$ with respect to $v$. Here $X(u,v)=(v\\cos u,v\\sin u,au)$, with constant $a\\ne0$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "X_vv",
            "label": "X_vv"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "X_vv"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Differentiate each coordinate of the vector separately, keeping the other parameter fixed.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X_v"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "cos"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "u"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "sin"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "u"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Begin with the first derivative already obtained:"
            },
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X_vv"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Differentiate component by component:"
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-helicoid-E",
      "title": "Helicoid metric coefficient E",
      "prompt": "Give the first fundamental-form coefficient $E$ for the helicoid parametrization.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "E"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "base": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "v"
                  }
                ],
                "kind": "row"
              },
              "exponent": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ],
                "kind": "row"
              },
              "kind": "power"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "base": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "a"
                  }
                ],
                "kind": "row"
              },
              "exponent": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ],
                "kind": "row"
              },
              "kind": "power"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "For $X=(v\\cos u,v\\sin u,au)$, differentiation gives $X_u=(-v\\sin u,v\\cos u,a)$, $X_v=(\\cos u,\\sin u,0)$.",
          "steps": [
            {
              "text": "Their cross product is $(-a\\sin u,a\\cos u,-v)$; its squared length is $a^2\\sin^2u+a^2\\cos^2u+v^2=a^2+v^2$. Write $W=\\sqrt{a^2+v^2}>0$ and use $N=(-a\\sin u,a\\cos u,-v)/W$ at regular points."
            },
            {
              "text": "The second derivatives needed here are $X_{uu}=(-v\\cos u,-v\\sin u,0)$ and $X_{uv}=(-\\sin u,\\cos u,0)$. Take the defining inner product:"
            },
            {
              "text": "$\\displaystyle E=(-v\\sin u)^2+(v\\cos u)^2+a^2=v^2(\\sin^2u+\\cos^2u)+a^2=v^2+a^2$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-helicoid-F",
      "title": "Helicoid metric coefficient F",
      "prompt": "Give the first fundamental-form coefficient $F$ for the helicoid parametrization.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "F",
            "label": "F"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "F"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "For $X=(v\\cos u,v\\sin u,au)$, differentiation gives $X_u=(-v\\sin u,v\\cos u,a)$, $X_v=(\\cos u,\\sin u,0)$.",
          "steps": [
            {
              "text": "Their cross product is $(-a\\sin u,a\\cos u,-v)$; its squared length is $a^2\\sin^2u+a^2\\cos^2u+v^2=a^2+v^2$. Write $W=\\sqrt{a^2+v^2}>0$ and use $N=(-a\\sin u,a\\cos u,-v)/W$ at regular points."
            },
            {
              "text": "The second derivatives needed here are $X_{uu}=(-v\\cos u,-v\\sin u,0)$ and $X_{uv}=(-\\sin u,\\cos u,0)$. Take the defining inner product:"
            },
            {
              "text": "$\\displaystyle F=(-v\\sin u)\\cos u+(v\\cos u)\\sin u+a\\cdot0=0$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-helicoid-G",
      "title": "Helicoid metric coefficient G",
      "prompt": "Give the first fundamental-form coefficient $G$ for the helicoid parametrization.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "G",
            "label": "G"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "G"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "1"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "For $X=(v\\cos u,v\\sin u,au)$, differentiation gives $X_u=(-v\\sin u,v\\cos u,a)$, $X_v=(\\cos u,\\sin u,0)$.",
          "steps": [
            {
              "text": "Their cross product is $(-a\\sin u,a\\cos u,-v)$; its squared length is $a^2\\sin^2u+a^2\\cos^2u+v^2=a^2+v^2$. Write $W=\\sqrt{a^2+v^2}>0$ and use $N=(-a\\sin u,a\\cos u,-v)/W$ at regular points."
            },
            {
              "text": "The second derivatives needed here are $X_{uu}=(-v\\cos u,-v\\sin u,0)$ and $X_{uv}=(-\\sin u,\\cos u,0)$. Take the defining inner product:"
            },
            {
              "text": "$\\displaystyle G=\\cos^2u+\\sin^2u+0=1$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-helicoid-e",
      "title": "Helicoid second-form coefficient e",
      "prompt": "Give the second fundamental-form coefficient $e$ for the oriented helicoid used in the lecture.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "e",
            "label": "e"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "e"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "For $X=(v\\cos u,v\\sin u,au)$, differentiation gives $X_u=(-v\\sin u,v\\cos u,a)$, $X_v=(\\cos u,\\sin u,0)$.",
          "steps": [
            {
              "text": "Their cross product is $(-a\\sin u,a\\cos u,-v)$; its squared length is $a^2\\sin^2u+a^2\\cos^2u+v^2=a^2+v^2$. Write $W=\\sqrt{a^2+v^2}>0$ and use $N=(-a\\sin u,a\\cos u,-v)/W$ at regular points."
            },
            {
              "text": "The second derivatives needed here are $X_{uu}=(-v\\cos u,-v\\sin u,0)$ and $X_{uv}=(-\\sin u,\\cos u,0)$. Take the defining inner product:"
            },
            {
              "text": "$\\displaystyle e=\\frac{(-a\\sin u)(-v\\cos u)+(a\\cos u)(-v\\sin u)+(-v)\\cdot0}{W}=0$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-helicoid-f",
      "title": "Helicoid second-form coefficient f",
      "prompt": "Give the nonzero mixed second fundamental-form coefficient $f$ for the oriented helicoid used in the lecture.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "f"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "radical",
                    "radicand": {
                      "children": [
                        {
                          "children": [
                            {
                              "base": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "a"
                                  }
                                ],
                                "kind": "row"
                              },
                              "exponent": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "power"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "base": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "v"
                                  }
                                ],
                                "kind": "row"
                              },
                              "exponent": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "power"
                            }
                          ],
                          "kind": "row"
                        }
                      ],
                      "kind": "row"
                    }
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "a"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "For $X=(v\\cos u,v\\sin u,au)$, differentiation gives $X_u=(-v\\sin u,v\\cos u,a)$, $X_v=(\\cos u,\\sin u,0)$.",
          "steps": [
            {
              "text": "Their cross product is $(-a\\sin u,a\\cos u,-v)$; its squared length is $a^2\\sin^2u+a^2\\cos^2u+v^2=a^2+v^2$. Write $W=\\sqrt{a^2+v^2}>0$ and use $N=(-a\\sin u,a\\cos u,-v)/W$ at regular points."
            },
            {
              "text": "The second derivatives needed here are $X_{uu}=(-v\\cos u,-v\\sin u,0)$ and $X_{uv}=(-\\sin u,\\cos u,0)$. Take the defining inner product:"
            },
            {
              "text": "$\\displaystyle f=\\frac{(-a\\sin u)(-\\sin u)+(a\\cos u)\\cos u+(-v)\\cdot0}{W}=\\frac{a(\\sin^2u+\\cos^2u)}W=\\frac aW$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-helicoid-g",
      "title": "Helicoid second-form coefficient g",
      "prompt": "Give the second fundamental-form coefficient $g$ for the oriented helicoid used in the lecture.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "g",
            "label": "g"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "g"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The parametrization is linear in $v$, so its second $v$-derivative vanishes.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X_vv"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              }
            },
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "g"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "⟨"
                      },
                      {
                        "kind": "symbol",
                        "text": "N"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "X_vv"
                      },
                      {
                        "kind": "symbol",
                        "text": "⟩"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "symbol",
                    "text": "0"
                  }
                ],
                "kind": "row"
              }
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-helicoid-K",
      "title": "Helicoid Gaussian curvature",
      "prompt": "Give the Gaussian curvature $K$ at $X(u,v)$ on the helicoid.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "K",
            "label": "K"
          },
          {
            "tool": "X",
            "label": "X"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "a",
            "label": "a"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "K"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "bottom": {
                "base": {
                  "children": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "children": [
                            {
                              "base": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "a"
                                  }
                                ],
                                "kind": "row"
                              },
                              "exponent": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "power"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "base": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "v"
                                  }
                                ],
                                "kind": "row"
                              },
                              "exponent": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "power"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                "exponent": {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ],
                  "kind": "row"
                },
                "kind": "power"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "a"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "For $X=(v\\cos u,v\\sin u,au)$, differentiation gives $X_u=(-v\\sin u,v\\cos u,a)$, $X_v=(\\cos u,\\sin u,0)$.",
          "steps": [
            {
              "text": "Their cross product is $(-a\\sin u,a\\cos u,-v)$; its squared length is $a^2\\sin^2u+a^2\\cos^2u+v^2=a^2+v^2$. Write $W=\\sqrt{a^2+v^2}>0$ and use $N=(-a\\sin u,a\\cos u,-v)/W$ at regular points."
            },
            {
              "text": "The coefficients are $E=W^2$, $F=0$, $G=1$, $e=g=0$, $f=a/W$. Therefore"
            },
            {
              "text": "$\\displaystyle K=\\frac{eg-f^2}{EG-F^2}=\\frac{0\\cdot0-(a/W)^2}{W^2\\cdot1-0^2}=\\frac{-a^2/W^2}{W^2}=-\\frac{a^2}{W^4}=-\\frac{a^2}{(a^2+v^2)^2}$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-helicoid-H",
      "title": "Helicoid mean curvature",
      "prompt": "Give the mean curvature $H$ of the helicoid.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "H",
            "label": "H"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "H"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "In the coordinate formula for mean curvature, $e = g = F = 0$, so every term in the numerator vanishes.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "H"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "bottom": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "E"
                        },
                        {
                          "kind": "symbol",
                          "text": "G"
                        },
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "base": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "F"
                              }
                            ],
                            "kind": "row"
                          },
                          "exponent": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "power"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "fraction",
                    "top": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "e"
                        },
                        {
                          "kind": "symbol",
                          "text": "G"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "g"
                        },
                        {
                          "kind": "symbol",
                          "text": "E"
                        },
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "2"
                        },
                        {
                          "kind": "symbol",
                          "text": "f"
                        },
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ],
                      "kind": "row"
                    }
                  }
                ],
                "kind": "row"
              }
            },
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "H"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "symbol",
                    "text": "0"
                  }
                ],
                "kind": "row"
              }
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-critical-point",
      "title": "Critical point of a surface function",
      "prompt": "Let $f:S\\to\\mathbb R$ be a smooth function on a surface $S$, and let $p\\in S$ be a critical point of $f$. What is $df_p(v)$ for every $v\\in T_pS$?",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "df_p",
            "label": "df_p"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "df_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "definition",
        "definition": "This is the definition of a critical point: the differential vanishes on every tangent vector."
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-height-function",
      "title": "Height function",
      "prompt": "For the lecture’s fixed reference point $p_0$ and a unit vector $a$, define the height function $h_a$ at $p$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "h_a",
            "label": "h_a"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "p_0",
            "label": "p_0"
          },
          {
            "tool": "a",
            "label": "a"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "h_a"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "p"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "p"
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "p_0"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "definition",
        "definition": "This is the lecture’s definition of the height function in direction $a$, measured from the fixed reference point $p_0$."
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-height-critical",
      "title": "Critical point of a height function",
      "prompt": "Let $h_a(q)=\\langle q-p_0,a\\rangle$ on a surface, where $p_0\\in\\mathbb R^3$ and the unit vector $a\\in\\mathbb R^3$ are fixed. Choose the local orientation with $\\langle N(p),a\\rangle>0$. Write the condition on $N(p)$ for $p$ to be a critical point of $h_a$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "a",
            "label": "a"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "p"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "a"
            }
          ],
          "kind": "row"
        },
        {
          "children": [
            {
              "kind": "symbol",
              "text": "N"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "p"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "a"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "a"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Differentiate the height function along tangent directions. The fixed vectors $p_0$ and $a$ have zero derivative.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "h_a"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "p"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "⟨"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "p"
                          },
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "p_0"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "a"
                      },
                      {
                        "kind": "symbol",
                        "text": "⟩"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              }
            },
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "dh_p"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "v"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "⟨"
                      },
                      {
                        "kind": "symbol",
                        "text": "v"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "a"
                      },
                      {
                        "kind": "symbol",
                        "text": "⟩"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "For a tangent vector $v$ at $p$:"
            },
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "N"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "p"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "symbol",
                    "text": "a"
                  }
                ],
                "kind": "row"
              },
              "text": "This vanishes for every tangent $v$ exactly when $a$ is perpendicular to the tangent plane. Since $a$ is a unit vector and the orientation points toward $a$:"
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l9-height-hessian",
      "title": "Hessian of a height function",
      "prompt": "Let $h_a(q)=\\langle q-p_0,a\\rangle$ with fixed $p_0$ and unit vector $a$. At a critical point $p$ with $N(p)=a$, relate $\\operatorname{Hess}_p h_a$ to the second fundamental form.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "Hess_p",
            "label": "Hess_p"
          },
          {
            "tool": "h_a",
            "label": "h_a"
          },
          {
            "tool": "II_p",
            "label": "II_p"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "Hess_p"
                },
                {
                  "kind": "symbol",
                  "text": "h_a"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "II_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Use the curve definition of the Hessian and the normal-acceleration identity from L8C.",
          "steps": [
            {
              "text": "For $\\alpha(0)=p$ and $\\alpha^{\\prime}(0)=v$, constant $p_0,a$ give $(\\operatorname{Hess}_p h_a)(v,v)=(h_a\\circ\\alpha)^{\\prime\\prime}(0)=\\langle\\alpha^{\\prime\\prime}(0),a\\rangle=\\mathrm{II}_p(v,v)$, since $a=N(p)$."
            },
            {
              "text": "Both forms are symmetric bilinear, so equality on every diagonal gives equality of the forms by polarization."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l10-distance-squared",
      "title": "Squared distance from a point",
      "prompt": "For a fixed point $p_0$, define the squared-distance function $d_{p_0}$ on the surface $S$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "d_p0",
            "label": "d_p0"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "p_0",
            "label": "p_0"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "d_p0"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "p"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "base": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "p"
                          },
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "p_0"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "exponent": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ],
                "kind": "row"
              },
              "kind": "power"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "For a fixed point $p_0$, define $d_{p_0}(p)=\\|p-p_0\\|^2=\\langle p-p_0,p-p_0\\rangle$. This is smooth, including at $p=p_0$.",
          "steps": [
            {
              "text": "For $\\alpha(0)=p$, $\\dot\\alpha(0)=v$, differentiation gives"
            },
            {
              "text": "$\\displaystyle d(d_{p_0})_p(v)=\\langle v,p-p_0\\rangle+\\langle p-p_0,v\\rangle=2\\langle p-p_0,v\\rangle$."
            },
            {
              "text": "Away from $p_0$, ordinary distance $r(p)=\\|p-p_0\\|>0$ satisfies $d(d_{p_0})=2r\\,dr$. Thus distance and squared distance have the same critical points there. At $p_0$ on the surface, ordinary distance is not differentiable; no equivalence of critical points is asserted there."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l10-distance-critical",
      "title": "Critical points of squared distance",
      "prompt": "On a surface, let $d_{p_0}(q)=\\|q-p_0\\|^2$. At a critical point $p$ of this squared-distance function, express $p_0$ using $p$, the unit normal $N(p)$, and a scalar $\\lambda$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "p_0",
            "label": "p_0"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "λ",
            "label": "λ"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "p_0"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "p"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "λ"
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "p"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Differentiate the squared distance along an arbitrary surface curve through $p$.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "d_p0"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "α"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "base": {
                      "children": [
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "||"
                            },
                            {
                              "children": [
                                {
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "α"
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": "("
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": "t"
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": ")"
                                    }
                                  ],
                                  "kind": "row"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "−"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "p_0"
                                }
                              ],
                              "kind": "row"
                            },
                            {
                              "kind": "symbol",
                              "text": "||"
                            }
                          ],
                          "kind": "row"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  }
                ],
                "kind": "row"
              }
            },
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "dd_p"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "v"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "symbol",
                    "text": "2"
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "⟨"
                      },
                      {
                        "kind": "symbol",
                        "text": "v"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "p"
                          },
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "p_0"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": "⟩"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "If $\\alpha(0) = p$ and $\\alpha'(0) = v$, differentiation at zero gives:"
            },
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "p_0"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "symbol",
                    "text": "p"
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "symbol",
                    "text": "λ"
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "N"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "p"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Criticality says this is zero for every tangent vector $v$. Hence $p - p_0$ is normal to the tangent plane, so it is a scalar multiple of $N(p)$. Renaming the scalar gives:"
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l10-distance-hessian",
      "title": "Hessian of squared distance",
      "prompt": "Let $D(q)=\\|q-p_0\\|^2$ on the surface. Suppose $p$ is critical and $p_0=p+\\lambda N(p)$. For $v\\in T_pS$, express $\\operatorname{Hess}_p D(v,v)$ using $\\lambda$ and the second fundamental form.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "Hess_p",
            "label": "Hess_p"
          },
          {
            "tool": "D",
            "label": "D"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "λ",
            "label": "λ"
          },
          {
            "tool": "II_p",
            "label": "II_p"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "Hess_p"
                },
                {
                  "kind": "symbol",
                  "text": "D"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "base": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "symbol",
                        "text": "v"
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "exponent": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ],
                "kind": "row"
              },
              "kind": "power"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "λ"
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "II_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": ")"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Choose a surface curve with $\\alpha(0)=p$ and $\\alpha'(0)=v$. Criticality gives $\\operatorname{Hess}_p D(v,v)=(D\\circ\\alpha)''(0)$."
            },
            {
              "text": "Twice differentiating the squared norm gives $(D\\circ\\alpha)''(0)=2\\|v\\|^2+2\\langle p-p_0,\\alpha''(0)\\rangle$."
            },
            {
              "text": "Substitute $p-p_0=-\\lambda N(p)$ and the L8C identity $\\langle N(p),\\alpha''(0)\\rangle=\\mathrm{II}_p(v,v)$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l10-hilbert",
      "title": "Hilbert’s local theorem",
      "prompt": "Suppose $K(p) > 0$, $k_1$ has a local minimum at $p$, and $k_2$ has a local maximum at $p$. Write Hilbert’s conclusion.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "k_1",
            "label": "k_1"
          },
          {
            "tool": "k_2",
            "label": "k_2"
          },
          {
            "tool": "p",
            "label": "p"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "k_1"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "p"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "k_2"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "p"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Assume $K(p)>0$, $k_1\\leq k_2$, and $k_1$ has a local minimum while $k_2$ has a local maximum at $p$. Rotate and translate to a graph $X(u,v)=(u,v,f(u,v))$ with $p=X(0,0)$ and principal coordinate directions at the origin. Smoothness of the surface supplies the derivatives below.",
          "steps": [
            {
              "text": "Put $a=k_1(p)$, $b=k_2(p)$. At the origin, $f=f_u=f_v=0$, $f_{uu}=a$, $f_{uv}=0$, $f_{vv}=b$. Write $W=\\sqrt{1+f_u^2+f_v^2}$."
            },
            {
              "text": "Along $\\beta(v)=X(0,v)$ use the unit vector $X_u/\\sqrt{1+f_u^2}$; along $\\alpha(u)=X(u,0)$ use $X_v/\\sqrt{1+f_v^2}$. Since the second form is quadratic in its arguments, their normal curvatures are"
            },
            {
              "text": "$\\displaystyle h_1(v)=\\left.\\frac{f_{uu}}{W(1+f_u^2)}\\right|_{(0,v)},\\qquad h_2(u)=\\left.\\frac{f_{vv}}{W(1+f_v^2)}\\right|_{(u,0)}$."
            },
            {
              "text": "Normal curvature lies between the principal curvatures. Thus $h_1(0)=k_1(p)\\leq k_1(\\beta(v))\\leq h_1(v)$ and $h_2(u)\\leq k_2(\\alpha(u))\\leq k_2(p)=h_2(0)$. Therefore $h_1''(0)\\geq0$ and $h_2''(0)\\leq0$."
            },
            {
              "text": "We now compute those derivatives. Along $(u,0)$ put $A=(1+f_v^2)^{-1}$, $Q=1+f_u^2+f_v^2$, $B=Q^{-1/2}$, $C=f_{vv}$, so $h_2=ABC$. Primes in this paragraph mean differentiation along $u$."
            },
            {
              "text": "$\\displaystyle A'=-2f_vf_{vu}(1+f_v^2)^{-2}$ and $A''=-2(f_{vu}^2+f_vf_{vuu})(1+f_v^2)^{-2}+8f_v^2f_{vu}^2(1+f_v^2)^{-3}$."
            },
            {
              "text": "At zero $f_v=f_{vu}=0$, so $A=1$, $A'=A''=0$."
            },
            {
              "text": "$\\displaystyle Q'=2f_u f_{uu}+2f_v f_{vu}$ and $Q''=2(f_{uu}^2+f_u f_{uuu}+f_{vu}^2+f_v f_{vuu})$."
            },
            {
              "text": "Hence $Q(0)=1$, $Q'(0)=0$, $Q''(0)=2a^2$. Since $B'=-\\tfrac12Q^{-3/2}Q'$ and $B''=\\tfrac34Q^{-5/2}(Q')^2-\\tfrac12Q^{-3/2}Q''$, we have $B(0)=1$, $B'(0)=0$, $B''(0)=-a^2$."
            },
            {
              "text": "The full product derivative is $h_2''=A''BC+AB''C+ABC''+2A'B'C+2A'BC'+2AB'C'$. Substitution gives $h_2''(0)=0-a^2b+f_{vvuu}(0,0)+0+0+0$."
            },
            {
              "text": "For $h_1$ along $(0,v)$, use $\\widetilde A=(1+f_u^2)^{-1}$, $\\widetilde B=(1+f_u^2+f_v^2)^{-1/2}$, $\\widetilde C=f_{uu}$. Now $\\widetilde A(0)=\\widetilde B(0)=1$, $\\widetilde C(0)=a$, $\\widetilde A'(0)=\\widetilde B'(0)=0$, $\\widetilde A''(0)=-2f_{uv}(0,0)^2=0$, and $\\widetilde B''(0)=-(f_{uv}(0,0)^2+f_{vv}(0,0)^2)=-b^2$. The same six-term product rule therefore gives $h_1''(0)=f_{uuvv}(0,0)-ab^2$."
            },
            {
              "text": "Smoothness permits commuting the four coordinate derivatives, so $f_{vvuu}(0,0)=f_{uuvv}(0,0)$. Subtract:"
            },
            {
              "text": "$\\displaystyle h_2''(0)-h_1''(0)=-a^2b+ab^2=ab(b-a)=K(p)(k_2(p)-k_1(p))$."
            },
            {
              "text": "The extremum signs make the left side nonpositive. On the right, $K(p)>0$ and $k_2(p)-k_1(p)\\geq0$. Hence both sides are zero, and division by $K(p)>0$ gives $k_1(p)=k_2(p)$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l10-constant-mean",
      "title": "Principal-curvature relation at constant mean curvature",
      "prompt": "If $H = c$, express $k_2$ in terms of $c$ and $k_1$. This is the relation used in the Jellett–Liebmann sphere theorem.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "k_1",
            "label": "k_1"
          },
          {
            "tool": "k_2",
            "label": "k_2"
          },
          {
            "tool": "c",
            "label": "c"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "k_2"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "c"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "k_1"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The requested identity follows directly from $H=(k_1+k_2)/2=c$: multiply by two to obtain $k_1+k_2=2c$, then subtract $k_1$ to obtain $k_2=2c-k_1$.",
          "steps": [
            {
              "text": "For the sphere consequence additionally assume a compact connected regular surface without boundary with $K>0$ everywhere. Choose the normal so both principal curvatures are positive. Compactness gives a global minimizer $p$ of $k_1$. Since $k_2=2c-k_1$, this same point maximizes $k_2$."
            },
            {
              "text": "Hilbert's local theorem applies at $p$, giving $k_1(p)=k_2(p)=c$. Its hypotheses are positive Gaussian curvature and opposite extrema of the ordered principal curvatures; see “Hilbert’s local theorem”."
            },
            {
              "text": "For any $q$, $c\\leq k_1(q)\\leq k_2(q)=2c-k_1(q)$. The last inequality gives $2k_1(q)\\leq2c$, so $k_1(q)\\leq c$. Together with $k_1(q)\\geq c$, this gives $k_1(q)=k_2(q)=c$."
            },
            {
              "text": "If $k_1=k_2=c_0>0$ everywhere, then $S=c_0 I$ and $dN=-c_0\\,dX$. Consequently $d(X+N/c_0)=dX+dN/c_0=0$. Connectedness makes $X+N/c_0=o$ constant."
            },
            {
              "text": "Thus $X-o=-N/c_0$ and $\\|X-o\\|=1/c_0$: the surface lies on that sphere. A regular surface without boundary is open in the sphere by the local inverse function theorem. Compactness makes its image closed. Since the sphere is connected, the nonempty image is the whole sphere."
            },
            {
              "text": "When $K>0$, the principal curvatures have the same nonzero sign, so $H\\ne0$. Exactly one local normal gives $H>0$. These choices agree on overlaps, giving a smooth global normal and positive principal curvatures."
            },
            {
              "text": "The ordered principal curvatures $H\\mp\\sqrt{H^2-K}$ are continuous, even at umbilics. On a compact surface they attain extrema; their differentiability is not required."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l10-constant-gaussian",
      "title": "Principal-curvature relation at constant Gaussian curvature",
      "prompt": "If $K=c\\ne0$, express $k_2$ in terms of $c$ and $k_1$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "k_1",
            "label": "k_1"
          },
          {
            "tool": "k_2",
            "label": "k_2"
          },
          {
            "tool": "c",
            "label": "c"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "k_2"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "k_1"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "c"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Since $K=k_1k_2=c\\ne0$, both factors are nonzero and $k_2=c/k_1$. Positivity is unnecessary for this identity. The sphere consequence below needs the additional geometric hypotheses.",
          "steps": [
            {
              "text": "For the sphere consequence assume a compact connected regular surface without boundary. To justify positivity when only constancy of $K$ is assumed, take a maximum $p$ of squared distance from a fixed $p_0$. Its radius $R=\\|p-p_0\\|$ is positive. Choose $N(p)=(p_0-p)/R$, so $p_0=p+RN(p)$."
            },
            {
              "text": "At that maximum the squared-distance Hessian is nonpositive. For each unit principal vector $e_i$, its formula gives $0\\geq2(1-Rk_i)$, hence $k_i\\geq1/R>0$. In particular $K(p)>0$, so constant $K=c$ is positive everywhere. Choosing the positive-curvature orientation consistently gives $k_1,k_2>0$ throughout the connected surface."
            },
            {
              "text": "Let $p$ globally minimize $k_1$. The function $x\\mapsto c/x$ has derivative $-c/x^2<0$, so $p$ maximizes $k_2$. Hilbert's local theorem (positive Gaussian curvature, a minimum of $k_1$, and a maximum of $k_2$) gives $k_1(p)=k_2(p)=\\sqrt c$."
            },
            {
              "text": "For any $q$, $\\sqrt c\\leq k_1(q)\\leq c/k_1(q)$. Multiplication by $k_1(q)>0$ gives $k_1(q)^2\\leq c$; positivity gives $k_1(q)\\leq\\sqrt c$. Thus $k_1=k_2=\\sqrt c$ everywhere."
            },
            {
              "text": "If $k_1=k_2=c_0>0$ everywhere, then $S=c_0 I$ and $dN=-c_0\\,dX$. Consequently $d(X+N/c_0)=dX+dN/c_0=0$. Connectedness makes $X+N/c_0=o$ constant."
            },
            {
              "text": "Thus $X-o=-N/c_0$ and $\\|X-o\\|=1/c_0$: the surface lies on that sphere. A regular surface without boundary is open in the sphere by the local inverse function theorem. Compactness makes its image closed. Since the sphere is connected, the nonempty image is the whole sphere."
            },
            {
              "text": "When $K>0$, the principal curvatures have the same nonzero sign, so $H\\ne0$. Exactly one local normal gives $H>0$. These choices agree on overlaps, giving a smooth global normal and positive principal curvatures."
            },
            {
              "text": "The ordered principal curvatures $H\\mp\\sqrt{H^2-K}$ are continuous, even at umbilics. On a compact surface they attain extrema; their differentiability is not required."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l10-umbilic-curvatures",
      "title": "Curvatures at an umbilic point",
      "prompt": "At an umbilic point, express Gaussian curvature in terms of mean curvature.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "K",
            "label": "K"
          },
          {
            "tool": "H",
            "label": "H"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "K"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "base": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "H"
                  }
                ],
                "kind": "row"
              },
              "exponent": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ],
                "kind": "row"
              },
              "kind": "power"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "At an umbilic point the two principal curvatures have a common value $k$.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "k_1"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "symbol",
                    "text": "k_2"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "symbol",
                    "text": "k"
                  }
                ],
                "kind": "row"
              }
            },
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "H"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "bottom": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "fraction",
                    "top": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "k_1"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "k_2"
                        }
                      ],
                      "kind": "row"
                    }
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "symbol",
                    "text": "k"
                  }
                ],
                "kind": "row"
              }
            },
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "K"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "symbol",
                    "text": "k_1"
                  },
                  {
                    "kind": "symbol",
                    "text": "k_2"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "k"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  }
                ],
                "kind": "row"
              }
            },
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "K"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "H"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  }
                ],
                "kind": "row"
              },
              "text": "Eliminate $k$:"
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l11-revolution",
      "title": "Parametrization of a surface of revolution",
      "prompt": "Rotate the profile $(f(v),0,g(v))$, with $f(v) > 0$, about the $z$-axis. Write $X(u,v)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "X",
            "label": "X"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "g",
            "label": "g"
          },
          {
            "tool": "cos",
            "label": "cos"
          },
          {
            "tool": "sin",
            "label": "sin"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "X"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "f"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "v"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "cos"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "u"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "children": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "f"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "v"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "sin"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "u"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "g"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "definition",
        "definition": "This parametrization rotates each point of the profile into a horizontal circle of radius $f(v)$. Angular charts require open intervals and an additional chart across the seam."
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "f": [
            "v"
          ],
          "g": [
            "v"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l11-arc-length",
      "title": "Unit-speed profile",
      "prompt": "The profile $(f(v),0,g(v))$ is parametrized by arc length. Write the identity satisfied by $f'$ and $g'$. Elide the argument $(v)$ of $f$, $g$ and their derivatives for shortness.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "f'",
            "label": "f'"
          },
          {
            "tool": "g'",
            "label": "g'"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "base": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "f'"
                  }
                ],
                "kind": "row"
              },
              "exponent": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ],
                "kind": "row"
              },
              "kind": "power"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "base": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "g'"
                  }
                ],
                "kind": "row"
              },
              "exponent": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ],
                "kind": "row"
              },
              "kind": "power"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "1"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "For the profile $\\alpha(v)=(f(v),0,g(v))$, differentiate to get $\\alpha'(v)=(f'(v),0,g'(v))$.",
          "steps": [
            {
              "text": "Its squared speed is $\\|\\alpha'\\|^2=f'^2+0^2+g'^2=f'^2+g'^2$. Arc-length parametrization means $\\|\\alpha'\\|=1$, so $f'^2+g'^2=1$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l11-normal",
      "title": "Normal to a surface of revolution",
      "prompt": "For $X(u,v) = (f \\cos(u),f \\sin(u),g)$, assume $f > 0$ and a unit-speed profile. Write $N$ in the direction $X_u \\times  X_v$. Primes denote $v$-derivatives. Elide the argument $(v)$ of $f$, $g$ and their derivatives for shortness.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "f'",
            "label": "f'"
          },
          {
            "tool": "g'",
            "label": "g'"
          },
          {
            "tool": "cos",
            "label": "cos"
          },
          {
            "tool": "sin",
            "label": "sin"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "N"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "g'"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "cos"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "u"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "g'"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "sin"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "u"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "f'"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "By the previous cards, $X_u=(-f\\sin u,f\\cos u,0)$ and $X_v=(f^{\\prime}\\cos u,f^{\\prime}\\sin u,g^{\\prime})$.",
          "steps": [
            {
              "text": "$X_u\\times X_v=f(g^{\\prime}\\cos u,g^{\\prime}\\sin u,-f^{\\prime})$."
            },
            {
              "text": "Since $f>0$ and $f^{\\prime2}+g^{\\prime2}=1$, $\\|X_u\\times X_v\\|=f$. Thus $\\displaystyle N=\\frac{X_u\\times X_v}{\\|X_u\\times X_v\\|}=(g^{\\prime}\\cos u,g^{\\prime}\\sin u,-f^{\\prime})$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l11-gaussian",
      "title": "Gaussian curvature of a surface of revolution",
      "prompt": "For $X(u,v) = (f \\cos(u),f \\sin(u),g)$, with $f > 0$ and a unit-speed profile, express $K$ using $f$ and its derivatives with respect to $v$. Elide the argument $(v)$ of $f$, $g$ and their derivatives for shortness.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "K",
            "label": "K"
          },
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "f''",
            "label": "f''"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "K"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "f"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "f''"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Primes denote $v$ derivatives. For the unit-speed profile, $f^{\\prime2}+g^{\\prime2}=1$.",
          "steps": [
            {
              "text": "The first and second fundamental-form coefficients are $E=f^2$, $F=0$, $G=1$, and $e=-fg^{\\prime}$, $f_{\\mathrm{II}}=0$, $g_{\\mathrm{II}}=g^{\\prime}f^{\\prime\\prime}-f^{\\prime}g^{\\prime\\prime}$."
            },
            {
              "text": "$\\displaystyle K=\\frac{eg_{\\mathrm{II}}-f_{\\mathrm{II}}^2}{EG-F^2}=\\frac{f^{\\prime}g^{\\prime}g^{\\prime\\prime}-g^{\\prime2}f^{\\prime\\prime}}{f}$."
            },
            {
              "text": "Differentiating the unit-speed identity gives $g^{\\prime}g^{\\prime\\prime}=-f^{\\prime}f^{\\prime\\prime}$. Hence $\\displaystyle K=-\\frac{(f^{\\prime2}+g^{\\prime2})f^{\\prime\\prime}}{f}=-\\frac{f^{\\prime\\prime}}{f}$."
            },
            {
              "text": "No division by $g^{\\prime}$ is needed, so the argument also applies where $g^{\\prime}=0$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l11-ruled",
      "title": "Ruled-surface parametrization",
      "prompt": "A directrix $\\alpha$ and nonzero direction $w$ vary with $t$. Write $X(t,v)$ for their ruled parametrization.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "X",
            "label": "X"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "α",
            "label": "α"
          },
          {
            "tool": "w",
            "label": "w"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "X"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "t"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "α"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "t"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "v"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "w"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "t"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "definition",
        "definition": "For each fixed $t$, varying $v$ traces the line through $\\alpha(t)$ with direction $w(t)$. Its image need not be a regular surface; regularity and injectivity must be checked separately."
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "α": [
            "t"
          ],
          "w": [
            "t"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "compute-tangent-normal-derivative",
      "title": "Differentiate normality along a surface curve",
      "prompt": "Let $\\alpha(t)$ be a smooth curve on an oriented surface with $\\alpha(0)=p$, $\\alpha'(0)=v$, and smooth unit normal $N$. Differentiate $\\langle\\alpha'(t),N(\\alpha(t))\\rangle=0$ at $t=0$, starting with $0=\\left.\\frac{d}{dt}(0)\\right|_{t=0}$, to obtain the relation between $\\langle\\alpha''(0),N(p)\\rangle$ and $\\langle v,dN_p(v)\\rangle$.",
      "learningVersion": 1,
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "D_0"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "D_0"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "α'"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "N"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "α"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "t"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "α''"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "0"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "N"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "p"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "dN_p"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "v"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "D_0"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "D_0"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "α'"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "N"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "α"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "t"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "α''"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "0"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "N"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "p"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "dN_p"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "v"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "editor": {
        "palette": [
          {
            "tool": "D_0",
            "label": "D_0"
          },
          {
            "tool": "α",
            "label": "α"
          },
          {
            "tool": "α'",
            "label": "α'"
          },
          {
            "tool": "α''",
            "label": "α''"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "dN_p",
            "label": "dN_p"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The velocity $\\alpha'(t)$ is tangent and $N(\\alpha(t))$ is normal, so their inner product is identically zero.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "0"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "D_0"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "D_0"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "α'"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "N"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "α"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "("
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "t"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ")"
                                  }
                                ]
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  }
                ]
              },
              "text": "Differentiate this constant-zero inner product."
            },
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "D_0"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "α'"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "N"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "α"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "("
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "t"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ")"
                                  }
                                ]
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "α''"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "0"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "N"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "p"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dN_p"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "v"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              "text": "Apply the product rule and the chain rule $\\left.\\frac{d}{dt}\\right|_0N(\\alpha(t))=dN_p(v)$."
            },
            {
              "text": "Rearranging gives $\\langle N(p),\\alpha^{\\prime\\prime}(0)\\rangle=-\\langle dN_p(v),v\\rangle$. The next card identifies this normal component of acceleration with the second fundamental form. No unit-speed assumption is needed."
            }
          ]
        }
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "For a surface curve with $\\alpha(0)=p$, $\\alpha'(0)=v$, how does differentiating normality relate $\\langle\\alpha''(0),N(p)\\rangle$ to $\\langle v,dN_p(v)\\rangle$?"
    },
    {
      "id": "compute-height-hessian",
      "title": "Hessian of a height function",
      "prompt": "Let $h(q)=\\langle q-p_0,a\\rangle$, with $a$ a fixed unit vector. At a critical point $p$ choose $N(p)=a$. Let $\\alpha$ lie on the surface with $\\alpha(0)=p$ and $\\alpha'(0)=v$. Show that $(\\mathrm{Hess}_p h)(v,v)$ equals $\\mathrm{II}_p(v,v)$ by a chain of equalities.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "Hh_p",
            "label": "Hh_p"
          },
          {
            "tool": "II_p",
            "label": "II_p"
          },
          {
            "tool": "α",
            "label": "α"
          },
          {
            "tool": "α''",
            "label": "α''"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "p_0",
            "label": "p_0"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "dN_p",
            "label": "dN_p"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "'",
            "label": "'"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "Hh_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "children": [
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "α"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "t"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "p_0"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "''"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "α''"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "α''"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "p"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "dN_p"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "v"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "II_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        },
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "Hh_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "children": [
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "α"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "t"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "p_0"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "''"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "α''"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "dN_p"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "v"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "II_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        },
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "Hh_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "children": [
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "α"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "t"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "p_0"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "''"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "α''"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "p"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "dN_p"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "v"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "II_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "Hh_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "children": [
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "α"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "t"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "p_0"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "''"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "α''"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "α''"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "p"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "dN_p"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "v"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "II_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Use the curve characterization of the Hessian at a critical point, then the normal-acceleration identity from the definition $\\mathrm{II}(v,w)=-\\langle dN(v),w\\rangle$. The derivation below recalls why these results apply.",
          "steps": [
            {
              "text": "At a critical point, the curve definition gives $\\operatorname{Hess}_p h(v,v)=(h\\circ\\alpha)^{\\prime\\prime}(0)$."
            },
            {
              "text": "Since $a$ and $p_0$ are constant, $(\\langle\\alpha(t)-p_0,a\\rangle)^{\\prime\\prime}(0)=\\langle\\alpha^{\\prime\\prime}(0),a\\rangle$."
            },
            {
              "text": "Use $a=N(p)$ and the differentiated-normality identity proved in L8C: $\\langle\\alpha^{\\prime\\prime}(0),N(p)\\rangle=-\\langle v,dN_p(v)\\rangle=\\mathrm{II}_p(v,v)$."
            },
            {
              "text": "Both forms are symmetric bilinear. Equality on every diagonal implies equality of the forms by polarization."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 3,
      "type": "equation-practice",
      "recallPrompt": "For $h(q)=\\langle q-p_0,a\\rangle$, show by computation that $\\operatorname{Hess}_p h(v,v)=\\mathrm{II}_p(v,v)$ at a critical point with $N(p)=a$."
    },
    {
      "id": "compute-self-adjoint",
      "title": "Self-adjointness of the Gauss-map differential",
      "prompt": "Let $X(u,v)$ be a smooth surface chart, with unit normal $N$. All terms are evaluated at the same chart point $p=X(u,v)$. Show that $\\langle dN_p(X_u),X_v\\rangle$ equals $\\langle X_u,dN_p(X_v)\\rangle$ by a chain of equalities. Write $N_u=\\partial_u(N\\circ X)$, $N_v=\\partial_v(N\\circ X)$, and $X_{ij}=\\partial_j(X_i)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dN_p",
            "label": "dN_p"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "N_u",
            "label": "N_u"
          },
          {
            "tool": "N_v",
            "label": "N_v"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "X_uv",
            "label": "X_uv"
          },
          {
            "tool": "X_vu",
            "label": "X_vu"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dN_p"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N_u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_vu"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "N_v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dN_p"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dN_p"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N_u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_vu"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "N_v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dN_p"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Write $N_u=dN_p(X_u)$ and $N_v=dN_p(X_v)$. Orthogonality gives $\\langle N,X_u\\rangle=\\langle N,X_v\\rangle=0$.",
          "steps": [
            {
              "text": "Differentiate the second equality in $u$: $0=\\partial_u(0)=\\partial_u\\langle N,X_v\\rangle=\\langle N_u,X_v\\rangle+\\langle N,X_{vu}\\rangle$. Differentiate the first in $v$: $0=\\partial_v(0)=\\partial_v\\langle N,X_u\\rangle=\\langle N_v,X_u\\rangle+\\langle N,X_{uv}\\rangle$."
            },
            {
              "text": "With $X_{ij}=\\partial_j(X_i)$ and $N_i=\\partial_i(N\\circ X)$, mixed partials give $X_{vu}=X_{uv}$. We obtain $\\langle dN(X_u),X_v\\rangle=-\\langle N,X_{uv}\\rangle=\\langle X_u,dN(X_v)\\rangle$."
            },
            {
              "text": "For $v=aX_u+bX_v$ and $w=cX_u+dX_v$, expand the difference of the two proposed sides. The diagonal terms cancel by symmetry of the inner product; the remaining difference is"
            },
            {
              "text": "$\\displaystyle (ad-bc)\\big(\\langle dN(X_u),X_v\\rangle-\\langle X_u,dN(X_v)\\rangle\\big)=0$."
            },
            {
              "text": "Therefore $\\langle dN(v),w\\rangle=\\langle v,dN(w)\\rangle$ for arbitrary tangent vectors."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 3,
      "type": "equation-practice",
      "recallPrompt": "How does differentiated normality show that $\\langle dN(X_u),X_v\\rangle=\\langle X_u,dN(X_v)\\rangle$?"
    },
    {
      "id": "compute-arc-length",
      "title": "Arc length gives unit speed",
      "prompt": "Let $\\alpha(t)$ be a regular curve and $s(t)=\\int_{t_0}^{t}\\|\\alpha'(u)\\|\\,du$. Write its inverse as $t=t(s)$. Show by a chain of equalities that $\\left\\|\\frac{d}{ds}\\alpha(t(s))\\right\\|=1$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "d/ds",
            "label": "d/ds"
          },
          {
            "tool": "s",
            "label": "s"
          },
          {
            "tool": "α",
            "label": "α"
          },
          {
            "tool": "α'",
            "label": "α'"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "t'",
            "label": "t'"
          },
          {
            "tool": "s'",
            "label": "s'"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "||"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "d/ds"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "α"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "t"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "s"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "||"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "||"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "α'"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "t"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "s"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "||"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "t'"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "s"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "α'"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "s"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "s'"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "t"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "s"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "α'"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "s"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "α'"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "s"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "1"
                }
              ]
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "||"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "d/ds"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "α"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "t"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "s"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "||"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "||"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "α'"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "t"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "s"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "||"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "t'"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "s"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "α'"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "s"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "s'"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "t"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "s"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "α'"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "s"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "α'"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "s"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "1"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "A preparatory computation for the arc-length parametrization announced at the end of Lecture 1. Regularity gives $s'(t)=\\|\\alpha'(t)\\|>0$, so the smooth inverse $t=t(s)$ exists and has positive derivative.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "d/ds"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "α"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "t"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "("
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "s"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ")"
                                  }
                                ]
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "||"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "α'"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "t"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "("
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "s"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ")"
                                  }
                                ]
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": "||"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "t'"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "s"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "fraction",
                    "top": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "||"
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "α'"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "t"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "("
                                },
                                {
                                  "kind": "symbol",
                                  "text": "s"
                                },
                                {
                                  "kind": "symbol",
                                  "text": ")"
                                }
                              ]
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        },
                        {
                          "kind": "symbol",
                          "text": "||"
                        }
                      ]
                    },
                    "bottom": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "s'"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "t"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "s"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    }
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "fraction",
                    "top": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "||"
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "α'"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "t"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "("
                                },
                                {
                                  "kind": "symbol",
                                  "text": "s"
                                },
                                {
                                  "kind": "symbol",
                                  "text": ")"
                                }
                              ]
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        },
                        {
                          "kind": "symbol",
                          "text": "||"
                        }
                      ]
                    },
                    "bottom": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "||"
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "α'"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "t"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "("
                                },
                                {
                                  "kind": "symbol",
                                  "text": "s"
                                },
                                {
                                  "kind": "symbol",
                                  "text": ")"
                                }
                              ]
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        },
                        {
                          "kind": "symbol",
                          "text": "||"
                        }
                      ]
                    }
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "1"
                      }
                    ]
                  }
                ]
              }
            },
            {
              "text": "Apply the chain rule and take the positive factor $t'(s)$ outside the norm. The inverse-function rule gives $t'(s)=1/s'(t(s))$. Substitute $s'(t(s))=\\|\\alpha'(t(s))\\|$ and cancel."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "t": [
            "s"
          ],
          "t'": [
            "s"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 3,
      "type": "equation-practice",
      "recallPrompt": "For a regular curve, let $t(s)$ invert its arc-length function. Show by computation that $\\|\\frac d{ds}\\alpha(t(s))\\|=1$."
    },
    {
      "id": "compute-normal-tangent",
      "title": "Derivative of the unit normal is tangent",
      "prompt": "Let $N$ be a smooth unit normal and $\\alpha$ a curve on $S$ with $\\alpha(0)=p$ and $\\alpha'(0)=v$. Show that $dN_p(v)$ is perpendicular to $N(p)$, starting with $0=\\left.\\frac{d}{dt}(1)\\right|_{t=0}$ and ending with $2\\langle dN_p(v),N(p)\\rangle$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "D_0",
            "label": "D_0"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "α",
            "label": "α"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "dN_p",
            "label": "dN_p"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "p",
            "label": "p"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "D_0"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "1"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "D_0"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "N"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "α"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "t"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "N"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "α"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "t"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "dN_p"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "v"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "N"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "p"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "D_0"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "1"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "D_0"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "N"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "α"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "t"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "N"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "α"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "t"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "dN_p"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "v"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "N"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "p"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Let $\\alpha(0)=p$, $\\dot\\alpha(0)=v$. Unit length gives $\\langle N(\\alpha(t)),N(\\alpha(t))\\rangle=1$.",
          "steps": [
            {
              "text": "Differentiate both factors:"
            },
            {
              "text": "$\\displaystyle 0=\\left.\\frac{d}{dt}(1)\\right|_{t=0}=\\left.\\frac{d}{dt}\\langle N(\\alpha(t)),N(\\alpha(t))\\rangle\\right|_{t=0}=\\langle dN_p(v),N(p)\\rangle+\\langle N(p),dN_p(v)\\rangle=2\\langle dN_p(v),N(p)\\rangle$."
            },
            {
              "text": "Divide by two. Thus $dN_p(v)\\perp N(p)$, and the perpendicular plane to $N(p)$ is $T_pS$, so $dN_p(v)$ is tangent."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "How does $\\|N\\|=1$ imply that $dN_p(v)$ is tangent to the surface?"
    },
    {
      "id": "compute-curve-independence",
      "title": "Gauss-map derivative along a surface curve",
      "prompt": "Let $X$ be a surface chart with $X(q)=p$. Write $\\alpha(t)=X(\\beta(t))$, where $\\beta(0)=q$ and $\\alpha'(0)=v$. Starting with $dN_p(v)$, show that differentiating $N$ along $\\alpha$ depends only on $p$ and $v$, not on the chosen curve. Rewrite using $N\\circ X$ and finish with $d(N\\circ X)_q((dX_q)^{-1}(v))$. Here $dX_q$ is inverted onto $T_pS$.",
      "learningVersion": 2,
      "editor": {
        "palette": [
          {
            "tool": "dN_p",
            "label": "dN_p"
          },
          {
            "tool": "D_0",
            "label": "D_0"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "N_X",
            "label": "N_X"
          },
          {
            "tool": "α",
            "label": "α"
          },
          {
            "tool": "β",
            "label": "β"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "dNX_q",
            "label": "dNX_q"
          },
          {
            "tool": "β'",
            "label": "β'"
          },
          {
            "tool": "dX_q",
            "label": "dX_q"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "dN_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "D_0"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "α"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "D_0"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "N_X"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "β"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "dNX_q"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "β'"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "dNX_q"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "base": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "dX_q"
                          }
                        ],
                        "kind": "row"
                      },
                      "exponent": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "1"
                          }
                        ],
                        "kind": "row"
                      },
                      "kind": "power"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "dN_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "D_0"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "α"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "D_0"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "N_X"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "β"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "dNX_q"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "β'"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "dNX_q"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "base": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "dX_q"
                          }
                        ],
                        "kind": "row"
                      },
                      "exponent": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "1"
                          }
                        ],
                        "kind": "row"
                      },
                      "kind": "power"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The proposed definition is $dN_p(v)=\\left.\\frac{d}{dt}\\right|_{0}N(\\alpha(t))$ for a surface curve with initial point $p$ and velocity $v$. The computation below shows that this does not depend on which such curve is chosen.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "dN_p"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "v"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "D_0"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "N"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "α"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ]
              },
              "text": "Begin with the derivative of the Gauss map along a curve representing the tangent vector."
            },
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "D_0"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "N"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "α"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "D_0"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "N_X"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "β"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Substitute the coordinate representation of the surface curve."
            },
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "D_0"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "N_X"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "β"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "dNX_q"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "β'"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "0"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Apply the ordinary chain rule to the composed maps."
            },
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "dNX_q"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "β'"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "0"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "dNX_q"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "base": {
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "dX_q"
                                }
                              ],
                              "kind": "row"
                            },
                            "exponent": {
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "−"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "1"
                                }
                              ],
                              "kind": "row"
                            },
                            "kind": "power"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "The chart differential sends the coordinate velocity to v; invert it onto the tangent plane. The result depends only on v, not the chosen curve."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "With $p=X(q)$, show that differentiating $N$ along a curve of velocity $v$ gives $d(N\\circ X)_q((dX_q)^{-1}(v))$, independently of the curve."
    },
    {
      "id": "compute-normal-coordinate-u",
      "title": "Normal derivative in the u direction",
      "prompt": "Let $(u_0,v_0)=X^{-1}(p)$ and $\\alpha(t)=X(u_0+t,v_0)$, so $\\alpha(0)=p$ and $\\alpha'(0)=X_u(u_0,v_0)$. Starting from $dN_p(X_u(u_0,v_0))$, use the curve definition of the differential and $N\\circ X$ to derive $N_u(u_0,v_0)$, where $N_u=\\partial_u(N\\circ X)$. Elide arguments of the form $(u_0,v_0)$ for shortness.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dN_p",
            "label": "dN_p"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "D_0",
            "label": "D_0"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "α",
            "label": "α"
          },
          {
            "tool": "N_X",
            "label": "N_X"
          },
          {
            "tool": "u_0",
            "label": "u_0"
          },
          {
            "tool": "v_0",
            "label": "v_0"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "N_u",
            "label": "N_u"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "dN_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "D_0"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "α"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "D_0"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "N_X"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "u_0"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "v_0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "N_u"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "dN_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "D_0"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "α"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "D_0"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "N_X"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "u_0"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "v_0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "N_u"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Each equality transforms the preceding expression.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "dN_p"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "D_0"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "N"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "α"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Use the definition of the differential along a curve with the specified initial velocity."
            },
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "D_0"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "N"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "α"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "D_0"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "N_X"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "u_0"
                              },
                              {
                                "kind": "symbol",
                                "text": "+"
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "v_0"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Substitute the coordinate curve into the composition."
            },
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "D_0"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "N_X"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "u_0"
                              },
                              {
                                "kind": "symbol",
                                "text": "+"
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "v_0"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "N_u"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "This is the definition of the coordinate partial derivative of the normal field."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "Using the $u$ coordinate curve through $p$, show that $dN_p(X_u)=N_u$."
    },
    {
      "id": "compute-normal-coordinate-v",
      "title": "Normal derivative in the v direction",
      "prompt": "Let $(u_0,v_0)=X^{-1}(p)$ and $\\alpha(t)=X(u_0,v_0+t)$, so $\\alpha(0)=p$ and $\\alpha'(0)=X_v$. Starting from $dN_p(X_v)$, use the curve definition of the differential and $N\\circ X$ to derive $N_v$, where $N_v=\\partial_v(N\\circ X)$. Elide arguments of the form $(u_0,v_0)$ for shortness.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dN_p",
            "label": "dN_p"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "D_0",
            "label": "D_0"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "α",
            "label": "α"
          },
          {
            "tool": "N_X",
            "label": "N_X"
          },
          {
            "tool": "u_0",
            "label": "u_0"
          },
          {
            "tool": "v_0",
            "label": "v_0"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "N_v",
            "label": "N_v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "dN_p"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "X_v"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "D_0"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "N"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "α"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "t"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "D_0"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "N_X"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "u_0"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "v_0"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "t"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "N_v"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "dN_p"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "X_v"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "D_0"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "N"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "α"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "t"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "D_0"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "N_X"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "u_0"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "v_0"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "t"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "N_v"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Each equality transforms the preceding expression.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "dN_p"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "X_v"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "symbol",
                    "text": "D_0"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "N"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "α"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "t"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ],
                "kind": "row"
              },
              "text": "Use the definition of the differential along a curve with the specified initial velocity."
            },
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "D_0"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "N"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "α"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "t"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "symbol",
                    "text": "D_0"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "N_X"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "u_0"
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "symbol",
                    "text": "v_0"
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "symbol",
                    "text": "t"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ],
                "kind": "row"
              },
              "text": "Substitute the coordinate curve into the composition."
            },
            {
              "equation": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "D_0"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "N_X"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "u_0"
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "symbol",
                    "text": "v_0"
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "symbol",
                    "text": "t"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "symbol",
                    "text": "N_v"
                  }
                ],
                "kind": "row"
              },
              "text": "This is the definition of the coordinate partial derivative of the normal field."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "Using the $v$ coordinate curve through $p$, show that $dN_p(X_v)=N_v$. Elide arguments of the form $(u_0,v_0)$."
    },
    {
      "id": "compute-normal-product-uu",
      "title": "Differentiate normality: u direction, X_u",
      "prompt": "On a smooth surface chart abbreviate $N\\circ X$ by $N$, and write $X_{ij}=\\partial_j(X_i)$. Differentiate $\\langle N,X_u\\rangle=0$ with respect to $u$. Start with $0$, then the derivative of $0$, then the derivative of the inner product, and finish with both product-rule terms. This proves $\\langle N_u,X_u\\rangle=-\\langle N,X_{uu}\\rangle$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "partial_u",
            "label": "partial_u",
            "accessibleLabel": "Partial derivative with respect to u"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "N_u",
            "label": "N_u"
          },
          {
            "tool": "X_uu",
            "label": "X_uu"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "partial_u"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "partial_u"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uu"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "partial_u"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "partial_u"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uu"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Each equality transforms the preceding expression.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "0"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "partial_u"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "The partial derivative of a constant is zero."
            },
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "partial_u"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "partial_u"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "N"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "The normal field is perpendicular to each coordinate tangent vector."
            },
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "partial_u"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "N"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "N_u"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "N"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_uu"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Apply the product rule to the inner product. Moving the second summand to the other side gives the desired negative inner product."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "Show the computation from $\\langle N,X_u\\rangle=0$ to $\\langle N_u,X_u\\rangle=-\\langle N,X_{uu}\\rangle$."
    },
    {
      "id": "compute-normal-product-uv",
      "title": "Differentiate normality: u direction, X_v",
      "prompt": "On a smooth surface chart abbreviate $N\\circ X$ by $N$, and write $X_{ij}=\\partial_j(X_i)$. Differentiate $\\langle N,X_v\\rangle=0$ with respect to $u$. Start with $0$, then the derivative of $0$, then the derivative of the inner product, and finish with both product-rule terms. This proves $\\langle N_u,X_v\\rangle=-\\langle N,X_{vu}\\rangle$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "partial_u",
            "label": "partial_u",
            "accessibleLabel": "Partial derivative with respect to u"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "N_u",
            "label": "N_u"
          },
          {
            "tool": "X_vu",
            "label": "X_vu"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "partial_u"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "partial_u"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_vu"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "partial_u"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "partial_u"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_vu"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Each equality transforms the preceding expression.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "0"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "partial_u"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "The partial derivative of a constant is zero."
            },
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "partial_u"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "partial_u"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "N"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "The normal field is perpendicular to each coordinate tangent vector."
            },
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "partial_u"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "N"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "N_u"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "N"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_vu"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Apply the product rule to the inner product. Moving the second summand to the other side gives the desired negative inner product."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "Show the computation from $\\langle N,X_v\\rangle=0$ to $\\langle N_u,X_v\\rangle=-\\langle N,X_{vu}\\rangle$."
    },
    {
      "id": "compute-normal-product-vu",
      "title": "Differentiate normality: v direction, X_u",
      "prompt": "On a smooth surface chart abbreviate $N\\circ X$ by $N$, and write $X_{ij}=\\partial_j(X_i)$. Differentiate $\\langle N,X_u\\rangle=0$ with respect to $v$. Start with $0$, then the derivative of $0$, then the derivative of the inner product, and finish with both product-rule terms. This proves $\\langle N_v,X_u\\rangle=-\\langle N,X_{uv}\\rangle$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "partial_v",
            "label": "partial_v",
            "accessibleLabel": "Partial derivative with respect to v"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "N_v",
            "label": "N_v"
          },
          {
            "tool": "X_uv",
            "label": "X_uv"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "partial_v"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "partial_v"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "partial_v"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "partial_v"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Each equality transforms the preceding expression.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "0"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "partial_v"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "The partial derivative of a constant is zero."
            },
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "partial_v"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "partial_v"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "N"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "The normal field is perpendicular to each coordinate tangent vector."
            },
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "partial_v"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "N"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "N_v"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "N"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_uv"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Apply the product rule to the inner product. Moving the second summand to the other side gives the desired negative inner product."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "Show the computation from $\\langle N,X_u\\rangle=0$ to $\\langle N_v,X_u\\rangle=-\\langle N,X_{uv}\\rangle$."
    },
    {
      "id": "compute-normal-product-vv",
      "title": "Differentiate normality: v direction, X_v",
      "prompt": "On a smooth surface chart abbreviate $N\\circ X$ by $N$, and write $X_{ij}=\\partial_j(X_i)$. Differentiate $\\langle N,X_v\\rangle=0$ with respect to $v$. Start with $0$, then the derivative of $0$, then the derivative of the inner product, and finish with both product-rule terms. This proves $\\langle N_v,X_v\\rangle=-\\langle N,X_{vv}\\rangle$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "partial_v",
            "label": "partial_v",
            "accessibleLabel": "Partial derivative with respect to v"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "N_v",
            "label": "N_v"
          },
          {
            "tool": "X_vv",
            "label": "X_vv"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "partial_v"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "partial_v"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_vv"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "partial_v"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "partial_v"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_vv"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Each equality transforms the preceding expression.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "0"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "partial_v"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "The partial derivative of a constant is zero."
            },
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "partial_v"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "partial_v"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "N"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "The normal field is perpendicular to each coordinate tangent vector."
            },
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "partial_v"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "N"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "N_v"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "N"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_vv"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Apply the product rule to the inner product. Moving the second summand to the other side gives the desired negative inner product."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "Show the computation from $\\langle N,X_v\\rangle=0$ to $\\langle N_v,X_v\\rangle=-\\langle N,X_{vv}\\rangle$."
    },
    {
      "id": "compute-normal-acceleration",
      "title": "Normal acceleration and the second fundamental form",
      "prompt": "Let $\\alpha$ be a curve on $S$ with $\\alpha(0)=p$ and $\\alpha'(0)=v$, and let $N$ be a smooth unit normal. Show that $\\mathrm{II}_p(v,v)$ equals $\\langle N(p),\\alpha''(0)\\rangle$, passing through the definition using $dN_p$ and the differentiated-normality identity from the preceding card. Unit speed is not required.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "II_p",
            "label": "II_p"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "dN_p",
            "label": "dN_p"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "α''",
            "label": "α''"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "II_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "dN_p"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "v"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "p"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "α''"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "II_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "dN_p"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "v"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "p"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "α''"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Apply the differentiated-normality identity from the preceding card to the definition of the second fundamental form.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "II_p"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "v"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "v"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dN_p"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "v"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Use the definition $\\mathrm{II}_p(v,v)=-\\langle dN_p(v),v\\rangle$."
            },
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dN_p"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "v"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "⟨"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "N"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "p"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "α''"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "0"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": "⟩"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Since $\\alpha'(t)$ is tangent, $\\langle N(\\alpha(t)),\\alpha'(t)\\rangle=0$. Differentiating at zero gives $0=\\left.\\frac{d}{dt}(0)\\right|_{t=0}=\\left.\\frac{d}{dt}\\langle N(\\alpha(t)),\\alpha'(t)\\rangle\\right|_{t=0}=\\langle dN_p(v),v\\rangle+\\langle N(p),\\alpha''(0)\\rangle$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "type": "equation-practice",
      "recallPrompt": "For $\\alpha(0)=p$ and $\\alpha'(0)=v$, prove by computation that $\\mathrm{II}_p(v,v)=\\langle N(p),\\alpha''(0)\\rangle$."
    },
    {
      "id": "compute-normal-curvature",
      "title": "Normal curvature and the second fundamental form",
      "prompt": "Let $\\alpha$ be unit-speed on $S$, with $\\alpha(0)=p$, $\\alpha'(0)=v$ and curvature $k>0$ at zero. Let $n(0)$ be its principal normal and $\\theta$ its angle with $N(p)$. Starting from the definition $k_n=k \\cos(\\theta)$, show that $k_n$ equals $\\mathrm{II}_p(v,v)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "k_n",
            "label": "k_n"
          },
          {
            "tool": "k",
            "label": "k"
          },
          {
            "tool": "cos",
            "label": "cos"
          },
          {
            "tool": "θ",
            "label": "θ"
          },
          {
            "tool": "n",
            "label": "n"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "α''",
            "label": "α''"
          },
          {
            "tool": "II_p",
            "label": "II_p"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "dN_p",
            "label": "dN_p"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "k_n"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "k"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "cos"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "θ"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "k"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "n"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "0"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "N"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "p"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "α''"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "p"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "dN_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "II_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "k_n"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "k"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "cos"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "θ"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "k"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "n"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "0"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "N"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "p"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "α''"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "p"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "dN_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "II_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Each equality transforms the preceding expression.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "k_n"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "k"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "cos"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "θ"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "The signed normal curvature is defined as $k \\cos(\\theta)$."
            },
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "k"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "cos"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "θ"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "k"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "n"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "0"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "N"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "p"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "The two normals are unit vectors, so their inner product is $\\cos(\\theta)$."
            },
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "k"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "n"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "0"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "N"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "p"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "⟨"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "α''"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "0"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "N"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "p"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": "⟩"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "For a unit-speed curve $\\alpha''(0)=k n(0)$. Move the scalar inside the inner product."
            },
            {
              "text": "Differentiating $\\langle N(\\alpha(t)),\\alpha^{\\prime}(t)\\rangle=0$ at zero gives $\\langle N(p),\\alpha^{\\prime\\prime}(0)\\rangle=-\\langle dN_p(v),v\\rangle$. By definition this is $\\mathrm{II}_p(v,v)$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 3,
      "type": "equation-practice",
      "recallPrompt": "For a unit-speed surface curve of tangent $v$, show that $k_n=k\\cos\\theta=\\mathrm{II}_p(v,v)$."
    },
    {
      "id": "compute-shape-matrix",
      "title": "From the shape operator to the second fundamental form",
      "prompt": "Let $S=-dN$, with $S(X_u)=aX_u+bX_v$ and $S(X_v)=cX_u+dX_v$. Expand $\\begin{pmatrix}E&F\\\\F&G\\end{pmatrix}\\begin{pmatrix}a&c\\\\b&d\\end{pmatrix}$ into inner products of $X_u,X_v$, then rewrite using $-dN$, and finally $\\mathrm{II}$. All quantities are evaluated at the same point.",
      "learningVersion": 2,
      "editor": {
        "palette": [
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "G",
            "label": "G"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "c",
            "label": "c"
          },
          {
            "tool": "d",
            "label": "d"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": [
              "dN",
              "(",
              ")"
            ],
            "label": "dN()"
          },
          {
            "tool": [
              "II",
              "(",
              ",",
              ")"
            ],
            "label": "II(,)"
          },
          {
            "tool": [
              "⟨",
              ",",
              "⟩"
            ],
            "label": "⟨,⟩"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}",
          "matrix"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "G"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "a"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "c"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "b"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "d"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "matrix",
              "cols": 2,
              "cells": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "d"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "d"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "matrix",
              "cols": 2,
              "cells": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "dN"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "dN"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "dN"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "dN"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "matrix",
              "cols": 2,
              "cells": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "II"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "II"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "II"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "II"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "G"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "a"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "c"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "b"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "d"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "matrix",
              "cols": 2,
              "cells": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "d"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "d"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "matrix",
              "cols": 2,
              "cells": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "dN"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "dN"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "dN"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "dN"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "matrix",
              "cols": 2,
              "cells": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "II"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "II"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "II"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "II"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The columns of the shape-operator matrix are $(a,b)$ and $(c,d)$ in the basis $(X_u,X_v)$. Multiplying by the metric matrix turns these coordinates into inner products.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "matrix",
                        "cols": 2,
                        "cells": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "E"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "F"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "F"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "G"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "kind": "matrix",
                        "cols": 2,
                        "cells": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "a"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "c"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "b"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "d"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "matrix",
                    "cols": 2,
                    "cells": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "a"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": "+"
                          },
                          {
                            "kind": "symbol",
                            "text": "b"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "c"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": "+"
                          },
                          {
                            "kind": "symbol",
                            "text": "d"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "a"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": "+"
                          },
                          {
                            "kind": "symbol",
                            "text": "b"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "c"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": "+"
                          },
                          {
                            "kind": "symbol",
                            "text": "d"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              "text": "Expand the matrix product using $E=\\langle X_u,X_u\\rangle$, $F=\\langle X_u,X_v\\rangle=\\langle X_v,X_u\\rangle$, and $G=\\langle X_v,X_v\\rangle$."
            },
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "matrix",
                    "cols": 2,
                    "cells": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "a"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": "+"
                          },
                          {
                            "kind": "symbol",
                            "text": "b"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "c"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": "+"
                          },
                          {
                            "kind": "symbol",
                            "text": "d"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "a"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": "+"
                          },
                          {
                            "kind": "symbol",
                            "text": "b"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "c"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": "+"
                          },
                          {
                            "kind": "symbol",
                            "text": "d"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "matrix",
                    "cols": 2,
                    "cells": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "symbol",
                                "text": "dN"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "symbol",
                                "text": "dN"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "symbol",
                                "text": "dN"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "symbol",
                                "text": "dN"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              "text": "Use $aX_u+bX_v=-dN(X_u)$ and $cX_u+dX_v=-dN(X_v)$ in the second argument of each inner product."
            },
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "matrix",
                    "cols": 2,
                    "cells": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "symbol",
                                "text": "dN"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "symbol",
                                "text": "dN"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "symbol",
                                "text": "dN"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "symbol",
                                "text": "dN"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "matrix",
                    "cols": 2,
                    "cells": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "II"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "II"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "II"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "II"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              "text": "By symmetry of the inner product and the definition, $\\langle v,-dN(w)\\rangle=\\langle-dN(w),v\\rangle=\\mathrm{II}(w,v)$. This step does not require self-adjointness."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 5,
      "type": "equation-practice",
      "recallPrompt": "If $S(X_u)=aX_u+bX_v$ and $S(X_v)=cX_u+dX_v$, show how multiplying the metric matrix by the matrix of $S=-dN$ gives the second-form matrix."
    },
    {
      "id": "compute-second-form-matrix",
      "title": "Computing the second fundamental form",
      "prompt": "Rewrite $\\begin{pmatrix}\\mathrm{II}(X_u,X_u)&\\mathrm{II}(X_u,X_v)\\\\\\mathrm{II}(X_v,X_u)&\\mathrm{II}(X_v,X_v)\\end{pmatrix}$ first using $-dN$, then $N_u,N_v$, and finally $N$ and the second derivatives of $X$. Use $\\langle N,X_u\\rangle=\\langle N,X_v\\rangle=0$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": [
              "II",
              "(",
              ",",
              ")"
            ],
            "label": "II(,)"
          },
          {
            "tool": [
              "dN",
              "(",
              ")"
            ],
            "label": "dN()"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "N_u",
            "label": "N_u"
          },
          {
            "tool": "N_v",
            "label": "N_v"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "X_uu",
            "label": "X_uu"
          },
          {
            "tool": "X_uv",
            "label": "X_uv"
          },
          {
            "tool": "X_vv",
            "label": "X_vv"
          },
          {
            "tool": [
              "⟨",
              ",",
              "⟩"
            ],
            "label": "⟨,⟩"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}",
          "matrix"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "matrix",
              "cols": 2,
              "cells": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "II"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "II"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "II"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "II"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "matrix",
              "cols": 2,
              "cells": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "dN"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "dN"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "dN"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "dN"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "N_u"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "N_u"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "N_v"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "N_v"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "matrix",
              "cols": 2,
              "cells": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uu"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_vv"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "matrix",
              "cols": 2,
              "cells": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "II"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "II"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "II"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "II"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "matrix",
              "cols": 2,
              "cells": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "dN"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "dN"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "dN"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "dN"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "N_u"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "N_u"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "N_v"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "N_v"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "matrix",
              "cols": 2,
              "cells": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uu"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_vv"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Convert the definition of $\\mathrm{II}$ into derivatives of the parametrization, keeping all four entries and their signs.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "matrix",
                    "cols": 2,
                    "cells": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "II"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "II"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "II"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "II"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "matrix",
                    "cols": 2,
                    "cells": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "symbol",
                                "text": "dN"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "symbol",
                                "text": "dN"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "symbol",
                                "text": "dN"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "symbol",
                                "text": "dN"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              "text": "Expand $\\mathrm{II}(v,w)=\\langle-dN(v),w\\rangle$."
            },
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "matrix",
                    "cols": 2,
                    "cells": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "symbol",
                                "text": "dN"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "symbol",
                                "text": "dN"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "symbol",
                                "text": "dN"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "symbol",
                                "text": "dN"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "matrix",
                        "cols": 2,
                        "cells": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "kind": "symbol",
                                "text": "N_u"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "kind": "symbol",
                                "text": "N_u"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "kind": "symbol",
                                "text": "N_v"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "kind": "symbol",
                                "text": "N_v"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              "text": "The chain rule gives $dN(X_u)=N_u$ and $dN(X_v)=N_v$. Factor the common minus outside the matrix."
            },
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "matrix",
                        "cols": 2,
                        "cells": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "kind": "symbol",
                                "text": "N_u"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "kind": "symbol",
                                "text": "N_u"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "kind": "symbol",
                                "text": "N_v"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "kind": "symbol",
                                "text": "N_v"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "matrix",
                    "cols": 2,
                    "cells": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "N"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_uu"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "N"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_uv"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "N"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_uv"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "N"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_vv"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              "text": "Differentiate the normality identities and use $X_{uv}=X_{vu}$. For example, $0=\\partial_u(0)=\\partial_u\\langle N,X_v\\rangle=\\langle N_u,X_v\\rangle+\\langle N,X_{vu}\\rangle$, so $-\\langle N_u,X_v\\rangle=\\langle N,X_{vu}\\rangle=\\langle N,X_{uv}\\rangle$. The final matrix has positive signs."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 5,
      "type": "equation-practice",
      "recallPrompt": "Show how the matrix of $\\mathrm{II}$ in the basis $(X_u,X_v)$ is computed from $N$ and the second derivatives of $X$."
    },
    {
      "id": "compute-shape-first",
      "title": "Metric–shape relation: first column",
      "prompt": "Let $S=-dN_p$, with $S(X_u)=aX_u+bX_v$ and $S(X_v)=cX_u+dX_v$. In the chart basis, $E=\\langle X_u,X_u\\rangle$, $F=\\langle X_u,X_v\\rangle$, $G=\\langle X_v,X_v\\rangle$, and $e,f,g$ are the second-form coefficients. Express the column $(e,f)$ as the metric matrix times $(a,b)$, expanding both inner products along the way. All entries are evaluated at $p$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "S",
            "label": "S"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "e",
            "label": "e"
          },
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "G",
            "label": "G"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}",
          "column",
          "matrix"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "cells": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "e"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "f"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "cols": 1,
              "kind": "matrix"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "cells": [
                {
                  "children": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "S"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "X_u"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "S"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "X_u"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "cols": 1,
              "kind": "matrix"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "cells": [
                {
                  "children": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "a"
                            },
                            {
                              "kind": "symbol",
                              "text": "X_u"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "kind": "symbol",
                              "text": "b"
                            },
                            {
                              "kind": "symbol",
                              "text": "X_v"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "a"
                            },
                            {
                              "kind": "symbol",
                              "text": "X_u"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "kind": "symbol",
                              "text": "b"
                            },
                            {
                              "kind": "symbol",
                              "text": "X_v"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "cols": 1,
              "kind": "matrix"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "cells": [
                {
                  "children": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "a"
                        },
                        {
                          "kind": "symbol",
                          "text": "E"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "b"
                        },
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "a"
                        },
                        {
                          "kind": "symbol",
                          "text": "F"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "b"
                        },
                        {
                          "kind": "symbol",
                          "text": "G"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "cols": 1,
              "kind": "matrix"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "cells": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "G"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "cols": 2,
                  "kind": "matrix"
                },
                {
                  "cells": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "a"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "b"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "cols": 1,
                  "kind": "matrix"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "cells": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "e"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "f"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "cols": 1,
              "kind": "matrix"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "cells": [
                {
                  "children": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "S"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "X_u"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "S"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "X_u"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "cols": 1,
              "kind": "matrix"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "cells": [
                {
                  "children": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "a"
                            },
                            {
                              "kind": "symbol",
                              "text": "X_u"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "kind": "symbol",
                              "text": "b"
                            },
                            {
                              "kind": "symbol",
                              "text": "X_v"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "a"
                            },
                            {
                              "kind": "symbol",
                              "text": "X_u"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "kind": "symbol",
                              "text": "b"
                            },
                            {
                              "kind": "symbol",
                              "text": "X_v"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "cols": 1,
              "kind": "matrix"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "cells": [
                {
                  "children": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "a"
                        },
                        {
                          "kind": "symbol",
                          "text": "E"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "b"
                        },
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "a"
                        },
                        {
                          "kind": "symbol",
                          "text": "F"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "b"
                        },
                        {
                          "kind": "symbol",
                          "text": "G"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "cols": 1,
              "kind": "matrix"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "cells": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "G"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "cols": 2,
                  "kind": "matrix"
                },
                {
                  "cells": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "a"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "b"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "cols": 1,
                  "kind": "matrix"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Each equality transforms the preceding expression.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "cells": [
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "e"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "f"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "cols": 1,
                    "kind": "matrix"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "cells": [
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "S"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "("
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "X_u"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ")"
                                  }
                                ],
                                "kind": "row"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "S"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "("
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "X_u"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ")"
                                  }
                                ],
                                "kind": "row"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "cols": 1,
                    "kind": "matrix"
                  }
                ],
                "kind": "row"
              },
              "text": "Use $\\mathrm{II}_p(v,w)=\\langle S(v),w\\rangle$ and symmetry of $\\mathrm{II}_p$."
            },
            {
              "equation": {
                "children": [
                  {
                    "cells": [
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "S"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "("
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "X_u"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ")"
                                  }
                                ],
                                "kind": "row"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "S"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "("
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "X_u"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ")"
                                  }
                                ],
                                "kind": "row"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "cols": 1,
                    "kind": "matrix"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "cells": [
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "a"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "X_u"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "+"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "b"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "X_v"
                                  }
                                ],
                                "kind": "row"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "a"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "X_u"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "+"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "b"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "X_v"
                                  }
                                ],
                                "kind": "row"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "cols": 1,
                    "kind": "matrix"
                  }
                ],
                "kind": "row"
              },
              "text": "Substitute $S(X_u)=aX_u+bX_v$."
            },
            {
              "equation": {
                "children": [
                  {
                    "cells": [
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "a"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "X_u"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "+"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "b"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "X_v"
                                  }
                                ],
                                "kind": "row"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "a"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "X_u"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "+"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "b"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "X_v"
                                  }
                                ],
                                "kind": "row"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "cols": 1,
                    "kind": "matrix"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "cells": [
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "a"
                              },
                              {
                                "kind": "symbol",
                                "text": "E"
                              },
                              {
                                "kind": "symbol",
                                "text": "+"
                              },
                              {
                                "kind": "symbol",
                                "text": "b"
                              },
                              {
                                "kind": "symbol",
                                "text": "F"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "a"
                              },
                              {
                                "kind": "symbol",
                                "text": "F"
                              },
                              {
                                "kind": "symbol",
                                "text": "+"
                              },
                              {
                                "kind": "symbol",
                                "text": "b"
                              },
                              {
                                "kind": "symbol",
                                "text": "G"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "cols": 1,
                    "kind": "matrix"
                  }
                ],
                "kind": "row"
              },
              "text": "Expand by bilinearity, using the metric coefficients and symmetry of the inner product."
            },
            {
              "equation": {
                "children": [
                  {
                    "cells": [
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "a"
                              },
                              {
                                "kind": "symbol",
                                "text": "E"
                              },
                              {
                                "kind": "symbol",
                                "text": "+"
                              },
                              {
                                "kind": "symbol",
                                "text": "b"
                              },
                              {
                                "kind": "symbol",
                                "text": "F"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "a"
                              },
                              {
                                "kind": "symbol",
                                "text": "F"
                              },
                              {
                                "kind": "symbol",
                                "text": "+"
                              },
                              {
                                "kind": "symbol",
                                "text": "b"
                              },
                              {
                                "kind": "symbol",
                                "text": "G"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "cols": 1,
                    "kind": "matrix"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "cells": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "E"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "F"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "F"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "G"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "cols": 2,
                        "kind": "matrix"
                      },
                      {
                        "cells": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "a"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "b"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "cols": 1,
                        "kind": "matrix"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "These two linear combinations are the rows of the matrix–column product. Together the two column identities give $B=MA$, where $B$ represents $\\mathrm{II}$, $M$ represents $\\mathrm{I}$, and $A$ represents $-dN_p$; hence $A=M^{-1}B$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 3,
      "retired": true,
      "type": "equation-practice",
      "recallPrompt": "Given $S(X_u)=aX_u+bX_v$, show that $(e,f)^T$ is the metric matrix times $(a,b)^T$."
    },
    {
      "id": "compute-shape-second",
      "title": "Metric–shape relation: second column",
      "prompt": "Let $S=-dN_p$, with $S(X_u)=aX_u+bX_v$ and $S(X_v)=cX_u+dX_v$. In the chart basis, $E=\\langle X_u,X_u\\rangle$, $F=\\langle X_u,X_v\\rangle$, $G=\\langle X_v,X_v\\rangle$, and $e,f,g$ are the second-form coefficients. Express the column $(f,g)$ as the metric matrix times $(c,d)$, expanding both inner products along the way. All entries are evaluated at $p$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "S",
            "label": "S"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "c",
            "label": "c"
          },
          {
            "tool": "d",
            "label": "d"
          },
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "g",
            "label": "g"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "G",
            "label": "G"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}",
          "column",
          "matrix"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "cells": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "f"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "g"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "cols": 1,
              "kind": "matrix"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "cells": [
                {
                  "children": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "S"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "X_v"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "S"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "X_v"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "cols": 1,
              "kind": "matrix"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "cells": [
                {
                  "children": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "c"
                            },
                            {
                              "kind": "symbol",
                              "text": "X_u"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "kind": "symbol",
                              "text": "d"
                            },
                            {
                              "kind": "symbol",
                              "text": "X_v"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "c"
                            },
                            {
                              "kind": "symbol",
                              "text": "X_u"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "kind": "symbol",
                              "text": "d"
                            },
                            {
                              "kind": "symbol",
                              "text": "X_v"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "cols": 1,
              "kind": "matrix"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "cells": [
                {
                  "children": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "c"
                        },
                        {
                          "kind": "symbol",
                          "text": "E"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "d"
                        },
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "c"
                        },
                        {
                          "kind": "symbol",
                          "text": "F"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "d"
                        },
                        {
                          "kind": "symbol",
                          "text": "G"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "cols": 1,
              "kind": "matrix"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "cells": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "G"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "cols": 2,
                  "kind": "matrix"
                },
                {
                  "cells": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "c"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "d"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "cols": 1,
                  "kind": "matrix"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "cells": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "f"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "g"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "cols": 1,
              "kind": "matrix"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "cells": [
                {
                  "children": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "S"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "X_v"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "S"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "X_v"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "cols": 1,
              "kind": "matrix"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "cells": [
                {
                  "children": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "c"
                            },
                            {
                              "kind": "symbol",
                              "text": "X_u"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "kind": "symbol",
                              "text": "d"
                            },
                            {
                              "kind": "symbol",
                              "text": "X_v"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "c"
                            },
                            {
                              "kind": "symbol",
                              "text": "X_u"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "kind": "symbol",
                              "text": "d"
                            },
                            {
                              "kind": "symbol",
                              "text": "X_v"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "cols": 1,
              "kind": "matrix"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "cells": [
                {
                  "children": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "c"
                        },
                        {
                          "kind": "symbol",
                          "text": "E"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "d"
                        },
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "c"
                        },
                        {
                          "kind": "symbol",
                          "text": "F"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "d"
                        },
                        {
                          "kind": "symbol",
                          "text": "G"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "cols": 1,
              "kind": "matrix"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "cells": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "G"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "cols": 2,
                  "kind": "matrix"
                },
                {
                  "cells": [
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "c"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "d"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "cols": 1,
                  "kind": "matrix"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Each equality transforms the preceding expression.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "cells": [
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "f"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "g"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "cols": 1,
                    "kind": "matrix"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "cells": [
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "S"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "("
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "X_v"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ")"
                                  }
                                ],
                                "kind": "row"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "S"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "("
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "X_v"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ")"
                                  }
                                ],
                                "kind": "row"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "cols": 1,
                    "kind": "matrix"
                  }
                ],
                "kind": "row"
              },
              "text": "Use $\\mathrm{II}_p(v,w)=\\langle S(v),w\\rangle$ and symmetry of $\\mathrm{II}_p$."
            },
            {
              "equation": {
                "children": [
                  {
                    "cells": [
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "S"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "("
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "X_v"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ")"
                                  }
                                ],
                                "kind": "row"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "S"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "("
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "X_v"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ")"
                                  }
                                ],
                                "kind": "row"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "cols": 1,
                    "kind": "matrix"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "cells": [
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "c"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "X_u"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "+"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "d"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "X_v"
                                  }
                                ],
                                "kind": "row"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "c"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "X_u"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "+"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "d"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "X_v"
                                  }
                                ],
                                "kind": "row"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "cols": 1,
                    "kind": "matrix"
                  }
                ],
                "kind": "row"
              },
              "text": "Substitute $S(X_v)=cX_u+dX_v$."
            },
            {
              "equation": {
                "children": [
                  {
                    "cells": [
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "c"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "X_u"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "+"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "d"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "X_v"
                                  }
                                ],
                                "kind": "row"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "⟨"
                              },
                              {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "c"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "X_u"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "+"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "d"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "X_v"
                                  }
                                ],
                                "kind": "row"
                              },
                              {
                                "kind": "symbol",
                                "text": ","
                              },
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": "⟩"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "cols": 1,
                    "kind": "matrix"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "cells": [
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "c"
                              },
                              {
                                "kind": "symbol",
                                "text": "E"
                              },
                              {
                                "kind": "symbol",
                                "text": "+"
                              },
                              {
                                "kind": "symbol",
                                "text": "d"
                              },
                              {
                                "kind": "symbol",
                                "text": "F"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "c"
                              },
                              {
                                "kind": "symbol",
                                "text": "F"
                              },
                              {
                                "kind": "symbol",
                                "text": "+"
                              },
                              {
                                "kind": "symbol",
                                "text": "d"
                              },
                              {
                                "kind": "symbol",
                                "text": "G"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "cols": 1,
                    "kind": "matrix"
                  }
                ],
                "kind": "row"
              },
              "text": "Expand by bilinearity, using the metric coefficients and symmetry of the inner product."
            },
            {
              "equation": {
                "children": [
                  {
                    "cells": [
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "c"
                              },
                              {
                                "kind": "symbol",
                                "text": "E"
                              },
                              {
                                "kind": "symbol",
                                "text": "+"
                              },
                              {
                                "kind": "symbol",
                                "text": "d"
                              },
                              {
                                "kind": "symbol",
                                "text": "F"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "children": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "c"
                              },
                              {
                                "kind": "symbol",
                                "text": "F"
                              },
                              {
                                "kind": "symbol",
                                "text": "+"
                              },
                              {
                                "kind": "symbol",
                                "text": "d"
                              },
                              {
                                "kind": "symbol",
                                "text": "G"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "cols": 1,
                    "kind": "matrix"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "cells": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "E"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "F"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "F"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "G"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "cols": 2,
                        "kind": "matrix"
                      },
                      {
                        "cells": [
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "c"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "d"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "cols": 1,
                        "kind": "matrix"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "These two linear combinations are the rows of the matrix–column product. Together the two column identities give $B=MA$, where $B$ represents $\\mathrm{II}$, $M$ represents $\\mathrm{I}$, and $A$ represents $-dN_p$; hence $A=M^{-1}B$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 3,
      "retired": true,
      "type": "equation-practice",
      "recallPrompt": "Given $S(X_v)=cX_u+dX_v$, show that $(f,g)^T$ is the metric matrix times $(c,d)^T$."
    },
    {
      "id": "matrix-sizes",
      "title": "Matrix size playground",
      "prompt": "Hold Option (Alt) and type the row count, then the column count (1–3 each). Try every size; one-row matrices use commas. For a checked answer, enter a 3 by 3 matrix with $a$ on the diagonal and 0 elsewhere.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "c",
            "label": "c"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}",
          "matrix-1x1",
          "matrix-1x2",
          "matrix-1x3",
          "column",
          "matrix",
          "matrix-2x3",
          "matrix-3x1",
          "matrix-3x2",
          "matrix-3x3"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "cells": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "a"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "a"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "a"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "cols": 3,
              "kind": "matrix"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof"
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l14-metric-determinant",
      "title": "Metric determinant",
      "prompt": "Write $\\Delta$, the determinant of the first fundamental form.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "Δ",
            "label": "Δ"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "G",
            "label": "G"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "Δ"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "E"
                },
                {
                  "kind": "symbol",
                  "text": "G"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "base": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "F"
                      }
                    ],
                    "kind": "row"
                  },
                  "exponent": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "power"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The Gram matrix is $\\left(\\begin{smallmatrix}E&F\\\\F&G\\end{smallmatrix}\\right)$, whose determinant is $EG-F^2$. Regularity makes it positive; it is the squared area of the tangent parallelogram."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l14-gram-determinant-area",
      "type": "equation-practice",
      "title": "Gram determinant and area",
      "prompt": "Let $A$ be the area of the parallelogram spanned by the tangent vectors $X_u,X_v$ of a regular surface chart. Express $A^2$ in terms of the first fundamental-form coefficients $E,F,G$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "G",
            "label": "G"
          }
        ],
        "operations": [
          "=",
          "−",
          "+",
          "(",
          ")",
          "square",
          "power",
          "sqrt",
          "||",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "A"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "E"
                },
                {
                  "kind": "symbol",
                  "text": "G"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "F"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The Gram matrix of $X_u,X_v$ is $\\begin{pmatrix}E&F\\\\F&G\\end{pmatrix}$. Its determinant is the squared area of their parallelogram. Expanding this $2\\times2$ determinant gives $EG-F^2$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      }
    },
    {
      "id": "l14-gram-schmidt-area",
      "type": "equation-practice",
      "title": "Area squared via Gram–Schmidt",
      "prompt": "Put $w=X_v-\\frac FE X_u$. Then $w\\perp X_u$ and $X_u\\times X_v=X_u\\times w$. Compute $\\|w\\|^2$ and $\\|X_u\\times X_v\\|^2$ in terms of the first fundamental form coefficients $E,F,G$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "w",
            "label": "w"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "G",
            "label": "G"
          }
        ],
        "operations": [
          "=",
          "−",
          "+",
          ",",
          "(",
          ")",
          "fraction",
          "square",
          "||",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "w"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "G"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "F"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "E"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "F"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "E"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "G"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "E"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "×"
                  },
                  {
                    "kind": "symbol",
                    "text": "X_v"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "×"
                  },
                  {
                    "kind": "symbol",
                    "text": "w"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "w"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "E"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "G"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "E"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "E"
            },
            {
              "kind": "symbol",
              "text": "G"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "F"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Expand $\\langle X_v-\\frac FE X_u,X_v-\\frac FE X_u\\rangle$ by bilinearity, then use $\\langle X_v,X_v\\rangle=G$, $\\langle X_u,X_v\\rangle=F$ and $\\langle X_u,X_u\\rangle=E$.",
          "steps": [
            {
              "text": "Because $w\\perp X_u$, the cross product has length $\\|X_u\\|\\|w\\|$. Substituting the computed value of $\\|w\\|^2$ gives the second chain."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "positive": [
          "E"
        ],
        "nonnegative": [
          "G"
        ],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 3,
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "w"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "G"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "F"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "E"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "F"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "E"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "G"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "E"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "×"
                  },
                  {
                    "kind": "symbol",
                    "text": "X_v"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "×"
                  },
                  {
                    "kind": "symbol",
                    "text": "w"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "w"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "E"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "G"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "E"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "E"
            },
            {
              "kind": "symbol",
              "text": "G"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "F"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            }
          ]
        }
      ]
    },
    {
      "id": "l14-metric-uu-u",
      "title": "Metric identity from the u-derivative of E",
      "prompt": "Express $\\langle X_{uu},X_u\\rangle$ using derivatives of $E, F, G$. Build a chain of equalities. Pass through one half of the coordinate derivative of the corresponding squared tangent length.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "X_uu",
            "label": "X_uu"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "E_u",
            "label": "E_u"
          },
          {
            "tool": "∂",
            "label": "∂"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "1/2",
            "label": "1/2",
            "accessibleLabel": "One half"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uu"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "1/2"
                },
                {
                  "bottom": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "u"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "fraction",
                  "top": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "kind": "row"
                  }
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "1/2"
                    },
                    {
                      "kind": "symbol",
                      "text": "E_u"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uu"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "1/2"
                },
                {
                  "bottom": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "u"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "fraction",
                  "top": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "kind": "row"
                  }
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "1/2"
                    },
                    {
                      "kind": "symbol",
                      "text": "E_u"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "$E_u=\\langle X_{uu},X_u\\rangle+\\langle X_u,X_{uu}\\rangle=2\\langle X_{uu},X_u\\rangle$. Divide by two."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "type": "equation-practice",
      "recallPrompt": "Compute $\\langle X_{uu},X_u\\rangle$ from derivatives of the metric coefficients."
    },
    {
      "id": "l14-metric-uv-u",
      "title": "Metric identity from the v-derivative of E",
      "prompt": "Express $\\langle X_{uv},X_u\\rangle$ using derivatives of $E, F, G$. Build a chain of equalities. Pass through one half of the coordinate derivative of the corresponding squared tangent length.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "X_uv",
            "label": "X_uv"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "E_v",
            "label": "E_v"
          },
          {
            "tool": "∂",
            "label": "∂"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "1/2",
            "label": "1/2",
            "accessibleLabel": "One half"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "1/2"
                },
                {
                  "bottom": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "fraction",
                  "top": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "kind": "row"
                  }
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "1/2"
                    },
                    {
                      "kind": "symbol",
                      "text": "E_v"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "1/2"
                },
                {
                  "bottom": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "fraction",
                  "top": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "kind": "row"
                  }
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "1/2"
                    },
                    {
                      "kind": "symbol",
                      "text": "E_v"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "$E_v=\\langle X_{uv},X_u\\rangle+\\langle X_u,X_{uv}\\rangle=2\\langle X_{uv},X_u\\rangle$. Divide by two."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "type": "equation-practice",
      "recallPrompt": "Compute $\\langle X_{uv},X_u\\rangle$ from derivatives of the metric coefficients."
    },
    {
      "id": "l14-metric-uu-v",
      "title": "Mixed metric identity from the u-derivative of F",
      "prompt": "Express $\\langle X_{uu},X_v\\rangle$ using derivatives of $E, F, G$. Build a chain of equalities. Pass through the derivative of $\\langle X_u,X_v\\rangle$ minus $\\langle X_u,X_{uv}\\rangle$, then replace the derivative by $F_u$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "X_uu",
            "label": "X_uu"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "F_u",
            "label": "F_u"
          },
          {
            "tool": "E_v",
            "label": "E_v"
          },
          {
            "tool": "∂",
            "label": "∂"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "X_uv",
            "label": "X_uv"
          },
          {
            "tool": "1/2",
            "label": "1/2",
            "accessibleLabel": "One half"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uu"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "bottom": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "u"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "fraction",
                  "top": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "kind": "row"
                  }
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "F_u"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "F_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "1/2"
                    },
                    {
                      "kind": "symbol",
                      "text": "E_v"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uu"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "bottom": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "u"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "fraction",
                  "top": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "kind": "row"
                  }
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "F_u"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "F_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "1/2"
                    },
                    {
                      "kind": "symbol",
                      "text": "E_v"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "$F_u=\\langle X_{uu},X_v\\rangle+\\langle X_u,X_{vu}\\rangle$. Move the second term to the other side, then use $X_{vu}=X_{uv}$ and $\\langle X_u,X_{uv}\\rangle=E_v/2$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "Compute $\\langle X_{uu},X_v\\rangle$ from derivatives of the metric coefficients."
    },
    {
      "id": "l14-metric-uv-v",
      "title": "Metric identity from the u-derivative of G",
      "prompt": "Express $\\langle X_{uv},X_v\\rangle$ using derivatives of $E, F, G$. Build a chain of equalities. Pass through one half of the coordinate derivative of the corresponding squared tangent length.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "X_uv",
            "label": "X_uv"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "G_u",
            "label": "G_u"
          },
          {
            "tool": "∂",
            "label": "∂"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "1/2",
            "label": "1/2",
            "accessibleLabel": "One half"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "1/2"
                },
                {
                  "bottom": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "u"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "fraction",
                  "top": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "kind": "row"
                  }
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "1/2"
                    },
                    {
                      "kind": "symbol",
                      "text": "G_u"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "1/2"
                },
                {
                  "bottom": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "u"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "fraction",
                  "top": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "kind": "row"
                  }
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "1/2"
                    },
                    {
                      "kind": "symbol",
                      "text": "G_u"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "$G_u=\\langle X_{vu},X_v\\rangle+\\langle X_v,X_{vu}\\rangle=2\\langle X_{uv},X_v\\rangle$, using $X_{vu}=X_{uv}$. Divide by two."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "type": "equation-practice",
      "recallPrompt": "Compute $\\langle X_{uv},X_v\\rangle$ from derivatives of the metric coefficients."
    },
    {
      "id": "l14-frame-e1",
      "title": "Gram–Schmidt: first tangent vector",
      "prompt": "For a regular surface chart $X$, apply Gram–Schmidt to $X_u,X_v$, in that order. Give the first unit vector $e_1$ using $X_u$ and its norm.",
      "learningVersion": 2,
      "editor": {
        "palette": [
          {
            "tool": "e_1",
            "label": "e_1"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "e_1"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Regularity gives $X_u\\ne0$. Dividing by its positive norm gives a unit vector in the same direction."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice",
      "recallPrompt": "For a regular surface chart $X$, apply Gram–Schmidt to $X_u,X_v$, in that order. Give the first unit vector $e_1$ using $X_u$ and its norm."
    },
    {
      "id": "l14-frame-e2",
      "title": "Gram–Schmidt: second tangent vector",
      "prompt": "Let $e_1=X_u/\\|X_u\\|$. Apply Gram–Schmidt to $X_u,X_v$: give $e_2$ by subtracting the projection of $X_v$ onto $e_1$, then normalizing. Use $X_v,e_1$ and inner products.",
      "learningVersion": 2,
      "editor": {
        "palette": [
          {
            "tool": "e_2",
            "label": "e_2"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "e_1",
            "label": "e_1"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "e_2"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X_v"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "symbol",
                    "text": "⟨"
                  },
                  {
                    "kind": "symbol",
                    "text": "X_v"
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "symbol",
                    "text": "e_1"
                  },
                  {
                    "kind": "symbol",
                    "text": "⟩"
                  },
                  {
                    "kind": "symbol",
                    "text": "e_1"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_v"
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "⟨"
                      },
                      {
                        "kind": "symbol",
                        "text": "X_v"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "e_1"
                      },
                      {
                        "kind": "symbol",
                        "text": "⟩"
                      },
                      {
                        "kind": "symbol",
                        "text": "e_1"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The projection onto the unit vector $e_1$ is $\\langle X_v,e_1\\rangle e_1$. Subtracting it leaves a vector orthogonal to $e_1$."
            },
            {
              "text": "That vector is nonzero because $X_u,X_v$ are independent. Dividing by its norm gives unit length. This order gives $e_1\\times e_2=(X_u\\times X_v)/\\|X_u\\times X_v\\|$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "e_2": "vector",
          "w": "vector",
          "X_u": "vector",
          "X_v": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "Δ"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice",
      "recallPrompt": "Let $e_1=X_u/\\|X_u\\|$. Apply Gram–Schmidt to $X_u,X_v$: give $e_2$ by subtracting the projection of $X_v$ onto $e_1$, then normalizing. Use $X_v,e_1$ and inner products."
    },
    {
      "id": "l14-curvature-special",
      "title": "Gaussian curvature when E=1 and F=0",
      "prompt": "In coordinates with $E=1$ and $F=0$ throughout the chart, express $K$ using $G$ and its $u$-derivatives.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "K",
            "label": "K"
          },
          {
            "tool": "G",
            "label": "G"
          },
          {
            "tool": "∂",
            "label": "∂"
          },
          {
            "tool": "u",
            "label": "u"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "K"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "radical",
                    "radicand": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "G"
                        }
                      ],
                      "kind": "row"
                    }
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "1"
                  }
                ],
                "kind": "row"
              }
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "∂"
                  },
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "u"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "∂"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  },
                  {
                    "children": [
                      {
                        "kind": "radical",
                        "radicand": {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "G"
                            }
                          ],
                          "kind": "row"
                        }
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "For $E=1,F=0$ throughout the chart, $\\Delta=G$. The L14a metric formulas give $\\alpha_1=0$ and $\\alpha_2=G_u/(2\\sqrt G)=(\\sqrt G)_u$."
            },
            {
              "text": "Substitute into $K=((\\alpha_1)_v-(\\alpha_2)_u)/\\sqrt\\Delta$ to obtain $K=-(\\sqrt G)_{uu}/\\sqrt G$. Values $E=1,F=0$ at just one point would not suffice."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l14-velocity",
      "title": "Velocity of a varied curve",
      "prompt": "For $\\gamma_s(t)=X(u(s,t),v(s,t))$, express its $t$-velocity. Use $\\dot{\\gamma}$ for this velocity.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dot_γ",
            "label": "dot_γ"
          },
          {
            "tool": "dot_u",
            "label": "dot_u"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "dot_v",
            "label": "dot_v"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "dot_γ"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "dot_u"
            },
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "dot_v"
            },
            {
              "kind": "symbol",
              "text": "X_v"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "With $s$ fixed, the chain rule gives $\\partial_t\\gamma_s=X_u\\partial_tu+X_v\\partial_tv$. Evaluate both chart tangents at $(u(s,t),v(s,t))$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l14-speed",
      "title": "Squared speed in surface coordinates",
      "prompt": "For $\\gamma_s(t)=X(u(s,t),v(s,t))$, dots mean $\\partial_t$ and $s$ labels the variation. Write $R$, the squared speed of $\\gamma_s$, using $E, F, G$ and the coordinate velocities.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "R",
            "label": "R"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "dot_u",
            "label": "dot_u"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "dot_v",
            "label": "dot_v"
          },
          {
            "tool": "G",
            "label": "G"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "R"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "E"
            },
            {
              "base": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "dot_u"
                  }
                ],
                "kind": "row"
              },
              "exponent": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ],
                "kind": "row"
              },
              "kind": "power"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "F"
            },
            {
              "kind": "symbol",
              "text": "dot_u"
            },
            {
              "kind": "symbol",
              "text": "dot_v"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "G"
            },
            {
              "base": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "dot_v"
                  }
                ],
                "kind": "row"
              },
              "exponent": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ],
                "kind": "row"
              },
              "kind": "power"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Substitute $\\dot\\gamma=\\dot uX_u+\\dot vX_v$ into $R=\\langle\\dot\\gamma,\\dot\\gamma\\rangle$. The diagonal terms are $E\\dot u^2$ and $G\\dot v^2$; symmetry makes both mixed terms $F\\dot u\\dot v$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l14-length",
      "title": "Length functional",
      "prompt": "Let $R(s,t)=\\|\\partial_t\\gamma_s(t)\\|^2$. Express the length $L(s)$ of $\\gamma_s$ on $[a,b]$ using $R$, omitting its arguments $(s,t)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "L",
            "label": "L"
          },
          {
            "tool": "int_ab",
            "label": "int_ab"
          },
          {
            "tool": "R",
            "label": "R"
          },
          {
            "tool": "dt",
            "label": "dt"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "L"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "int_ab"
                },
                {
                  "children": [
                    {
                      "kind": "radical",
                      "radicand": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "R"
                          }
                        ],
                        "kind": "row"
                      }
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "dt"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Length is the integral of speed. Since $R$ is squared speed, the integrand is $\\sqrt R$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l14-differentiate-length",
      "title": "Length variation before integration by parts",
      "prompt": "Let $R(s,t)=\\|\\partial_t\\gamma_s(t)\\|^2>0$ and $L(s)=\\int_a^b\\sqrt{R(s,t)}\\,dt$ for a smooth variation. Compute $\\partial_sL$, omitting arguments $(s,t)$ of $R$. Do not set $s=0$.",
      "learningVersion": 2,
      "editor": {
        "palette": [
          {
            "tool": "∂",
            "label": "∂"
          },
          {
            "tool": "L",
            "label": "L"
          },
          {
            "tool": "s",
            "label": "s"
          },
          {
            "tool": "int_ab",
            "label": "int_ab"
          },
          {
            "tool": "R",
            "label": "R"
          },
          {
            "tool": "R",
            "label": "R"
          },
          {
            "tool": "dt",
            "label": "dt"
          },
          {
            "tool": "1/2",
            "label": "1/2",
            "accessibleLabel": "One half"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "∂"
                  },
                  {
                    "kind": "symbol",
                    "text": "s"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "∂"
                  },
                  {
                    "kind": "symbol",
                    "text": "L"
                  }
                ],
                "kind": "row"
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "int_ab"
                },
                {
                  "children": [
                    {
                      "kind": "fraction",
                      "top": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "1"
                          }
                        ]
                      },
                      "bottom": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          },
                          {
                            "kind": "radical",
                            "radicand": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "R"
                                }
                              ]
                            }
                          }
                        ]
                      }
                    },
                    {
                      "bottom": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          },
                          {
                            "kind": "symbol",
                            "text": "s"
                          }
                        ],
                        "kind": "row"
                      },
                      "kind": "fraction",
                      "top": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          },
                          {
                            "kind": "symbol",
                            "text": "R"
                          }
                        ],
                        "kind": "row"
                      }
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "dt"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The endpoints of integration are fixed. Smoothness and $R>0$ allow differentiation under the integral; the chain rule gives $\\partial_s\\sqrt R=(\\partial_sR)/(2\\sqrt R)$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l14-chain-rule-E",
      "title": "Chain rule for the metric coefficient E",
      "prompt": "For $\\gamma_s(t)=X(u(s,t),v(s,t))$, dots mean $\\partial_t$ and $s$ labels the variation. Expand $\\frac{\\partial E}{\\partial s}$ along the family using the chain rule.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "∂",
            "label": "∂"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "s",
            "label": "s"
          },
          {
            "tool": "E_u",
            "label": "E_u"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "E_v",
            "label": "E_v"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "∂"
                  },
                  {
                    "kind": "symbol",
                    "text": "s"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "∂"
                  },
                  {
                    "kind": "symbol",
                    "text": "E"
                  }
                ],
                "kind": "row"
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "E_u"
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "∂"
                  },
                  {
                    "kind": "symbol",
                    "text": "s"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "∂"
                  },
                  {
                    "kind": "symbol",
                    "text": "u"
                  }
                ],
                "kind": "row"
              }
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "E_v"
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "∂"
                  },
                  {
                    "kind": "symbol",
                    "text": "s"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "∂"
                  },
                  {
                    "kind": "symbol",
                    "text": "v"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "definition": "$E$ is a function of $u$ and $v$. The same rule applies to $F$ and $G$."
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l14-vary-R",
      "title": "Expand the squared-speed variation",
      "prompt": "For $\\gamma_s(t)=X(u(s,t),v(s,t))$, dots mean $\\partial_t$. Put $R=E\\dot u^2+2F\\dot u\\dot v+G\\dot v^2$. Compute $\\partial_sR$, collecting the coefficients of $\\partial_su$, $\\partial_sv$, $\\partial_s\\dot u$, and $\\partial_s\\dot v$ in that order. Evaluate metric coefficients and their derivatives at $(u(s,t),v(s,t))$, omitting these arguments.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "∂",
            "label": "∂"
          },
          {
            "tool": "R",
            "label": "R"
          },
          {
            "tool": "s",
            "label": "s"
          },
          {
            "tool": "E_u",
            "label": "E_u"
          },
          {
            "tool": "dot_u",
            "label": "dot_u"
          },
          {
            "tool": "F_u",
            "label": "F_u"
          },
          {
            "tool": "dot_v",
            "label": "dot_v"
          },
          {
            "tool": "G_u",
            "label": "G_u"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "E_v",
            "label": "E_v"
          },
          {
            "tool": "F_v",
            "label": "F_v"
          },
          {
            "tool": "G_v",
            "label": "G_v"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "G",
            "label": "G"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "bottom": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "s"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "fraction",
                  "top": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "R"
                      }
                    ],
                    "kind": "row"
                  }
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E_u"
                        },
                        {
                          "base": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              }
                            ],
                            "kind": "row"
                          },
                          "exponent": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "power"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "2"
                        },
                        {
                          "kind": "symbol",
                          "text": "F_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "G_u"
                        },
                        {
                          "base": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dot_v"
                              }
                            ],
                            "kind": "row"
                          },
                          "exponent": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "power"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "bottom": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "s"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "fraction",
                  "top": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "u"
                      }
                    ],
                    "kind": "row"
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E_v"
                        },
                        {
                          "base": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              }
                            ],
                            "kind": "row"
                          },
                          "exponent": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "power"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "2"
                        },
                        {
                          "kind": "symbol",
                          "text": "F_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "G_v"
                        },
                        {
                          "base": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dot_v"
                              }
                            ],
                            "kind": "row"
                          },
                          "exponent": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "power"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "bottom": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "s"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "fraction",
                  "top": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ],
                    "kind": "row"
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "F"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_v"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "bottom": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "s"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "fraction",
                  "top": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "dot_u"
                      }
                    ],
                    "kind": "row"
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "G"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_v"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "bottom": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "s"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "fraction",
                  "top": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "dot_v"
                      }
                    ],
                    "kind": "row"
                  }
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "children": [
                {
                  "bottom": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "s"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "fraction",
                  "top": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "R"
                      }
                    ],
                    "kind": "row"
                  }
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E_u"
                        },
                        {
                          "base": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              }
                            ],
                            "kind": "row"
                          },
                          "exponent": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "power"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "2"
                        },
                        {
                          "kind": "symbol",
                          "text": "F_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "G_u"
                        },
                        {
                          "base": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dot_v"
                              }
                            ],
                            "kind": "row"
                          },
                          "exponent": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "power"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "bottom": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "s"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "fraction",
                  "top": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "u"
                      }
                    ],
                    "kind": "row"
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E_v"
                        },
                        {
                          "base": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              }
                            ],
                            "kind": "row"
                          },
                          "exponent": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "power"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "2"
                        },
                        {
                          "kind": "symbol",
                          "text": "F_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "G_v"
                        },
                        {
                          "base": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dot_v"
                              }
                            ],
                            "kind": "row"
                          },
                          "exponent": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "power"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "bottom": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "s"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "fraction",
                  "top": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ],
                    "kind": "row"
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "F"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_v"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "bottom": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "s"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "fraction",
                  "top": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "dot_u"
                      }
                    ],
                    "kind": "row"
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "G"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_v"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "bottom": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "s"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "fraction",
                  "top": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "dot_v"
                      }
                    ],
                    "kind": "row"
                  }
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The chain rule gives $\\partial_sE=E_u\\partial_su+E_v\\partial_sv$, and similarly for $F,G$."
            },
            {
              "text": "The product-rule expansion is $\\partial_sR=(\\partial_sE)\\dot u^2+2E\\dot u\\partial_s\\dot u+2(\\partial_sF)\\dot u\\dot v+2F\\dot v\\partial_s\\dot u+2F\\dot u\\partial_s\\dot v+(\\partial_sG)\\dot v^2+2G\\dot v\\partial_s\\dot v$. Substitute the three chain rules and collect the four requested coefficients."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 3,
      "type": "equation-practice",
      "recallPrompt": "For $\\gamma_s(t)=X(u(s,t),v(s,t))$, dots mean $\\partial_t$. Put $R=E\\dot u^2+2F\\dot u\\dot v+G\\dot v^2$. Compute $\\partial_sR$, collecting the coefficients of $\\partial_su$, $\\partial_sv$, $\\partial_s\\dot u$, and $\\partial_s\\dot v$ in that order. Evaluate metric coefficients and their derivatives at $(u(s,t),v(s,t))$, omitting these arguments."
    },
    {
      "id": "l14-commute",
      "title": "Commute the variation and time derivatives",
      "prompt": "For $\\gamma_s(t)=X(u(s,t),v(s,t))$, dots mean $\\partial_t$ and $s$ labels the variation. Rewrite $\\frac{\\partial \\dot u}{\\partial s}$ as a $t$-derivative of the variation of $u$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "∂",
            "label": "∂"
          },
          {
            "tool": "dot_u",
            "label": "dot_u"
          },
          {
            "tool": "s",
            "label": "s"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "u",
            "label": "u"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "∂"
                  },
                  {
                    "kind": "symbol",
                    "text": "s"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "∂"
                  },
                  {
                    "kind": "symbol",
                    "text": "dot_u"
                  }
                ],
                "kind": "row"
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "bottom": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "t"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "fraction",
                  "top": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      }
                    ],
                    "kind": "row"
                  }
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "bottom": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          },
                          {
                            "kind": "symbol",
                            "text": "s"
                          }
                        ],
                        "kind": "row"
                      },
                      "kind": "fraction",
                      "top": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          },
                          {
                            "kind": "symbol",
                            "text": "u"
                          }
                        ],
                        "kind": "row"
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "definition": "Clairaut’s theorem applies to a smooth variation. This step makes integration by parts with respect to $t$ possible."
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l14-boundary",
      "title": "Coordinate variation at fixed endpoints",
      "prompt": "At either endpoint $t=a$ or $t=b$, what is $\\frac{\\partial u}{\\partial s}$? Write the equality for $u$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "∂",
            "label": "∂"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "s",
            "label": "s"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "∂"
                  },
                  {
                    "kind": "symbol",
                    "text": "s"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "∂"
                  },
                  {
                    "kind": "symbol",
                    "text": "u"
                  }
                ],
                "kind": "row"
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "definition": "The endpoint coordinates do not change with $s$, so their $s$-derivatives vanish. The same holds for $v$. The $t$-velocities at the endpoints need not vanish."
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l14-parts-boundary",
      "title": "Integration by parts · retain the boundary term",
      "prompt": "Integrate the $u$ velocity-variation term by parts. Retain the endpoint evaluation, denoted by the evaluation bar from $a$ to $b$. Build a chain of equalities. Include the intermediate integral with $\\frac{\\partial }{\\partial t}$ acting on $\\frac{\\partial u}{\\partial s}$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "int_ab",
            "label": "int_ab"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "dot_u",
            "label": "dot_u"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "dot_v",
            "label": "dot_v"
          },
          {
            "tool": "R",
            "label": "R"
          },
          {
            "tool": "∂",
            "label": "∂"
          },
          {
            "tool": "s",
            "label": "s"
          },
          {
            "tool": "dt",
            "label": "dt"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "eval_ab",
            "label": "eval_ab"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "int_ab"
                    },
                    {
                      "children": [
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "radical",
                                "radicand": {
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "R"
                                    }
                                  ],
                                  "kind": "row"
                                }
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "E"
                              },
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "+"
                              },
                              {
                                "kind": "symbol",
                                "text": "F"
                              },
                              {
                                "kind": "symbol",
                                "text": "dot_v"
                              }
                            ],
                            "kind": "row"
                          }
                        },
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "s"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              }
                            ],
                            "kind": "row"
                          }
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "dt"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "int_ab"
                },
                {
                  "children": [
                    {
                      "bottom": {
                        "children": [
                          {
                            "kind": "radical",
                            "radicand": {
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "R"
                                }
                              ],
                              "kind": "row"
                            }
                          }
                        ],
                        "kind": "row"
                      },
                      "kind": "fraction",
                      "top": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "E"
                          },
                          {
                            "kind": "symbol",
                            "text": "dot_u"
                          },
                          {
                            "kind": "symbol",
                            "text": "+"
                          },
                          {
                            "kind": "symbol",
                            "text": "F"
                          },
                          {
                            "kind": "symbol",
                            "text": "dot_v"
                          }
                        ],
                        "kind": "row"
                      }
                    },
                    {
                      "children": [
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              }
                            ],
                            "kind": "row"
                          }
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "bottom": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "∂"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "s"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "fraction",
                              "top": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "∂"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "u"
                                  }
                                ],
                                "kind": "row"
                              }
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ],
                          "kind": "row"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "dt"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "radical",
                                "radicand": {
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "R"
                                    }
                                  ],
                                  "kind": "row"
                                }
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "E"
                              },
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "+"
                              },
                              {
                                "kind": "symbol",
                                "text": "F"
                              },
                              {
                                "kind": "symbol",
                                "text": "dot_v"
                              }
                            ],
                            "kind": "row"
                          }
                        },
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "s"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "u"
                              }
                            ],
                            "kind": "row"
                          }
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "eval_ab"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "int_ab"
                    },
                    {
                      "children": [
                        {
                          "children": [
                            {
                              "bottom": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "∂"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "t"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "fraction",
                              "top": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "∂"
                                  }
                                ],
                                "kind": "row"
                              }
                            },
                            {
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "("
                                },
                                {
                                  "bottom": {
                                    "children": [
                                      {
                                        "kind": "radical",
                                        "radicand": {
                                          "children": [
                                            {
                                              "kind": "symbol",
                                              "text": "R"
                                            }
                                          ],
                                          "kind": "row"
                                        }
                                      }
                                    ],
                                    "kind": "row"
                                  },
                                  "kind": "fraction",
                                  "top": {
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "E"
                                      },
                                      {
                                        "kind": "symbol",
                                        "text": "dot_u"
                                      },
                                      {
                                        "kind": "symbol",
                                        "text": "+"
                                      },
                                      {
                                        "kind": "symbol",
                                        "text": "F"
                                      },
                                      {
                                        "kind": "symbol",
                                        "text": "dot_v"
                                      }
                                    ],
                                    "kind": "row"
                                  }
                                },
                                {
                                  "kind": "symbol",
                                  "text": ")"
                                }
                              ],
                              "kind": "row"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "s"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "u"
                              }
                            ],
                            "kind": "row"
                          }
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "dt"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "int_ab"
                    },
                    {
                      "children": [
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "radical",
                                "radicand": {
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "R"
                                    }
                                  ],
                                  "kind": "row"
                                }
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "E"
                              },
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "+"
                              },
                              {
                                "kind": "symbol",
                                "text": "F"
                              },
                              {
                                "kind": "symbol",
                                "text": "dot_v"
                              }
                            ],
                            "kind": "row"
                          }
                        },
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "s"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              }
                            ],
                            "kind": "row"
                          }
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "dt"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "int_ab"
                },
                {
                  "children": [
                    {
                      "bottom": {
                        "children": [
                          {
                            "kind": "radical",
                            "radicand": {
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "R"
                                }
                              ],
                              "kind": "row"
                            }
                          }
                        ],
                        "kind": "row"
                      },
                      "kind": "fraction",
                      "top": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "E"
                          },
                          {
                            "kind": "symbol",
                            "text": "dot_u"
                          },
                          {
                            "kind": "symbol",
                            "text": "+"
                          },
                          {
                            "kind": "symbol",
                            "text": "F"
                          },
                          {
                            "kind": "symbol",
                            "text": "dot_v"
                          }
                        ],
                        "kind": "row"
                      }
                    },
                    {
                      "children": [
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              }
                            ],
                            "kind": "row"
                          }
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "bottom": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "∂"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "s"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "fraction",
                              "top": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "∂"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "u"
                                  }
                                ],
                                "kind": "row"
                              }
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ],
                          "kind": "row"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "dt"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "radical",
                                "radicand": {
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "R"
                                    }
                                  ],
                                  "kind": "row"
                                }
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "E"
                              },
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "+"
                              },
                              {
                                "kind": "symbol",
                                "text": "F"
                              },
                              {
                                "kind": "symbol",
                                "text": "dot_v"
                              }
                            ],
                            "kind": "row"
                          }
                        },
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "s"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "u"
                              }
                            ],
                            "kind": "row"
                          }
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "eval_ab"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "int_ab"
                    },
                    {
                      "children": [
                        {
                          "children": [
                            {
                              "bottom": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "∂"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "t"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "fraction",
                              "top": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "∂"
                                  }
                                ],
                                "kind": "row"
                              }
                            },
                            {
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "("
                                },
                                {
                                  "bottom": {
                                    "children": [
                                      {
                                        "kind": "radical",
                                        "radicand": {
                                          "children": [
                                            {
                                              "kind": "symbol",
                                              "text": "R"
                                            }
                                          ],
                                          "kind": "row"
                                        }
                                      }
                                    ],
                                    "kind": "row"
                                  },
                                  "kind": "fraction",
                                  "top": {
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "E"
                                      },
                                      {
                                        "kind": "symbol",
                                        "text": "dot_u"
                                      },
                                      {
                                        "kind": "symbol",
                                        "text": "+"
                                      },
                                      {
                                        "kind": "symbol",
                                        "text": "F"
                                      },
                                      {
                                        "kind": "symbol",
                                        "text": "dot_v"
                                      }
                                    ],
                                    "kind": "row"
                                  }
                                },
                                {
                                  "kind": "symbol",
                                  "text": ")"
                                }
                              ],
                              "kind": "row"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "s"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "u"
                              }
                            ],
                            "kind": "row"
                          }
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "dt"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "definition": "First commute the mixed derivatives. Then use $\\int A B'\\,dt=[AB]-\\int A'B\\,dt$ with $B=\\frac{\\partial u}{\\partial s}$. Fixed endpoints make the displayed boundary term zero.",
        "proof": {
          "intro": "Each equality transforms the preceding expression.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "int_ab"
                          },
                          {
                            "children": [
                              {
                                "bottom": {
                                  "children": [
                                    {
                                      "kind": "radical",
                                      "radicand": {
                                        "children": [
                                          {
                                            "kind": "symbol",
                                            "text": "R"
                                          }
                                        ],
                                        "kind": "row"
                                      }
                                    }
                                  ],
                                  "kind": "row"
                                },
                                "kind": "fraction",
                                "top": {
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "E"
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": "dot_u"
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": "+"
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": "F"
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": "dot_v"
                                    }
                                  ],
                                  "kind": "row"
                                }
                              },
                              {
                                "bottom": {
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "∂"
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": "s"
                                    }
                                  ],
                                  "kind": "row"
                                },
                                "kind": "fraction",
                                "top": {
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "∂"
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": "dot_u"
                                    }
                                  ],
                                  "kind": "row"
                                }
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "kind": "symbol",
                            "text": "dt"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "int_ab"
                      },
                      {
                        "children": [
                          {
                            "bottom": {
                              "children": [
                                {
                                  "kind": "radical",
                                  "radicand": {
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "R"
                                      }
                                    ],
                                    "kind": "row"
                                  }
                                }
                              ],
                              "kind": "row"
                            },
                            "kind": "fraction",
                            "top": {
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "E"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "dot_u"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "+"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "F"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "dot_v"
                                }
                              ],
                              "kind": "row"
                            }
                          },
                          {
                            "children": [
                              {
                                "bottom": {
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "∂"
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": "t"
                                    }
                                  ],
                                  "kind": "row"
                                },
                                "kind": "fraction",
                                "top": {
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "∂"
                                    }
                                  ],
                                  "kind": "row"
                                }
                              },
                              {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "("
                                  },
                                  {
                                    "bottom": {
                                      "children": [
                                        {
                                          "kind": "symbol",
                                          "text": "∂"
                                        },
                                        {
                                          "kind": "symbol",
                                          "text": "s"
                                        }
                                      ],
                                      "kind": "row"
                                    },
                                    "kind": "fraction",
                                    "top": {
                                      "children": [
                                        {
                                          "kind": "symbol",
                                          "text": "∂"
                                        },
                                        {
                                          "kind": "symbol",
                                          "text": "u"
                                        }
                                      ],
                                      "kind": "row"
                                    }
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ")"
                                  }
                                ],
                                "kind": "row"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": "dt"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Commute the $s$- and $t$-derivatives by Clairaut’s theorem."
            },
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "int_ab"
                      },
                      {
                        "children": [
                          {
                            "bottom": {
                              "children": [
                                {
                                  "kind": "radical",
                                  "radicand": {
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "R"
                                      }
                                    ],
                                    "kind": "row"
                                  }
                                }
                              ],
                              "kind": "row"
                            },
                            "kind": "fraction",
                            "top": {
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "E"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "dot_u"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "+"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "F"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "dot_v"
                                }
                              ],
                              "kind": "row"
                            }
                          },
                          {
                            "children": [
                              {
                                "bottom": {
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "∂"
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": "t"
                                    }
                                  ],
                                  "kind": "row"
                                },
                                "kind": "fraction",
                                "top": {
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "∂"
                                    }
                                  ],
                                  "kind": "row"
                                }
                              },
                              {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "("
                                  },
                                  {
                                    "bottom": {
                                      "children": [
                                        {
                                          "kind": "symbol",
                                          "text": "∂"
                                        },
                                        {
                                          "kind": "symbol",
                                          "text": "s"
                                        }
                                      ],
                                      "kind": "row"
                                    },
                                    "kind": "fraction",
                                    "top": {
                                      "children": [
                                        {
                                          "kind": "symbol",
                                          "text": "∂"
                                        },
                                        {
                                          "kind": "symbol",
                                          "text": "u"
                                        }
                                      ],
                                      "kind": "row"
                                    }
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ")"
                                  }
                                ],
                                "kind": "row"
                              }
                            ],
                            "kind": "row"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": "dt"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "children": [
                              {
                                "bottom": {
                                  "children": [
                                    {
                                      "kind": "radical",
                                      "radicand": {
                                        "children": [
                                          {
                                            "kind": "symbol",
                                            "text": "R"
                                          }
                                        ],
                                        "kind": "row"
                                      }
                                    }
                                  ],
                                  "kind": "row"
                                },
                                "kind": "fraction",
                                "top": {
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "E"
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": "dot_u"
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": "+"
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": "F"
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": "dot_v"
                                    }
                                  ],
                                  "kind": "row"
                                }
                              },
                              {
                                "bottom": {
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "∂"
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": "s"
                                    }
                                  ],
                                  "kind": "row"
                                },
                                "kind": "fraction",
                                "top": {
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "∂"
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": "u"
                                    }
                                  ],
                                  "kind": "row"
                                }
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": "eval_ab"
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "int_ab"
                          },
                          {
                            "children": [
                              {
                                "children": [
                                  {
                                    "bottom": {
                                      "children": [
                                        {
                                          "kind": "symbol",
                                          "text": "∂"
                                        },
                                        {
                                          "kind": "symbol",
                                          "text": "t"
                                        }
                                      ],
                                      "kind": "row"
                                    },
                                    "kind": "fraction",
                                    "top": {
                                      "children": [
                                        {
                                          "kind": "symbol",
                                          "text": "∂"
                                        }
                                      ],
                                      "kind": "row"
                                    }
                                  },
                                  {
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "("
                                      },
                                      {
                                        "bottom": {
                                          "children": [
                                            {
                                              "kind": "radical",
                                              "radicand": {
                                                "children": [
                                                  {
                                                    "kind": "symbol",
                                                    "text": "R"
                                                  }
                                                ],
                                                "kind": "row"
                                              }
                                            }
                                          ],
                                          "kind": "row"
                                        },
                                        "kind": "fraction",
                                        "top": {
                                          "children": [
                                            {
                                              "kind": "symbol",
                                              "text": "E"
                                            },
                                            {
                                              "kind": "symbol",
                                              "text": "dot_u"
                                            },
                                            {
                                              "kind": "symbol",
                                              "text": "+"
                                            },
                                            {
                                              "kind": "symbol",
                                              "text": "F"
                                            },
                                            {
                                              "kind": "symbol",
                                              "text": "dot_v"
                                            }
                                          ],
                                          "kind": "row"
                                        }
                                      },
                                      {
                                        "kind": "symbol",
                                        "text": ")"
                                      }
                                    ],
                                    "kind": "row"
                                  }
                                ],
                                "kind": "row"
                              },
                              {
                                "bottom": {
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "∂"
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": "s"
                                    }
                                  ],
                                  "kind": "row"
                                },
                                "kind": "fraction",
                                "top": {
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "∂"
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": "u"
                                    }
                                  ],
                                  "kind": "row"
                                }
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "kind": "symbol",
                            "text": "dt"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Integrate by parts in $t$, retaining the endpoint evaluation."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 3,
      "type": "equation-practice",
      "recallPrompt": "For a surface-curve variation with squared speed $R$, integrate $\\int_a^b\\frac{E\\dot u+F\\dot v}{\\sqrt R}\\partial_s\\dot u\\,dt$ by parts, retaining the boundary term."
    },
    {
      "id": "l14-parts",
      "title": "Integration by parts · fixed endpoints",
      "prompt": "For $\\gamma_s(t)=X(u(s,t),v(s,t))$, dots mean $\\partial_t$. Assume fixed endpoints and put $R=\\|\\partial_t\\gamma_s\\|^2>0$. Integrate $\\int_a^b\\frac{E\\dot u+F\\dot v}{\\sqrt R}\\partial_s\\dot u\\,dt$ by parts in $t$, showing why its boundary term vanishes. Evaluate metric coefficients and their derivatives at $(u(s,t),v(s,t))$, omitting these arguments.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "int_ab",
            "label": "int_ab"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "dot_u",
            "label": "dot_u"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "dot_v",
            "label": "dot_v"
          },
          {
            "tool": "R",
            "label": "R"
          },
          {
            "tool": "∂",
            "label": "∂"
          },
          {
            "tool": "s",
            "label": "s"
          },
          {
            "tool": "dt",
            "label": "dt"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "eval_ab",
            "label": "eval_ab"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "int_ab"
                    },
                    {
                      "children": [
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "radical",
                                "radicand": {
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "R"
                                    }
                                  ],
                                  "kind": "row"
                                }
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "E"
                              },
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "+"
                              },
                              {
                                "kind": "symbol",
                                "text": "F"
                              },
                              {
                                "kind": "symbol",
                                "text": "dot_v"
                              }
                            ],
                            "kind": "row"
                          }
                        },
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "s"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              }
                            ],
                            "kind": "row"
                          }
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "dt"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "int_ab"
                },
                {
                  "children": [
                    {
                      "bottom": {
                        "children": [
                          {
                            "kind": "radical",
                            "radicand": {
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "R"
                                }
                              ],
                              "kind": "row"
                            }
                          }
                        ],
                        "kind": "row"
                      },
                      "kind": "fraction",
                      "top": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "E"
                          },
                          {
                            "kind": "symbol",
                            "text": "dot_u"
                          },
                          {
                            "kind": "symbol",
                            "text": "+"
                          },
                          {
                            "kind": "symbol",
                            "text": "F"
                          },
                          {
                            "kind": "symbol",
                            "text": "dot_v"
                          }
                        ],
                        "kind": "row"
                      }
                    },
                    {
                      "children": [
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              }
                            ],
                            "kind": "row"
                          }
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "bottom": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "∂"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "s"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "fraction",
                              "top": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "∂"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "u"
                                  }
                                ],
                                "kind": "row"
                              }
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ],
                          "kind": "row"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "dt"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "radical",
                                "radicand": {
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "R"
                                    }
                                  ],
                                  "kind": "row"
                                }
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "E"
                              },
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "+"
                              },
                              {
                                "kind": "symbol",
                                "text": "F"
                              },
                              {
                                "kind": "symbol",
                                "text": "dot_v"
                              }
                            ],
                            "kind": "row"
                          }
                        },
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "s"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "u"
                              }
                            ],
                            "kind": "row"
                          }
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "eval_ab"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "int_ab"
                    },
                    {
                      "children": [
                        {
                          "children": [
                            {
                              "bottom": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "∂"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "t"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "fraction",
                              "top": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "∂"
                                  }
                                ],
                                "kind": "row"
                              }
                            },
                            {
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "("
                                },
                                {
                                  "bottom": {
                                    "children": [
                                      {
                                        "kind": "radical",
                                        "radicand": {
                                          "children": [
                                            {
                                              "kind": "symbol",
                                              "text": "R"
                                            }
                                          ],
                                          "kind": "row"
                                        }
                                      }
                                    ],
                                    "kind": "row"
                                  },
                                  "kind": "fraction",
                                  "top": {
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "E"
                                      },
                                      {
                                        "kind": "symbol",
                                        "text": "dot_u"
                                      },
                                      {
                                        "kind": "symbol",
                                        "text": "+"
                                      },
                                      {
                                        "kind": "symbol",
                                        "text": "F"
                                      },
                                      {
                                        "kind": "symbol",
                                        "text": "dot_v"
                                      }
                                    ],
                                    "kind": "row"
                                  }
                                },
                                {
                                  "kind": "symbol",
                                  "text": ")"
                                }
                              ],
                              "kind": "row"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "s"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "u"
                              }
                            ],
                            "kind": "row"
                          }
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "dt"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "int_ab"
                    },
                    {
                      "children": [
                        {
                          "children": [
                            {
                              "bottom": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "∂"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "t"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "fraction",
                              "top": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "∂"
                                  }
                                ],
                                "kind": "row"
                              }
                            },
                            {
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "("
                                },
                                {
                                  "bottom": {
                                    "children": [
                                      {
                                        "kind": "radical",
                                        "radicand": {
                                          "children": [
                                            {
                                              "kind": "symbol",
                                              "text": "R"
                                            }
                                          ],
                                          "kind": "row"
                                        }
                                      }
                                    ],
                                    "kind": "row"
                                  },
                                  "kind": "fraction",
                                  "top": {
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "E"
                                      },
                                      {
                                        "kind": "symbol",
                                        "text": "dot_u"
                                      },
                                      {
                                        "kind": "symbol",
                                        "text": "+"
                                      },
                                      {
                                        "kind": "symbol",
                                        "text": "F"
                                      },
                                      {
                                        "kind": "symbol",
                                        "text": "dot_v"
                                      }
                                    ],
                                    "kind": "row"
                                  }
                                },
                                {
                                  "kind": "symbol",
                                  "text": ")"
                                }
                              ],
                              "kind": "row"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "s"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "u"
                              }
                            ],
                            "kind": "row"
                          }
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "dt"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "int_ab"
                    },
                    {
                      "children": [
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "radical",
                                "radicand": {
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "R"
                                    }
                                  ],
                                  "kind": "row"
                                }
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "E"
                              },
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "+"
                              },
                              {
                                "kind": "symbol",
                                "text": "F"
                              },
                              {
                                "kind": "symbol",
                                "text": "dot_v"
                              }
                            ],
                            "kind": "row"
                          }
                        },
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "s"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              }
                            ],
                            "kind": "row"
                          }
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "dt"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "int_ab"
                },
                {
                  "children": [
                    {
                      "bottom": {
                        "children": [
                          {
                            "kind": "radical",
                            "radicand": {
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "R"
                                }
                              ],
                              "kind": "row"
                            }
                          }
                        ],
                        "kind": "row"
                      },
                      "kind": "fraction",
                      "top": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "E"
                          },
                          {
                            "kind": "symbol",
                            "text": "dot_u"
                          },
                          {
                            "kind": "symbol",
                            "text": "+"
                          },
                          {
                            "kind": "symbol",
                            "text": "F"
                          },
                          {
                            "kind": "symbol",
                            "text": "dot_v"
                          }
                        ],
                        "kind": "row"
                      }
                    },
                    {
                      "children": [
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              }
                            ],
                            "kind": "row"
                          }
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "bottom": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "∂"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "s"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "fraction",
                              "top": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "∂"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "u"
                                  }
                                ],
                                "kind": "row"
                              }
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ],
                          "kind": "row"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "dt"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "radical",
                                "radicand": {
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "R"
                                    }
                                  ],
                                  "kind": "row"
                                }
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "E"
                              },
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "+"
                              },
                              {
                                "kind": "symbol",
                                "text": "F"
                              },
                              {
                                "kind": "symbol",
                                "text": "dot_v"
                              }
                            ],
                            "kind": "row"
                          }
                        },
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "s"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "u"
                              }
                            ],
                            "kind": "row"
                          }
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "eval_ab"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "int_ab"
                    },
                    {
                      "children": [
                        {
                          "children": [
                            {
                              "bottom": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "∂"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "t"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "fraction",
                              "top": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "∂"
                                  }
                                ],
                                "kind": "row"
                              }
                            },
                            {
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "("
                                },
                                {
                                  "bottom": {
                                    "children": [
                                      {
                                        "kind": "radical",
                                        "radicand": {
                                          "children": [
                                            {
                                              "kind": "symbol",
                                              "text": "R"
                                            }
                                          ],
                                          "kind": "row"
                                        }
                                      }
                                    ],
                                    "kind": "row"
                                  },
                                  "kind": "fraction",
                                  "top": {
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "E"
                                      },
                                      {
                                        "kind": "symbol",
                                        "text": "dot_u"
                                      },
                                      {
                                        "kind": "symbol",
                                        "text": "+"
                                      },
                                      {
                                        "kind": "symbol",
                                        "text": "F"
                                      },
                                      {
                                        "kind": "symbol",
                                        "text": "dot_v"
                                      }
                                    ],
                                    "kind": "row"
                                  }
                                },
                                {
                                  "kind": "symbol",
                                  "text": ")"
                                }
                              ],
                              "kind": "row"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "s"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "u"
                              }
                            ],
                            "kind": "row"
                          }
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "dt"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "int_ab"
                    },
                    {
                      "children": [
                        {
                          "children": [
                            {
                              "bottom": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "∂"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "t"
                                  }
                                ],
                                "kind": "row"
                              },
                              "kind": "fraction",
                              "top": {
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "∂"
                                  }
                                ],
                                "kind": "row"
                              }
                            },
                            {
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "("
                                },
                                {
                                  "bottom": {
                                    "children": [
                                      {
                                        "kind": "radical",
                                        "radicand": {
                                          "children": [
                                            {
                                              "kind": "symbol",
                                              "text": "R"
                                            }
                                          ],
                                          "kind": "row"
                                        }
                                      }
                                    ],
                                    "kind": "row"
                                  },
                                  "kind": "fraction",
                                  "top": {
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "E"
                                      },
                                      {
                                        "kind": "symbol",
                                        "text": "dot_u"
                                      },
                                      {
                                        "kind": "symbol",
                                        "text": "+"
                                      },
                                      {
                                        "kind": "symbol",
                                        "text": "F"
                                      },
                                      {
                                        "kind": "symbol",
                                        "text": "dot_v"
                                      }
                                    ],
                                    "kind": "row"
                                  }
                                },
                                {
                                  "kind": "symbol",
                                  "text": ")"
                                }
                              ],
                              "kind": "row"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "s"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "u"
                              }
                            ],
                            "kind": "row"
                          }
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "dt"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Smoothness lets us commute $\\partial_s\\partial_tu=\\partial_t\\partial_su$."
            },
            {
              "text": "Apply $\\int A B^{\\prime}\\,dt=[AB]_a^b-\\int A^{\\prime} B\\,dt$ with $A=(E\\dot u+F\\dot v)/\\sqrt R$ and $B=\\partial_su$."
            },
            {
              "text": "Fixed endpoints make $u(s,a)$ and $u(s,b)$ independent of $s$, so $\\partial_su=0$ at both endpoints. This eliminates the boundary term."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 4,
      "type": "equation-practice",
      "recallPrompt": "For $\\gamma_s(t)=X(u(s,t),v(s,t))$, dots mean $\\partial_t$. Assume fixed endpoints and put $R=\\|\\partial_t\\gamma_s\\|^2>0$. Integrate $\\int_a^b\\frac{E\\dot u+F\\dot v}{\\sqrt R}\\partial_s\\dot u\\,dt$ by parts in $t$, showing why its boundary term vanishes. Evaluate metric coefficients and their derivatives at $(u(s,t),v(s,t))$, omitting these arguments."
    },
    {
      "id": "l14-coefficient-P",
      "title": "First-variation coefficient P",
      "prompt": "For $\\gamma_s(t)=X(u(s,t),v(s,t))$, dots mean $\\partial_t$ and $s$ labels the variation. Write $P$, the coefficient of $\\frac{\\partial u}{\\partial s}$ after integration by parts. Keep $\\frac{1}{2\\sqrt{R}}$ in front of the metric-derivative bracket.",
      "learningVersion": 2,
      "editor": {
        "palette": [
          {
            "tool": "P",
            "label": "P"
          },
          {
            "tool": "R",
            "label": "R"
          },
          {
            "tool": "E_u",
            "label": "E_u"
          },
          {
            "tool": "dot_u",
            "label": "dot_u"
          },
          {
            "tool": "F_u",
            "label": "F_u"
          },
          {
            "tool": "dot_v",
            "label": "dot_v"
          },
          {
            "tool": "G_u",
            "label": "G_u"
          },
          {
            "tool": "∂",
            "label": "∂"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "1/2",
            "label": "1/2",
            "accessibleLabel": "One half"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "P"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "1"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      },
                      {
                        "kind": "radical",
                        "radicand": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "R"
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E_u"
                        },
                        {
                          "base": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              }
                            ],
                            "kind": "row"
                          },
                          "exponent": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "power"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "2"
                        },
                        {
                          "kind": "symbol",
                          "text": "F_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "G_u"
                        },
                        {
                          "base": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dot_v"
                              }
                            ],
                            "kind": "row"
                          },
                          "exponent": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "power"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "bottom": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          }
                        ],
                        "kind": "row"
                      },
                      "kind": "fraction",
                      "top": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          }
                        ],
                        "kind": "row"
                      }
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "radical",
                                "radicand": {
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "R"
                                    }
                                  ],
                                  "kind": "row"
                                }
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "E"
                              },
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "+"
                              },
                              {
                                "kind": "symbol",
                                "text": "F"
                              },
                              {
                                "kind": "symbol",
                                "text": "dot_v"
                              }
                            ],
                            "kind": "row"
                          }
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "For a smooth regular variation on the fixed compact interval $[a,b]$, $R>0$ and the integrand and its variation derivative are continuous. Differentiation under the integral is therefore permitted.",
          "steps": [
            {
              "text": "$\\displaystyle \\frac{\\partial L}{\\partial s}=\\int_a^b\\frac{\\partial}{\\partial s}\\sqrt R\\,dt=\\int_a^b\\frac1{2\\sqrt R}\\frac{\\partial R}{\\partial s}\\,dt$."
            },
            {
              "text": "The factor $1/(2\\sqrt R)$ is the derivative of the positive square root. A unit-speed original curve has $R(0,t)=1$, but its neighboring curves need not; hence this condition may be substituted only after taking the $s$ derivative."
            },
            {
              "text": "The metric coefficients depend on the variation through $u(s,t),v(s,t)$. Thus $\\frac{\\partial E}{\\partial s}=E_u\\frac{\\partial u}{\\partial s}+E_v\\frac{\\partial v}{\\partial s}$, $\\frac{\\partial F}{\\partial s}=F_u\\frac{\\partial u}{\\partial s}+F_v\\frac{\\partial v}{\\partial s}$, $\\frac{\\partial G}{\\partial s}=G_u\\frac{\\partial u}{\\partial s}+G_v\\frac{\\partial v}{\\partial s}$."
            },
            {
              "text": "Differentiate $R=E\\dot u^2+2F\\dot u\\dot v+G\\dot v^2$ by the product rule, without setting $s=0$ yet:"
            },
            {
              "text": "$\\displaystyle \\frac{\\partial R}{\\partial s}=(\\frac{\\partial E}{\\partial s})\\dot u^2+2E\\dot u\\,\\frac{\\partial\\dot u}{\\partial s}+2(\\frac{\\partial F}{\\partial s})\\dot u\\dot v+2F(\\frac{\\partial\\dot u}{\\partial s})\\dot v+2F\\dot u\\,\\frac{\\partial\\dot v}{\\partial s}+(\\frac{\\partial G}{\\partial s})\\dot v^2+2G\\dot v\\,\\frac{\\partial\\dot v}{\\partial s}$."
            },
            {
              "text": "Substituting the three chain rules gives the following terms, before collection:"
            },
            {
              "text": "$\\displaystyle (E_u\\frac{\\partial u}{\\partial s}+E_v\\frac{\\partial v}{\\partial s})\\dot u^2+2E\\dot u\\,\\frac{\\partial\\dot u}{\\partial s}+2(F_u\\frac{\\partial u}{\\partial s}+F_v\\frac{\\partial v}{\\partial s})\\dot u\\dot v$,"
            },
            {
              "text": "$\\displaystyle {}+2F\\dot v\\,\\frac{\\partial\\dot u}{\\partial s}+2F\\dot u\\,\\frac{\\partial\\dot v}{\\partial s}+(G_u\\frac{\\partial u}{\\partial s}+G_v\\frac{\\partial v}{\\partial s})\\dot v^2+2G\\dot v\\,\\frac{\\partial\\dot v}{\\partial s}$."
            },
            {
              "text": "Collect the terms multiplying each of the four variation derivatives:"
            },
            {
              "text": "$\\displaystyle \\frac{\\partial R}{\\partial s}=(E_u\\dot u^2+2F_u\\dot u\\dot v+G_u\\dot v^2)\\frac{\\partial u}{\\partial s}+(E_v\\dot u^2+2F_v\\dot u\\dot v+G_v\\dot v^2)\\frac{\\partial v}{\\partial s}$,"
            },
            {
              "text": "$\\displaystyle {}+2(E\\dot u+F\\dot v)\\frac{\\partial\\dot u}{\\partial s}+2(F\\dot u+G\\dot v)\\frac{\\partial\\dot v}{\\partial s}$."
            },
            {
              "text": "These are just the original product-rule terms regrouped; no unit-speed assumption has been used."
            },
            {
              "text": "Divide the collected terms by $2\\sqrt R$ and integrate. The two velocity-variation coefficients become $(E\\dot u+F\\dot v)/\\sqrt R$ and $(F\\dot u+G\\dot v)/\\sqrt R$."
            },
            {
              "text": "Smoothness lets us commute derivatives: $\\frac{\\partial\\dot u}{\\partial s}=\\frac{\\partial}{\\partial t}(\\frac{\\partial u}{\\partial s})$ and $\\frac{\\partial\\dot v}{\\partial s}=\\frac{\\partial}{\\partial t}(\\frac{\\partial v}{\\partial s})$."
            },
            {
              "text": "Apply integration by parts to the $u$ term, retaining the boundary term:"
            },
            {
              "text": "$\\displaystyle \\int_a^b\\frac{E\\dot u+F\\dot v}{\\sqrt R}\\frac{\\partial}{\\partial t}(\\frac{\\partial u}{\\partial s})\\,dt=\\left[\\frac{E\\dot u+F\\dot v}{\\sqrt R}\\frac{\\partial u}{\\partial s}\\right]_a^b-\\int_a^b\\frac{\\partial}{\\partial t}\\left(\\frac{E\\dot u+F\\dot v}{\\sqrt R}\\right)\\frac{\\partial u}{\\partial s}\\,dt$."
            },
            {
              "text": "For the $v$ term the same product rule yields"
            },
            {
              "text": "$\\displaystyle \\int_a^b\\frac{F\\dot u+G\\dot v}{\\sqrt R}\\frac{\\partial}{\\partial t}(\\frac{\\partial v}{\\partial s})\\,dt=\\left[\\frac{F\\dot u+G\\dot v}{\\sqrt R}\\frac{\\partial v}{\\partial s}\\right]_a^b-\\int_a^b\\frac{\\partial}{\\partial t}\\left(\\frac{F\\dot u+G\\dot v}{\\sqrt R}\\right)\\frac{\\partial v}{\\partial s}\\,dt$."
            },
            {
              "text": "Fixed endpoints mean $u(s,a),u(s,b),v(s,a),v(s,b)$ are constant in $s$. Their $s$ derivatives are zero, so both endpoint evaluations vanish."
            },
            {
              "text": "Combining each remaining term with the metric-variation term having the same factor gives"
            },
            {
              "text": "$\\displaystyle P=\\frac1{2\\sqrt R}(E_u\\dot u^2+2F_u\\dot u\\dot v+G_u\\dot v^2)-\\frac{\\partial}{\\partial t}\\left(\\frac{E\\dot u+F\\dot v}{\\sqrt R}\\right)$,"
            },
            {
              "text": "$\\displaystyle Q=\\frac1{2\\sqrt R}(E_v\\dot u^2+2F_v\\dot u\\dot v+G_v\\dot v^2)-\\frac{\\partial}{\\partial t}\\left(\\frac{F\\dot u+G\\dot v}{\\sqrt R}\\right)$."
            },
            {
              "text": "Thus $\\displaystyle \\left.\\frac{\\partial L}{\\partial s}\\right|_{s=0}=\\int_a^b\\left(P\\frac{\\partial u}{\\partial s}+Q\\frac{\\partial v}{\\partial s}\\right)_{s=0}\\,dt$. Both metric-variation and integration-by-parts contributions are included in each coefficient."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l14-coefficient-Q",
      "title": "First-variation coefficient Q",
      "prompt": "For $\\gamma_s(t)=X(u(s,t),v(s,t))$, dots mean $\\partial_t$ and $s$ labels the variation. Write $Q$, the coefficient of $\\frac{\\partial v}{\\partial s}$ after integration by parts. Keep $\\frac{1}{2\\sqrt{R}}$ in front of the metric-derivative bracket.",
      "learningVersion": 2,
      "editor": {
        "palette": [
          {
            "tool": "Q",
            "label": "Q"
          },
          {
            "tool": "R",
            "label": "R"
          },
          {
            "tool": "E_v",
            "label": "E_v"
          },
          {
            "tool": "dot_u",
            "label": "dot_u"
          },
          {
            "tool": "F_v",
            "label": "F_v"
          },
          {
            "tool": "dot_v",
            "label": "dot_v"
          },
          {
            "tool": "G_v",
            "label": "G_v"
          },
          {
            "tool": "∂",
            "label": "∂"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "G",
            "label": "G"
          },
          {
            "tool": "1/2",
            "label": "1/2",
            "accessibleLabel": "One half"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "Q"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "1"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      },
                      {
                        "kind": "radical",
                        "radicand": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "R"
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E_v"
                        },
                        {
                          "base": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              }
                            ],
                            "kind": "row"
                          },
                          "exponent": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "power"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "2"
                        },
                        {
                          "kind": "symbol",
                          "text": "F_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "G_v"
                        },
                        {
                          "base": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dot_v"
                              }
                            ],
                            "kind": "row"
                          },
                          "exponent": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "power"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "bottom": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          }
                        ],
                        "kind": "row"
                      },
                      "kind": "fraction",
                      "top": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          }
                        ],
                        "kind": "row"
                      }
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "radical",
                                "radicand": {
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "R"
                                    }
                                  ],
                                  "kind": "row"
                                }
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "F"
                              },
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "+"
                              },
                              {
                                "kind": "symbol",
                                "text": "G"
                              },
                              {
                                "kind": "symbol",
                                "text": "dot_v"
                              }
                            ],
                            "kind": "row"
                          }
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "For a smooth regular variation on the fixed compact interval $[a,b]$, $R>0$ and the integrand and its variation derivative are continuous. Differentiation under the integral is therefore permitted.",
          "steps": [
            {
              "text": "$\\displaystyle \\frac{\\partial L}{\\partial s}=\\int_a^b\\frac{\\partial}{\\partial s}\\sqrt R\\,dt=\\int_a^b\\frac1{2\\sqrt R}\\frac{\\partial R}{\\partial s}\\,dt$."
            },
            {
              "text": "The factor $1/(2\\sqrt R)$ is the derivative of the positive square root. A unit-speed original curve has $R(0,t)=1$, but its neighboring curves need not; hence this condition may be substituted only after taking the $s$ derivative."
            },
            {
              "text": "The metric coefficients depend on the variation through $u(s,t),v(s,t)$. Thus $\\frac{\\partial E}{\\partial s}=E_u\\frac{\\partial u}{\\partial s}+E_v\\frac{\\partial v}{\\partial s}$, $\\frac{\\partial F}{\\partial s}=F_u\\frac{\\partial u}{\\partial s}+F_v\\frac{\\partial v}{\\partial s}$, $\\frac{\\partial G}{\\partial s}=G_u\\frac{\\partial u}{\\partial s}+G_v\\frac{\\partial v}{\\partial s}$."
            },
            {
              "text": "Differentiate $R=E\\dot u^2+2F\\dot u\\dot v+G\\dot v^2$ by the product rule, without setting $s=0$ yet:"
            },
            {
              "text": "$\\displaystyle \\frac{\\partial R}{\\partial s}=(\\frac{\\partial E}{\\partial s})\\dot u^2+2E\\dot u\\,\\frac{\\partial\\dot u}{\\partial s}+2(\\frac{\\partial F}{\\partial s})\\dot u\\dot v+2F(\\frac{\\partial\\dot u}{\\partial s})\\dot v+2F\\dot u\\,\\frac{\\partial\\dot v}{\\partial s}+(\\frac{\\partial G}{\\partial s})\\dot v^2+2G\\dot v\\,\\frac{\\partial\\dot v}{\\partial s}$."
            },
            {
              "text": "Substituting the three chain rules gives the following terms, before collection:"
            },
            {
              "text": "$\\displaystyle (E_u\\frac{\\partial u}{\\partial s}+E_v\\frac{\\partial v}{\\partial s})\\dot u^2+2E\\dot u\\,\\frac{\\partial\\dot u}{\\partial s}+2(F_u\\frac{\\partial u}{\\partial s}+F_v\\frac{\\partial v}{\\partial s})\\dot u\\dot v$,"
            },
            {
              "text": "$\\displaystyle {}+2F\\dot v\\,\\frac{\\partial\\dot u}{\\partial s}+2F\\dot u\\,\\frac{\\partial\\dot v}{\\partial s}+(G_u\\frac{\\partial u}{\\partial s}+G_v\\frac{\\partial v}{\\partial s})\\dot v^2+2G\\dot v\\,\\frac{\\partial\\dot v}{\\partial s}$."
            },
            {
              "text": "Collect the terms multiplying each of the four variation derivatives:"
            },
            {
              "text": "$\\displaystyle \\frac{\\partial R}{\\partial s}=(E_u\\dot u^2+2F_u\\dot u\\dot v+G_u\\dot v^2)\\frac{\\partial u}{\\partial s}+(E_v\\dot u^2+2F_v\\dot u\\dot v+G_v\\dot v^2)\\frac{\\partial v}{\\partial s}$,"
            },
            {
              "text": "$\\displaystyle {}+2(E\\dot u+F\\dot v)\\frac{\\partial\\dot u}{\\partial s}+2(F\\dot u+G\\dot v)\\frac{\\partial\\dot v}{\\partial s}$."
            },
            {
              "text": "These are just the original product-rule terms regrouped; no unit-speed assumption has been used."
            },
            {
              "text": "Divide the collected terms by $2\\sqrt R$ and integrate. The two velocity-variation coefficients become $(E\\dot u+F\\dot v)/\\sqrt R$ and $(F\\dot u+G\\dot v)/\\sqrt R$."
            },
            {
              "text": "Smoothness lets us commute derivatives: $\\frac{\\partial\\dot u}{\\partial s}=\\frac{\\partial}{\\partial t}(\\frac{\\partial u}{\\partial s})$ and $\\frac{\\partial\\dot v}{\\partial s}=\\frac{\\partial}{\\partial t}(\\frac{\\partial v}{\\partial s})$."
            },
            {
              "text": "Apply integration by parts to the $u$ term, retaining the boundary term:"
            },
            {
              "text": "$\\displaystyle \\int_a^b\\frac{E\\dot u+F\\dot v}{\\sqrt R}\\frac{\\partial}{\\partial t}(\\frac{\\partial u}{\\partial s})\\,dt=\\left[\\frac{E\\dot u+F\\dot v}{\\sqrt R}\\frac{\\partial u}{\\partial s}\\right]_a^b-\\int_a^b\\frac{\\partial}{\\partial t}\\left(\\frac{E\\dot u+F\\dot v}{\\sqrt R}\\right)\\frac{\\partial u}{\\partial s}\\,dt$."
            },
            {
              "text": "For the $v$ term the same product rule yields"
            },
            {
              "text": "$\\displaystyle \\int_a^b\\frac{F\\dot u+G\\dot v}{\\sqrt R}\\frac{\\partial}{\\partial t}(\\frac{\\partial v}{\\partial s})\\,dt=\\left[\\frac{F\\dot u+G\\dot v}{\\sqrt R}\\frac{\\partial v}{\\partial s}\\right]_a^b-\\int_a^b\\frac{\\partial}{\\partial t}\\left(\\frac{F\\dot u+G\\dot v}{\\sqrt R}\\right)\\frac{\\partial v}{\\partial s}\\,dt$."
            },
            {
              "text": "Fixed endpoints mean $u(s,a),u(s,b),v(s,a),v(s,b)$ are constant in $s$. Their $s$ derivatives are zero, so both endpoint evaluations vanish."
            },
            {
              "text": "Combining each remaining term with the metric-variation term having the same factor gives"
            },
            {
              "text": "$\\displaystyle P=\\frac1{2\\sqrt R}(E_u\\dot u^2+2F_u\\dot u\\dot v+G_u\\dot v^2)-\\frac{\\partial}{\\partial t}\\left(\\frac{E\\dot u+F\\dot v}{\\sqrt R}\\right)$,"
            },
            {
              "text": "$\\displaystyle Q=\\frac1{2\\sqrt R}(E_v\\dot u^2+2F_v\\dot u\\dot v+G_v\\dot v^2)-\\frac{\\partial}{\\partial t}\\left(\\frac{F\\dot u+G\\dot v}{\\sqrt R}\\right)$."
            },
            {
              "text": "Thus $\\displaystyle \\left.\\frac{\\partial L}{\\partial s}\\right|_{s=0}=\\int_a^b\\left(P\\frac{\\partial u}{\\partial s}+Q\\frac{\\partial v}{\\partial s}\\right)_{s=0}\\,dt$. Both metric-variation and integration-by-parts contributions are included in each coefficient."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l14-first-variation",
      "title": "Assemble the first variation",
      "prompt": "Write $\\frac{\\partial L}{\\partial s}$ using $P$ and $Q$ after integration by parts. All terms in this card are evaluated at $s=0$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "∂",
            "label": "∂"
          },
          {
            "tool": "L",
            "label": "L"
          },
          {
            "tool": "s",
            "label": "s"
          },
          {
            "tool": "int_ab",
            "label": "int_ab"
          },
          {
            "tool": "P",
            "label": "P"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "Q",
            "label": "Q"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "dt",
            "label": "dt"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "∂"
                  },
                  {
                    "kind": "symbol",
                    "text": "s"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "∂"
                  },
                  {
                    "kind": "symbol",
                    "text": "L"
                  }
                ],
                "kind": "row"
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "int_ab"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "P"
                        },
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "s"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "u"
                              }
                            ],
                            "kind": "row"
                          }
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "Q"
                        },
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "s"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "v"
                              }
                            ],
                            "kind": "row"
                          }
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "dt"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "For a smooth regular variation on the fixed compact interval $[a,b]$, $R>0$ and the integrand and its variation derivative are continuous. Differentiation under the integral is therefore permitted.",
          "steps": [
            {
              "text": "$\\displaystyle \\frac{\\partial L}{\\partial s}=\\int_a^b\\frac{\\partial}{\\partial s}\\sqrt R\\,dt=\\int_a^b\\frac1{2\\sqrt R}\\frac{\\partial R}{\\partial s}\\,dt$."
            },
            {
              "text": "The factor $1/(2\\sqrt R)$ is the derivative of the positive square root. A unit-speed original curve has $R(0,t)=1$, but its neighboring curves need not; hence this condition may be substituted only after taking the $s$ derivative."
            },
            {
              "text": "The metric coefficients depend on the variation through $u(s,t),v(s,t)$. Thus $\\frac{\\partial E}{\\partial s}=E_u\\frac{\\partial u}{\\partial s}+E_v\\frac{\\partial v}{\\partial s}$, $\\frac{\\partial F}{\\partial s}=F_u\\frac{\\partial u}{\\partial s}+F_v\\frac{\\partial v}{\\partial s}$, $\\frac{\\partial G}{\\partial s}=G_u\\frac{\\partial u}{\\partial s}+G_v\\frac{\\partial v}{\\partial s}$."
            },
            {
              "text": "Differentiate $R=E\\dot u^2+2F\\dot u\\dot v+G\\dot v^2$ by the product rule, without setting $s=0$ yet:"
            },
            {
              "text": "$\\displaystyle \\frac{\\partial R}{\\partial s}=(\\frac{\\partial E}{\\partial s})\\dot u^2+2E\\dot u\\,\\frac{\\partial\\dot u}{\\partial s}+2(\\frac{\\partial F}{\\partial s})\\dot u\\dot v+2F(\\frac{\\partial\\dot u}{\\partial s})\\dot v+2F\\dot u\\,\\frac{\\partial\\dot v}{\\partial s}+(\\frac{\\partial G}{\\partial s})\\dot v^2+2G\\dot v\\,\\frac{\\partial\\dot v}{\\partial s}$."
            },
            {
              "text": "Substituting the three chain rules gives the following terms, before collection:"
            },
            {
              "text": "$\\displaystyle (E_u\\frac{\\partial u}{\\partial s}+E_v\\frac{\\partial v}{\\partial s})\\dot u^2+2E\\dot u\\,\\frac{\\partial\\dot u}{\\partial s}+2(F_u\\frac{\\partial u}{\\partial s}+F_v\\frac{\\partial v}{\\partial s})\\dot u\\dot v$,"
            },
            {
              "text": "$\\displaystyle {}+2F\\dot v\\,\\frac{\\partial\\dot u}{\\partial s}+2F\\dot u\\,\\frac{\\partial\\dot v}{\\partial s}+(G_u\\frac{\\partial u}{\\partial s}+G_v\\frac{\\partial v}{\\partial s})\\dot v^2+2G\\dot v\\,\\frac{\\partial\\dot v}{\\partial s}$."
            },
            {
              "text": "Collect the terms multiplying each of the four variation derivatives:"
            },
            {
              "text": "$\\displaystyle \\frac{\\partial R}{\\partial s}=(E_u\\dot u^2+2F_u\\dot u\\dot v+G_u\\dot v^2)\\frac{\\partial u}{\\partial s}+(E_v\\dot u^2+2F_v\\dot u\\dot v+G_v\\dot v^2)\\frac{\\partial v}{\\partial s}$,"
            },
            {
              "text": "$\\displaystyle {}+2(E\\dot u+F\\dot v)\\frac{\\partial\\dot u}{\\partial s}+2(F\\dot u+G\\dot v)\\frac{\\partial\\dot v}{\\partial s}$."
            },
            {
              "text": "These are just the original product-rule terms regrouped; no unit-speed assumption has been used."
            },
            {
              "text": "Divide the collected terms by $2\\sqrt R$ and integrate. The two velocity-variation coefficients become $(E\\dot u+F\\dot v)/\\sqrt R$ and $(F\\dot u+G\\dot v)/\\sqrt R$."
            },
            {
              "text": "Smoothness lets us commute derivatives: $\\frac{\\partial\\dot u}{\\partial s}=\\frac{\\partial}{\\partial t}(\\frac{\\partial u}{\\partial s})$ and $\\frac{\\partial\\dot v}{\\partial s}=\\frac{\\partial}{\\partial t}(\\frac{\\partial v}{\\partial s})$."
            },
            {
              "text": "Apply integration by parts to the $u$ term, retaining the boundary term:"
            },
            {
              "text": "$\\displaystyle \\int_a^b\\frac{E\\dot u+F\\dot v}{\\sqrt R}\\frac{\\partial}{\\partial t}(\\frac{\\partial u}{\\partial s})\\,dt=\\left[\\frac{E\\dot u+F\\dot v}{\\sqrt R}\\frac{\\partial u}{\\partial s}\\right]_a^b-\\int_a^b\\frac{\\partial}{\\partial t}\\left(\\frac{E\\dot u+F\\dot v}{\\sqrt R}\\right)\\frac{\\partial u}{\\partial s}\\,dt$."
            },
            {
              "text": "For the $v$ term the same product rule yields"
            },
            {
              "text": "$\\displaystyle \\int_a^b\\frac{F\\dot u+G\\dot v}{\\sqrt R}\\frac{\\partial}{\\partial t}(\\frac{\\partial v}{\\partial s})\\,dt=\\left[\\frac{F\\dot u+G\\dot v}{\\sqrt R}\\frac{\\partial v}{\\partial s}\\right]_a^b-\\int_a^b\\frac{\\partial}{\\partial t}\\left(\\frac{F\\dot u+G\\dot v}{\\sqrt R}\\right)\\frac{\\partial v}{\\partial s}\\,dt$."
            },
            {
              "text": "Fixed endpoints mean $u(s,a),u(s,b),v(s,a),v(s,b)$ are constant in $s$. Their $s$ derivatives are zero, so both endpoint evaluations vanish."
            },
            {
              "text": "Combining each remaining term with the metric-variation term having the same factor gives"
            },
            {
              "text": "$\\displaystyle P=\\frac1{2\\sqrt R}(E_u\\dot u^2+2F_u\\dot u\\dot v+G_u\\dot v^2)-\\frac{\\partial}{\\partial t}\\left(\\frac{E\\dot u+F\\dot v}{\\sqrt R}\\right)$,"
            },
            {
              "text": "$\\displaystyle Q=\\frac1{2\\sqrt R}(E_v\\dot u^2+2F_v\\dot u\\dot v+G_v\\dot v^2)-\\frac{\\partial}{\\partial t}\\left(\\frac{F\\dot u+G\\dot v}{\\sqrt R}\\right)$."
            },
            {
              "text": "Thus $\\displaystyle \\left.\\frac{\\partial L}{\\partial s}\\right|_{s=0}=\\int_a^b\\left(P\\frac{\\partial u}{\\partial s}+Q\\frac{\\partial v}{\\partial s}\\right)_{s=0}\\,dt$. Both metric-variation and integration-by-parts contributions are included in each coefficient."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l14-fundamental-lemma",
      "title": "Stationarity for every variation",
      "prompt": "If the first variation is zero for every smooth fixed-endpoint family, what must $P$ and $Q$ equal along the original curve? Write a chain of equalities.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "P",
            "label": "P"
          },
          {
            "tool": "Q",
            "label": "Q"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "P"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "Q"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "All expressions below are evaluated along the original curve. Stationarity for every fixed-endpoint variation gives $0=\\int_a^b(P\\frac{\\partial u}{\\partial s}+Q\\frac{\\partial v}{\\partial s})\\,dt$.",
          "steps": [
            {
              "text": "Choose any smooth bump $b(t)$ supported strictly inside $(a,b)$, and use $u(s,t)=u(0,t)+sb(t)$, $v(s,t)=v(0,t)$. For sufficiently small $s$ this stays in the chart and remains regular. It fixes endpoints and has $\\frac{\\partial u}{\\partial s}=b(t)$, $\\frac{\\partial v}{\\partial s}=0$."
            },
            {
              "text": "Hence $\\int_a^b P(t)b(t)\\,dt=0$ for every such bump. If $P(t_0)>0$, continuity gives a neighborhood on which $P(t)>0$. Choose a nonnegative bump supported there and positive somewhere. Its integral against $P$ is strictly positive, a contradiction. If $P(t_0)<0$, the same construction gives a strictly negative integral. Thus $P=0$ in $(a,b)$."
            },
            {
              "text": "Now hold $u$ fixed and take $v(s,t)=v(0,t)+sb(t)$. The identical sign argument gives $Q=0$. Continuity supplies the endpoint values as well. Therefore $P=Q=0$ along the curve."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l14-unit-speed",
      "title": "Squared speed under arc-length parametrization",
      "prompt": "The original curve $\\gamma_0$ is parametrized by arc length. What is $R$ along $s=0$?",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "R",
            "label": "R"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "R"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "1"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "definition": "Apply this only after taking the $s$-derivative. $R(0,t)=1$ for every $t$, so its $t$-derivative along the original curve is zero. No assumption of unit speed is imposed on the varied curves."
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l14-equation-u",
      "title": "Unit-speed geodesic equation for u",
      "prompt": "Let $\\gamma(t)=X(u(t),v(t))$ be a unit-speed geodesic. Write its $u$ coordinate equation using the metric coefficients $E,F,G$, with the $t$-derivative on the left. Dots mean $t$ derivatives.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "∂",
            "label": "∂"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "dot_u",
            "label": "dot_u"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "dot_v",
            "label": "dot_v"
          },
          {
            "tool": "E_u",
            "label": "E_u"
          },
          {
            "tool": "F_u",
            "label": "F_u"
          },
          {
            "tool": "G_u",
            "label": "G_u"
          },
          {
            "tool": "1/2",
            "label": "1/2",
            "accessibleLabel": "One half"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "bottom": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "t"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "fraction",
                  "top": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      }
                    ],
                    "kind": "row"
                  }
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "F"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_v"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "1/2"
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "E_u"
                    },
                    {
                      "base": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "dot_u"
                          }
                        ],
                        "kind": "row"
                      },
                      "exponent": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ],
                        "kind": "row"
                      },
                      "kind": "power"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "2"
                    },
                    {
                      "kind": "symbol",
                      "text": "F_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "dot_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "dot_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "G_u"
                    },
                    {
                      "base": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "dot_v"
                          }
                        ],
                        "kind": "row"
                      },
                      "exponent": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ],
                        "kind": "row"
                      },
                      "kind": "power"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Integration by parts in the length variation gives $\\partial_t((E\\dot u+F\\dot v)/\\sqrt R)=(E_u\\dot u^2+2F_u\\dot u\\dot v+G_u\\dot v^2)/(2\\sqrt R)$."
            },
            {
              "text": "On the original unit-speed curve, $R(0,t)=1$ for every $t$, so $\\partial_tR(0,t)=0$. Thus the factors $1/\\sqrt R$ become $1$ without an extra product-rule term. The varied curves need not be unit-speed."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l14-equation-v",
      "title": "Unit-speed geodesic equation for v",
      "prompt": "Let $\\gamma(t)=X(u(t),v(t))$ be a unit-speed geodesic. Write its $v$ coordinate equation using the metric coefficients $E,F,G$, with the $t$-derivative on the left. Dots mean $t$ derivatives.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "∂",
            "label": "∂"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "dot_u",
            "label": "dot_u"
          },
          {
            "tool": "G",
            "label": "G"
          },
          {
            "tool": "dot_v",
            "label": "dot_v"
          },
          {
            "tool": "E_v",
            "label": "E_v"
          },
          {
            "tool": "F_v",
            "label": "F_v"
          },
          {
            "tool": "G_v",
            "label": "G_v"
          },
          {
            "tool": "1/2",
            "label": "1/2",
            "accessibleLabel": "One half"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "bottom": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "t"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "fraction",
                  "top": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      }
                    ],
                    "kind": "row"
                  }
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "G"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_v"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "1/2"
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "E_v"
                    },
                    {
                      "base": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "dot_u"
                          }
                        ],
                        "kind": "row"
                      },
                      "exponent": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ],
                        "kind": "row"
                      },
                      "kind": "power"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "2"
                    },
                    {
                      "kind": "symbol",
                      "text": "F_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "dot_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "dot_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "G_v"
                    },
                    {
                      "base": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "dot_v"
                          }
                        ],
                        "kind": "row"
                      },
                      "exponent": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ],
                        "kind": "row"
                      },
                      "kind": "power"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Integration by parts in the length variation gives $\\partial_t((F\\dot u+G\\dot v)/\\sqrt R)=(E_v\\dot u^2+2F_v\\dot u\\dot v+G_v\\dot v^2)/(2\\sqrt R)$."
            },
            {
              "text": "On the original unit-speed curve, $R(0,t)=1$ for every $t$, so $\\partial_tR(0,t)=0$. Thus the factors $1/\\sqrt R$ become $1$ without an extra product-rule term. The varied curves need not be unit-speed."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l14-tangent-derivative",
      "title": "Time derivative of the u-coordinate tangent",
      "prompt": "Along $\\gamma(t)=X(u(t),v(t))$, compute the $t$-derivative of $X_u$ by the chain rule.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "∂",
            "label": "∂"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "dot_u",
            "label": "dot_u"
          },
          {
            "tool": "X_uu",
            "label": "X_uu"
          },
          {
            "tool": "dot_v",
            "label": "dot_v"
          },
          {
            "tool": "X_uv",
            "label": "X_uv"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "bottom": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "t"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "fraction",
                  "top": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      }
                    ],
                    "kind": "row"
                  }
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "dot_u"
            },
            {
              "kind": "symbol",
              "text": "X_uu"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "dot_v"
            },
            {
              "kind": "symbol",
              "text": "X_uv"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Along the curve, the vector-valued function $X_u$ is evaluated at $(u(t),v(t))$. The chain rule gives",
          "steps": [
            {
              "text": "$\\displaystyle \\frac{\\partial}{\\partial t}\\big(X_u(u(t),v(t))\\big)=\\frac{\\partial X_u}{\\partial u}\\dot u+\\frac{\\partial X_u}{\\partial v}\\dot v=X_{uu}\\dot u+X_{uv}\\dot v$."
            },
            {
              "text": "Thus $\\frac{\\partial}{\\partial t}X_u=\\dot uX_{uu}+\\dot vX_{uv}$. The derivative operator is kept outside the compound expression; dots are reserved for atomic symbols."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l14-inner-expansion",
      "title": "Velocity paired with the changing u-tangent",
      "prompt": "Let $\\gamma(t)=X(u(t),v(t))$, with dots denoting $t$ derivatives. Compute $\\langle\\dot\\gamma,\\partial_tX_u\\rangle$ in terms of metric derivatives and coordinate velocities. Substitute both vectors, expand the inner product, then simplify. Evaluate chart quantities at $(u(t),v(t))$, omitting these arguments.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dot_γ",
            "label": "dot_γ"
          },
          {
            "tool": "∂",
            "label": "∂"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "E_u",
            "label": "E_u"
          },
          {
            "tool": "dot_u",
            "label": "dot_u"
          },
          {
            "tool": "F_u",
            "label": "F_u"
          },
          {
            "tool": "dot_v",
            "label": "dot_v"
          },
          {
            "tool": "G_u",
            "label": "G_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "X_uu",
            "label": "X_uu"
          },
          {
            "tool": "X_uv",
            "label": "X_uv"
          },
          {
            "tool": "1/2",
            "label": "1/2",
            "accessibleLabel": "One half"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "dot_γ"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "children": [
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              }
                            ],
                            "kind": "row"
                          }
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "X_u"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ],
                          "kind": "row"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dot_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "dot_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dot_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uu"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "dot_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "base": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "dot_u"
                      }
                    ],
                    "kind": "row"
                  },
                  "exponent": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "power"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uu"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "dot_u"
                },
                {
                  "kind": "symbol",
                  "text": "dot_v"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "⟨"
                            },
                            {
                              "kind": "symbol",
                              "text": "X_u"
                            },
                            {
                              "kind": "symbol",
                              "text": ","
                            },
                            {
                              "kind": "symbol",
                              "text": "X_uv"
                            },
                            {
                              "kind": "symbol",
                              "text": "⟩"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "⟨"
                            },
                            {
                              "kind": "symbol",
                              "text": "X_v"
                            },
                            {
                              "kind": "symbol",
                              "text": ","
                            },
                            {
                              "kind": "symbol",
                              "text": "X_uu"
                            },
                            {
                              "kind": "symbol",
                              "text": "⟩"
                            }
                          ],
                          "kind": "row"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "base": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "dot_v"
                      }
                    ],
                    "kind": "row"
                  },
                  "exponent": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "power"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "1/2"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E_u"
                        },
                        {
                          "base": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              }
                            ],
                            "kind": "row"
                          },
                          "exponent": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "power"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "2"
                        },
                        {
                          "kind": "symbol",
                          "text": "F_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "G_u"
                        },
                        {
                          "base": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dot_v"
                              }
                            ],
                            "kind": "row"
                          },
                          "exponent": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "power"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "dot_γ"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "children": [
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              }
                            ],
                            "kind": "row"
                          }
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "X_u"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ],
                          "kind": "row"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dot_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "dot_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dot_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uu"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "dot_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "base": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "dot_u"
                      }
                    ],
                    "kind": "row"
                  },
                  "exponent": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "power"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uu"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "dot_u"
                },
                {
                  "kind": "symbol",
                  "text": "dot_v"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "⟨"
                            },
                            {
                              "kind": "symbol",
                              "text": "X_u"
                            },
                            {
                              "kind": "symbol",
                              "text": ","
                            },
                            {
                              "kind": "symbol",
                              "text": "X_uv"
                            },
                            {
                              "kind": "symbol",
                              "text": "⟩"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "⟨"
                            },
                            {
                              "kind": "symbol",
                              "text": "X_v"
                            },
                            {
                              "kind": "symbol",
                              "text": ","
                            },
                            {
                              "kind": "symbol",
                              "text": "X_uu"
                            },
                            {
                              "kind": "symbol",
                              "text": "⟩"
                            }
                          ],
                          "kind": "row"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "base": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "dot_v"
                      }
                    ],
                    "kind": "row"
                  },
                  "exponent": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "power"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "1/2"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E_u"
                        },
                        {
                          "base": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              }
                            ],
                            "kind": "row"
                          },
                          "exponent": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "power"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "2"
                        },
                        {
                          "kind": "symbol",
                          "text": "F_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "G_u"
                        },
                        {
                          "base": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dot_v"
                              }
                            ],
                            "kind": "row"
                          },
                          "exponent": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "power"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Along the curve, $\\partial_tX_u=\\dot uX_{uu}+\\dot vX_{uv}$. Use $\\langle X_u,X_{uu}\\rangle=E_u/2$, $\\langle X_u,X_{uv}\\rangle=E_v/2$, $\\langle X_v,X_{uu}\\rangle=F_u-E_v/2$, and $\\langle X_v,X_{uv}\\rangle=G_u/2$."
            },
            {
              "text": "The two mixed terms combine to $\\dot u\\dot v(E_v/2+F_u-E_v/2)=F_u\\dot u\\dot v$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 3,
      "type": "equation-practice",
      "recallPrompt": "Let $\\gamma(t)=X(u(t),v(t))$, with dots denoting $t$ derivatives. Compute $\\langle\\dot\\gamma,\\partial_tX_u\\rangle$ in terms of metric derivatives and coordinate velocities. Substitute both vectors, expand the inner product, then simplify. Evaluate chart quantities at $(u(t),v(t))$, omitting these arguments."
    },
    {
      "id": "l14-acceleration-u",
      "title": "Acceleration paired with the u-tangent",
      "prompt": "Let $\\gamma(t)=X(u(t),v(t))$, with dots denoting $t$ derivatives. Compute $\\langle\\ddot\\gamma,X_u\\rangle$ by the product rule, then express the result using metric coefficients and their derivatives. Unit speed is not required. Evaluate chart quantities at $(u(t),v(t))$, omitting these arguments.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "ddot_γ",
            "label": "ddot_γ"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "∂",
            "label": "∂"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "dot_u",
            "label": "dot_u"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "dot_v",
            "label": "dot_v"
          },
          {
            "tool": "E_u",
            "label": "E_u"
          },
          {
            "tool": "F_u",
            "label": "F_u"
          },
          {
            "tool": "G_u",
            "label": "G_u"
          },
          {
            "tool": "dot_γ",
            "label": "dot_γ"
          },
          {
            "tool": "1/2",
            "label": "1/2",
            "accessibleLabel": "One half"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "ddot_γ"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "bottom": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          }
                        ],
                        "kind": "row"
                      },
                      "kind": "fraction",
                      "top": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          }
                        ],
                        "kind": "row"
                      }
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "⟨"
                            },
                            {
                              "kind": "symbol",
                              "text": "dot_γ"
                            },
                            {
                              "kind": "symbol",
                              "text": ","
                            },
                            {
                              "kind": "symbol",
                              "text": "X_u"
                            },
                            {
                              "kind": "symbol",
                              "text": "⟩"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "dot_γ"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "children": [
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              }
                            ],
                            "kind": "row"
                          }
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "X_u"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ],
                          "kind": "row"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "bottom": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          }
                        ],
                        "kind": "row"
                      },
                      "kind": "fraction",
                      "top": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          }
                        ],
                        "kind": "row"
                      }
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "E"
                            },
                            {
                              "kind": "symbol",
                              "text": "dot_u"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "kind": "symbol",
                              "text": "F"
                            },
                            {
                              "kind": "symbol",
                              "text": "dot_v"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "1/2"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E_u"
                        },
                        {
                          "base": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              }
                            ],
                            "kind": "row"
                          },
                          "exponent": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "power"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "2"
                        },
                        {
                          "kind": "symbol",
                          "text": "F_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "G_u"
                        },
                        {
                          "base": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dot_v"
                              }
                            ],
                            "kind": "row"
                          },
                          "exponent": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "power"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "ddot_γ"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "bottom": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          }
                        ],
                        "kind": "row"
                      },
                      "kind": "fraction",
                      "top": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          }
                        ],
                        "kind": "row"
                      }
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "⟨"
                            },
                            {
                              "kind": "symbol",
                              "text": "dot_γ"
                            },
                            {
                              "kind": "symbol",
                              "text": ","
                            },
                            {
                              "kind": "symbol",
                              "text": "X_u"
                            },
                            {
                              "kind": "symbol",
                              "text": "⟩"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "dot_γ"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "children": [
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              }
                            ],
                            "kind": "row"
                          }
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "X_u"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ],
                          "kind": "row"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "bottom": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          }
                        ],
                        "kind": "row"
                      },
                      "kind": "fraction",
                      "top": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          }
                        ],
                        "kind": "row"
                      }
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "E"
                            },
                            {
                              "kind": "symbol",
                              "text": "dot_u"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "kind": "symbol",
                              "text": "F"
                            },
                            {
                              "kind": "symbol",
                              "text": "dot_v"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "1/2"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E_u"
                        },
                        {
                          "base": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              }
                            ],
                            "kind": "row"
                          },
                          "exponent": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "power"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "2"
                        },
                        {
                          "kind": "symbol",
                          "text": "F_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "G_u"
                        },
                        {
                          "base": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dot_v"
                              }
                            ],
                            "kind": "row"
                          },
                          "exponent": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "power"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The product rule gives $\\langle\\ddot\\gamma,X_u\\rangle=\\partial_t\\langle\\dot\\gamma,X_u\\rangle-\\langle\\dot\\gamma,\\partial_tX_u\\rangle$. Here $\\langle\\dot\\gamma,X_u\\rangle=E\\dot u+F\\dot v$."
            },
            {
              "text": "The metric inner-product identities give $\\langle\\dot\\gamma,\\partial_tX_u\\rangle=\\tfrac12(E_u\\dot u^2+2F_u\\dot u\\dot v+G_u\\dot v^2)$. Substitute; no unit-speed assumption is used."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "Let $\\gamma(t)=X(u(t),v(t))$, with dots denoting $t$ derivatives. Compute $\\langle\\ddot\\gamma,X_u\\rangle$ by the product rule, then express the result using metric coefficients and their derivatives. Unit speed is not required. Evaluate chart quantities at $(u(t),v(t))$, omitting these arguments."
    },
    {
      "id": "l14-acceleration-v",
      "title": "Acceleration paired with the v-tangent",
      "prompt": "Let $\\gamma(t)=X(u(t),v(t))$, with dots denoting $t$ derivatives. Compute $\\langle\\ddot\\gamma,X_v\\rangle$ by the product rule, then express the result using metric coefficients and their derivatives. Unit speed is not required. Evaluate chart quantities at $(u(t),v(t))$, omitting these arguments.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "ddot_γ",
            "label": "ddot_γ"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "∂",
            "label": "∂"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "dot_u",
            "label": "dot_u"
          },
          {
            "tool": "G",
            "label": "G"
          },
          {
            "tool": "dot_v",
            "label": "dot_v"
          },
          {
            "tool": "E_v",
            "label": "E_v"
          },
          {
            "tool": "F_v",
            "label": "F_v"
          },
          {
            "tool": "G_v",
            "label": "G_v"
          },
          {
            "tool": "dot_γ",
            "label": "dot_γ"
          },
          {
            "tool": "1/2",
            "label": "1/2",
            "accessibleLabel": "One half"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "ddot_γ"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "bottom": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          }
                        ],
                        "kind": "row"
                      },
                      "kind": "fraction",
                      "top": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          }
                        ],
                        "kind": "row"
                      }
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "⟨"
                            },
                            {
                              "kind": "symbol",
                              "text": "dot_γ"
                            },
                            {
                              "kind": "symbol",
                              "text": ","
                            },
                            {
                              "kind": "symbol",
                              "text": "X_v"
                            },
                            {
                              "kind": "symbol",
                              "text": "⟩"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "dot_γ"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "children": [
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              }
                            ],
                            "kind": "row"
                          }
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "X_v"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ],
                          "kind": "row"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "bottom": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          }
                        ],
                        "kind": "row"
                      },
                      "kind": "fraction",
                      "top": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          }
                        ],
                        "kind": "row"
                      }
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "F"
                            },
                            {
                              "kind": "symbol",
                              "text": "dot_u"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "kind": "symbol",
                              "text": "G"
                            },
                            {
                              "kind": "symbol",
                              "text": "dot_v"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "1/2"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E_v"
                        },
                        {
                          "base": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              }
                            ],
                            "kind": "row"
                          },
                          "exponent": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "power"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "2"
                        },
                        {
                          "kind": "symbol",
                          "text": "F_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "G_v"
                        },
                        {
                          "base": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dot_v"
                              }
                            ],
                            "kind": "row"
                          },
                          "exponent": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "power"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "ddot_γ"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "bottom": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          }
                        ],
                        "kind": "row"
                      },
                      "kind": "fraction",
                      "top": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          }
                        ],
                        "kind": "row"
                      }
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "⟨"
                            },
                            {
                              "kind": "symbol",
                              "text": "dot_γ"
                            },
                            {
                              "kind": "symbol",
                              "text": ","
                            },
                            {
                              "kind": "symbol",
                              "text": "X_v"
                            },
                            {
                              "kind": "symbol",
                              "text": "⟩"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "dot_γ"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "children": [
                        {
                          "bottom": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "fraction",
                          "top": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "∂"
                              }
                            ],
                            "kind": "row"
                          }
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "X_v"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ],
                          "kind": "row"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "bottom": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          }
                        ],
                        "kind": "row"
                      },
                      "kind": "fraction",
                      "top": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          }
                        ],
                        "kind": "row"
                      }
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "F"
                            },
                            {
                              "kind": "symbol",
                              "text": "dot_u"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "kind": "symbol",
                              "text": "G"
                            },
                            {
                              "kind": "symbol",
                              "text": "dot_v"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ],
                      "kind": "row"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "1/2"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E_v"
                        },
                        {
                          "base": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              }
                            ],
                            "kind": "row"
                          },
                          "exponent": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "power"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "2"
                        },
                        {
                          "kind": "symbol",
                          "text": "F_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "G_v"
                        },
                        {
                          "base": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "dot_v"
                              }
                            ],
                            "kind": "row"
                          },
                          "exponent": {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ],
                            "kind": "row"
                          },
                          "kind": "power"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The product rule gives $\\langle\\ddot\\gamma,X_v\\rangle=\\partial_t\\langle\\dot\\gamma,X_v\\rangle-\\langle\\dot\\gamma,\\partial_tX_v\\rangle$. Here $\\langle\\dot\\gamma,X_v\\rangle=F\\dot u+G\\dot v$."
            },
            {
              "text": "The metric inner-product identities give $\\langle\\dot\\gamma,\\partial_tX_v\\rangle=\\tfrac12(E_v\\dot u^2+2F_v\\dot u\\dot v+G_v\\dot v^2)$. Substitute; no unit-speed assumption is used."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "Let $\\gamma(t)=X(u(t),v(t))$, with dots denoting $t$ derivatives. Compute $\\langle\\ddot\\gamma,X_v\\rangle$ by the product rule, then express the result using metric coefficients and their derivatives. Unit speed is not required. Evaluate chart quantities at $(u(t),v(t))$, omitting these arguments."
    },
    {
      "id": "l14-normal-acceleration",
      "title": "Geodesic acceleration is normal",
      "prompt": "For a unit-speed stationary curve, write the two zero tangent components of acceleration as one chain.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "ddot_γ",
            "label": "ddot_γ"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "ddot_γ"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "ddot_γ"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The two coordinate geodesic equations set $\\partial_t(E\\dot u+F\\dot v)-\\tfrac12(E_u\\dot u^2+2F_u\\dot u\\dot v+G_u\\dot v^2)$ and its $v$ counterpart to zero."
            },
            {
              "text": "The L14bC acceleration computations identify these differences as $\\langle\\ddot\\gamma,X_u\\rangle$ and $\\langle\\ddot\\gamma,X_v\\rangle$. Since $X_u,X_v$ span the tangent plane, their vanishing means that acceleration is normal."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector",
          "X_uu": "vector",
          "X_uv": "vector",
          "X_vv": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "dot_γ": "vector",
          "ddot_γ": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "Δ",
          "R"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l2-speed",
      "title": "Derivative of arc length",
      "prompt": "For a regular curve $\\alpha(t)$, let $s(t)=\\int_{t_0}^t\\|\\dot\\alpha(u)\\|\\,du$. Express $\\dot s(t)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dot_s",
            "label": "dot_s"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "dot_a",
            "label": "dot_a"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "dot_s"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "t"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "||"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dot_a"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "t"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "||"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "definition": "The fundamental theorem of calculus gives $\\dot s(t)=\\|\\dot\\alpha(t)\\|>0$. This makes the arc-length coordinate locally invertible."
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l2-unit-tangent",
      "title": "Unit tangent at arbitrary speed",
      "prompt": "Express the unit tangent $T$ of a regular curve in terms of $\\dot\\alpha$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "T",
            "label": "T"
          },
          {
            "tool": "dot_a",
            "label": "dot_a"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "T"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "dot_a"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "dot_a"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The velocity of $\\alpha(t)=(x(t),y(t),z(t))$ is $\\dot\\alpha(t)=(\\dot x(t),\\dot y(t),\\dot z(t))$.",
          "steps": [
            {
              "text": "$\\displaystyle \\|\\dot\\alpha(t)\\|^2=\\langle\\dot\\alpha(t),\\dot\\alpha(t)\\rangle=\\dot x(t)^2+\\dot y(t)^2+\\dot z(t)^2$."
            },
            {
              "text": "Taking the nonnegative square root gives the speed. For a regular curve this speed is positive, so the unit tangent is $T=\\dot\\alpha/\\|\\dot\\alpha\\|$."
            },
            {
              "text": "$\\displaystyle \\|T\\|^2=\\frac{\\langle\\dot\\alpha,\\dot\\alpha\\rangle}{\\|\\dot\\alpha\\|^2}=1$. The positive divisor preserves the direction of motion."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l2-curvature",
      "title": "Curvature of a unit-speed curve",
      "prompt": "For a unit-speed curve with arc-length parameter $s$, express $k$ using $\\alpha^{\\prime\\prime}$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "k",
            "label": "k"
          },
          {
            "tool": "α''",
            "label": "α''"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "k"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "||"
                },
                {
                  "kind": "symbol",
                  "text": "α''"
                },
                {
                  "kind": "symbol",
                  "text": "||"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "definition",
        "definition": "Curvature is the rate of change of the unit tangent with respect to arc length."
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l2-normal",
      "title": "Principal normal",
      "prompt": "For a curve parametrized by arc length (unit speed), with $k>0$, express $N$ using $T^{\\prime}$. Primes denote arc-length derivatives.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "T'",
            "label": "T'"
          },
          {
            "tool": "k",
            "label": "k"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "N"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "k"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "T'"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Use arc length $s$ and assume $k>0$. Write $T=\\alpha'$, $k=\\|T'\\|$, $N=T'/k$, $B=T\\times N$. The lecture defines torsion by $\\tau=\\langle B',N\\rangle$.",
          "steps": [
            {
              "text": "Differentiate unit length: $0=(\\langle T,T\\rangle)'=\\langle T',T\\rangle+\\langle T,T'\\rangle=2\\langle T',T\\rangle$. Hence $N\\perp T$ and $\\|N\\|=\\|T'\\|/k=1$. Consequently $T,N,B$ are orthonormal and $T'=kN$."
            },
            {
              "text": "$\\displaystyle \\langle B',B\\rangle=\\tfrac12(\\langle B,B\\rangle)'=0$."
            },
            {
              "text": "$\\displaystyle \\langle B',T\\rangle=(\\langle B,T\\rangle)'-\\langle B,T'\\rangle=0-k\\langle B,N\\rangle=0$."
            },
            {
              "text": "Expansion in the orthonormal basis now gives $B'=0T+\\tau N+0B=\\tau N$."
            },
            {
              "text": "For the normal derivative, $\\langle N',N\\rangle=\\tfrac12(\\langle N,N\\rangle)'=0$ and $\\langle N',T\\rangle=-\\langle N,T'\\rangle=-k\\langle N,N\\rangle=-k$."
            },
            {
              "text": "Finally $\\langle N',B\\rangle=-\\langle N,B'\\rangle=-\\tau\\langle N,N\\rangle=-\\tau$. Therefore $N'=-kT-\\tau B$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "retired": true,
      "type": "equation-practice"
    },
    {
      "id": "l2-binormal",
      "title": "Binormal",
      "prompt": "Write the oriented binormal $B$ in terms of $T$ and $N$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "B",
            "label": "B"
          },
          {
            "tool": "T",
            "label": "T"
          },
          {
            "tool": "N",
            "label": "N"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "B"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "T"
            },
            {
              "kind": "symbol",
              "text": "×"
            },
            {
              "kind": "symbol",
              "text": "N"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "definition",
        "definition": "The cross product completes the positively oriented orthonormal Frenet frame."
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l2-frenet-normal",
      "title": "Frenet normal derivative",
      "prompt": "For a unit-speed curve with $k>0$, express $N^{\\prime}$. Use the lecture convention $B^{\\prime}=\\tau N$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "N'",
            "label": "N'"
          },
          {
            "tool": "k",
            "label": "k"
          },
          {
            "tool": "T",
            "label": "T"
          },
          {
            "tool": "τ",
            "label": "τ"
          },
          {
            "tool": "B",
            "label": "B"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "N'"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "k"
            },
            {
              "kind": "symbol",
              "text": "T"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "τ"
            },
            {
              "kind": "symbol",
              "text": "B"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Use arc length $s$ and assume $k>0$. Write $T=\\alpha'$, $k=\\|T'\\|$, $N=T'/k$, $B=T\\times N$. The lecture defines torsion by $\\tau=\\langle B',N\\rangle$.",
          "steps": [
            {
              "text": "Differentiate unit length: $0=(\\langle T,T\\rangle)'=\\langle T',T\\rangle+\\langle T,T'\\rangle=2\\langle T',T\\rangle$. Hence $N\\perp T$ and $\\|N\\|=\\|T'\\|/k=1$. Consequently $T,N,B$ are orthonormal and $T'=kN$."
            },
            {
              "text": "$\\displaystyle \\langle B',B\\rangle=\\tfrac12(\\langle B,B\\rangle)'=0$."
            },
            {
              "text": "$\\displaystyle \\langle B',T\\rangle=(\\langle B,T\\rangle)'-\\langle B,T'\\rangle=0-k\\langle B,N\\rangle=0$."
            },
            {
              "text": "Expansion in the orthonormal basis now gives $B'=0T+\\tau N+0B=\\tau N$."
            },
            {
              "text": "For the normal derivative, $\\langle N',N\\rangle=\\tfrac12(\\langle N,N\\rangle)'=0$ and $\\langle N',T\\rangle=-\\langle N,T'\\rangle=-k\\langle N,N\\rangle=-k$."
            },
            {
              "text": "Finally $\\langle N',B\\rangle=-\\langle N,B'\\rangle=-\\tau\\langle N,N\\rangle=-\\tau$. Therefore $N'=-kT-\\tau B$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l2-torsion",
      "title": "Torsion from the binormal derivative",
      "prompt": "Express $\\tau$ as an inner product using $B^{\\prime}$ and $N$. Use $B^{\\prime}=\\tau N$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "τ",
            "label": "τ"
          },
          {
            "tool": "B'",
            "label": "B'"
          },
          {
            "tool": "N",
            "label": "N"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "τ"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "B'"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "definition",
        "definition": "This lecture uses the negative of the convention adopted by books that write $B^{\\prime}=-\\tau N$."
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "retired": true,
      "type": "equation-practice"
    },
    {
      "id": "l3-frenet-matrix",
      "title": "Frenet system matrix",
      "prompt": "The rows of $F$ are $T,N,B$, and $F^{\\prime}=AF$. Write $A$ using $k,\\tau$, with $B^{\\prime}=\\tau N$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "matrix-3x3",
            "label": "matrix-3x3"
          },
          {
            "tool": "k",
            "label": "k"
          },
          {
            "tool": "τ",
            "label": "τ"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "A"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "cells": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "k"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "k"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "τ"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "τ"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "cols": 3,
              "kind": "matrix"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "With rows $T,N,B$, the Frenet equations $T'=kN$, $N'=-kT-\\tau B$, $B'=\\tau N$ give $F'=AF$, where $A=\\left(\\begin{smallmatrix}0&k&0\\\\-k&0&-\\tau\\\\0&\\tau&0\\end{smallmatrix}\\right)$ and $A^{\\mathsf T}=-A$.",
          "steps": [
            {
              "text": "For $M=FF^{\\mathsf T}$, the product rule gives"
            },
            {
              "text": "$\\displaystyle M'=F'F^{\\mathsf T}+F(F')^{\\mathsf T}=AFF^{\\mathsf T}+FF^{\\mathsf T}A^{\\mathsf T}=AM-MA$."
            },
            {
              "text": "The constant matrix $M=I$ satisfies this differential equation, since $AI-IA=0$, and has the prescribed orthonormal initial data. Uniqueness for this linear system of matrix entries gives $M(s)=I$ throughout the interval."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l3-gram",
      "title": "Gram matrix of the Frenet frame",
      "prompt": "A Frenet frame solves $F^{\\prime}=AF$ with $A^{\\mathsf T}=-A$ and orthonormal initial data. What is its Gram matrix $M=FF^{\\mathsf T}$?",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "M",
            "label": "M"
          },
          {
            "tool": "matrix-3x3",
            "label": "matrix-3x3"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "M"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "cells": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "1"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "1"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "1"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "cols": 3,
              "kind": "matrix"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "With rows $T,N,B$, the Frenet equations $T'=kN$, $N'=-kT-\\tau B$, $B'=\\tau N$ give $F'=AF$, where $A=\\left(\\begin{smallmatrix}0&k&0\\\\-k&0&-\\tau\\\\0&\\tau&0\\end{smallmatrix}\\right)$ and $A^{\\mathsf T}=-A$.",
          "steps": [
            {
              "text": "For $M=FF^{\\mathsf T}$, the product rule gives"
            },
            {
              "text": "$\\displaystyle M'=F'F^{\\mathsf T}+F(F')^{\\mathsf T}=AFF^{\\mathsf T}+FF^{\\mathsf T}A^{\\mathsf T}=AM-MA$."
            },
            {
              "text": "The constant matrix $M=I$ satisfies this differential equation, since $AI-IA=0$, and has the prescribed orthonormal initial data. Uniqueness for this linear system of matrix entries gives $M(s)=I$ throughout the interval."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l3-area",
      "title": "Area enclosed by a plane curve",
      "prompt": "For a positively oriented simple closed plane curve $(x(t),y(t))$, $a\\leq t\\leq b$, express enclosed area $A$ using a single integral of $x\\dot y$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "int_ab",
            "label": "int_ab"
          },
          {
            "tool": "x",
            "label": "x"
          },
          {
            "tool": "dot_y",
            "label": "dot_y"
          },
          {
            "tool": "dt",
            "label": "dt"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "A"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "int_ab"
            },
            {
              "kind": "symbol",
              "text": "x"
            },
            {
              "kind": "symbol",
              "text": "dot_y"
            },
            {
              "kind": "symbol",
              "text": "dt"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "For a positively oriented simple closed curve, Green's theorem with vector field $(-y/2,x/2)$ gives $A=\\frac12\\int_a^b(x\\dot y-y\\dot x)\\,dt$.",
          "steps": [
            {
              "text": "Integration by parts gives $\\int_a^b y\\dot x\\,dt=[xy]_a^b-\\int_a^b x\\dot y\\,dt$."
            },
            {
              "text": "Closed endpoints mean $x(a)=x(b)$ and $y(a)=y(b)$, so $[xy]_a^b=0$ and $\\int_a^b y\\dot x\\,dt=-\\int_a^b x\\dot y\\,dt$."
            },
            {
              "text": "Substitute this equality into Green's formula: $A=\\frac12(\\int_a^b x\\dot y\\,dt+\\int_a^b x\\dot y\\,dt)=\\int_a^b x\\dot y\\,dt$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l3-optimal-area",
      "title": "Isoperimetric bound",
      "prompt": "Among simple closed plane curves of length $L$, what is the maximum possible enclosed area $A_{max}$?",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "A_max",
            "label": "A_max"
          },
          {
            "tool": "L",
            "label": "L"
          },
          {
            "tool": "4",
            "label": "4"
          },
          {
            "tool": "π",
            "label": "π"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3",
          "4"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "A_max"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "4"
                  },
                  {
                    "kind": "symbol",
                    "text": "π"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "base": {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "L"
                    }
                  ],
                  "kind": "row"
                },
                "exponent": {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ],
                  "kind": "row"
                },
                "kind": "power"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Take a positively oriented smooth simple closed curve parametrized by arc length on $[0,L]$. Translate horizontally so its minimum and maximum horizontal coordinates are $-r,r$, with $r>0$.",
          "steps": [
            {
              "text": "Split the curve at a leftmost and a rightmost point. On the arc from left to right put $\\bar y=-\\sqrt{r^2-x^2}$; on the arc from right to left put $\\bar y=\\sqrt{r^2-x^2}$. Backtracking in $x$ cancels because the integrands have antiderivatives."
            },
            {
              "text": "$\\displaystyle -\\int_0^L\\bar y x'\\,ds=\\int_{-r}^r\\sqrt{r^2-x^2}\\,dx-\\int_r^{-r}\\sqrt{r^2-x^2}\\,dx=\\pi r^2$."
            },
            {
              "text": "Here each semicircle integral equals $\\pi r^2/2$ by $x=r\\sin\\theta$. Also $x^2+\\bar y^2=r^2$ and $x'^2+y'^2=1$. Green's theorem gives $A=\\int_0^Lxy'\\,ds$."
            },
            {
              "text": "Pointwise Cauchy-Schwarz applied to $(x,-\\bar y)$ and $(y',x')$ gives $xy'-\\bar yx'\\leq\\sqrt{x^2+\\bar y^2}\\sqrt{y'^2+x'^2}=r$."
            },
            {
              "text": "Integrating, $A+\\pi r^2\\leq rL$. Since $(\\sqrt A-\\sqrt\\pi r)^2\\geq0$, we also have $2r\\sqrt{\\pi A}\\leq A+\\pi r^2$. Thus $2\\sqrt{\\pi A}\\leq L$ and $A\\leq L^2/(4\\pi)$."
            },
            {
              "text": "A circle of radius $L/(2\\pi)$ has perimeter $L$ and area $\\pi(L/(2\\pi))^2=L^2/(4\\pi)$, so this bound is the maximum."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l4-differential",
      "title": "Surface-curve velocity in coordinates",
      "prompt": "For $\\gamma(t)=X(u(t),v(t))$, express $\\dot\\gamma$ using the coordinate tangent vectors.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dot_γ",
            "label": "dot_γ"
          },
          {
            "tool": "dot_u",
            "label": "dot_u"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "dot_v",
            "label": "dot_v"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "dot_γ"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "dot_u"
            },
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "dot_v"
            },
            {
              "kind": "symbol",
              "text": "X_v"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Let $\\gamma(t)=X(u(t),v(t))$ in a regular chart. The ordinary chain rule gives",
          "steps": [
            {
              "text": "$\\displaystyle \\dot\\gamma(t)=\\frac{\\partial X}{\\partial u}(u(t),v(t))\\dot u(t)+\\frac{\\partial X}{\\partial v}(u(t),v(t))\\dot v(t)=\\dot u(t)X_u+\\dot v(t)X_v$."
            },
            {
              "text": "At $p=X(q)$, put $a=\\dot u(0)$, $b=\\dot v(0)$. Every curve velocity therefore has the form $aX_u+bX_v$."
            },
            {
              "text": "Conversely, for any $a,b$, the curve $t\\mapsto X(q+t(a,b))$ is defined for sufficiently small $t$ because the chart domain is open, and has velocity $aX_u+bX_v$ at zero. Thus these vectors are exactly the tangent plane; regularity makes $X_u,X_v$ a basis."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l4-rank",
      "title": "Rank of a surface chart",
      "prompt": "What is $\\mathrm{rank}(dX_q)$ for a regular surface parametrization?",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "rank",
            "label": "rank"
          },
          {
            "tool": "dX_q",
            "label": "dX_q"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "rank"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "dX_q"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "2"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "definition": "The differential is injective from a two-dimensional domain, so its two columns are linearly independent."
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l4-graph",
      "title": "Graph parametrization",
      "prompt": "Write a graph parametrization $X(u,v)$ for a smooth function $f(u,v)$. Abbreviate $f(u,v)$ by $f$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "X",
            "label": "X"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "f",
            "label": "f"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "X"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "f"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The graph of $f$ consists of the points $(u,v,f(u,v))$, so define $X(u,v)=(u,v,f(u,v))$.",
          "steps": [
            {
              "text": "Projection $\\pi(x,y,z)=(x,y)$ satisfies $\\pi(X(u,v))=(u,v)$ and $X(\\pi(p))=p$ for every point $p$ of the graph. It is a smooth inverse."
            },
            {
              "text": "The coordinate tangents are $X_u=(1,0,f_u)$ and $X_v=(0,1,f_v)$. If $aX_u+bX_v=0$, the first two components give $a=b=0$, proving regularity."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l4-graph-cross",
      "title": "Cross product of graph tangents",
      "prompt": "For $X(u,v)=(u,v,f(u,v))$, compute $X_u\\times X_v$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "f_u",
            "label": "f_u"
          },
          {
            "tool": "f_v",
            "label": "f_v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": "×"
            },
            {
              "kind": "symbol",
              "text": "X_v"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "f_u"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "f_v"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "1"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "For $X(u,v)=(u,v,f(u,v))$, differentiating the three components gives $X_u=(1,0,f_u)$ and $X_v=(0,1,f_v)$.",
          "steps": [
            {
              "text": "$\\displaystyle X_u\\times X_v=(0f_v-f_u\\cdot1,\\ f_u\\cdot0-1f_v,\\ 1\\cdot1-0\\cdot0)=(-f_u,-f_v,1)$."
            },
            {
              "text": "The final component is one, so this vector is nonzero. Its squared norm is $(-f_u)^2+(-f_v)^2+1^2=1+f_u^2+f_v^2$."
            },
            {
              "text": "Thus the upward unit normal is $N=(-f_u,-f_v,1)/\\sqrt{1+f_u^2+f_v^2}$. The denominator is positive and the third component is positive."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l4-implicit",
      "title": "Implicit differentiation",
      "prompt": "Let $F(x,y,z)$ be smooth. If $F(u,v,g(u,v))=a$ and $F_z\\ne0$, express $g_u$ using derivatives of $F$, evaluated on the graph.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "g_u",
            "label": "g_u"
          },
          {
            "tool": "F_x",
            "label": "F_x"
          },
          {
            "tool": "F_z",
            "label": "F_z"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "g_u"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "F_z"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "F_x"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "definition": "Differentiate the level equation: $F_x+F_zg_u=0$. Nonvanishing of $F_z$ permits division."
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l5-tangent",
      "title": "Tangent-vector coordinates",
      "prompt": "At $p=X(q)$, express an arbitrary tangent vector $w$ using the basis $X_u,X_v$ and coefficients $a,b$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "w",
            "label": "w"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "w"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "a"
            },
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "b"
            },
            {
              "kind": "symbol",
              "text": "X_v"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Let $\\gamma(t)=X(u(t),v(t))$ in a regular chart. The ordinary chain rule gives",
          "steps": [
            {
              "text": "$\\displaystyle \\dot\\gamma(t)=\\frac{\\partial X}{\\partial u}(u(t),v(t))\\dot u(t)+\\frac{\\partial X}{\\partial v}(u(t),v(t))\\dot v(t)=\\dot u(t)X_u+\\dot v(t)X_v$."
            },
            {
              "text": "At $p=X(q)$, put $a=\\dot u(0)$, $b=\\dot v(0)$. Every curve velocity therefore has the form $aX_u+bX_v$."
            },
            {
              "text": "Conversely, for any $a,b$, the curve $t\\mapsto X(q+t(a,b))$ is defined for sufficiently small $t$ because the chart domain is open, and has velocity $aX_u+bX_v$ at zero. Thus these vectors are exactly the tangent plane; regularity makes $X_u,X_v$ a basis."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l5-dimension",
      "title": "Dimension of the tangent plane",
      "prompt": "For a regular surface, what is $\\dim(T_pS)$? Use $T_p$ for the tangent space in the answer.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dim",
            "label": "dim"
          },
          {
            "tool": "T_p",
            "label": "T_p"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "dim"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "T_p"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "2"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "definition": "Injectivity of the chart differential identifies the tangent plane with the two-dimensional parameter space."
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l5-level-tangent",
      "title": "Tangent condition for a level set",
      "prompt": "At a point of a regular level surface of $f$, write the inner-product condition for a vector $w$ to be tangent. Evaluate the gradient at that point.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "∇f",
            "label": "∇f"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "w",
            "label": "w"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "∇f"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "p"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "w"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Let $S=\\{f=c\\}$ near $p$ with $\\nabla f(p)\\ne0$. If $\\alpha(t)$ is a curve in $S$ with $\\alpha(0)=p$, $\\dot\\alpha(0)=w$, then $f(\\alpha(t))=c$.",
          "steps": [
            {
              "text": "Differentiation gives $0=\\left.\\frac d{dt}\\right|_0f(\\alpha(t))=df_p(w)=\\langle\\nabla f(p),w\\rangle$. Hence $T_pS$ is contained in the kernel of this inner product."
            },
            {
              "text": "The kernel has dimension two: it is the perpendicular plane to the nonzero vector $\\nabla f(p)$. The regular surface tangent plane also has dimension two. Inclusion of two planes of the same dimension is equality, proving the converse."
            },
            {
              "text": "Therefore $\\nabla f(p)$ is a normal. Dividing by its positive norm gives $N(p)=\\nabla f(p)/\\|\\nabla f(p)\\|$, with $\\|N(p)\\|=1$ and $\\langle N(p),w\\rangle=0$ for every tangent $w$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {
          "∇f": [
            "p"
          ]
        },
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l5-sphere-tangent",
      "title": "Tangent condition for a sphere",
      "prompt": "A sphere has center $p_0$. At a point $p$ on it, write the inner-product condition for $w$ to be tangent.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "p_0",
            "label": "p_0"
          },
          {
            "tool": "w",
            "label": "w"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "p"
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "p_0"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "w"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "On the sphere of radius $r>0$ centered at $p_0$, the level function is $f(p)=\\|p-p_0\\|^2=r^2$. Its differential is $df_p(w)=\\langle w,p-p_0\\rangle+\\langle p-p_0,w\\rangle=2\\langle p-p_0,w\\rangle$.",
          "steps": [
            {
              "text": "Thus a tangent vector satisfies $\\langle p-p_0,w\\rangle=0$. The outward radial normal has length $r$, so $N(p)=(p-p_0)/r$ is unit and normal."
            },
            {
              "text": "For a surface curve with $\\alpha(0)=p$, $\\dot\\alpha(0)=w$, differentiate $N(\\alpha(t))=(\\alpha(t)-p_0)/r$: $dN_p(w)=\\dot\\alpha(0)/r=w/r$."
            },
            {
              "text": "The lecture uses $S=-dN$, so $S(w)=-w/r$ and $\\mathrm{II}_p(v,w)=\\langle S(v),w\\rangle=-\\langle v,w\\rangle/r$."
            },
            {
              "text": "Every nonzero tangent is an eigenvector with eigenvalue $-1/r$. Hence $k_1=k_2=-1/r$."
            },
            {
              "text": "$\\displaystyle H=\\frac{k_1+k_2}{2}=\\frac{-1/r-1/r}{2}=-\\frac1r,\\qquad K=k_1k_2=\\left(-\\frac1r\\right)\\left(-\\frac1r\\right)=\\frac1{r^2}$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l6-quadratic",
      "title": "Differential of a quadratic form",
      "prompt": "Let $f:\\mathbb R^3\\to\\mathbb R$, $f(p)=\\langle Ap,p\\rangle$, with $A$ symmetric. For $v\\in\\mathbb R^3$, express $df_p(v)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "df_p",
            "label": "df_p"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "p",
            "label": "p"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "df_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "A"
                    },
                    {
                      "kind": "symbol",
                      "text": "p"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        },
        {
          "children": [
            {
              "kind": "symbol",
              "text": "df_p"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "v"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "A"
            },
            {
              "kind": "symbol",
              "text": "v"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "p"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "For any $p,v\\in\\mathbb R^3$, choose the line $\\alpha(t)=p+tv$, so $\\alpha(0)=p$ and $\\alpha'(0)=v$.",
          "steps": [
            {
              "text": "By the definition of the differential and the product rule,"
            },
            {
              "text": "$\\displaystyle df_p(v)=\\left.\\frac{d}{dt}\\right|_{t=0}\\langle A(p+tv),p+tv\\rangle=\\langle Av,p\\rangle+\\langle Ap,v\\rangle$."
            },
            {
              "text": "Since $A^{\\mathsf T}=A$, we have $\\langle Av,p\\rangle=\\langle v,A^{\\mathsf T}p\\rangle=\\langle v,Ap\\rangle=\\langle Ap,v\\rangle$. Thus $df_p(v)=2\\langle Ap,v\\rangle$."
            },
            {
              "text": "The equivalent final answer $2\\langle Av,p\\rangle$ is also accepted, since $A$ is self-adjoint."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix",
          "v": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l6-eigenvector",
      "title": "Critical points of a quadratic form on the sphere",
      "prompt": "For symmetric $A$ and $f(p)=\\langle Ap,p\\rangle$ on the unit sphere, write the equation characterizing a critical point using a scalar $\\lambda$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "λ",
            "label": "λ"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "A"
            },
            {
              "kind": "symbol",
              "text": "p"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "λ"
            },
            {
              "kind": "symbol",
              "text": "p"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Let $f(p)=\\langle Ap,p\\rangle$ with $A^{\\mathsf T}=A$. For $\\alpha(0)=p$ and $\\dot\\alpha(0)=v$, the product rule gives",
          "steps": [
            {
              "text": "$\\displaystyle df_p(v)=\\langle Av,p\\rangle+\\langle Ap,v\\rangle=\\langle v,A^{\\mathsf T}p\\rangle+\\langle Ap,v\\rangle=2\\langle Ap,v\\rangle$."
            },
            {
              "text": "On the unit sphere, the tangent plane is $p^\\perp$. By definition, $p$ is critical exactly when $df_p(v)=0$ for every $v\\in T_pS^2=p^\\perp$. The differential formula above makes this equivalent to $\\langle Ap,v\\rangle=0$ for every $v\\perp p$. Decompose $Ap=\\langle Ap,p\\rangle p+w$ with $w\\perp p$. Taking $v=w$ yields $0=\\|w\\|^2$, so $w=0$ and $Ap=\\lambda p$."
            },
            {
              "text": "Conversely, if $Ap=\\lambda p$, then $df_p(v)=2\\lambda\\langle p,v\\rangle=0$ for all tangent $v$, so $p$ is critical."
            },
            {
              "text": "Taking the inner product with the unit vector $p$ gives $\\langle Ap,p\\rangle=\\langle\\lambda p,p\\rangle=\\lambda\\|p\\|^2=\\lambda$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l6-critical-value",
      "title": "Quadratic-form value at a unit eigenvector",
      "prompt": "At a unit eigenvector $p$ with $Ap=\\lambda p$, express $\\lambda$ as an inner product involving $A$ and $p$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "λ",
            "label": "λ"
          },
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "p",
            "label": "p"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "λ"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "A"
                    },
                    {
                      "kind": "symbol",
                      "text": "p"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "p"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Let $f(p)=\\langle Ap,p\\rangle$ with $A^{\\mathsf T}=A$. For $\\alpha(0)=p$ and $\\dot\\alpha(0)=v$, the product rule gives",
          "steps": [
            {
              "text": "$\\displaystyle df_p(v)=\\langle Av,p\\rangle+\\langle Ap,v\\rangle=\\langle v,A^{\\mathsf T}p\\rangle+\\langle Ap,v\\rangle=2\\langle Ap,v\\rangle$."
            },
            {
              "text": "On the unit sphere, the tangent plane is $p^\\perp$. By definition, $p$ is critical exactly when $df_p(v)=0$ for every $v\\in T_pS^2=p^\\perp$. The differential formula above makes this equivalent to $\\langle Ap,v\\rangle=0$ for every $v\\perp p$. Decompose $Ap=\\langle Ap,p\\rangle p+w$ with $w\\perp p$. Taking $v=w$ yields $0=\\|w\\|^2$, so $w=0$ and $Ap=\\lambda p$."
            },
            {
              "text": "Conversely, if $Ap=\\lambda p$, then $df_p(v)=2\\lambda\\langle p,v\\rangle=0$ for all tangent $v$, so $p$ is critical."
            },
            {
              "text": "Taking the inner product with the unit vector $p$ gives $\\langle Ap,p\\rangle=\\langle\\lambda p,p\\rangle=\\lambda\\|p\\|^2=\\lambda$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l6-distance",
      "title": "Squared-distance differential",
      "prompt": "On a surface let $f(p)=\\|p-p_0\\|^2$. For $v\\in T_pS$, express $df_p(v)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "df_p",
            "label": "df_p"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "p_0",
            "label": "p_0"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "df_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "p"
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "p_0"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "For a fixed point $p_0$, define $d_{p_0}(p)=\\|p-p_0\\|^2=\\langle p-p_0,p-p_0\\rangle$. This is smooth, including at $p=p_0$.",
          "steps": [
            {
              "text": "For $\\alpha(0)=p$, $\\dot\\alpha(0)=v$, differentiation gives"
            },
            {
              "text": "$\\displaystyle d(d_{p_0})_p(v)=\\langle v,p-p_0\\rangle+\\langle p-p_0,v\\rangle=2\\langle p-p_0,v\\rangle$."
            },
            {
              "text": "Away from $p_0$, ordinary distance $r(p)=\\|p-p_0\\|>0$ satisfies $d(d_{p_0})=2r\\,dr$. Thus distance and squared distance have the same critical points there. At $p_0$ on the surface, ordinary distance is not differentiable; no equivalence of critical points is asserted there."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l6-height-differential",
      "title": "Height differential",
      "prompt": "Let $f(p)=\\langle p-p_0,a\\rangle$ with fixed $p_0,a$. Express $df_p(v)$ for tangent $v$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "df_p",
            "label": "df_p"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "a",
            "label": "a"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "df_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The reference point only adds a constant to the height function.",
          "steps": [
            {
              "text": "Along a surface curve with $\\alpha(0)=p$ and $\\alpha^{\\prime}(0)=v$, differentiate $f(\\alpha(t))=\\langle\\alpha(t)-p_0,a\\rangle$: $df_p(v)=\\langle v,a\\rangle$, since $p_0$ and $a$ are fixed."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l12-ruled-cross",
      "title": "Cross product of ruled-surface tangents",
      "prompt": "For $X(t,v)=\\alpha(t)+vw(t)$, express $Q=X_t\\times X_v$ using dots for $t$ derivatives.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "Q",
            "label": "Q"
          },
          {
            "tool": "dot_a",
            "label": "dot_a"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "dot_w",
            "label": "dot_w"
          },
          {
            "tool": "w",
            "label": "w"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "Q"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dot_a"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": "dot_w"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "×"
            },
            {
              "kind": "symbol",
              "text": "w"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Hold the other coordinate fixed: $X_t=\\dot\\alpha+v\\dot w$ and $X_v=w$. Substitute these two tangents into $Q=X_t\\times X_v$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l12-ruled-g",
      "title": "Second derivative along a ruling",
      "prompt": "For the ruled parametrization $X(t,v)=\\alpha(t)+vw(t)$, compute $X_{vv}$.",
      "learningVersion": 2,
      "editor": {
        "palette": [
          {
            "tool": "X_vv",
            "label": "X_vv"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "X_vv"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "With $t$ fixed, $X_v=w(t)$ is independent of $v$, so $X_{vv}=0$: each ruling is a straight line."
            },
            {
              "text": "Consequently, at a regular point, $g=\\langle N,X_{vv}\\rangle=\\langle N,0\\rangle=0$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix",
          "X_vv": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l12-ruled-K",
      "title": "Gaussian curvature of a ruled surface",
      "prompt": "At a regular point of a ruled surface put $D=EG-F^2=\\|X_t\\times X_v\\|^2>0$. Let $f$ be the mixed second fundamental-form coefficient. Express $K$ using $f,D$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "K",
            "label": "K"
          },
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "D",
            "label": "D"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "K"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "bottom": {
                "kind": "symbol",
                "text": "D"
              },
              "kind": "fraction",
              "top": {
                "base": {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "f"
                    }
                  ],
                  "kind": "row"
                },
                "exponent": {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ],
                  "kind": "row"
                },
                "kind": "power"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "For the regular ruled chart $X(t,v)=\\alpha(t)+vw(t)$, we have $X_{vv}=0$.",
          "steps": [
            {
              "text": "$\\displaystyle g=\\langle N,X_{vv}\\rangle=\\langle N,0\\rangle=0$."
            },
            {
              "text": "With $D=\\|X_t\\times X_v\\|^2=EG-F^2>0$, $\\displaystyle K=\\frac{eg-f^2}{EG-F^2}=\\frac{e\\cdot0-f^2}{D}=-\\frac{f^2}{D}\\le0$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l12-density",
      "title": "Area density",
      "prompt": "Put $D=EG-F^2$. Express the area density $\\|X_u\\times X_v\\|$ using $D$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "D",
            "label": "D"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "||"
            },
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": "×"
            },
            {
              "kind": "symbol",
              "text": "X_v"
            },
            {
              "kind": "symbol",
              "text": "||"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "radical",
              "radicand": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "D"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The Gram identity gives $\\|X_u\\times X_v\\|^2=EG-F^2=D$. Taking the nonnegative square root gives the area density."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector"
        },
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l12-minimal",
      "title": "Minimal-surface condition",
      "prompt": "Write the condition on mean curvature $H$ that defines a minimal surface.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "H",
            "label": "H"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "H"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "A surface is minimal when its mean curvature $H$ vanishes everywhere.",
          "steps": [
            {
              "text": "Equivalently, area is stationary under every smooth compactly supported normal variation. This does not necessarily mean that the surface minimizes area."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l12-vary-E",
      "title": "First variation of the metric coefficient E",
      "prompt": "For $X^t=X+thN$, let $\\dot E$ mean the derivative of $E^t$ at $t=0$. Express it using $h,e$, with $S=-dN$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dot_E",
            "label": "dot_E"
          },
          {
            "tool": "h",
            "label": "h"
          },
          {
            "tool": "e",
            "label": "e"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "dot_E"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "h"
            },
            {
              "kind": "symbol",
              "text": "e"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "For $X^t=X+thN$, we have $\\dot X_u=h_uN+hN_u$.",
          "steps": [
            {
              "text": "Normality gives $\\langle N,X_u\\rangle=0$. Differentiating: $0=\\partial_u 0=\\partial_u\\langle N,X_u\\rangle=\\langle N_u,X_u\\rangle+\\langle N,X_{uu}\\rangle$, hence $\\langle N_u,X_u\\rangle=-e$."
            },
            {
              "text": "$\\displaystyle \\dot E=2\\langle\\dot X_u,X_u\\rangle=2h_u\\langle N,X_u\\rangle+2h\\langle N_u,X_u\\rangle=-2he$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l12-vary-density",
      "title": "First variation of area density",
      "prompt": "For $X^t=X+thN$, let $D^t=E^tG^t-(F^t)^2$ and $D=D^0$. Express $\\left.\\partial_t\\sqrt{D^t}\\right|_{t=0}$ using $h,H,D$, with $H=\\tfrac12\\operatorname{tr}(-dN)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "D_0",
            "label": "D_0"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "D",
            "label": "D"
          },
          {
            "tool": "h",
            "label": "h"
          },
          {
            "tool": "H",
            "label": "H"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "D_0"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "radical",
                  "radicand": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "D"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "t"
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "h"
            },
            {
              "kind": "symbol",
              "text": "H"
            },
            {
              "kind": "radical",
              "radicand": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "D"
                  }
                ]
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Put $D=EG-F^2>0$. The determinant-variation formula gives $\\dot D=-4hHD$.",
          "steps": [
            {
              "text": "$\\displaystyle \\left.\\partial_t\\sqrt{D^t}\\right|_{t=0}=\\frac{\\dot D}{2\\sqrt D}=\\frac{-4hHD}{2\\sqrt D}=-2hH\\sqrt D$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l13-metric-diagonal",
      "title": "Recovering the mixed metric term",
      "prompt": "Given $E,G$ and $\\|X_u+X_v\\|^2$, express $F$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "G",
            "label": "G"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "F"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "||"
                        },
                        {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "X_u"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "kind": "symbol",
                              "text": "X_v"
                            }
                          ],
                          "kind": "row"
                        },
                        {
                          "kind": "symbol",
                          "text": "||"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "symbol",
                    "text": "E"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "symbol",
                    "text": "G"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Expand the squared norm using bilinearity:",
          "steps": [
            {
              "text": "$\\displaystyle \\|X_u+X_v\\|^2=\\langle X_u,X_u\\rangle+\\langle X_u,X_v\\rangle+\\langle X_v,X_u\\rangle+\\langle X_v,X_v\\rangle=E+2F+G$."
            },
            {
              "text": "Subtract $E+G$ and divide by two: $F=(\\|X_u+X_v\\|^2-E-G)/2$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l13-conformal",
      "title": "Conformal metric",
      "prompt": "A conformal chart has length scale $\\lambda>0$. Write its metric matrix $M$ in the coordinate basis.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "M",
            "label": "M"
          },
          {
            "tool": "matrix",
            "label": "matrix"
          },
          {
            "tool": "λ",
            "label": "λ"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "M"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "cells": [
                {
                  "children": [
                    {
                      "base": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "λ"
                          }
                        ],
                        "kind": "row"
                      },
                      "exponent": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ],
                        "kind": "row"
                      },
                      "kind": "power"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "children": [
                    {
                      "base": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "λ"
                          }
                        ],
                        "kind": "row"
                      },
                      "exponent": {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ],
                        "kind": "row"
                      },
                      "kind": "power"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "cols": 2,
              "kind": "matrix"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The coordinate unit vectors have perpendicular images of length $\\lambda$. Thus $E=G=\\lambda^2$ and $F=0$, giving $M=\\lambda^2I$."
            },
            {
              "text": "Conversely, this matrix multiplies every squared norm and inner product by $\\lambda^2$. Those factors cancel in the cosine of an angle. L13C derives the common scale from angle preservation."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l13-area-preserving",
      "title": "Area-preserving chart",
      "prompt": "Write the condition on $E,F,G$ for a regular chart to preserve planar area.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "G",
            "label": "G"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "E"
            },
            {
              "kind": "symbol",
              "text": "G"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "base": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "F"
                  }
                ],
                "kind": "row"
              },
              "exponent": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ],
                "kind": "row"
              },
              "kind": "power"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "1"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The surface area element is $\\sqrt{EG-F^2}\\,du\\,dv$. It equals planar area precisely when its positive density is $1$, equivalently $EG-F^2=1$."
            },
            {
              "text": "Equality of areas for every region forces equality of densities: a continuous density strictly above or below $1$ at one point would retain that inequality on a small region."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l13-stereographic",
      "title": "Inverse stereographic projection",
      "prompt": "From the north pole, project onto the plane $z=0$. Write $X(u,v)$ on the unit sphere using $D=1+u^2+v^2$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "X",
            "label": "X"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "D",
            "label": "D"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "X"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "D"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      },
                      {
                        "kind": "symbol",
                        "text": "u"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      },
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "children": [
                      {
                        "base": {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "u"
                            }
                          ],
                          "kind": "row"
                        },
                        "exponent": {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ],
                          "kind": "row"
                        },
                        "kind": "power"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "base": {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "v"
                            }
                          ],
                          "kind": "row"
                        },
                        "exponent": {
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ],
                          "kind": "row"
                        },
                        "kind": "power"
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "1"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The line from the north pole $(0,0,1)$ to $(u,v,0)$ is $(tu,tv,1-t)$. Substitute it into the unit-sphere equation:",
          "steps": [
            {
              "text": "$\\displaystyle t^2u^2+t^2v^2+(1-t)^2=1\\quad\\Longleftrightarrow\\quad t^2(1+u^2+v^2)-2t=0$."
            },
            {
              "text": "Write $D=1+u^2+v^2>0$. Factoring gives $t(tD-2)=0$. The root $t=0$ is the north pole; the other intersection has $t=2/D$."
            },
            {
              "text": "Hence $X(u,v)=(2u/D,2v/D,1-2/D)=(2u,2v,u^2+v^2-1)/D$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l13-stereographic-scale",
      "title": "Stereographic metric coefficient",
      "prompt": "For inverse stereographic projection onto the unit sphere, use $D=1+u^2+v^2$. Give $E$; the other coefficients satisfy $G=E,F=0$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "4",
            "label": "4"
          },
          {
            "tool": "D",
            "label": "D"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3",
          "4"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "E"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "base": {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "D"
                    }
                  ],
                  "kind": "row"
                },
                "exponent": {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ],
                  "kind": "row"
                },
                "kind": "power"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "4"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The line from the north pole $(0,0,1)$ to $(u,v,0)$ is $(tu,tv,1-t)$. Substitute it into the unit-sphere equation:",
          "steps": [
            {
              "text": "$\\displaystyle t^2u^2+t^2v^2+(1-t)^2=1\\quad\\Longleftrightarrow\\quad t^2(1+u^2+v^2)-2t=0$."
            },
            {
              "text": "Write $D=1+u^2+v^2>0$. Factoring gives $t(tD-2)=0$. The root $t=0$ is the north pole; the other intersection has $t=2/D$."
            },
            {
              "text": "Hence $X(u,v)=(2u/D,2v/D,1-2/D)=(2u,2v,u^2+v^2-1)/D$."
            },
            {
              "text": "Using $D_u=2u$, $D_v=2v$, the quotient rule yields $X_u=(2D-4u^2,-4uv,4u)/D^2$ and $X_v=(-4uv,2D-4v^2,4v)/D^2$."
            },
            {
              "text": "$\\displaystyle E=\\frac{4(D-2u^2)^2+16u^2v^2+16u^2}{D^4}=\\frac{4[D^2-4Du^2+4u^4+4u^2(v^2+1)]}{D^4}$."
            },
            {
              "text": "The three terms after $D^2$ sum to $4u^2(-D+u^2+v^2+1)=0$. Thus $E=4D^2/D^4=4/D^2$."
            },
            {
              "text": "Similarly, $\\displaystyle G=\\frac{16u^2v^2+4(D-2v^2)^2+16v^2}{D^4}=\\frac{4[D^2+4v^2(-D+u^2+v^2+1)]}{D^4}=4/D^2$."
            },
            {
              "text": "$\\displaystyle F=\\frac{-8uv(D-2u^2)-8uv(D-2v^2)+16uv}{D^4}=\\frac{-16uvD+16uv(u^2+v^2+1)}{D^4}=0$."
            },
            {
              "text": "Therefore the metric is $(4/D^2)I$, proving conformality with positive length scale $2/D$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l13-moving-frame",
      "title": "Compatibility identity for frame derivatives",
      "prompt": "In an orthonormal frame $e_1,e_2,N$, let $e_{1,u}=\\alpha_1e_2+\\lambda_1N$, $e_{1,v}=\\alpha_2e_2+\\lambda_2N$, $e_{2,u}=-\\alpha_1e_1+\\mu_1N$, and $e_{2,v}=-\\alpha_2e_1+\\mu_2N$. Express $(\\alpha_1)_v-(\\alpha_2)_u$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "α1_v",
            "label": "α1_v"
          },
          {
            "tool": "α2_u",
            "label": "α2_u"
          },
          {
            "tool": "lambda_1",
            "label": "lambda_1"
          },
          {
            "tool": "mu_2",
            "label": "mu_2"
          },
          {
            "tool": "lambda_2",
            "label": "lambda_2"
          },
          {
            "tool": "mu_1",
            "label": "mu_1"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "α1_v"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "α2_u"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "lambda_1"
            },
            {
              "kind": "symbol",
              "text": "mu_2"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "lambda_2"
            },
            {
              "kind": "symbol",
              "text": "mu_1"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Differentiate $\\alpha_1=\\langle e_{1,u},e_2\\rangle$ in $v$ and $\\alpha_2=\\langle e_{1,v},e_2\\rangle$ in $u$. Mixed derivatives cancel, leaving $\\langle e_{1,u},e_{2,v}\\rangle-\\langle e_{1,v},e_{2,u}\\rangle$."
            },
            {
              "text": "In the stated orthonormal expansions, only the normal-normal products survive: $\\lambda_1\\mu_2-\\lambda_2\\mu_1$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l13-intrinsic",
      "title": "Gaussian curvature from frame rotation",
      "prompt": "Put $\\Delta=EG-F^2$. Choose an orthonormal tangent frame with $e_1\\times e_2=(X_u\\times X_v)/\\sqrt\\Delta$. Put $\\alpha_1=\\langle e_{1,u},e_2\\rangle$ and $\\alpha_2=\\langle e_{1,v},e_2\\rangle$. Express $K$ using their coordinate derivatives and $\\Delta$.",
      "learningVersion": 2,
      "editor": {
        "palette": [
          {
            "tool": "K",
            "label": "K"
          },
          {
            "tool": "α1_v",
            "label": "α1_v"
          },
          {
            "tool": "α2_u",
            "label": "α2_u"
          },
          {
            "tool": "Δ",
            "label": "Δ"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "K"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "radical",
                    "radicand": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "Δ"
                        }
                      ],
                      "kind": "row"
                    }
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "α1_v"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "symbol",
                    "text": "α2_u"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Put $\\Delta=EG-F^2$. Differentiated frame orthogonality gives $N_u=-\\lambda_1e_1-\\mu_1e_2$ and $N_v=-\\lambda_2e_1-\\mu_2e_2$. Thus $\\langle N_u\\times N_v,N\\rangle=\\lambda_1\\mu_2-\\lambda_2\\mu_1=(\\alpha_1)_v-(\\alpha_2)_u$."
            },
            {
              "text": "Also $\\langle N_u\\times N_v,N\\rangle=(eg-f^2)/\\sqrt\\Delta=K\\sqrt\\Delta$. Divide by $\\sqrt\\Delta>0$. The frame determinant and its curvature interpretation are computed separately in L14aC."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D",
          "Δ"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice",
      "recallPrompt": "Put $\\Delta=EG-F^2$. Choose an orthonormal tangent frame with $e_1\\times e_2=(X_u\\times X_v)/\\sqrt\\Delta$. Put $\\alpha_1=\\langle e_{1,u},e_2\\rangle$ and $\\alpha_2=\\langle e_{1,v},e_2\\rangle$. Express $K$ using their coordinate derivatives and $\\Delta$."
    },
    {
      "id": "compute-l6-quadratic",
      "title": "Differentiate a quadratic form",
      "prompt": "Let $\\alpha(0)=p$, $\\dot\\alpha(0)=v$ and let $A$ be symmetric. Build the chain for $\\left.\\frac d{dt}\\right|_0\\langle A\\alpha,\\alpha\\rangle$, first differentiating both factors, then using symmetry.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "D_0",
            "label": "D_0"
          },
          {
            "tool": "(",
            "label": "("
          },
          {
            "tool": "⟨",
            "label": "⟨"
          },
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "α",
            "label": "α"
          },
          {
            "tool": ",",
            "label": ","
          },
          {
            "tool": "⟩",
            "label": "⟩"
          },
          {
            "tool": ")",
            "label": ")"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "+",
            "label": "+"
          },
          {
            "tool": "2",
            "label": "2"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "D_0"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "A"
                        },
                        {
                          "kind": "symbol",
                          "text": "α"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "α"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "A"
                        },
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "p"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "A"
                        },
                        {
                          "kind": "symbol",
                          "text": "p"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "A"
                        },
                        {
                          "kind": "symbol",
                          "text": "p"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        },
        {
          "children": [
            {
              "kind": "symbol",
              "text": "D_0"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "A"
            },
            {
              "kind": "symbol",
              "text": "α"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "α"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "A"
            },
            {
              "kind": "symbol",
              "text": "v"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "p"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "A"
            },
            {
              "kind": "symbol",
              "text": "p"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "v"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "A"
            },
            {
              "kind": "symbol",
              "text": "v"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "p"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "D_0"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "A"
                        },
                        {
                          "kind": "symbol",
                          "text": "α"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "α"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "A"
                        },
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "p"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "A"
                        },
                        {
                          "kind": "symbol",
                          "text": "p"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "A"
                        },
                        {
                          "kind": "symbol",
                          "text": "p"
                        }
                      ],
                      "kind": "row"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Each equality transforms the preceding expression.",
          "steps": [
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "D_0"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "A"
                              },
                              {
                                "kind": "symbol",
                                "text": "α"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "α"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "A"
                              },
                              {
                                "kind": "symbol",
                                "text": "v"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "p"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "A"
                              },
                              {
                                "kind": "symbol",
                                "text": "p"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Apply the product rule to both factors, using the prescribed position and velocity."
            },
            {
              "equation": {
                "children": [
                  {
                    "children": [
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "A"
                              },
                              {
                                "kind": "symbol",
                                "text": "v"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "p"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "A"
                              },
                              {
                                "kind": "symbol",
                                "text": "p"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "kind": "row"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "A"
                              },
                              {
                                "kind": "symbol",
                                "text": "p"
                              }
                            ],
                            "kind": "row"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ],
                        "kind": "row"
                      }
                    ],
                    "kind": "row"
                  }
                ],
                "kind": "row"
              },
              "text": "Use symmetry of the matrix to identify the two inner products."
            },
            {
              "text": "Usage: for a level surface $\\langle Ax,x\\rangle=c$, any tangent vector $v$ satisfies $0=2\\langle Ap,v\\rangle$. Thus $Ap$ is normal wherever $Ap\\ne0$. With $A=I$ this gives the familiar normal to a sphere; positive definite $A$ gives ellipsoids."
            },
            {
              "text": "The equivalent final answer $2\\langle Av,p\\rangle$ is also accepted, since $A$ is self-adjoint."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "A": "matrix",
          "α": "vector",
          "p": "vector",
          "v": "vector",
          "X_u": "vector",
          "X_v": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "D",
          "W"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "For symmetric $A$ and $\\alpha(0)=p$, $\\alpha'(0)=v$, compute $\\left.\\frac d{dt}\\right|_0\\langle A\\alpha,\\alpha\\rangle$."
    },
    {
      "id": "compute-l12-ruled",
      "title": "Gaussian curvature of a ruled surface: derivation",
      "prompt": "For a regular ruled chart let $D=EG-F^2$ and $g=0$. Build the chain from the general formula for $K$, first substituting $g=0$, then replacing the metric determinant by $D$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "K",
            "label": "K"
          },
          {
            "tool": "e",
            "label": "e"
          },
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "−",
            "label": "−"
          },
          {
            "tool": "g",
            "label": "g"
          },
          {
            "tool": "2",
            "label": "2"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "G",
            "label": "G"
          },
          {
            "tool": "D",
            "label": "D"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "K"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "E"
                  },
                  {
                    "kind": "symbol",
                    "text": "G"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "e"
                  },
                  {
                    "kind": "symbol",
                    "text": "g"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "f"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  }
                ],
                "kind": "row"
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "E"
                  },
                  {
                    "kind": "symbol",
                    "text": "G"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "e"
                  },
                  {
                    "kind": "symbol",
                    "text": "×"
                  },
                  {
                    "kind": "symbol",
                    "text": "0"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "f"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "bottom": {
                    "kind": "symbol",
                    "text": "D"
                  },
                  "kind": "fraction",
                  "top": {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "f"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  }
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "K"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "E"
                  },
                  {
                    "kind": "symbol",
                    "text": "G"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "e"
                  },
                  {
                    "kind": "symbol",
                    "text": "g"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "f"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  }
                ],
                "kind": "row"
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "E"
                  },
                  {
                    "kind": "symbol",
                    "text": "G"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "e"
                  },
                  {
                    "kind": "symbol",
                    "text": "×"
                  },
                  {
                    "kind": "symbol",
                    "text": "0"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "f"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "bottom": {
                    "kind": "symbol",
                    "text": "D"
                  },
                  "kind": "fraction",
                  "top": {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "f"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  }
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "For a ruled chart $X(u,v)=\\alpha(u)+vw(u)$, the ruling is straight: $X_{vv}=0$, hence $g=\\langle N,X_{vv}\\rangle=0$."
            },
            {
              "text": "The denominator $EG-F^2$ equals $\\|X_u\\times X_v\\|^2=D$ by the Gram identity. Regularity makes it positive."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "A": "matrix",
          "α": "vector",
          "p": "vector",
          "v": "vector",
          "X_u": "vector",
          "X_v": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "For a regular ruled chart with $g=0$ and $D=EG-F^2$, derive $K=-f^2/D$."
    },
    {
      "id": "compute-l12-developability",
      "title": "Developability of a ruled surface",
      "prompt": "For a regular ruled chart $X(t,v)=\\alpha(t)+vw(t)$, put $Q=X_t\\times X_v$ and $N=Q/\\|Q\\|$. Compute the second-form coefficient $f$ as a scalar triple product: start with $\\langle N,X_{tv}\\rangle$, substitute, then simplify. Primes denote $t$ derivatives; elide $(t)$ arguments.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "X_tv",
            "label": "X_tv"
          },
          {
            "tool": "Q",
            "label": "Q"
          },
          {
            "tool": "α'",
            "label": "α'"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "w'",
            "label": "w'"
          },
          {
            "tool": "w",
            "label": "w"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "f"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_tv"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "⟨"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "α'"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "v"
                      },
                      {
                        "kind": "symbol",
                        "text": "w'"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      },
                      {
                        "kind": "symbol",
                        "text": "×"
                      },
                      {
                        "kind": "symbol",
                        "text": "w"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "symbol",
                    "text": "w'"
                  },
                  {
                    "kind": "symbol",
                    "text": "⟩"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "Q"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "⟨"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "α'"
                      },
                      {
                        "kind": "symbol",
                        "text": "×"
                      },
                      {
                        "kind": "symbol",
                        "text": "w"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "symbol",
                    "text": "w'"
                  },
                  {
                    "kind": "symbol",
                    "text": "⟩"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "Q"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              }
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "f"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_tv"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "⟨"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "α'"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "v"
                      },
                      {
                        "kind": "symbol",
                        "text": "w'"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      },
                      {
                        "kind": "symbol",
                        "text": "×"
                      },
                      {
                        "kind": "symbol",
                        "text": "w"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "symbol",
                    "text": "w'"
                  },
                  {
                    "kind": "symbol",
                    "text": "⟩"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "Q"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "⟨"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "α'"
                      },
                      {
                        "kind": "symbol",
                        "text": "×"
                      },
                      {
                        "kind": "symbol",
                        "text": "w"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "symbol",
                    "text": "w'"
                  },
                  {
                    "kind": "symbol",
                    "text": "⟩"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "Q"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 12, 07:00–14:00.",
          "steps": [
            {
              "text": "$X_{tv}=w^{\\prime}$ and $Q=(\\alpha^{\\prime}+vw^{\\prime})\\times w$."
            },
            {
              "text": "The term containing $v$ vanishes: $\\langle w^{\\prime}\\times w,w^{\\prime}\\rangle=0$, since the cross product is perpendicular to $w^{\\prime}$."
            },
            {
              "text": "The preceding card gives $K=-f^2/D$, where $D=\\|Q\\|^2>0$. Thus $K=0$ if and only if $\\langle\\alpha^{\\prime}\\times w,w^{\\prime}\\rangle=0$. A ruled surface satisfying this condition at its regular points is developable."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "N": "vector",
          "X_tv": "vector",
          "Q": "vector",
          "α'": "vector",
          "w'": "vector",
          "w": "vector"
        },
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "For $X(t,v)=\\alpha(t)+vw(t)$, with $Q=X_t\\times X_v$ and $N=Q/\\|Q\\|$, derive a scalar-triple-product expression for the second-form coefficient $f$. Use primes for $t$ derivatives and elide $(t)$ arguments."
    },
    {
      "id": "compute-l12-density",
      "title": "Area-density variation: derivation",
      "prompt": "For $X^t=X+thN$, let $D^t=E^tG^t-(F^t)^2$ and $D=D^0>0$. Given $\\dot{D^t}=-4hHD$, compute $\\left.\\partial_t\\sqrt{D^t}\\right|_{t=0}$ by the chain rule, substitute, and simplify. Dots denote variation derivatives at zero; undotted quantities are evaluated there.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "D_0",
            "label": "D_0"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "D",
            "label": "D"
          },
          {
            "tool": "dot_Dt",
            "label": "dot_Dt"
          },
          {
            "tool": "2",
            "label": "2"
          },
          {
            "tool": "−",
            "label": "−"
          },
          {
            "tool": "4",
            "label": "4"
          },
          {
            "tool": "h",
            "label": "h"
          },
          {
            "tool": "H",
            "label": "H"
          },
          {
            "tool": "Dup_t",
            "label": "Dup_t"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3",
          "4"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "D_0"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "radical",
                      "radicand": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "power",
                            "base": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "D"
                                }
                              ]
                            },
                            "exponent": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "t"
                                }
                              ]
                            }
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  },
                  {
                    "kind": "radical",
                    "radicand": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "D"
                        }
                      ],
                      "kind": "row"
                    }
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "dot_Dt"
                  }
                ],
                "kind": "row"
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  },
                  {
                    "kind": "radical",
                    "radicand": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "D"
                        }
                      ],
                      "kind": "row"
                    }
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "symbol",
                    "text": "4"
                  },
                  {
                    "kind": "symbol",
                    "text": "h"
                  },
                  {
                    "kind": "symbol",
                    "text": "H"
                  },
                  {
                    "kind": "symbol",
                    "text": "D"
                  }
                ],
                "kind": "row"
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "h"
                },
                {
                  "kind": "symbol",
                  "text": "H"
                },
                {
                  "kind": "radical",
                  "radicand": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "D"
                      }
                    ]
                  }
                }
              ]
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "D_0"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "radical",
                      "radicand": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "power",
                            "base": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "D"
                                }
                              ]
                            },
                            "exponent": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "t"
                                }
                              ]
                            }
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  },
                  {
                    "kind": "radical",
                    "radicand": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "D"
                        }
                      ],
                      "kind": "row"
                    }
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "dot_Dt"
                  }
                ],
                "kind": "row"
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "bottom": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  },
                  {
                    "kind": "radical",
                    "radicand": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "D"
                        }
                      ],
                      "kind": "row"
                    }
                  }
                ],
                "kind": "row"
              },
              "kind": "fraction",
              "top": {
                "children": [
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "symbol",
                    "text": "4"
                  },
                  {
                    "kind": "symbol",
                    "text": "h"
                  },
                  {
                    "kind": "symbol",
                    "text": "H"
                  },
                  {
                    "kind": "symbol",
                    "text": "D"
                  }
                ],
                "kind": "row"
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "h"
                },
                {
                  "kind": "symbol",
                  "text": "H"
                },
                {
                  "kind": "radical",
                  "radicand": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "D"
                      }
                    ]
                  }
                }
              ]
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The chain rule gives $\\left.\\partial_t\\sqrt{D^t}\\right|_{t=0}=\\dot{D^t}/(2\\sqrt D)$. Substitute $\\dot{D^t}=-4hHD$ and use $D/\\sqrt D=\\sqrt D$; $D>0$ justifies division."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "A": "matrix",
          "α": "vector",
          "p": "vector",
          "v": "vector",
          "X_u": "vector",
          "X_v": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "Write $D^t=E^tG^t-(F^t)^2$ and $D=D^0$. With $D=EG-F^2>0$ and $\\dot{D^t}=-4hHD$, derive the variation of the area density $\\sqrt D$."
    },
    {
      "id": "compute-l13-polarization",
      "title": "Squared length of a tangent-vector combination",
      "prompt": "For real scalars $a,b$, expand $\\|aX_u+bX_v\\|^2$ using inner products, then substitute the metric coefficients $E,F,G$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "||",
            "label": "||"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "+",
            "label": "+"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "2",
            "label": "2"
          },
          {
            "tool": "⟨",
            "label": "⟨"
          },
          {
            "tool": ",",
            "label": ","
          },
          {
            "tool": "⟩",
            "label": "⟩"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "G",
            "label": "G"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "b",
            "label": "b"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "symbol",
                        "text": "a"
                      },
                      {
                        "kind": "symbol",
                        "text": "X_u"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "b"
                      },
                      {
                        "kind": "symbol",
                        "text": "X_v"
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "a"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "a"
            },
            {
              "kind": "symbol",
              "text": "b"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "b"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "a"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "E"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "a"
            },
            {
              "kind": "symbol",
              "text": "b"
            },
            {
              "kind": "symbol",
              "text": "F"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "b"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "G"
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "symbol",
                        "text": "a"
                      },
                      {
                        "kind": "symbol",
                        "text": "X_u"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "b"
                      },
                      {
                        "kind": "symbol",
                        "text": "X_v"
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "a"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "a"
            },
            {
              "kind": "symbol",
              "text": "b"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "b"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "a"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "E"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "a"
            },
            {
              "kind": "symbol",
              "text": "b"
            },
            {
              "kind": "symbol",
              "text": "F"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "b"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "G"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Bilinearity gives two mixed terms, $ab\\langle X_u,X_v\\rangle$ and $ab\\langle X_v,X_u\\rangle$. Symmetry combines them into $2ab\\langle X_u,X_v\\rangle$."
            },
            {
              "text": "Substitute $E=\\langle X_u,X_u\\rangle$, $F=\\langle X_u,X_v\\rangle$, $G=\\langle X_v,X_v\\rangle$. Taking $a=b=1$ recovers the previous sum-of-tangents case."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "A": "matrix",
          "α": "vector",
          "p": "vector",
          "v": "vector",
          "X_u": "vector",
          "X_v": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "D",
          "W"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "For real scalars $a,b$, expand $\\|aX_u+bX_v\\|^2$ using inner products, then substitute the metric coefficients $E,F,G$."
    },
    {
      "id": "l2-frenet-tangent",
      "title": "Frenet tangent derivative",
      "prompt": "For a unit-speed curve with $k>0$, express $T^{\\prime}$ in terms of the principal normal.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "T'",
            "label": "T'"
          },
          {
            "tool": "k",
            "label": "k"
          },
          {
            "tool": "N",
            "label": "N"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "T'"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "k"
            },
            {
              "kind": "symbol",
              "text": "N"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "definition": "This is the definition of the principal normal, rearranged as the first Frenet equation."
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l2-frenet-binormal",
      "title": "Frenet binormal derivative",
      "prompt": "Express $B^{\\prime}$ in the lecture torsion convention.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "B'",
            "label": "B'"
          },
          {
            "tool": "τ",
            "label": "τ"
          },
          {
            "tool": "N",
            "label": "N"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "B'"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "τ"
            },
            {
              "kind": "symbol",
              "text": "N"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Use arc length $s$ and assume $k>0$. Write $T=\\alpha'$, $k=\\|T'\\|$, $N=T'/k$, $B=T\\times N$. The lecture defines torsion by $\\tau=\\langle B',N\\rangle$.",
          "steps": [
            {
              "text": "Differentiate unit length: $0=(\\langle T,T\\rangle)'=\\langle T',T\\rangle+\\langle T,T'\\rangle=2\\langle T',T\\rangle$. Hence $N\\perp T$ and $\\|N\\|=\\|T'\\|/k=1$. Consequently $T,N,B$ are orthonormal and $T'=kN$."
            },
            {
              "text": "$\\displaystyle \\langle B',B\\rangle=\\tfrac12(\\langle B,B\\rangle)'=0$."
            },
            {
              "text": "$\\displaystyle \\langle B',T\\rangle=(\\langle B,T\\rangle)'-\\langle B,T'\\rangle=0-k\\langle B,N\\rangle=0$."
            },
            {
              "text": "Expansion in the orthonormal basis now gives $B'=0T+\\tau N+0B=\\tau N$."
            },
            {
              "text": "For the normal derivative, $\\langle N',N\\rangle=\\tfrac12(\\langle N,N\\rangle)'=0$ and $\\langle N',T\\rangle=-\\langle N,T'\\rangle=-k\\langle N,N\\rangle=-k$."
            },
            {
              "text": "Finally $\\langle N',B\\rangle=-\\langle N,B'\\rangle=-\\tau\\langle N,N\\rangle=-\\tau$. Therefore $N'=-kT-\\tau B$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l13-isometry",
      "title": "An isometry preserves the metric",
      "prompt": "For an isometry $f$ and tangent vectors $v,w$ at $p$, express $\\langle df_p(v),df_p(w)\\rangle$ using $v,w$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "df_p",
            "label": "df_p"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "w",
            "label": "w"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "df_p"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "df_p"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "w"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "w"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "An isometry preserves curve lengths. Applying this to arbitrarily short segments of a surface curve and dividing by their parameter lengths gives $\\|df_p(v)\\|=\\|v\\|$: each length divided by the parameter length tends to its speed at $p$.",
          "steps": [
            {
              "text": "For any vectors $a,b$, expand $\\|a+b\\|^2=\\|a\\|^2+2\\langle a,b\\rangle+\\|b\\|^2$, so $2\\langle a,b\\rangle=\\|a+b\\|^2-\\|a\\|^2-\\|b\\|^2$."
            },
            {
              "text": "Use this for $a=df_p(v)$, $b=df_p(w)$; linearity gives $a+b=df_p(v+w)$, and preservation of norms gives"
            },
            {
              "text": "$\\displaystyle 2\\langle df_p(v),df_p(w)\\rangle=\\|v+w\\|^2-\\|v\\|^2-\\|w\\|^2=2\\langle v,w\\rangle$."
            },
            {
              "text": "Divide by two to obtain the metric identity."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l13-egregium",
      "title": "Theorema Egregium",
      "prompt": "Let $\\phi:S\\to\\widetilde S$ be a local isometry. Write the relation between $K$, the Gaussian curvature of $S$ at $p$, and $\\widetilde K$, that of $\\widetilde S$ at $\\phi(p)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "K",
            "label": "K"
          },
          {
            "tool": "Kt",
            "label": "Kt"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "K"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "Kt"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "For an isometry $\\phi$, take $\\widetilde X=\\phi\\circ X$. Preservation of inner products makes $\\widetilde E=E$, $\\widetilde F=F$, $\\widetilde G=G$ as functions on the common domain, not just at one point."
            },
            {
              "text": "Equal smooth functions have equal derivatives. The computed metric formulas therefore give equal $\\alpha_1,\\alpha_2$ and equal derivatives $(\\alpha_1)_v,(\\alpha_2)_u$."
            },
            {
              "text": "The curvature formula then has the same numerator and positive denominator in both charts. Hence $\\widetilde K(\\phi(p))=K(p)$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice",
      "recallPrompt": "Let $\\phi:S\\to\\widetilde S$ be a local isometry. Write the relation between $K$, the Gaussian curvature of $S$ at $p$, and $\\widetilde K$, that of $\\widetilde S$ at $\\phi(p)$."
    },
    {
      "id": "l1-velocity",
      "title": "Velocity of a parametrized curve",
      "prompt": "For $\\alpha(t)=(x(t),y(t),z(t))$, write $\\dot\\alpha$ using the component derivatives.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dot_a",
            "label": "dot_a"
          },
          {
            "tool": "dot_x",
            "label": "dot_x"
          },
          {
            "tool": "dot_y",
            "label": "dot_y"
          },
          {
            "tool": "dot_z",
            "label": "dot_z"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "dot_a"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "dot_x"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "dot_y"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "dot_z"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "definition",
        "definition": "A smooth parametrized curve is a map from an interval. Its tangent vector is its componentwise derivative."
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l1-speed",
      "title": "Speed in coordinates",
      "prompt": "For $\\alpha(t)=(x(t),y(t),z(t))$, express the speed $v$ using the component derivatives.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "dot_x",
            "label": "dot_x"
          },
          {
            "tool": "dot_y",
            "label": "dot_y"
          },
          {
            "tool": "dot_z",
            "label": "dot_z"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "v"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "radical",
              "radicand": {
                "children": [
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "dot_x"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "dot_y"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "base": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "dot_z"
                        }
                      ],
                      "kind": "row"
                    },
                    "exponent": {
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ],
                      "kind": "row"
                    },
                    "kind": "power"
                  }
                ],
                "kind": "row"
              }
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The velocity of $\\alpha(t)=(x(t),y(t),z(t))$ is $\\dot\\alpha(t)=(\\dot x(t),\\dot y(t),\\dot z(t))$.",
          "steps": [
            {
              "text": "$\\displaystyle \\|\\dot\\alpha(t)\\|^2=\\langle\\dot\\alpha(t),\\dot\\alpha(t)\\rangle=\\dot x(t)^2+\\dot y(t)^2+\\dot z(t)^2$."
            },
            {
              "text": "Taking the nonnegative square root gives the speed. For a regular curve this speed is positive, so the unit tangent is $T=\\dot\\alpha/\\|\\dot\\alpha\\|$."
            },
            {
              "text": "$\\displaystyle \\|T\\|^2=\\frac{\\langle\\dot\\alpha,\\dot\\alpha\\rangle}{\\|\\dot\\alpha\\|^2}=1$. The positive divisor preserves the direction of motion."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l1-length",
      "title": "Length of a smooth curve",
      "prompt": "Express the length $L$ of $\\alpha(t)$ on $[a,b]$ as an integral.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "L",
            "label": "L"
          },
          {
            "tool": "int_ab",
            "label": "int_ab"
          },
          {
            "tool": "dt",
            "label": "dt"
          },
          {
            "tool": "α'",
            "label": "α'"
          },
          {
            "tool": "t",
            "label": "t"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "L"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "int_ab"
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "||"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "α'"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "t"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "||"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "dt"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Assume $\\alpha$ is continuously differentiable on $[a,b]$. For a partition $a=t_0<\\cdots<t_n=b$, let $P=\\sum_i\\|\\alpha(t_i)-\\alpha(t_{i-1})\\|$ be its polygonal length.",
          "steps": [
            {
              "text": "The fundamental theorem and integral triangle inequality give $\\|\\alpha(t_i)-\\alpha(t_{i-1})\\|\\leq\\int_{t_{i-1}}^{t_i}\\|\\alpha^{\\prime}(t)\\|\\,dt$. Adding yields $P\\leq\\int_a^b\\|\\alpha^{\\prime}(t)\\|\\,dt$."
            },
            {
              "text": "Let $\\omega(\\delta)=\\sup_{|t-u|\\leq\\delta}\\|\\alpha^{\\prime}(t)-\\alpha^{\\prime}(u)\\|$. Uniform continuity gives $\\omega(\\delta)\\to0$. Put $h_i=t_i-t_{i-1}$ and take the partition mesh at most $\\delta$."
            },
            {
              "text": "$\\displaystyle \\left\\|\\alpha(t_i)-\\alpha(t_{i-1})-h_i\\alpha^{\\prime}(t_{i-1})\\right\\|=\\left\\|\\int_{t_{i-1}}^{t_i}(\\alpha^{\\prime}(t)-\\alpha^{\\prime}(t_{i-1}))\\,dt\\right\\|\\leq h_i\\omega(\\delta)$."
            },
            {
              "text": "The reverse triangle inequality therefore bounds the difference between the chord length and $h_i\\|\\alpha^{\\prime}(t_{i-1})\\|$ by $h_i\\omega(\\delta)$. The difference between the speed integral on this interval and the same term has that bound too."
            },
            {
              "text": "Adding both bounds over all intervals gives $\\left|P-\\int_a^b\\|\\alpha^{\\prime}(t)\\|\\,dt\\right|\\leq2(b-a)\\omega(\\delta)\\to0$. Thus the supremum of polygonal lengths is exactly the stated integral."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix",
          "α'": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {
          "α'": [
            "t"
          ]
        },
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l1-line",
      "title": "Parametrizing a line",
      "prompt": "Write $\\alpha(t)$ for the line through $p$ with constant nonzero velocity $w$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "α",
            "label": "α"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "w",
            "label": "w"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "α"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "t"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "p"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "t"
            },
            {
              "kind": "symbol",
              "text": "w"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "definition",
        "definition": "A point and a nonzero direction determine an affine line; the parameter describes its traversal."
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l1-shortest",
      "title": "Shortest length between endpoints",
      "prompt": "For fixed endpoints $p,q$ in Euclidean space, give the minimum curve length $L_{min}$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "L_min",
            "label": "L_min"
          },
          {
            "tool": "q",
            "label": "q"
          },
          {
            "tool": "p",
            "label": "p"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "L_min"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "||"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "q"
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "p"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "||"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Let $\\alpha(a)=p$ and $\\alpha(b)=q$, with $b>a$. The fundamental theorem of calculus gives $q-p=\\int_a^b\\dot\\alpha(t)\\,dt$.",
          "steps": [
            {
              "text": "$\\displaystyle \\|q-p\\|=\\left\\|\\int_a^b\\dot\\alpha(t)\\,dt\\right\\|\\leq\\int_a^b\\|\\dot\\alpha(t)\\|\\,dt=L(\\alpha)$."
            },
            {
              "text": "For the segment $\\alpha(t)=p+\\frac{t-a}{b-a}(q-p)$, its velocity is $(q-p)/(b-a)$, so"
            },
            {
              "text": "$\\displaystyle L(\\alpha)=\\int_a^b\\frac{\\|q-p\\|}{b-a}\\,dt=\\|q-p\\|$."
            },
            {
              "text": "Thus the lower bound is attained and $L_{\\min}=\\|q-p\\|$. If $p=q$, the constant curve attains zero."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix",
          "q": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l1-orthogonal",
      "title": "Orthogonal maps preserve length",
      "prompt": "If $A$ is an orthogonal matrix and $w$ is a vector, express $\\|Aw\\|$ in terms of $w$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "w",
            "label": "w"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "||"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "A"
                    },
                    {
                      "kind": "symbol",
                      "text": "w"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "||"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "||"
                },
                {
                  "kind": "symbol",
                  "text": "w"
                },
                {
                  "kind": "symbol",
                  "text": "||"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Orthogonality means $A^{\\mathsf T}A=I$.",
          "steps": [
            {
              "text": "$\\displaystyle \\|Aw\\|^2=(Aw)^{\\mathsf T}(Aw)=w^{\\mathsf T}A^{\\mathsf T}Aw=w^{\\mathsf T}w=\\|w\\|^2$."
            },
            {
              "text": "Both norms are nonnegative, so taking square roots gives $\\|Aw\\|=\\|w\\|$. For a rigid motion $\\beta=A\\alpha+b$, we have $\\dot\\beta=A\\dot\\alpha$ because $b$ is constant; integrating the equal speeds proves equality of lengths."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l1-reparametrization",
      "title": "Length under reparametrization",
      "prompt": "Let $\\beta=\\alpha\\circ\\varphi$, where $\\varphi:[c,d]\\to[a,b]$ is a diffeomorphism, with $c<d$ and $a<b$. Define $L_\\beta=\\int_c^d\\|\\dot\\beta(t)\\|\\,dt$ and $L_\\alpha=\\int_a^b\\|\\dot\\alpha(u)\\|\\,du$. Relate $L_\\beta$ and $L_\\alpha$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "L_β",
            "label": "L_β"
          },
          {
            "tool": "L_α",
            "label": "L_α"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "children": [
            {
              "kind": "symbol",
              "text": "L_β"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "L_α"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Let $\\beta(t)=\\alpha(\\varphi(t))$ for a smooth diffeomorphism $\\varphi:[c,d]\\to[a,b]$. Its derivative has constant nonzero sign.",
          "steps": [
            {
              "text": "$\\displaystyle \\dot\\beta(t)=\\dot\\alpha(\\varphi(t))\\dot\\varphi(t),\\qquad \\|\\dot\\beta(t)\\|=\\|\\dot\\alpha(\\varphi(t))\\|\\,|\\dot\\varphi(t)|$."
            },
            {
              "text": "If $\\dot\\varphi>0$, substitution $u=\\varphi(t)$ gives $L_\\beta=\\int_a^b\\|\\dot\\alpha(u)\\|\\,du=L_\\alpha$."
            },
            {
              "text": "If $\\dot\\varphi<0$, the limits become $b,a$ and $|\\dot\\varphi|=-\\dot\\varphi$. Thus $L_\\beta=-\\int_b^a\\|\\dot\\alpha(u)\\|\\,du=\\int_a^b\\|\\dot\\alpha(u)\\|\\,du=L_\\alpha$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "compute-l2-binormal-tangent",
      "title": "Why the binormal derivative has no tangent component",
      "prompt": "For a smooth unit-speed curve with $k>0$, let $T,N,B$ be the Frenet frame and $T'=kN$. Primes denote arc-length derivatives. Starting with $\\langle B',T\\rangle$, use the derivative of $\\langle B,T\\rangle=0$, then substitute $T'=kN$, to obtain $0$ in a chain of equalities.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "B",
            "label": "B"
          },
          {
            "tool": "B'",
            "label": "B'"
          },
          {
            "tool": "T",
            "label": "T"
          },
          {
            "tool": "T'",
            "label": "T'"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "k",
            "label": "k"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "B'"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "T"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "T'"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "k"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "B'"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "T"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "T'"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "k"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Let the curve be smooth and unit speed, with $k>0$. The Frenet frame $T,N,B$ is orthonormal, $T'=kN$, and primes denote derivatives with respect to arc length.",
          "steps": [
            {
              "text": "Since $\\langle B,T\\rangle=0$ at every parameter value, the product rule gives $0=\\frac{d}{ds}(0)=(\\langle B,T\\rangle)'=\\langle B',T\\rangle+\\langle B,T'\\rangle$."
            },
            {
              "text": "Move the second term to the other side: $\\langle B',T\\rangle=-\\langle B,T'\\rangle$. Substitute $T'=kN$ and pull the scalar $k$ out of the inner product: $-\\langle B,kN\\rangle=-k\\langle B,N\\rangle$."
            },
            {
              "text": "Finally $\\langle B,N\\rangle=0$, so $\\langle B',T\\rangle=-k\\cdot0=0$. Thus $B'$ has no component along $T$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "T'": "vector",
          "N'": "vector",
          "B'": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "For a unit-speed Frenet curve with $k>0$, prove $\\langle B',T\\rangle=0$."
    },
    {
      "id": "compute-l2-binormal-derivative",
      "title": "Deriving the binormal derivative",
      "prompt": "For a smooth unit-speed curve with $k>0$, use the orthonormal Frenet frame and the lecture convention $\\tau=\\langle B',N\\rangle$. Derive $B'$: expand it in the three frame directions, replace its coefficients using $\\langle B',T\\rangle=0$ and unit length of $B$, then simplify. Primes denote arc-length derivatives.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "B",
            "label": "B"
          },
          {
            "tool": "B'",
            "label": "B'"
          },
          {
            "tool": "T",
            "label": "T"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "τ",
            "label": "τ"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "B'"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "B'"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "T"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "T"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "B'"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "B'"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "B"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": "T"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "τ"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": "B"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "τ"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "B'"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "B'"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "T"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "T"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "B'"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "B'"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "B"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": "T"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "τ"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": "B"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "τ"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "For a smooth unit-speed curve with $k>0$, the vectors $T,N,B$ form an orthonormal basis. Therefore any vector, in particular $B'$, equals the sum of its three orthogonal projections.",
          "steps": [
            {
              "text": "$\\displaystyle B'=\\langle B',T\\rangle T+\\langle B',N\\rangle N+\\langle B',B\\rangle B$."
            },
            {
              "text": "The tangent coefficient vanishes: differentiating $\\langle B,T\\rangle=0$ gives $0=\\frac{d}{ds}(0)=(\\langle B,T\\rangle)'=\\langle B',T\\rangle+\\langle B,T'\\rangle$, hence $\\langle B',T\\rangle=-\\langle B,T'\\rangle=-k\\langle B,N\\rangle=0$."
            },
            {
              "text": "The binormal coefficient also vanishes. Since $\\langle B,B\\rangle=1$, differentiation gives $0=\\frac{d}{ds}(1)=(\\langle B,B\\rangle)'=\\langle B',B\\rangle+\\langle B,B'\\rangle=2\\langle B',B\\rangle$, hence $\\langle B',B\\rangle=0$."
            },
            {
              "text": "The remaining coefficient is the lecture's definition $\\tau=\\langle B',N\\rangle$. Substitution gives $B'=0T+\\tau N+0B=\\tau N$. The positive sign comes from this torsion convention."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "T'": "vector",
          "N'": "vector",
          "B'": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "Derive $B'$ in the orthonormal Frenet frame, using the convention $\\tau=\\langle B',N\\rangle$."
    },
    {
      "id": "compute-l2-normal-derivative",
      "title": "Deriving the principal normal derivative",
      "prompt": "For a smooth unit-speed curve with $k>0$, use $T'=kN$ and $B'=\\tau N$. Derive $N'$: first expand in all three frame directions, then use differentiated unit length and orthogonality to rewrite the coefficients, and finally substitute the known derivatives to obtain the simplified result. Primes denote arc-length derivatives.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "N'",
            "label": "N'"
          },
          {
            "tool": "T",
            "label": "T"
          },
          {
            "tool": "T'",
            "label": "T'"
          },
          {
            "tool": "B",
            "label": "B"
          },
          {
            "tool": "B'",
            "label": "B'"
          },
          {
            "tool": "k",
            "label": "k"
          },
          {
            "tool": "τ",
            "label": "τ"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "N'"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N'"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "T"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "T"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N'"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N'"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "B"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "T'"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "T"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "B'"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "B"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "k"
                },
                {
                  "kind": "symbol",
                  "text": "T"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "τ"
                },
                {
                  "kind": "symbol",
                  "text": "B"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "sequence": [
        {
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "N'"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N'"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "T"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "T"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N'"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N'"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "B"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "T'"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "T"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "B'"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ],
                  "kind": "row"
                },
                {
                  "kind": "symbol",
                  "text": "B"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "k"
                },
                {
                  "kind": "symbol",
                  "text": "T"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "τ"
                },
                {
                  "kind": "symbol",
                  "text": "B"
                }
              ],
              "kind": "row"
            }
          ],
          "kind": "row"
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Use a smooth unit-speed curve with $k>0$, an orthonormal Frenet frame, and the already established equations $T'=kN$ and $B'=\\tau N$.",
          "steps": [
            {
              "text": "Expand $N'$ in the frame: $N'=\\langle N',T\\rangle T+\\langle N',N\\rangle N+\\langle N',B\\rangle B$."
            },
            {
              "text": "Unit length gives $0=\\frac{d}{ds}(1)=(\\langle N,N\\rangle)'=2\\langle N',N\\rangle$, so the middle component is zero."
            },
            {
              "text": "Differentiate $\\langle N,T\\rangle=0$: $0=\\frac{d}{ds}(0)=(\\langle N,T\\rangle)'=\\langle N',T\\rangle+\\langle N,T'\\rangle$, hence $\\langle N',T\\rangle=-\\langle N,T'\\rangle$. Likewise, differentiating $\\langle N,B\\rangle=0$ gives $0=\\frac{d}{ds}(0)=(\\langle N,B\\rangle)'=\\langle N',B\\rangle+\\langle N,B'\\rangle$, hence $\\langle N',B\\rangle=-\\langle N,B'\\rangle$."
            },
            {
              "text": "Substitute these coefficients into the expansion: $N'=-\\langle N,T'\\rangle T-\\langle N,B'\\rangle B$."
            },
            {
              "text": "Now substitute $T'=kN$ and $B'=\\tau N$. Bilinearity gives $N'=-k\\langle N,N\\rangle T-\\tau\\langle N,N\\rangle B$."
            },
            {
              "text": "Finally $\\langle N,N\\rangle=1$, so $N'=-kT-\\tau B$. Both minus signs come from differentiating orthogonality, rather than from a separate sign convention."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "T'": "vector",
          "N'": "vector",
          "B'": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "Derive $N'$ from $T'=kN$ and $B'=\\tau N$ for a unit-speed Frenet curve."
    },
    {
      "id": "l15-angular-momentum",
      "title": "Conserved angular momentum",
      "prompt": "For a surface of revolution $X(u,v)=(f(v)\\cos u,f(v)\\sin u,g(v))$ with $f>0$, let $(u(t),v(t))$ be an affinely parametrized geodesic. Write the conserved quantity as an equation with constant $c$. Here $f$ means $f(v(t))$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "u'",
            "label": "u'"
          },
          {
            "tool": "c",
            "label": "c"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "u'"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "c"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The revolution metric has $E=f(v)^2,F=0,G=f^{\\prime}(v)^2+g^{\\prime}(v)^2$. None depends on $u$, so the $u$ geodesic equation gives $\\frac{d}{dt}(f^2u^{\\prime})=0$."
            },
            {
              "text": "A function with zero derivative is constant. The equation uses an affine parameter, which has constant speed; arbitrary reparametrization need not preserve this form."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l15-parallel",
      "title": "Which parallels are geodesics?",
      "prompt": "On the same regular surface of revolution, when is the nonconstant parallel $v=v_0$, traversed at constant speed, a geodesic? Write the condition using $f'$, evaluated at $v_0$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "f'",
            "label": "f'"
          },
          {
            "tool": "v_0",
            "label": "v_0"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "f'"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "v_0"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Put $v'=v''=0$ in the $v$ geodesic equation. It reduces to $-ff'(u')^2=0$."
            },
            {
              "text": "Since $f>0$ and the parallel is nonconstant, this is equivalent to $f'(v_0)=0$. The $u$ equation then gives constant angular speed."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "f'": [
            "v_0"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l15-fermi-metric",
      "title": "Geodesic coordinates",
      "prompt": "Launch perpendicular unit-speed geodesics from a unit-speed base geodesic, using $u$ along the launched geodesics and $v$ along the base. What is the ordered pair $(E,F)$ throughout this local coordinate patch? Enter only the pair.",
      "learningVersion": 1,
      "editor": {
        "palette": [],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "1"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The launched $u$-curves have unit speed, giving $E=1$. Their normal acceleration gives $F_u=\\langle X_{uu},X_v\\rangle+E_v/2=0$. Since $F(0,v)=0$, orthogonality persists."
            },
            {
              "text": "The geodesic ODE supplies a smooth family locally. At the base, the launch and base velocities are perpendicular unit vectors; the inverse function theorem therefore makes this family a chart after restriction."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l15-curvature-ode",
      "title": "Curvature as an ODE",
      "prompt": "In geodesic coordinates $I=du^2+G\\,dv^2$, put $q=\\sqrt G>0$. Write the curvature equation with $q_{uu}$ on the left.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "q_uu",
            "label": "q_uu"
          },
          {
            "tool": "K",
            "label": "K"
          },
          {
            "tool": "q",
            "label": "q"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "q_uu"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "K"
                },
                {
                  "kind": "symbol",
                  "text": "q"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "For $E=1,F=0$, the intrinsic curvature formula is $K=-\\frac{1}{\\sqrt G}\\partial_u^2\\sqrt G$."
            },
            {
              "text": "Substitute $q=\\sqrt G$ and multiply by $q$: $q_{uu}=-Kq$. Along the base geodesic, $q(0,v)=1$ and $q_u(0,v)=0$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l15-positive-curvature",
      "title": "The positive-curvature model",
      "prompt": "If $K=a^2>0$, solve $q_{uu}=-a^2q$ with $q(0,v)=1$, $q_u(0,v)=0$. Write $q$ in terms of $a,u$, on a neighborhood where $q>0$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "q",
            "label": "q"
          },
          {
            "tool": "cos",
            "label": "cos"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "u",
            "label": "u"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "q"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "cos"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": "u"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 15: the positive-curvature model.",
          "steps": [
            {
              "text": "The initial conditions select $q=\\cos(au)$ from the two solutions $\\cos(au)$ and $\\sin(au)$."
            },
            {
              "text": "Thus $I=du^2+\\cos^2(au)\\,dv^2$ locally, where $\\cos(au)>0$. This is a local metric classification, not a global classification of surfaces."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l15-sphere-geodesic",
      "title": "Acceleration on a sphere",
      "prompt": "A unit-speed great circle $\\gamma$ lies on a sphere of radius $r$ centered at $p$. Express its Euclidean acceleration $\\ddot\\gamma$ using $\\gamma,p,r$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "ddot_γ",
            "label": "ddot_γ"
          },
          {
            "tool": "γ",
            "label": "γ"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "r",
            "label": "r"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "ddot_γ"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "γ"
                          },
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "p"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "r"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "For a geodesic on the sphere, $\\ddot\\gamma$ is radial. Differentiating $\\langle\\gamma-p,\\gamma-p\\rangle=r^2$ twice gives $\\langle\\ddot\\gamma,\\gamma-p\\rangle=-1$."
            },
            {
              "text": "Write $\\ddot\\gamma=b(\\gamma-p)$. Then $br^2=-1$, so $\\ddot\\gamma=-(\\gamma-p)/r^2$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "ddot_γ": "vector",
          "γ": "vector",
          "p": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l16-geodesic-curvature",
      "title": "Signed geodesic curvature",
      "prompt": "For a unit-speed curve on an oriented surface with unit normal $N$, write signed geodesic curvature $k_g$. Use the tangent-plane direction $N\\times\\dot\\gamma$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "k_g",
            "label": "k_g"
          },
          {
            "tool": "ddot_γ",
            "label": "ddot_γ"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "dot_γ",
            "label": "dot_γ"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "k_g"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "ddot_γ"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": "×"
                },
                {
                  "kind": "symbol",
                  "text": "dot_γ"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The tangent-plane unit normal to the curve is $N\\times\\dot\\gamma$. Project the acceleration onto that direction: $k_g=\\langle\\ddot\\gamma,N\\times\\dot\\gamma\\rangle$."
            },
            {
              "text": "Lecture 17 explicitly corrects the unsigned norm used in Lecture 16. Keeping the sign is necessary for the oriented boundary term in Gauss–Bonnet."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "ddot_γ": "vector",
          "dot_γ": "vector",
          "N": "vector"
        },
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l16-local-gauss-bonnet",
      "title": "Local Gauss–Bonnet",
      "prompt": "Let $D$ be a disk-like region in an oriented surface, with positively oriented smooth boundary. Set $A=\\int_D K\\,dA$ and $B=\\int_{\\partial D} k_g\\,ds$. Complete the equation for $A+B$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "B",
            "label": "B"
          },
          {
            "tool": "π",
            "label": "π"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "A"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "B"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "π"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The tangent to a positively oriented simple closed boundary turns once. The curvature of the surface and the signed turning within its tangent planes together account for $2\\pi$."
            },
            {
              "text": "For corners, add the signed exterior angles to the left side. The smooth-boundary form here has no corner terms."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l16-euler",
      "title": "Euler characteristic",
      "prompt": "A finite cell decomposition of a compact surface has $V$ vertices, $E$ edges and $F$ faces. Give its Euler characteristic. Enter the expression only.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "V",
            "label": "V"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "F",
            "label": "F"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "V"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "E"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "F"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The alternating count is $\\chi=V-E+F$. Adding an edge across a face adds one edge and one face; subdividing an edge adds one vertex and one edge. Both preserve this count."
            },
            {
              "text": "The general invariance under choice of cell decomposition is a topological theorem."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l16-global-gauss-bonnet",
      "title": "Global Gauss–Bonnet",
      "prompt": "Let $S$ be a compact oriented surface without boundary and write $c=\\chi(S)$. Express $\\int_S K\\,dA$ in terms of $c$. Enter the value only.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "π",
            "label": "π"
          },
          {
            "tool": "c",
            "label": "c"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "π"
            },
            {
              "kind": "symbol",
              "text": "c"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Apply local Gauss–Bonnet to the faces of a cell decomposition. Contributions along shared edges cancel because the boundary orientations are opposite."
            },
            {
              "text": "The remaining vertex, edge and face terms yield $\\int_S K\\,dA=2\\pi(V-E+F)=2\\pi\\chi(S)$. Compactness and absence of boundary are part of this statement."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l16-triangle",
      "title": "Angle excess of a geodesic triangle",
      "prompt": "A disk-like geodesic triangle has interior angles $\\alpha,\\beta,\\gamma$. Put $A=\\int_D K\\,dA$. Write their sum in terms of $A$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "α",
            "label": "α"
          },
          {
            "tool": "β",
            "label": "β"
          },
          {
            "tool": "γ",
            "label": "γ"
          },
          {
            "tool": "π",
            "label": "π"
          },
          {
            "tool": "A",
            "label": "A"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "α"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "β"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "γ"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "π"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "A"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Each edge has $k_g=0$. The three exterior angles sum to $3\\pi-(\\alpha+\\beta+\\gamma)$."
            },
            {
              "text": "Local Gauss–Bonnet gives $A+3\\pi-(\\alpha+\\beta+\\gamma)=2\\pi$, hence the angle sum is $\\pi+A$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l17-genus",
      "title": "Euler characteristic and genus",
      "prompt": "A connected closed orientable surface has genus $g$. Give its Euler characteristic as an expression in $g$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "g",
            "label": "g"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "g"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The classification of closed orientable surfaces gives $\\chi=2-2g$. The sphere has $g=0$ and the torus has $g=1$."
            },
            {
              "text": "Together with Gauss–Bonnet this gives total curvature $4\\pi(1-g)$; the genus counts handles, not boundary components."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l17-metric-change",
      "title": "Changing metric coordinates",
      "prompt": "Write $I=E\\,du^2+2F\\,du\\,dv+G\\,dv^2$, and let $u=u(x,y),v=v(x,y)$. What is the coefficient of $dx^2$ after this coordinate change? Enter only the expression; $E,F,G$ are evaluated at $(u(x,y),v(x,y))$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "u_x",
            "label": "u_x"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "v_x",
            "label": "v_x"
          },
          {
            "tool": "G",
            "label": "G"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "E"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "u_x"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "F"
            },
            {
              "kind": "symbol",
              "text": "u_x"
            },
            {
              "kind": "symbol",
              "text": "v_x"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "G"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "v_x"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Substitute $du=u_xdx+u_ydy$ and $dv=v_xdx+v_ydy$."
            },
            {
              "text": "Collecting the $dx^2$ terms gives $E u_x^2+2F u_xv_x+G v_x^2$. This is the metric transformation law in one component."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l17-disk-metric",
      "title": "Poincaré disk metric",
      "prompt": "On $u^2+v^2<1$, write the factor $\\lambda$ in the curvature $-1$ Poincaré disk metric $I=\\lambda(du^2+dv^2)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "λ",
            "label": "λ"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3",
          "4"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "λ"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "4"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "1"
                            },
                            {
                              "kind": "symbol",
                              "text": "−"
                            },
                            {
                              "kind": "power",
                              "base": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "u"
                                  }
                                ]
                              },
                              "exponent": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ]
                              }
                            },
                            {
                              "kind": "symbol",
                              "text": "−"
                            },
                            {
                              "kind": "power",
                              "base": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "v"
                                  }
                                ]
                              },
                              "exponent": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ]
                              }
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The metric is $I=4(du^2+dv^2)/(1-u^2-v^2)^2$. The denominator is positive on the open disk."
            },
            {
              "text": "The factor makes the Euclidean boundary infinitely far away in the hyperbolic metric. It is not the metric induced by viewing the disk as a flat subset of $\\mathbb R^3$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l17-half-plane-metric",
      "title": "Upper half-plane metric",
      "prompt": "On $v>0$, write the factor $\\lambda$ in the curvature $-1$ upper half-plane metric $I=\\lambda(du^2+dv^2)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "λ",
            "label": "λ"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "λ"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "1"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The hyperbolic metric is $I=(du^2+dv^2)/v^2$. Its conformal factor is $v^{-2}$, so it preserves Euclidean angles but changes lengths."
            },
            {
              "text": "The disk and upper half-plane models describe the same intrinsic geometry."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l17-cayley",
      "title": "Disk to upper half-plane",
      "prompt": "Using complex coordinates, complete the Cayley map $w$ from $|z|<1$ to $\\operatorname{Im}w>0$ that sends $0$ to $i$ and has its pole at $z=-1$. Use the lecture's fractional-linear expression.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "w",
            "label": "w"
          },
          {
            "tool": "i",
            "label": "i"
          },
          {
            "tool": "z",
            "label": "z"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "w"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "i"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "1"
                          },
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "z"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "1"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "z"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The map is $w=i(1-z)/(1+z)$, with inverse $z=(i-w)/(i+w)$."
            },
            {
              "text": "One checks $\\operatorname{Im}w=(1-|z|^2)/|1+z|^2>0$. Substitution into the two metrics proves it is an isometry."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l18-mobius",
      "title": "Orientation-preserving hyperbolic isometries",
      "prompt": "Let $a,b,c,d$ be real with $ad-bc>0$. Write the fractional-linear map $w$ of the upper half-plane determined by these coefficients.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "w",
            "label": "w"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "z",
            "label": "z"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "c",
            "label": "c"
          },
          {
            "tool": "d",
            "label": "d"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "w"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      },
                      {
                        "kind": "symbol",
                        "text": "z"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "b"
                      }
                    ]
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "c"
                      },
                      {
                        "kind": "symbol",
                        "text": "z"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "d"
                      }
                    ]
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The map is $w=(az+b)/(cz+d)$. The positive determinant makes $\\operatorname{Im}w=(ad-bc)\\operatorname{Im}z/|cz+d|^2$ positive."
            },
            {
              "text": "Its derivative has magnitude $(ad-bc)/|cz+d|^2$, exactly compensating for the change in height in the metric $|dz|^2/(\\operatorname{Im}z)^2$. These are the orientation-preserving isometries; orientation-reversing ones require a reflection as well."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l18-momentum",
      "title": "A first integral in the half-plane",
      "prompt": "A unit-speed hyperbolic geodesic has coordinates $(u(s),v(s))$, with $v>0$. Write the conserved quantity coming from the $u$ geodesic equation as an equation with constant $c$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "u'",
            "label": "u'"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "c",
            "label": "c"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "u'"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "c"
            }
          ]
        },
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "u'"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "c"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "v"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "For $E=G=v^{-2}$ and $F=0$, the metric does not depend on $u$. The Euler–Lagrange equation therefore gives $\\frac{d}{ds}(u'/v^2)=0$."
            },
            {
              "text": "Equivalently $u'=cv^2$. When $c=0$, the geodesic is vertical; when $c\\ne0$, combine this with unit speed to obtain a circle orthogonal to $v=0$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l18-circle",
      "title": "Nonvertical hyperbolic geodesics",
      "prompt": "In the upper half-plane, a nonvertical geodesic has Euclidean center $(a,0)$ and radius $r>0$. Write the equation of its trace using $u,v,a,r$, with $v>0$ understood.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "r",
            "label": "r"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "u"
                          },
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "a"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "r"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "L18C derives the constant center $a=u+v^{\\prime}/(cv)$ from both geodesic equations, where $u^{\\prime}=cv^2$ and $c\\ne0$."
            },
            {
              "text": "Unit speed then gives $(u-a)^2+v^2=1/c^2$. Thus the trace lies on the upper semicircle of radius $1/|c|$; this does not specify its parametrization."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l18-triangle-area",
      "title": "Area from angle defect",
      "prompt": "In curvature $-1$, a finite geodesic triangle has interior angles $\\alpha,\\beta,\\gamma$. Express its hyperbolic area $A$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "π",
            "label": "π"
          },
          {
            "tool": "α",
            "label": "α"
          },
          {
            "tool": "β",
            "label": "β"
          },
          {
            "tool": "γ",
            "label": "γ"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "A"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "π"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "α"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "β"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "γ"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Gauss–Bonnet gives $\\alpha+\\beta+\\gamma=\\pi+\\int_DK\\,dA=\\pi-A$."
            },
            {
              "text": "Solve for $A$. Ideal triangles with vertices on the boundary are a limiting case with zero angles and area $\\pi$, rather than ordinary triangles with vertices inside the surface."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l18-projective-transition",
      "title": "A projective chart transition",
      "prompt": "On $\\mathbb{RP}^2$, use $f_1(u,v)=[1:u:v]$ and $f_2(a,b)=[a:1:b]$. For $u\\ne0$, give the ordered pair $f_2^{-1}(f_1(u,v))$. Enter only the pair.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "1"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "u"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "v"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "u"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ")"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Homogeneous coordinates may be rescaled by any nonzero scalar. On the overlap $u\\ne0$, divide $[1:u:v]$ by $u$ to make its second coordinate $1$."
            },
            {
              "text": "The second chart reads the first and third coordinates of $[1/u:1:v/u]$, giving $(1/u,v/u)$. Its denominators are nonzero on the overlap."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l19-tangent-action",
      "title": "A tangent vector acts on a function",
      "prompt": "In local coordinates $(x,y)$, a curve through $p$ has coordinate velocities $a,b$ at time zero. Its tangent vector $V$ acts on a smooth function $h$ by differentiation along the curve. Express $V(h)$ using $a,b,h_x,h_y$, all evaluated at $p$. Enter only the expression.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "h_x",
            "label": "h_x"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "h_y",
            "label": "h_y"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "a"
            },
            {
              "kind": "symbol",
              "text": "h_x"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "b"
            },
            {
              "kind": "symbol",
              "text": "h_y"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "For a representative curve $\\alpha$ with $\\alpha(0)=p$, define $V(h)=(h\\circ\\alpha)^{\\prime}(0)$. The chain rule gives $x^{\\prime}(0)h_x(p)+y^{\\prime}(0)h_y(p)=ah_x(p)+bh_y(p)$."
            },
            {
              "text": "This depends only on the coordinate velocity $(a,b)$, so any representative of the same tangent vector gives the same result. The converse characterization by derivations is proved in L19C."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l19-differential",
      "title": "Differential in coordinates",
      "prompt": "A smooth map between manifolds has coordinate Jacobian matrix $J$ at $p$. A tangent vector has coordinate column $v$. Write the coordinate column $w$ of its image under the differential.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "w",
            "label": "w"
          },
          {
            "tool": "J",
            "label": "J"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "w"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "J"
                },
                {
                  "kind": "symbol",
                  "text": "v"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Define $df_p$ by sending the tangent represented by $\\alpha$ to the tangent represented by $f\\circ\\alpha$. In coordinates the chain rule gives $(f\\circ\\alpha)^{\\prime}(0)=Jv$. Thus the image coordinate column is $w=Jv$, independent of the chosen representative curve."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "J": "matrix",
          "v": "vector",
          "w": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l19-immersion",
      "title": "Immersion rank condition",
      "prompt": "A smooth map $f:M^n\\to N^m$ is an immersion at $p$ exactly when its differential is injective. If $J$ is its $m\\times n$ coordinate Jacobian, write the required rank.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "rank",
            "label": "rank"
          },
          {
            "tool": "J",
            "label": "J"
          },
          {
            "tool": "n",
            "label": "n"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "rank"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "J"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "n"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The tangent space of the domain has dimension $n$. The differential is injective exactly when its rank is $n$."
            },
            {
              "text": "An immersion need not be an embedding: an embedding also requires the map to be a homeomorphism onto its image."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "J": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l19-tangent-bundle",
      "title": "Dimension of the tangent bundle",
      "prompt": "If a smooth manifold $M$ has dimension $n$, what is the dimension of its tangent bundle $TM$? Enter the expression in $n$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "n",
            "label": "n"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "n"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "A tangent-bundle chart records $n$ coordinates for the base point and $n$ coefficients for its tangent vector."
            },
            {
              "text": "The transition has the form $(x,v)\\mapsto(h(x),Dh_x(v))$, so the total space is a smooth manifold of dimension $2n$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l20-projective-embedding",
      "title": "Embedding the projective plane",
      "prompt": "Lecture 20 embeds $\\mathbb{RP}^2=S^2/\\{p\\sim-p\\}$ in $\\mathbb R^4$. For a unit representative $(x,y,z)$, enter the four coordinate polynomials of the map, in lecture order: first the difference of the first two coordinate squares, then the three pairwise products.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "x",
            "label": "x"
          },
          {
            "tool": "y",
            "label": "y"
          },
          {
            "tool": "z",
            "label": "z"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "x"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "y"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": "y"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": "z"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "y"
                },
                {
                  "kind": "symbol",
                  "text": "z"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ")"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Unit representatives are essential: the quadratic map is invariant under $p\\mapsto-p$, not arbitrary rescaling. Antipodal invariance gives a smooth map on $\\mathbb{RP}^2$ in the local hemisphere charts."
            },
            {
              "text": "To prove injectivity modulo antipodes, its first two components determine $(x+iy)^2=(x^2-y^2)+2i(xy)$. Equal images therefore give $(x^{\\prime},y^{\\prime})=\\pm(x,y)$. If $(x,y)\\ne(0,0)$, the components $xz,yz$ force the same sign for $z^{\\prime}$. If $x=y=0$, the unit representatives are the two poles, already antipodal."
            },
            {
              "text": "The L20C kernel computation proves injectivity of the differential everywhere. Finally, a continuous injection from compact $\\mathbb{RP}^2$ into Hausdorff $\\mathbb R^4$ is a homeomorphism onto its image. Together with immersion, this proves embedding."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l20-embedding-chart",
      "title": "Embedding in a hemisphere chart",
      "prompt": "Use the upper-hemisphere chart $(u,v,\\sqrt{1-u^2-v^2})$, where $u^2+v^2<1$. Put $q=\\sqrt{1-u^2-v^2}$. Write the four coordinates of the preceding projective-plane embedding in this chart, using $u,v,q$. Enter the tuple.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "q",
            "label": "q"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "u"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "u"
                },
                {
                  "kind": "symbol",
                  "text": "v"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "u"
                },
                {
                  "kind": "symbol",
                  "text": "q"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": "q"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ")"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Substitute $x=u$, $y=v$, $z=q$ into $(x^2-y^2,xy,xz,yz)$. This gives $(u^2-v^2,uv,uq,vq)$."
            },
            {
              "text": "Since $q=\\sqrt{1-u^2-v^2}>0$ on this chart, the expression is smooth. Other hemispheres cover the remaining projective points; smoothness must be checked in charts, not assumed from a drawing of the quotient."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "compute-chart-velocity",
      "title": "Velocity in chart coordinates",
      "prompt": "Let $X:U\\to S$ be a chart, $X(q)=p$, and $\\alpha=X\\circ\\beta$ with $\\beta(0)=q$ and $\\alpha'(0)=v$. Show how $\\beta'(0)$ is determined by $v$: start with $\\beta'(0)$, insert $(dX_q)^{-1}dX_q$, replace $dX_q(\\beta'(0))$ by $\\alpha'(0)$ using the chain rule, and then substitute $v$. The inverse is onto $T_pS$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "β'",
            "label": "β'"
          },
          {
            "tool": "dX_q",
            "label": "dX_q"
          },
          {
            "tool": "α'",
            "label": "α'"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "inverse",
            "label": "□⁻¹",
            "accessibleLabel": "Invert"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "β'"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "dX_q"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "1"
                          }
                        ]
                      }
                    ]
                  }
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "dX_q"
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "β'"
                                },
                                {
                                  "kind": "row",
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "("
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": "0"
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": ")"
                                    }
                                  ]
                                }
                              ]
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "dX_q"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "1"
                          }
                        ]
                      }
                    ]
                  }
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "α'"
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "0"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "dX_q"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "1"
                          }
                        ]
                      }
                    ]
                  }
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "β'"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "dX_q"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "1"
                          }
                        ]
                      }
                    ]
                  }
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "dX_q"
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "β'"
                                },
                                {
                                  "kind": "row",
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "("
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": "0"
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": ")"
                                    }
                                  ]
                                }
                              ]
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "dX_q"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "1"
                          }
                        ]
                      }
                    ]
                  }
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "α'"
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "0"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "dX_q"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "1"
                          }
                        ]
                      }
                    ]
                  }
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Velocity in chart coordinates.",
          "steps": [
            {
              "text": "The chain rule for $\\alpha=X\\circ\\beta$ gives $\\alpha'(0)=dX_q(\\beta'(0))$."
            },
            {
              "text": "The regular chart differential $dX_q:\\mathbb R^2\\to T_pS$ is an isomorphism. Its inverse is defined on the tangent plane, not all of $\\mathbb R^3$."
            },
            {
              "text": "Apply the inverse to obtain $\\beta'(0)=(dX_q)^{-1}(v)$. Thus the chart velocity is determined by the surface velocity; it is not an extra choice in defining $dN_p(v)$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "If $\\alpha=X\\circ\\beta$, $\\beta(0)=q$, and $\\alpha'(0)=v$, show that $\\beta'(0)=(dX_q)^{-1}(v)$."
    },
    {
      "id": "compute-coordinate-velocity-u",
      "title": "Velocity of the u coordinate curve",
      "prompt": "Let $p=X(u_0,v_0)$ and $\\alpha(t)=X(u_0+t,v_0)$. Starting with $\\alpha'(0)$, write the derivative at zero of this expression, expand the chain rule into the $X_u$ and $X_v$ terms (including their factors 1 and 0), and simplify. Elide arguments of the form $(u_0,v_0)$ for shortness.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "α'",
            "label": "α'"
          },
          {
            "tool": "D_0",
            "label": "D_0"
          },
          {
            "tool": "X",
            "label": "X"
          },
          {
            "tool": "u_0",
            "label": "u_0"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "v_0",
            "label": "v_0"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "α'"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "D_0"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "X"
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "u_0"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "+"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "t"
                                }
                              ]
                            },
                            {
                              "kind": "symbol",
                              "text": ","
                            },
                            {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "v_0"
                                }
                              ]
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "1"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "X_u"
                }
              ]
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "α'"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "D_0"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "X"
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "u_0"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "+"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "t"
                                }
                              ]
                            },
                            {
                              "kind": "symbol",
                              "text": ","
                            },
                            {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "v_0"
                                }
                              ]
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "1"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "X_u"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Velocity of the u coordinate curve.",
          "steps": [
            {
              "text": "The coordinate velocities are $(u'(0),v'(0))=(1,0)$."
            },
            {
              "text": "The chain rule gives $\\alpha'(0)=X_u(u_0,v_0)u'(0)+X_v(u_0,v_0)v'(0)$."
            },
            {
              "text": "Substituting the coordinate velocities leaves $X_u(u_0,v_0)$. This justifies using this curve to compute the differential in the coordinate tangent direction."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "For $\\alpha(t)=X(u_0+t,v_0)$, show by computation that $\\alpha'(0)=X_u(u_0,v_0)$."
    },
    {
      "id": "compute-coordinate-velocity-v",
      "title": "Velocity of the v coordinate curve",
      "prompt": "Let $p=X(u_0,v_0)$ and $\\alpha(t)=X(u_0,v_0+t)$. Starting with $\\alpha'(0)$, write the derivative at zero of this expression, expand the chain rule into the $X_u$ and $X_v$ terms (including their factors 0 and 1), and simplify. Elide arguments of the form $(u_0,v_0)$ for shortness.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "α'",
            "label": "α'"
          },
          {
            "tool": "D_0",
            "label": "D_0"
          },
          {
            "tool": "X",
            "label": "X"
          },
          {
            "tool": "u_0",
            "label": "u_0"
          },
          {
            "tool": "v_0",
            "label": "v_0"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "α'"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "D_0"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "X"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "u_0"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "v_0"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "t"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "X_v"
            },
            {
              "kind": "symbol",
              "text": "1"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "X_v"
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "α'"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "D_0"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "X"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "u_0"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "v_0"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "t"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "X_v"
            },
            {
              "kind": "symbol",
              "text": "1"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "X_v"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Velocity of the v coordinate curve.",
          "steps": [
            {
              "text": "The coordinate velocities are $(u'(0),v'(0))=(0,1)$."
            },
            {
              "text": "The chain rule gives $\\alpha'(0)=X_u(u_0,v_0)u'(0)+X_v(u_0,v_0)v'(0)$."
            },
            {
              "text": "Substituting the coordinate velocities leaves $X_v(u_0,v_0)$. This justifies using this curve to compute the differential in the coordinate tangent direction."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "For $\\alpha(t)=X(u_0,v_0+t)$, show by computation that $\\alpha'(0)=X_v$. Elide arguments of the form $(u_0,v_0)$."
    },
    {
      "id": "l10-hessian-definition",
      "title": "Coordinate expression of the Hessian",
      "prompt": "Let $f:S\\to\\mathbb R$ be smooth and $p$ a critical point of $f$. In a chart $X$ with $X(q)=p$, put $h=f\\circ X$. Write $v=aX_u+bX_v$ and $w=cX_u+dX_v$ at $q$. Express $\\mathrm{Hess}_p f(v,w)$ using $h_{uu},h_{uv},h_{vv}$ at $q$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "Hess_p",
            "label": "Hess_p"
          },
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "w",
            "label": "w"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "c",
            "label": "c"
          },
          {
            "tool": "h_uu",
            "label": "h_uu"
          },
          {
            "tool": "d",
            "label": "d"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "h_uv",
            "label": "h_uv"
          },
          {
            "tool": "h_vv",
            "label": "h_vv"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "Hess_p"
                },
                {
                  "kind": "symbol",
                  "text": "f"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "w"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": "c"
                },
                {
                  "kind": "symbol",
                  "text": "h_uu"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": "d"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "h_uv"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "b"
                },
                {
                  "kind": "symbol",
                  "text": "d"
                },
                {
                  "kind": "symbol",
                  "text": "h_vv"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The Hessian is defined by second derivatives along curves at a critical point. Curve independence and polarization establish that it is a symmetric bilinear form on the tangent space.",
          "steps": [
            {
              "text": "At a critical point, the Hessian is the bilinear form represented in any chart by the matrix of second derivatives of $h=f\\circ X$."
            },
            {
              "text": "Multiplying $(a,b)\\begin{pmatrix}h_{uu}&h_{uv}\\\\h_{uv}&h_{vv}\\end{pmatrix}(c,d)^T$ gives $ac h_{uu}+(ad+bc)h_{uv}+bd h_{vv}$. Smoothness gives equality of the mixed partials."
            },
            {
              "text": "Under a change of coordinates, the extra second-derivative terms are multiplied by first derivatives of $f$, which vanish at a critical point. This makes the bilinear form chart-independent. Away from critical points, a Hessian on a manifold requires a connection; this card does not identify arbitrary coordinate second derivatives with that Hessian."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l10-distance-principal",
      "title": "Distance Hessian in a principal direction",
      "prompt": "At a critical point of $D(q)=\\|q-p_0\\|^2$, let $p_0=p+\\lambda N(p)$. For a unit principal vector $v$ of curvature $k$, express $h=\\operatorname{Hess}_pD(v,v)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "h",
            "label": "h"
          },
          {
            "tool": "λ",
            "label": "λ"
          },
          {
            "tool": "k",
            "label": "k"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "h"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "1"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "λ"
                },
                {
                  "kind": "symbol",
                  "text": "k"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "By definition of a unit principal vector, $S(v)=kv$ and $\\|v\\|=1$. Therefore $\\mathrm{II}(v,v)=\\langle S(v),v\\rangle=k$. Apply this to the squared-distance Hessian.",
          "steps": [
            {
              "text": "The distance Hessian is $2(\\|v\\|^2-\\lambda\\mathrm{II}(v,v))$."
            },
            {
              "text": "For a unit principal vector, the two terms become $1$ and $k$. The sign follows the chosen normal through $\\lambda$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l10-distance-product-rule",
      "title": "Differentiate squared distance twice",
      "prompt": "Let $q=\\alpha(t)-p_0$, $v=\\alpha^{\\prime}(t)$ and $a=\\alpha^{\\prime\\prime}(t)$. Give $D^{\\prime\\prime}$ for $D=\\langle q,q\\rangle$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "D''",
            "label": "D''"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "q",
            "label": "q"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "D''"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "q"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 10, 03:30—08:10.",
          "steps": [
            {
              "text": "First $D^{\\prime}=2\\langle v,q\\rangle$."
            },
            {
              "text": "Differentiate both entries and use $q^{\\prime}=v$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "a": "vector",
          "q": "vector",
          "v": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "compute-l10-distance-hessian",
      "title": "Distance Hessian: normal substitution",
      "prompt": "Let $d_{p_0}(q)=\\|q-p_0\\|^2$. At a critical point $p$, choose a surface curve with $\\alpha(0)=p$, $v=\\alpha^{\\prime}(0)$ and $a=\\alpha^{\\prime\\prime}(0)$. Write $p-p_0=-\\lambda N(p)$, abbreviating $N(p)$ as $N$. Put $h=\\operatorname{Hess}_p d_{p_0}(v,v)$. Starting from $h=2\\langle a,p-p_0\\rangle+2\\|v\\|^2$, substitute the normal displacement, use $\\langle a,N\\rangle=\\mathrm{II}_p(v,v)$, then factor out $2$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "h",
            "label": "h"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "p_0",
            "label": "p_0"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "λ",
            "label": "λ"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "II_p",
            "label": "II_p"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "h"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "p"
                        },
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "p_0"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "||"
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": "||"
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "λ"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "||"
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": "||"
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "λ"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "II_p"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "||"
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": "||"
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "||"
                              },
                              {
                                "kind": "symbol",
                                "text": "v"
                              },
                              {
                                "kind": "symbol",
                                "text": "||"
                              }
                            ]
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "λ"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "II_p"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "v"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "v"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The curve characterization of the Hessian applies because $p$ is critical. Differentiate squared distance, use the critical-point normal displacement, and finally invoke the normal-acceleration identity.",
          "steps": [
            {
              "text": "The first equality follows by differentiating $d_{p_0}(\\alpha(t))=\\langle\\alpha(t)-p_0,\\alpha(t)-p_0\\rangle$ twice: $h=2\\langle\\alpha^{\\prime\\prime}(0),p-p_0\\rangle+2\\langle\\alpha^{\\prime}(0),\\alpha^{\\prime}(0)\\rangle$."
            },
            {
              "text": "The critical-point relation gives $p-p_0=-\\lambda N$."
            },
            {
              "text": "Bilinearity yields $-2\\lambda\\langle a,N\\rangle+2\\|v\\|^2$; replacing the inner product by $\\mathrm{II}_p(v,v)$ gives the result."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "a": "vector",
          "p": "vector",
          "p_0": "vector",
          "N": "vector",
          "v": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "h"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "p"
                        },
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "p_0"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "||"
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": "||"
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "λ"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "||"
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": "||"
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "λ"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "II_p"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "||"
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": "||"
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "||"
                              },
                              {
                                "kind": "symbol",
                                "text": "v"
                              },
                              {
                                "kind": "symbol",
                                "text": "||"
                              }
                            ]
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "λ"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "II_p"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "v"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "v"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 3,
      "type": "equation-practice",
      "recallPrompt": "For $D(q)=\\|q-p_0\\|^2$ at a critical point with $p-p_0=-\\lambda N(p)$, derive $\\operatorname{Hess}_pD(v,v)=2(\\|v\\|^2-\\lambda\\mathrm{II}_p(v,v))$."
    },
    {
      "id": "compute-l10-hilbert-cancellation",
      "title": "Hilbert proof: cancel the fourth derivatives and determine the sign",
      "prompt": "With the preceding definitions and $ab>0$, use the fact that $h_2$ has a local maximum at $0$ and $h_1$ a local minimum there to show that $b-a\\le0$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "h_2''",
            "label": "h_2''"
          },
          {
            "tool": "h_1''",
            "label": "h_1''"
          },
          {
            "tool": "q",
            "label": "q"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "≤",
            "label": "≤"
          },
          {
            "tool": "≥",
            "label": "≥"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": "≥"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "h_2''"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "h_1''"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "q"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "b"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "q"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "b"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": "b"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "b"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The extrema give $h_2^{\\prime\\prime}(0)\\le0$ and $h_1^{\\prime\\prime}(0)\\ge0$, so their difference is nonpositive."
            },
            {
              "text": "Substituting the previously computed second derivatives cancels $q$ and leaves $ab(b-a)$. Since $ab>0$, dividing by $ab$ gives $b-a\\le0$."
            },
            {
              "text": "The ordering $a=k_1(p)\\le k_2(p)=b$ also gives $b-a\\ge0$. Together these imply $a=b$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "h_1''": [
            "t"
          ],
          "h_2''": [
            "t"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": "≥"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "h_2''"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "h_1''"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "q"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "b"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "q"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "b"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": "b"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "b"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "With the preceding definitions and $ab>0$, use the fact that $h_2$ has a local maximum at $0$ and $h_1$ a local minimum there to show that $b-a\\le0$."
    },
    {
      "id": "l11-revolution-metric",
      "title": "Metric coefficients of a revolution surface",
      "prompt": "For $X(u,v)=(f(v)\\cos u,f(v)\\sin u,g(v))$ with a unit-speed profile and $f>0$, enter $(E,F,G)$. Elide the argument $(v)$ of $f$, $g$ and their derivatives for shortness.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "f",
            "label": "f"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "f"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "1"
            },
            {
              "kind": "symbol",
              "text": ")"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 11, 19:10—21:30. $X_u=(-f\\sin u,f\\cos u,0)$, $X_v=(f^{\\prime}\\cos u,f^{\\prime}\\sin u,g^{\\prime})$ by the previous cards.",
          "steps": [
            {
              "text": "$X_u$ has squared length $f^2$ and is orthogonal to $X_v$."
            },
            {
              "text": "The profile condition gives $\\|X_v\\|^2=f^{\\prime2}+g^{\\prime2}=1$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l11-parallel-curvature",
      "title": "Curvature in the parallel direction",
      "prompt": "Use the unit-speed revolution chart and the normal $N=(g^{\\prime}\\cos u,g^{\\prime}\\sin u,-f^{\\prime})$. Give the principal curvature $k$ in the $u$ (parallel) direction. Elide the argument $(v)$ of $f$, $g$ and their derivatives for shortness.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "k",
            "label": "k"
          },
          {
            "tool": "g'",
            "label": "g'"
          },
          {
            "tool": "f",
            "label": "f"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "k"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "g'"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "f"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 11, 21:30—26:40.",
          "steps": [
            {
              "text": "The second-form coefficient in the $X_u$ direction is $-fg^{\\prime}$."
            },
            {
              "text": "Divide it by the first-form coefficient $f^2$, since $X_u$ is not a unit vector."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l11-meridian-curvature",
      "title": "Curvature in the meridian direction",
      "prompt": "For $X(u,v)=(f(v)\\cos u,f(v)\\sin u,g(v))$ with a unit-speed profile, $f>0$, and $N=(g^{\\prime}\\cos u,g^{\\prime}\\sin u,-f^{\\prime})$, give the principal curvature $k$ in the $v$ (meridian) direction. Elide the argument $(v)$ of $f$, $g$ and their derivatives for shortness.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "k",
            "label": "k"
          },
          {
            "tool": "f''",
            "label": "f''"
          },
          {
            "tool": "g'",
            "label": "g'"
          },
          {
            "tool": "f'",
            "label": "f'"
          },
          {
            "tool": "g''",
            "label": "g''"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "k"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "f''"
            },
            {
              "kind": "symbol",
              "text": "g'"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "f'"
            },
            {
              "kind": "symbol",
              "text": "g''"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 11, 21:30—26:40.",
          "steps": [
            {
              "text": "The second-form coefficient is $\\langle X_{vv},N\\rangle=f^{\\prime\\prime}g^{\\prime}-f^{\\prime}g^{\\prime\\prime}$."
            },
            {
              "text": "Here $G=1$, so no further denominator is needed."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l11-catenoid-curvatures",
      "title": "The catenoid is minimal",
      "prompt": "For $X(u,v)=(a\\cosh v\\cos u,a\\cosh v\\sin u,av)$, $a>0$, enter $(H,K)$ using $a,v$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "cosh",
            "label": "cosh"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3",
          "4"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "1"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "power",
                            "base": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "a"
                                }
                              ]
                            },
                            "exponent": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "2"
                                }
                              ]
                            }
                          },
                          {
                            "kind": "power",
                            "base": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "row",
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "cosh"
                                    },
                                    {
                                      "kind": "row",
                                      "children": [
                                        {
                                          "kind": "symbol",
                                          "text": "("
                                        },
                                        {
                                          "kind": "symbol",
                                          "text": "v"
                                        },
                                        {
                                          "kind": "symbol",
                                          "text": ")"
                                        }
                                      ]
                                    }
                                  ]
                                }
                              ]
                            },
                            "exponent": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "4"
                                }
                              ]
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ")"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 11, 36:45—47:45.",
          "steps": [
            {
              "text": "The principal curvatures have opposite signs and magnitude $1/(a\\cosh^2v)$."
            },
            {
              "text": "Their half-sum is zero; their product is $-1/(a^2\\cosh^4v)$. This parameter $v$ is not arc length."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "compute-l11-gaussian-chain",
      "title": "Derive the revolution curvature formula",
      "prompt": "For a unit-speed profile, use $f^{\\prime2}+g^{\\prime2}=1$ and $f^{\\prime}f^{\\prime\\prime}+g^{\\prime}g^{\\prime\\prime}=0$. Starting from $K=-\\frac{g^{\\prime}}f(f^{\\prime\\prime}g^{\\prime}-f^{\\prime}g^{\\prime\\prime})$, expand, substitute the differentiated constraint, and simplify. Elide the argument $(v)$ of $f$, $g$ and their derivatives for shortness.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "K",
            "label": "K"
          },
          {
            "tool": "g'",
            "label": "g'"
          },
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "f''",
            "label": "f''"
          },
          {
            "tool": "f'",
            "label": "f'"
          },
          {
            "tool": "g''",
            "label": "g''"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "K"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "g'"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f"
                      }
                    ]
                  }
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "f''"
                    },
                    {
                      "kind": "symbol",
                      "text": "g'"
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "f'"
                    },
                    {
                      "kind": "symbol",
                      "text": "g''"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "f''"
                          },
                          {
                            "kind": "power",
                            "base": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "g'"
                                }
                              ]
                            },
                            "exponent": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "2"
                                }
                              ]
                            }
                          },
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "f'"
                          },
                          {
                            "kind": "symbol",
                            "text": "g'"
                          },
                          {
                            "kind": "symbol",
                            "text": "g''"
                          }
                        ]
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "f''"
                          },
                          {
                            "kind": "power",
                            "base": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "g'"
                                }
                              ]
                            },
                            "exponent": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "2"
                                }
                              ]
                            }
                          },
                          {
                            "kind": "symbol",
                            "text": "+"
                          },
                          {
                            "kind": "power",
                            "base": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "f'"
                                }
                              ]
                            },
                            "exponent": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "2"
                                }
                              ]
                            }
                          },
                          {
                            "kind": "symbol",
                            "text": "f''"
                          }
                        ]
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f''"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f"
                      }
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "K"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "g'"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f"
                      }
                    ]
                  }
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "f''"
                    },
                    {
                      "kind": "symbol",
                      "text": "g'"
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "f'"
                    },
                    {
                      "kind": "symbol",
                      "text": "g''"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "f''"
                          },
                          {
                            "kind": "power",
                            "base": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "g'"
                                }
                              ]
                            },
                            "exponent": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "2"
                                }
                              ]
                            }
                          },
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "f'"
                          },
                          {
                            "kind": "symbol",
                            "text": "g'"
                          },
                          {
                            "kind": "symbol",
                            "text": "g''"
                          }
                        ]
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "f''"
                          },
                          {
                            "kind": "power",
                            "base": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "g'"
                                }
                              ]
                            },
                            "exponent": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "2"
                                }
                              ]
                            }
                          },
                          {
                            "kind": "symbol",
                            "text": "+"
                          },
                          {
                            "kind": "power",
                            "base": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "f'"
                                }
                              ]
                            },
                            "exponent": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "2"
                                }
                              ]
                            }
                          },
                          {
                            "kind": "symbol",
                            "text": "f''"
                          }
                        ]
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "f''"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "power",
                                "base": {
                                  "kind": "row",
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "g'"
                                    }
                                  ]
                                },
                                "exponent": {
                                  "kind": "row",
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "2"
                                    }
                                  ]
                                }
                              },
                              {
                                "kind": "symbol",
                                "text": "+"
                              },
                              {
                                "kind": "power",
                                "base": {
                                  "kind": "row",
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "f'"
                                    }
                                  ]
                                },
                                "exponent": {
                                  "kind": "row",
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "2"
                                    }
                                  ]
                                }
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f''"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f"
                      }
                    ]
                  }
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 11, 26:40—28:15.",
          "steps": [
            {
              "text": "The product $f^{\\prime}g^{\\prime}g^{\\prime\\prime}$ becomes $-f^{\\prime2}f^{\\prime\\prime}$."
            },
            {
              "text": "For the last equality, factor $f^{\\prime\\prime}$ and use $f^{\\prime2}+g^{\\prime2}=1$. This optional intermediate step is shown below; the proof never divides by $g^{\\prime}$.",
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "fraction",
                        "top": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "f''"
                                },
                                {
                                  "kind": "power",
                                  "base": {
                                    "kind": "row",
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "g'"
                                      }
                                    ]
                                  },
                                  "exponent": {
                                    "kind": "row",
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "2"
                                      }
                                    ]
                                  }
                                },
                                {
                                  "kind": "symbol",
                                  "text": "+"
                                },
                                {
                                  "kind": "power",
                                  "base": {
                                    "kind": "row",
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "f'"
                                      }
                                    ]
                                  },
                                  "exponent": {
                                    "kind": "row",
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "2"
                                      }
                                    ]
                                  }
                                },
                                {
                                  "kind": "symbol",
                                  "text": "f''"
                                }
                              ]
                            }
                          ]
                        },
                        "bottom": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "f"
                            }
                          ]
                        }
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "fraction",
                        "top": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "f''"
                                },
                                {
                                  "kind": "row",
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "("
                                    },
                                    {
                                      "kind": "power",
                                      "base": {
                                        "kind": "row",
                                        "children": [
                                          {
                                            "kind": "symbol",
                                            "text": "g'"
                                          }
                                        ]
                                      },
                                      "exponent": {
                                        "kind": "row",
                                        "children": [
                                          {
                                            "kind": "symbol",
                                            "text": "2"
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": "+"
                                    },
                                    {
                                      "kind": "power",
                                      "base": {
                                        "kind": "row",
                                        "children": [
                                          {
                                            "kind": "symbol",
                                            "text": "f'"
                                          }
                                        ]
                                      },
                                      "exponent": {
                                        "kind": "row",
                                        "children": [
                                          {
                                            "kind": "symbol",
                                            "text": "2"
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": ")"
                                    }
                                  ]
                                }
                              ]
                            }
                          ]
                        },
                        "bottom": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "f"
                            }
                          ]
                        }
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "fraction",
                        "top": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "f''"
                            }
                          ]
                        },
                        "bottom": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "f"
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "K"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "g'"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f"
                      }
                    ]
                  }
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "f''"
                    },
                    {
                      "kind": "symbol",
                      "text": "g'"
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "f'"
                    },
                    {
                      "kind": "symbol",
                      "text": "g''"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "f''"
                          },
                          {
                            "kind": "power",
                            "base": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "g'"
                                }
                              ]
                            },
                            "exponent": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "2"
                                }
                              ]
                            }
                          },
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "f'"
                          },
                          {
                            "kind": "symbol",
                            "text": "g'"
                          },
                          {
                            "kind": "symbol",
                            "text": "g''"
                          }
                        ]
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "f''"
                          },
                          {
                            "kind": "power",
                            "base": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "g'"
                                }
                              ]
                            },
                            "exponent": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "2"
                                }
                              ]
                            }
                          },
                          {
                            "kind": "symbol",
                            "text": "+"
                          },
                          {
                            "kind": "power",
                            "base": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "f'"
                                }
                              ]
                            },
                            "exponent": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "2"
                                }
                              ]
                            }
                          },
                          {
                            "kind": "symbol",
                            "text": "f''"
                          }
                        ]
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f''"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f"
                      }
                    ]
                  }
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 3,
      "type": "equation-practice",
      "recallPrompt": "For a unit-speed profile $(f,g)$, simplify $K=-\\frac{g'}f(f''g'-f'g'')$ to $-f''/f$. Elide the argument $(v)$ of $f$, $g$ and their derivatives for shortness."
    },
    {
      "id": "compute-l11-catenoid-speed",
      "title": "Catenoid profile speed",
      "prompt": "For $f=a\\cosh v$, $g=av$, let $q$ be the profile speed. Starting with $q^2=f^{\\prime2}+g^{\\prime2}$, substitute the derivatives, factor $a^2$, and use the hyperbolic identity. Elide the argument $(v)$ of $f$, $g$ and their derivatives for shortness.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "q",
            "label": "q"
          },
          {
            "tool": "f'",
            "label": "f'"
          },
          {
            "tool": "g'",
            "label": "g'"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "sinh",
            "label": "sinh"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "cosh",
            "label": "cosh"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "q"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f'"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "g'"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "sinh"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "v"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "sinh"
                              },
                              {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "("
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "v"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ")"
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "1"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "cosh"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "v"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 11, 36:45—47:45.",
          "steps": [
            {
              "text": "$f^{\\prime}=a\\sinh v$ and $g^{\\prime}=a$."
            },
            {
              "text": "Use $1+\\sinh^2v=\\cosh^2v$. The nonconstant speed explains why the unit-speed curvature formula cannot be applied directly."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "q"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f'"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "g'"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "sinh"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "v"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "sinh"
                              },
                              {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "("
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "v"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ")"
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "1"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "cosh"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "v"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "For the catenoid profile $f=a\\cosh v$, $g=av$, compute its squared speed $q^2$. Elide the argument $(v)$ of $f$, $g$ and their derivatives for shortness."
    },
    {
      "id": "l16-acceleration-split",
      "title": "Normal and geodesic curvature components",
      "prompt": "For a unit-speed surface curve put $T=\\gamma^{\\prime}$, $a=\\gamma^{\\prime\\prime}$, and $\\eta=N\\times T$. Express $a$ in the orthonormal directions $N,\\eta$ using normal curvature $k_n$ and signed geodesic curvature $k_g$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "k_n",
            "label": "k_n"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "k_g",
            "label": "k_g"
          },
          {
            "tool": "η",
            "label": "η"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "a"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "k_n"
            },
            {
              "kind": "symbol",
              "text": "N"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "k_g"
            },
            {
              "kind": "symbol",
              "text": "η"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 16, 06:00—10:00.",
          "steps": [
            {
              "text": "Unit speed implies $\\langle a,T\\rangle=0$."
            },
            {
              "text": "The other two orthonormal directions are $N$ and $\\eta$, so their scalar components are $k_n$ and signed $k_g$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "a": "vector",
          "N": "vector",
          "η": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l16-curvature-pythagoras",
      "title": "Space curvature from its components",
      "prompt": "Let $k=\\|\\gamma^{\\prime\\prime}\\|$ for a unit-speed curve. Relate $k^2$ to normal curvature $k_n$ and signed geodesic curvature $k_g$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "k",
            "label": "k"
          },
          {
            "tool": "k_n",
            "label": "k_n"
          },
          {
            "tool": "k_g",
            "label": "k_g"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "k"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "k_n"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "k_g"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 16, 06:00—10:00.",
          "steps": [
            {
              "text": "The acceleration components lie in perpendicular unit directions."
            },
            {
              "text": "Taking squared norms of the decomposition gives the identity."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l16-frame-turning",
      "title": "Turning relative to a moving frame",
      "prompt": "For a unit-speed curve let $T=\\gamma^{\\prime}=\\cos\\theta\\,e_1+\\sin\\theta\\,e_2$ in a positively oriented orthonormal frame. Set $q=\\langle e_1,e_2^{\\prime}\\rangle$. Express signed $k_g$ using $\\theta^{\\prime}$ and $q$. Primes denote derivatives with respect to arc length.",
      "learningVersion": 2,
      "editor": {
        "palette": [
          {
            "tool": "k_g",
            "label": "k_g"
          },
          {
            "tool": "θ'",
            "label": "θ'"
          },
          {
            "tool": "q",
            "label": "q"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "k_g"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "θ'"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "q"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 16, 20:00—25:30.",
          "steps": [
            {
              "text": "Differentiate $T$ and take the inner product with $-\\sin\\theta\\,e_1+\\cos\\theta\\,e_2$."
            },
            {
              "text": "Orthonormality combines the frame terms into $-\\langle e_1,e_2^{\\prime}\\rangle$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l16-corners",
      "title": "Gauss–Bonnet with corners",
      "prompt": "For a positively oriented piecewise-smooth disk boundary, put $A=\\int_RK\\,dA$, $B=\\int_{\\partial R}k_g\\,ds$, and $C$ equal to the sum of signed exterior angles. Complete the equation for $A+B+C$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "B",
            "label": "B"
          },
          {
            "tool": "C",
            "label": "C"
          },
          {
            "tool": "π",
            "label": "π"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "A"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "B"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "C"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "π"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Positive boundary orientation keeps the region on the left in the chosen surface orientation. A signed exterior angle is the turn from the incoming unit tangent to the outgoing one, positive for a left turn. For interior angle alpha it is pi minus alpha; a concave corner therefore contributes negatively. Lecture 16, 33:30—40:00.",
          "steps": [
            {
              "text": "The smooth tangent turning plus the corner jumps totals $2\\pi$."
            },
            {
              "text": "The moving-frame term supplies the interior Gaussian-curvature integral."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l16-polygon-angles",
      "title": "Interior-angle sum on a surface",
      "prompt": "For an $n$-sided disk region with piecewise-smooth boundary put $A=\\int_RK\\,dA$ and $B=\\int_{\\partial R}k_g\\,ds$. Express its total interior angle $S$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "S",
            "label": "S"
          },
          {
            "tool": "n",
            "label": "n"
          },
          {
            "tool": "π",
            "label": "π"
          },
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "B",
            "label": "B"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "S"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "n"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "π"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "A"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "B"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 16, 40:00—45:00.",
          "steps": [
            {
              "text": "At each vertex the exterior turn is $\\pi-\\alpha_i$."
            },
            {
              "text": "Substitute the sum $n\\pi-S$ into Gauss–Bonnet with corners and solve for $S$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "compute-l16-global-counting",
      "title": "Global Gauss–Bonnet: sum the faces",
      "prompt": "A closed oriented surface has a polygonal cell decomposition with $V$ vertices, $E$ edges and $F$ disk faces. For each face, Gauss–Bonnet says $A_i+B_i=S_i-(n_i-2)\\pi$, where $S_i$ is its interior-angle sum and $n_i$ its number of sides. Let $S$ be the sum of all face interior angles and $A$ the total Gaussian curvature. Sum the face formulas: cancel shared-edge integrals, count side incidences and angles around vertices, and obtain $A=2\\pi(V-E+F)$. Begin $A=\\sum_i(S_i-(n_i-2)\\pi)$. Show the side-incidence count before substituting the angle sum.",
      "learningVersion": 2,
      "editor": {
        "palette": [
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "sum_i",
            "label": "sum_i"
          },
          {
            "tool": "S_i",
            "label": "S_i"
          },
          {
            "tool": "n_i",
            "label": "n_i"
          },
          {
            "tool": "π",
            "label": "π"
          },
          {
            "tool": "S",
            "label": "S"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "V",
            "label": "V"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "A"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "sum_i"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "S_i"
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "n_i"
                            },
                            {
                              "kind": "symbol",
                              "text": "−"
                            },
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "π"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "S"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "π"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        },
                        {
                          "kind": "symbol",
                          "text": "E"
                        },
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "2"
                        },
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "π"
                },
                {
                  "kind": "symbol",
                  "text": "V"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "π"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        },
                        {
                          "kind": "symbol",
                          "text": "E"
                        },
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "2"
                        },
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "π"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "V"
                        },
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "E"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "When the face formulas are summed, each shared edge is traversed in opposite directions. Its two signed geodesic-curvature integrals cancel, leaving $A=\\sum_i(S_i-(n_i-2)\\pi)$."
            },
            {
              "text": "Every edge is counted on two face boundaries, so $\\sum_i n_i=2E$. There are $F$ faces, giving $\\sum_i(n_i-2)=2E-2F$; also $\\sum_i S_i=S$."
            },
            {
              "text": "The face sectors around each vertex fill its tangent plane, so their angles sum to $2\\pi$. Thus $S=2\\pi V$; substitution and factoring give the result."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "A"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "sum_i"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "S_i"
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "n_i"
                            },
                            {
                              "kind": "symbol",
                              "text": "−"
                            },
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "π"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "S"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "π"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        },
                        {
                          "kind": "symbol",
                          "text": "E"
                        },
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "2"
                        },
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "π"
                },
                {
                  "kind": "symbol",
                  "text": "V"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "π"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        },
                        {
                          "kind": "symbol",
                          "text": "E"
                        },
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "2"
                        },
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "π"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "V"
                        },
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "E"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "A closed oriented surface has a polygonal cell decomposition with $V$ vertices, $E$ edges and $F$ disk faces. For each face, Gauss–Bonnet says $A_i+B_i=S_i-(n_i-2)\\pi$, where $S_i$ is its interior-angle sum and $n_i$ its number of sides. Let $S$ be the sum of all face interior angles and $A$ the total Gaussian curvature. Sum the face formulas: cancel shared-edge integrals, count side incidences and angles around vertices, and obtain $A=2\\pi(V-E+F)$. Begin $A=\\sum_i(S_i-(n_i-2)\\pi)$. Show the side-incidence count before substituting the angle sum."
    },
    {
      "id": "l17-catenoid-metric",
      "title": "Conformal factor of the catenoid",
      "prompt": "For $X(u,v)=(a\\cosh v\\cos u,a\\cosh v\\sin u,av)$, write the factor $q$ in $I=q(du^2+dv^2)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "q",
            "label": "q"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "cosh",
            "label": "cosh"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "q"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "a"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "cosh"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 17, 18:30—26:30.",
          "steps": [
            {
              "text": "$X_u=(-a\\cosh v\\sin u,a\\cosh v\\cos u,0)$ and $X_v=(a\\sinh v\\cos u,a\\sinh v\\sin u,a)$."
            },
            {
              "text": "Their inner product is zero. Their squared lengths are $a^2\\cosh^2v$ and $a^2(\\sinh^2v+1)=a^2\\cosh^2v$, so the common coefficient is $q$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l17-helicoid-coordinate-change",
      "title": "Match helicoid and catenoid coordinates",
      "prompt": "The helicoid is $Y(u,w)=(w\\cos u,w\\sin u,au)$. What substitution $w=w(v)$ makes its metric equal to $a^2\\cosh^2v(du^2+dv^2)$?",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "w",
            "label": "w"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "sinh",
            "label": "sinh"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "w"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "a"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "sinh"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 17, 18:30—30:00.",
          "steps": [
            {
              "text": "The helicoid metric is $(a^2+w^2)du^2+dw^2$. Substitute $w=a\\sinh v$ and $dw=a\\cosh v\\,dv$; $1+\\sinh^2v=\\cosh^2v$ makes both coefficients $a^2\\cosh^2v$."
            },
            {
              "text": "Matching the metric gives a local isometry on injective chart patches. It does not give a global bijection of the complete surfaces."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l17-disk-distance",
      "title": "Distance from the center of the hyperbolic disk",
      "prompt": "In the curvature $-1$ disk metric, express the distance $L$ from the origin to Euclidean radius $r$, where $0\\leq r<1$. Use the natural logarithm.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "L",
            "label": "L"
          },
          {
            "tool": "ln",
            "label": "ln"
          },
          {
            "tool": "r",
            "label": "r"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "L"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "ln"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "fraction",
                      "top": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              },
                              {
                                "kind": "symbol",
                                "text": "+"
                              },
                              {
                                "kind": "symbol",
                                "text": "r"
                              }
                            ]
                          }
                        ]
                      },
                      "bottom": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              },
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "symbol",
                                "text": "r"
                              }
                            ]
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 17, 72:00—77:17.",
          "steps": [
            {
              "text": "A radial segment has length $\\int_0^r 2/(1-t^2)\\,dt=\\ln((1+r)/(1-r))$, using $2/(1-t^2)=1/(1-t)+1/(1+t)$."
            },
            {
              "text": "For any joining path with Euclidean radius $\\rho$, Euclidean speed is at least $|\\rho^{\\prime}|$ (almost everywhere). Hence its length is at least $|\\int 2\\rho^{\\prime}/(1-\\rho^2)\\,dt|=\\ln((1+r)/(1-r))$. The radial segment attains this bound."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l17-cayley-derivative",
      "title": "Derivative of the Cayley map",
      "prompt": "For $w(z)=i(1-z)/(1+z)$, give $w^{\\prime}(z)$ using $z,i$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "w'",
            "label": "w'"
          },
          {
            "tool": "i",
            "label": "i"
          },
          {
            "tool": "z",
            "label": "z"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "w'"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "2"
                      },
                      {
                        "kind": "symbol",
                        "text": "i"
                      }
                    ]
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "1"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "kind": "symbol",
                              "text": "z"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 17, 67:30—72:00.",
          "steps": [
            {
              "text": "Apply the quotient rule to $i(1-z)/(1+z)$."
            },
            {
              "text": "The numerator is $-i(1+z)-i(1-z)=-2i$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "compute-l17-cayley-metric",
      "title": "Cayley map: transformed height and metric",
      "prompt": "Let $z=x+iy$, $|z|<1$, and $w=i(1-z)/(1+z)$. Put $r=|z|$, $q=|1+z|^2$, and $Y=\\operatorname{Im}w$. Multiply by the conjugate of the denominator to compute $Y$, then express it using $r,q$. Given $|w^{\\prime}|^2=4/q^2$, compute the pullback factor $m=|w^{\\prime}|^2/Y^2$ of the half-plane metric.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "Y",
            "label": "Y"
          },
          {
            "tool": "x",
            "label": "x"
          },
          {
            "tool": "y",
            "label": "y"
          },
          {
            "tool": "r",
            "label": "r"
          },
          {
            "tool": "q",
            "label": "q"
          },
          {
            "tool": "m",
            "label": "m"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3",
          "4"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "Y"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "1"
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "x"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "1"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "x"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "y"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "q"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "1"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "r"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "q"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "m"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "fraction",
                "top": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "4"
                    }
                  ]
                },
                "bottom": {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "q"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "Y"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "4"
                  }
                ]
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "1"
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "r"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Write $w=i(1-x-iy)/(1+x+iy)$ and multiply numerator and denominator by $1+x-iy$. The numerator becomes $2y+i((1-x)(1+x)-y^2)$, so its imaginary part gives the first fraction."
            },
            {
              "text": "Use $r^2=x^2+y^2$. The target metric divides Euclidean squared length by $Y^2$, while the holomorphic differential multiplies it by $|w^{\\prime}|^2$. Their quotient is the disk metric factor."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [
          "q"
        ],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "Y"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "1"
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "x"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "1"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "x"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "y"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "q"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "1"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "r"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "q"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "m"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "fraction",
                "top": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "4"
                    }
                  ]
                },
                "bottom": {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "q"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "Y"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "4"
                  }
                ]
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "1"
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "r"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            }
          ]
        }
      ],
      "type": "equation-practice",
      "recallPrompt": "Let $z=x+iy$, $|z|<1$, and $w=i(1-z)/(1+z)$. Put $r=|z|$, $q=|1+z|^2$, and $Y=\\operatorname{Im}w$. Multiply by the conjugate of the denominator to compute $Y$, then express it using $r,q$. Given $|w^{\\prime}|^2=4/q^2$, compute the pullback factor $m=|w^{\\prime}|^2/Y^2$ of the half-plane metric.",
      "multiplier": 2
    },
    {
      "id": "compute-l17-helicoid-metric",
      "title": "Reparametrized helicoid metric coefficient",
      "prompt": "The helicoid $Y(u,w)=(w\\cos u,w\\sin u,au)$ has metric $(a^2+w^2)du^2+dw^2$. Substitute $w=a\\sinh v$. Compute the new coefficients $E$ and $G$ as two comma-separated chains, beginning $E=a^2+(a\\sinh v)^2$ and $G=(w^{\\prime})^2$; primes denote $v$ derivatives. Show that both equal the catenoid coefficient $a^2\\cosh^2v$.",
      "learningVersion": 2,
      "editor": {
        "palette": [
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "G",
            "label": "G"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "w'",
            "label": "w'"
          },
          {
            "tool": "sinh",
            "label": "sinh"
          },
          {
            "tool": "cosh",
            "label": "cosh"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "E"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "a"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "a"
                              },
                              {
                                "kind": "symbol",
                                "text": "sinh"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "v"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "a"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "1"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "kind": "power",
                              "base": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "sinh"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "("
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "v"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ")"
                                  }
                                ]
                              },
                              "exponent": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ]
                              }
                            }
                          ]
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "a"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "cosh"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "G"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "w'"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "a"
                          },
                          {
                            "kind": "symbol",
                            "text": "cosh"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "a"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "cosh"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The coefficient of $du^2$ is obtained by substitution and $1+\\sinh^2v=\\cosh^2v$."
            },
            {
              "text": "The coefficient of $dv^2$ also changes: $dw=w^{\\prime}dv=a\\cosh v\\,dv$. There is no mixed term because $w$ depends only on $v$."
            },
            {
              "text": "Both coefficients now agree with the catenoid metric. This gives an isometry on patches where the parametrizations are injective, not a global isometry of the complete surfaces."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "E"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "a"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "a"
                              },
                              {
                                "kind": "symbol",
                                "text": "sinh"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "v"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "a"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "1"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "kind": "power",
                              "base": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "sinh"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "("
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "v"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ")"
                                  }
                                ]
                              },
                              "exponent": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ]
                              }
                            }
                          ]
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "a"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "cosh"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "G"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "w'"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "a"
                          },
                          {
                            "kind": "symbol",
                            "text": "cosh"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "a"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "cosh"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 3,
      "type": "equation-practice",
      "recallPrompt": "The helicoid metric is $(a^2+w^2)du^2+dw^2$. Show that $w=a\\sinh v$ gives $E=G=a^2\\cosh^2v$."
    },
    {
      "id": "l18-mobius-derivative",
      "title": "Derivative of a real Möbius map",
      "prompt": "Let $T(z)=(az+b)/(cz+d)$ with real coefficients and $q=ad-bc>0$. Express $T^{\\prime}(z)$ in terms of $q,c,z,d$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "T'",
            "label": "T'"
          },
          {
            "tool": "q",
            "label": "q"
          },
          {
            "tool": "c",
            "label": "c"
          },
          {
            "tool": "z",
            "label": "z"
          },
          {
            "tool": "d",
            "label": "d"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "T'"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "q"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "c"
                            },
                            {
                              "kind": "symbol",
                              "text": "z"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "kind": "symbol",
                              "text": "d"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 18, 04:30—11:00.",
          "steps": [
            {
              "text": "Quotient differentiation gives $a(cz+d)-c(az+b)=ad-bc$."
            },
            {
              "text": "The denominator is $(cz+d)^2$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l18-mobius-height",
      "title": "Height under a real Möbius map",
      "prompt": "For $T(z)=(az+b)/(cz+d)$, set $q=ad-bc>0$, $y=\\operatorname{Im}z$, and $h=|cz+d|^2$. Give $Y=\\operatorname{Im}T(z)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "Y",
            "label": "Y"
          },
          {
            "tool": "q",
            "label": "q"
          },
          {
            "tool": "y",
            "label": "y"
          },
          {
            "tool": "h",
            "label": "h"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "Y"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "q"
                      },
                      {
                        "kind": "symbol",
                        "text": "y"
                      }
                    ]
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "h"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 18, 04:30—11:00.",
          "steps": [
            {
              "text": "Multiply numerator and denominator by the conjugate of $cz+d$."
            },
            {
              "text": "The imaginary part of the numerator is $(ad-bc)y$. Positivity keeps the image in the upper half-plane."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l18-geodesic-u",
      "title": "Half-plane geodesic equation: horizontal coordinate",
      "prompt": "For an affinely parametrized geodesic $(u(s),v(s))$ in $(du^2+dv^2)/v^2$, $v>0$, express $u^{\\prime\\prime}$ using $u^{\\prime},v^{\\prime},v$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "u''",
            "label": "u''"
          },
          {
            "tool": "u'",
            "label": "u'"
          },
          {
            "tool": "v'",
            "label": "v'"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "u''"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      },
                      {
                        "kind": "symbol",
                        "text": "u'"
                      },
                      {
                        "kind": "symbol",
                        "text": "v'"
                      }
                    ]
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "v"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 18, 11:00—18:00.",
          "steps": [
            {
              "text": "Differentiate the conserved quantity $u^{\\prime}/v^2$."
            },
            {
              "text": "Multiplying by $v^2$ gives $u^{\\prime\\prime}-2u^{\\prime}v^{\\prime}/v=0$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l18-geodesic-v",
      "title": "Half-plane geodesic equation: vertical coordinate",
      "prompt": "For an affinely parametrized geodesic $(u(s),v(s))$ in the half-plane metric $(du^2+dv^2)/v^2$, $v>0$, express $v^{\\prime\\prime}$ using $u^{\\prime},v^{\\prime},v$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "v''",
            "label": "v''"
          },
          {
            "tool": "v'",
            "label": "v'"
          },
          {
            "tool": "u'",
            "label": "u'"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "v''"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "v'"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "u'"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "v"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 18, 11:00—18:00.",
          "steps": [
            {
              "text": "Here $E_v=G_v=-2/v^3$ and $F_v=0$, so the right-hand side of the general equation is $-((u^{\\prime})^2+(v^{\\prime})^2)/v^3$. The product rule applied to $v^{\\prime}v^{-2}$ gives $v^{\\prime\\prime}/v^2-2(v^{\\prime})^2/v^3$. Multiply the resulting equation by $v^3>0$ and collect terms."
            },
            {
              "text": "The second Euler–Lagrange equation is $vv^{\\prime\\prime}+(u^{\\prime})^2-(v^{\\prime})^2=0$."
            },
            {
              "text": "It must be retained: the first integral and speed constraint alone admit spurious horizontal solutions."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l18-vertical-unit-speed",
      "title": "Upward vertical geodesic at unit speed",
      "prompt": "For an upward vertical hyperbolic geodesic with $u=u_0$ and $v(0)=v_0>0$, express $v(s)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "v_0",
            "label": "v_0"
          },
          {
            "tool": "exp",
            "label": "exp"
          },
          {
            "tool": "s",
            "label": "s"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "v"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "v_0"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "exp"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "s"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 18, 18:00—22:30.",
          "steps": [
            {
              "text": "Unit speed gives $(v^{\\prime})^2/v^2=1$. Upward motion selects $v^{\\prime}=v$."
            },
            {
              "text": "The initial value gives $v=v_0e^s$; Euclidean height is exponential in hyperbolic arc length."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l18-vertical-distance",
      "title": "Hyperbolic distance along a vertical line",
      "prompt": "Two points have the same horizontal coordinate and positive heights $a,b$. Express their hyperbolic distance $L$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "L",
            "label": "L"
          },
          {
            "tool": "ln",
            "label": "ln"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "a",
            "label": "a"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "L"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "|"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "ln"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "fraction",
                      "top": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "b"
                          }
                        ]
                      },
                      "bottom": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "a"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "|"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 18, 18:00—22:30.",
          "steps": [
            {
              "text": "The length of the monotone vertical segment is $|\\int_a^b dv/v|$."
            },
            {
              "text": "Every other joining path has at least that length by $\\sqrt{u^{\\prime2}+v^{\\prime2}}\\geq|v^{\\prime}|$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "compute-l18-mobius-metric",
      "title": "Möbius map: transformed height and metric",
      "prompt": "Let $T(z)=(az+b)/(cz+d)$ with real coefficients, $q=ad-bc>0$, and $z=x+iy$ with $y>0$. Put $h=|cz+d|^2$ and $Y=\\operatorname{Im}T(z)$. Multiply by the conjugate of the denominator to compute $Y$, then simplify using $q$. Given $|T^{\\prime}(z)|^2=q^2/h^2$, compute the pullback factor $m=|T^{\\prime}(z)|^2/Y^2$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "Y",
            "label": "Y"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "c",
            "label": "c"
          },
          {
            "tool": "d",
            "label": "d"
          },
          {
            "tool": "x",
            "label": "x"
          },
          {
            "tool": "y",
            "label": "y"
          },
          {
            "tool": "q",
            "label": "q"
          },
          {
            "tool": "h",
            "label": "h"
          },
          {
            "tool": "m",
            "label": "m"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "Y"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "a"
                  },
                  {
                    "kind": "symbol",
                    "text": "y"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "c"
                      },
                      {
                        "kind": "symbol",
                        "text": "x"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "d"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "symbol",
                    "text": "c"
                  },
                  {
                    "kind": "symbol",
                    "text": "y"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "a"
                      },
                      {
                        "kind": "symbol",
                        "text": "x"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "b"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "h"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "q"
                  },
                  {
                    "kind": "symbol",
                    "text": "y"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "h"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "m"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "fraction",
                "top": {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "q"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                "bottom": {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "h"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "Y"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "1"
                  }
                ]
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "y"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Multiply $(ax+b+iay)/(cx+d+icy)$ by $(cx+d-icy)/(cx+d-icy)$. The imaginary numerator is $ay(cx+d)-cy(ax+b)=y(ad-bc)=qy$."
            },
            {
              "text": "The half-plane metric has factor $1/Y^2$ at the image. Multiplying by $|T^{\\prime}(z)|^2$ cancels $q^2/h^2$, leaving the original factor $1/y^2$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [
          "q",
          "h",
          "y"
        ],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "Y"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "a"
                  },
                  {
                    "kind": "symbol",
                    "text": "y"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "c"
                      },
                      {
                        "kind": "symbol",
                        "text": "x"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "d"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "symbol",
                    "text": "c"
                  },
                  {
                    "kind": "symbol",
                    "text": "y"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "a"
                      },
                      {
                        "kind": "symbol",
                        "text": "x"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "b"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "h"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "q"
                  },
                  {
                    "kind": "symbol",
                    "text": "y"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "h"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "m"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "fraction",
                "top": {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "q"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                "bottom": {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "h"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "Y"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "1"
                  }
                ]
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "y"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            }
          ]
        }
      ],
      "type": "equation-practice",
      "recallPrompt": "Let $T(z)=(az+b)/(cz+d)$ with real coefficients, $q=ad-bc>0$, and $z=x+iy$ with $y>0$. Put $h=|cz+d|^2$ and $Y=\\operatorname{Im}T(z)$. Multiply by the conjugate of the denominator to compute $Y$, then simplify using $q$. Given $|T^{\\prime}(z)|^2=q^2/h^2$, compute the pullback factor $m=|T^{\\prime}(z)|^2/Y^2$.",
      "multiplier": 2
    },
    {
      "id": "compute-l18-speed-reduction",
      "title": "Unit speed and the conserved momentum",
      "prompt": "For a unit-speed half-plane geodesic with $u^{\\prime}=cv^2$, start with $(v^{\\prime})^2=v^2-(u^{\\prime})^2$, substitute the first integral, and simplify the power.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "v'",
            "label": "v'"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "u'",
            "label": "u'"
          },
          {
            "tool": "c",
            "label": "c"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3",
          "4"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "v'"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "u'"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "c"
                              },
                              {
                                "kind": "power",
                                "base": {
                                  "kind": "row",
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "v"
                                    }
                                  ]
                                },
                                "exponent": {
                                  "kind": "row",
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "2"
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "c"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "4"
                      }
                    ]
                  }
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 18, 11:00—18:00.",
          "steps": [
            {
              "text": "Unit speed says $(u^{\\prime})^2+(v^{\\prime})^2=v^2$."
            },
            {
              "text": "This is a necessary first-order constraint. The second geodesic equation still excludes spurious horizontal solutions."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "v'"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "u'"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "c"
                              },
                              {
                                "kind": "power",
                                "base": {
                                  "kind": "row",
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "v"
                                    }
                                  ]
                                },
                                "exponent": {
                                  "kind": "row",
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "2"
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "c"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "4"
                      }
                    ]
                  }
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "For a unit-speed half-plane geodesic with $u'=cv^2$, derive the equation for $(v')^2$."
    },
    {
      "id": "l19-vector-components",
      "title": "Tangent-vector components change by the Jacobian",
      "prompt": "Let new coordinates be $(U(x,y),V(x,y))$. A tangent vector has old components $(a,b)$. Enter its new component pair.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "U_x",
            "label": "U_x"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "U_y",
            "label": "U_y"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "V_x",
            "label": "V_x"
          },
          {
            "tool": "V_y",
            "label": "V_y"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "U_x"
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "U_y"
                },
                {
                  "kind": "symbol",
                  "text": "b"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "V_x"
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "V_y"
                },
                {
                  "kind": "symbol",
                  "text": "b"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ")"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 19, 28:30—32:30.",
          "steps": [
            {
              "text": "Apply the vector $a\\partial_x+b\\partial_y$ to each new coordinate function."
            },
            {
              "text": "The resulting column is the coordinate-change Jacobian multiplied by the old column."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l19-bundle-transition",
      "title": "Tangent-bundle coordinate transition",
      "prompt": "Let a base coordinate change be $h$ with Jacobian $J$ at the old coordinate $x$. Abbreviate $h(x)$ by $q$. If $v$ is the old fiber column, enter the new base-and-fiber pair.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "q",
            "label": "q"
          },
          {
            "tool": "J",
            "label": "J"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "q"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "J"
            },
            {
              "kind": "symbol",
              "text": "v"
            },
            {
              "kind": "symbol",
              "text": ")"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 19, 49:00—58:00.",
          "steps": [
            {
              "text": "The base point changes by $h$."
            },
            {
              "text": "Tangent components change by $Dh(x)$, giving $(h(x),Dh(x)(v))$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "J": "matrix",
          "v": "vector",
          "q": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l19-chain-rule-matrices",
      "title": "Differential of a composite map",
      "prompt": "Two smooth maps $F$ then $G$ have coordinate Jacobians $A$ at $p$ and $B$ at $F(p)$. Give the Jacobian $J$ of $G\\circ F$ at $p$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "J",
            "label": "J"
          },
          {
            "tool": "B",
            "label": "B"
          },
          {
            "tool": "A",
            "label": "A"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "J"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "B"
            },
            {
              "kind": "symbol",
              "text": "A"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 19, 32:30—35:00.",
          "steps": [
            {
              "text": "First $dF_p$ acts on the tangent vector, then $dG_{F(p)}$ acts."
            },
            {
              "text": "Matrix composition therefore gives $BA$, in that order."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "J": "matrix",
          "A": "matrix",
          "B": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l19-inverse-differential",
      "title": "Differential of an inverse map",
      "prompt": "For a local diffeomorphism $h$, let $J=Dh_x$ and $A=D(h^{-1})_{h(x)}$. Differentiate $h^{-1}\\circ h=\\mathrm{id}$: complete the matrix equation beginning $AJ$. Use $I$ for the identity matrix.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "J",
            "label": "J"
          },
          {
            "tool": "I",
            "label": "I"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "A"
            },
            {
              "kind": "symbol",
              "text": "J"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "I"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 19, 35:00—39:30.",
          "steps": [
            {
              "text": "Differentiate $h^{-1}\\circ h=\\mathrm{id}$ at $x$. The chain rule gives $D(h^{-1})_{h(x)}\\,Dh_x=I$, hence $AJ=I$. Evaluation of the inverse differential at $h(x)$ is essential."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "A": "matrix",
          "J": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l19-coordinate-evaluation",
      "title": "Coordinate basis evaluated on a coordinate",
      "prompt": "In a chart $(x,y)$, enter the pair $(\\partial_x x,\\partial_x y)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "1"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 19, 21:00—28:30.",
          "steps": [
            {
              "text": "Coordinate functions are the ordinary independent variables in the chart."
            },
            {
              "text": "These values establish the linear independence of the coordinate tangent vectors."
            },
            {
              "text": "A derivation D at p satisfies D(h)=sum_i D(x_i) times the i-th partial derivative of h at p. To see this locally, write h(x)=h(p)+sum_i (x_i-x_i(p))h_i(x), with h_i(p) equal to that partial derivative. Apply linearity and the Leibniz rule; D kills constants, and the factors x_i-x_i(p) vanish at p. Thus every derivation comes from exactly one coordinate velocity, connecting the derivation and curve definitions."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "compute-l19-pushforward-chain",
      "title": "Two consecutive pushforwards",
      "prompt": "Let $A,B$ be successive Jacobian matrices and $v$ a tangent column. Starting from $w=B(Av)$, reassociate to $(BA)v$. Preserve matrix order.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "w",
            "label": "w"
          },
          {
            "tool": "B",
            "label": "B"
          },
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "w"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "B"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "A"
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": "A"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "v"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 19, 32:30—35:00.",
          "steps": [
            {
              "text": "The first differential sends $v$ to $Av$; the second sends that to $B(Av)$."
            },
            {
              "text": "Associativity gives $(BA)v$. Interchanging $A$ and $B$ is generally invalid."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "A": "matrix",
          "B": "matrix",
          "v": "vector",
          "w": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "w"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "B"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "A"
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": "A"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "v"
                }
              ]
            }
          ]
        }
      ],
      "type": "equation-practice",
      "recallPrompt": "For successive Jacobians $A,B$, show that successive pushforwards of $v$ equal the pushforward by $BA$."
    },
    {
      "id": "compute-l19-component-chain",
      "title": "Change one tangent component",
      "prompt": "For the coordinate change $U=x^2-y$, a tangent vector has components $(a,b)$. Starting with its new first component $c=U_xa+U_yb$, substitute the derivatives, then simplify.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "c",
            "label": "c"
          },
          {
            "tool": "U_x",
            "label": "U_x"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "U_y",
            "label": "U_y"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "x",
            "label": "x"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "c"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "U_x"
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "U_y"
                },
                {
                  "kind": "symbol",
                  "text": "b"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "1"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "b"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "b"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 19, 28:30—32:30.",
          "steps": [
            {
              "text": "The coordinate-change rule is supplied by the chain rule, as in Lecture 19."
            },
            {
              "text": "This practice example uses $U_x=2x$ and $U_y=-1$. On a region $x\\ne0$, adjoining $V=y$ gives a valid local change of coordinates."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "c"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "U_x"
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "U_y"
                },
                {
                  "kind": "symbol",
                  "text": "b"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "1"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "b"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "b"
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "For $U=x^2-y$ and tangent components $(a,b)$, compute the new first component $c$."
    },
    {
      "id": "l20-embedding-differential",
      "title": "Differential of the projective embedding polynomial",
      "prompt": "For $\\Phi(x,y,z)=(x^2-y^2,xy,xz,yz)$, enter $d\\Phi_{(x,y,z)}(a,b,c)$ as a four-component tuple.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "x",
            "label": "x"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "y",
            "label": "y"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "z",
            "label": "z"
          },
          {
            "tool": "c",
            "label": "c"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "x"
            },
            {
              "kind": "symbol",
              "text": "a"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "y"
            },
            {
              "kind": "symbol",
              "text": "b"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "y"
            },
            {
              "kind": "symbol",
              "text": "a"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "x"
            },
            {
              "kind": "symbol",
              "text": "b"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "z"
            },
            {
              "kind": "symbol",
              "text": "a"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "x"
            },
            {
              "kind": "symbol",
              "text": "c"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "z"
            },
            {
              "kind": "symbol",
              "text": "b"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "y"
            },
            {
              "kind": "symbol",
              "text": "c"
            },
            {
              "kind": "symbol",
              "text": ")"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 20, 09:30—14:00.",
          "steps": [
            {
              "text": "Differentiate each coordinate polynomial in the direction $(a,b,c)$."
            },
            {
              "text": "On the sphere the tangent vector also satisfies $xa+yb+zc=0$; this constraint is used to prove injectivity at the poles."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l20-embedding-minor",
      "title": "A nonzero minor in the embedding proof",
      "prompt": "The first two Jacobian rows are $(2x,-2y)$ and $(y,x)$. Give their determinant $D$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "D",
            "label": "D"
          },
          {
            "tool": "x",
            "label": "x"
          },
          {
            "tool": "y",
            "label": "y"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "D"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "x"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "y"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 20, 09:30—14:00.",
          "steps": [
            {
              "text": "The determinant is $2x\\cdot x-(-2y)\\cdot y$."
            },
            {
              "text": "It is positive away from $(0,0)$; at the origin the last two chart rows instead form the identity."
            },
            {
              "text": "This minor checks only the chosen hemisphere chart. The L20C tangent-kernel argument proves immersion everywhere, including equatorial points."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l20-orientation-transition",
      "title": "Cross product under a chart change",
      "prompt": "Let $Y=X\\circ h$, where $h(s,t)=(u,v)$ has Jacobian determinant $q$. Express $Y_s\\times Y_t$ using $q,X_u,X_v$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "Y_s",
            "label": "Y_s"
          },
          {
            "tool": "Y_t",
            "label": "Y_t"
          },
          {
            "tool": "q",
            "label": "q"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "Y_s"
            },
            {
              "kind": "symbol",
              "text": "×"
            },
            {
              "kind": "symbol",
              "text": "Y_t"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "q"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": "×"
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 20, 14:00—18:30.",
          "steps": [
            {
              "text": "The chain rule gives $Y_s=u_sX_u+v_sX_v$ and $Y_t=u_tX_u+v_tX_v$."
            },
            {
              "text": "Expand the cross product: self-cross-products vanish and $X_v\\times X_u=-X_u\\times X_v$. The surviving coefficient is $u_sv_t-v_su_t=q$. Its sign determines whether the chart normals agree."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "Y_s": "vector",
          "Y_t": "vector",
          "X_u": "vector",
          "X_v": "vector"
        },
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l20-helicoid-metric",
      "title": "Metric of the helicoid",
      "prompt": "For $X(u,v)=(v\\cos u,v\\sin u,u)$, enter $(E,F,G)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "1"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "1"
            },
            {
              "kind": "symbol",
              "text": ")"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 20, 37:00—40:00.",
          "steps": [
            {
              "text": "$X_u=(-v\\sin u,v\\cos u,1)$ and $X_v=(\\cos u,\\sin u,0)$."
            },
            {
              "text": "Their squared lengths are $1+v^2$ and $1$, and their inner product is zero."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l20-helicoid-curvature",
      "title": "Intrinsic curvature of the helicoid",
      "prompt": "For the helicoid metric $I=(1+v^2)du^2+dv^2$, express $K$ using $v$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "K",
            "label": "K"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "K"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "1"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "1"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "kind": "power",
                              "base": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "v"
                                  }
                                ]
                              },
                              "exponent": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ]
                              }
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 20, 37:00—40:00.",
          "steps": [
            {
              "text": "For $I=a(v)^2du^2+dv^2$, the intrinsic formula is $K=-a^{\\prime\\prime}/a$."
            },
            {
              "text": "With $a=\\sqrt{1+v^2}$ and $a^{\\prime\\prime}=(1+v^2)^{-3/2}$, the result follows."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l20-helicoid-isometries",
      "title": "All helicoid isometries in coordinates",
      "prompt": "The complete helicoid isometry family has independent signs $a,b\\in\\{1,-1\\}$ and $c\\in\\mathbb R$. Enter the transformed pair $(U,V)$ for coordinates $(u,v)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "c",
            "label": "c"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "a"
            },
            {
              "kind": "symbol",
              "text": "u"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "c"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "b"
            },
            {
              "kind": "symbol",
              "text": "v"
            },
            {
              "kind": "symbol",
              "text": ")"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 20, 56:30—66:00.",
          "steps": [
            {
              "text": "Curvature preservation gives $V^2=v^2$, and smoothness forces one global sign $V=bv$."
            },
            {
              "text": "Metric preservation forces $U_v=0$ and $U_u^2=1$, hence $U=au+c$. Both signs are needed; the summary corrects the lecture’s closing omission."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "compute-l20-embedding-minor",
      "title": "Embedding rank: compute the minor",
      "prompt": "Start with $D=(2x)x-(-2y)y$ for the first two rows of the embedding Jacobian. Simplify the signs, then factor $2$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "D",
            "label": "D"
          },
          {
            "tool": "x",
            "label": "x"
          },
          {
            "tool": "y",
            "label": "y"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "D"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "2"
                    },
                    {
                      "kind": "symbol",
                      "text": "x"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "2"
                    },
                    {
                      "kind": "symbol",
                      "text": "y"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "y"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "x"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "y"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "x"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "y"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 20, 09:30—14:00.",
          "steps": [
            {
              "text": "The two products in the determinant have opposite signs before subtraction."
            },
            {
              "text": "The final sum is positive unless both $x$ and $y$ vanish. A different minor handles that point."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "D"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "2"
                    },
                    {
                      "kind": "symbol",
                      "text": "x"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "2"
                    },
                    {
                      "kind": "symbol",
                      "text": "y"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "y"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "x"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "y"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "x"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "y"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "Show how the Jacobian minor $D=(2x)x-(-2y)y$ simplifies to $2(x^2+y^2)$."
    },
    {
      "id": "compute-l20-helicoid-curvature",
      "title": "Derive the helicoid curvature",
      "prompt": "For the helicoid metric $I=(1+v^2)du^2+dv^2$, put $q=\\sqrt{1+v^2}$. Starting from $K=-q^{\\prime\\prime}/q$, differentiate $q$ twice and substitute to show $K=-1/(1+v^2)^2$. Include the intermediate numerator $1/q-v^2/q^3$, then combine its fractions before using $q^2=1+v^2$.",
      "learningVersion": 2,
      "editor": {
        "palette": [
          {
            "tool": "K",
            "label": "K"
          },
          {
            "tool": "q''",
            "label": "q''"
          },
          {
            "tool": "q",
            "label": "q"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3",
          "4"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "K"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "q''"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "q"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "fraction",
                        "top": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "1"
                            }
                          ]
                        },
                        "bottom": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "q"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "fraction",
                        "top": {
                          "kind": "power",
                          "base": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "v"
                              }
                            ]
                          },
                          "exponent": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ]
                          }
                        },
                        "bottom": {
                          "kind": "power",
                          "base": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "q"
                              }
                            ]
                          },
                          "exponent": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "3"
                              }
                            ]
                          }
                        }
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "q"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "q"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "v"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "q"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "4"
                        }
                      ]
                    }
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "1"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "1"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "kind": "power",
                              "base": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "v"
                                  }
                                ]
                              },
                              "exponent": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ]
                              }
                            }
                          ]
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The chain rule gives $q^{\\prime}=v/q$. Differentiating again gives $q^{\\prime\\prime}=1/q-vq^{\\prime}/q^2=1/q-v^2/q^3$."
            },
            {
              "text": "Combining fractions gives $(q^2-v^2)/q^3=1/q^3$. The intrinsic curvature formula contributes one further division by $q$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [
          "q"
        ],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "K"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "q''"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "q"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "fraction",
                        "top": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "1"
                            }
                          ]
                        },
                        "bottom": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "q"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "fraction",
                        "top": {
                          "kind": "power",
                          "base": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "v"
                              }
                            ]
                          },
                          "exponent": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ]
                          }
                        },
                        "bottom": {
                          "kind": "power",
                          "base": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "q"
                              }
                            ]
                          },
                          "exponent": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "3"
                              }
                            ]
                          }
                        }
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "q"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "q"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "v"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "q"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "4"
                        }
                      ]
                    }
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "1"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "1"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "kind": "power",
                              "base": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "v"
                                  }
                                ]
                              },
                              "exponent": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ]
                              }
                            }
                          ]
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "For $I=(1+v^2)du^2+dv^2$, derive $K=-1/(1+v^2)^2$ using $q=\\sqrt{1+v^2}$ and $K=-q''/q$."
    },
    {
      "id": "compute-l20-isometry-pullback",
      "title": "Helicoid isometry: verify the squared length",
      "prompt": "For $U=au+c$, $V=bv$, with $a^2=b^2=1$, let $(p,q)$ be an input tangent vector. Starting with its transformed squared length $L=(1+(bv)^2)(ap)^2+(bq)^2$, expand the powers, then use the sign squares to recover $(1+v^2)p^2+q^2$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "L",
            "label": "L"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "q",
            "label": "q"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "L"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "1"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "b"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "v"
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "a"
                              },
                              {
                                "kind": "symbol",
                                "text": "p"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "b"
                              },
                              {
                                "kind": "symbol",
                                "text": "q"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "1"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "b"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "v"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "p"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "b"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "q"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "1"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "v"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "p"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "q"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 20, 56:30—66:00.",
          "steps": [
            {
              "text": "The differential sends $(p,q)$ to $(ap,bq)$ and the target height is $bv$."
            },
            {
              "text": "Both independent signs disappear upon squaring, proving all four sign choices preserve the metric."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "L"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "1"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "b"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "v"
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "a"
                              },
                              {
                                "kind": "symbol",
                                "text": "p"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "b"
                              },
                              {
                                "kind": "symbol",
                                "text": "q"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "1"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "b"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "v"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "p"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "b"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "q"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "1"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "v"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "p"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "q"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "For $U=au+c$, $V=bv$ with $a^2=b^2=1$, show that the helicoid squared length of a tangent vector $(p,q)$ is preserved."
    },
    {
      "id": "compute-l2-foundation-inner-product",
      "title": "Product rule for an inner product",
      "prompt": "Let $U(t),V(t)$ be smooth vector-valued functions. Expand $\\frac d{dt}\\langle U,V\\rangle$. Primes mean $t$ derivatives.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "d/dt",
            "label": "d/dt"
          },
          {
            "tool": "U",
            "label": "U"
          },
          {
            "tool": "V",
            "label": "V"
          },
          {
            "tool": "U'",
            "label": "U'"
          },
          {
            "tool": "V'",
            "label": "V'"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "d/dt"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "U"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "V"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "U'"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "V"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "U"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "V'"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 2: a prerequisite step for the subsequent computation.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "d/dt"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "U"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "V"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "U'"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "V"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "U"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "V'"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            },
            {
              "text": "Differentiate each factor once, holding the other fixed."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "U": "vector",
          "V": "vector",
          "U'": "vector",
          "V'": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "d/dt"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "U"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "V"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "U'"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "V"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "U"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "V'"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "type": "equation-practice",
      "recallPrompt": "State the computation for differentiating $\\langle U(t),V(t)\\rangle$."
    },
    {
      "id": "compute-l2-foundation-unit-vector",
      "title": "Differentiate unit length",
      "prompt": "Let $U(t)$ have length 1. Start with $0=\\frac{d}{dt}(1)$, differentiate $\\langle U,U\\rangle$, and go directly to $2\\langle U,U^{\\prime}\\rangle$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "d/dt",
            "label": "d/dt"
          },
          {
            "tool": "U",
            "label": "U"
          },
          {
            "tool": "U'",
            "label": "U'"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "d/dt"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "1"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "d/dt"
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "U"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "U"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "U"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "U'"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 2: a prerequisite step for the subsequent computation.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "0"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "d/dt"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "1"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "d/dt"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "U"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "U"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "U'"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "U"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "U"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "U'"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "U'"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "U"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            },
            {
              "text": "A vector of constant length has derivative perpendicular to itself."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "U": "vector",
          "U'": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "d/dt"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "1"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "d/dt"
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "U"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "U"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "U"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "U'"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "Show by differentiation that $\\|U(t)\\|=1$ implies $\\langle U,U'\\rangle=0$."
    },
    {
      "id": "compute-l2-foundation-orthogonality",
      "title": "Differentiate orthogonality",
      "prompt": "For smooth $U(t),V(t)$ with $\\langle U,V\\rangle=0$, start with $0=\\frac{d}{dt}(0)$, differentiate that inner product, and expand by the product rule.",
      "learningVersion": 1,
      "multiplier": 2,
      "editor": {
        "palette": [
          {
            "tool": "d/dt",
            "label": "d/dt"
          },
          {
            "tool": "U",
            "label": "U"
          },
          {
            "tool": "V",
            "label": "V"
          },
          {
            "tool": "U'",
            "label": "U'"
          },
          {
            "tool": "V'",
            "label": "V'"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "d/dt"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "d/dt"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "U"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "V"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "U'"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "V"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "U"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "V'"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 2: a prerequisite step for the subsequent computation.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "0"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "d/dt"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "d/dt"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "U"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "V"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "U'"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "V"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "U"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "V'"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            },
            {
              "text": "The two product-rule terms sum to zero; neither need vanish separately."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "U": "vector",
          "V": "vector",
          "U'": "vector",
          "V'": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "d/dt"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "d/dt"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "U"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "V"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "U'"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "V"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "U"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "V'"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "type": "equation-practice",
      "recallPrompt": "What identity follows by differentiating $\\langle U(t),V(t)\\rangle=0$?"
    },
    {
      "id": "l6-foundation-differential",
      "title": "Differential as an image velocity",
      "prompt": "Let $f:S\\to\\mathbb R$ and choose a surface curve $\\alpha$ with $\\alpha(0)=p$, $\\alpha^{\\prime}(0)=v$. Express $df_p(v)$ using the derivative at zero of $f(\\alpha(t))$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "df_p",
            "label": "df_p"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "D_0",
            "label": "D_0"
          },
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "α",
            "label": "α"
          },
          {
            "tool": "t",
            "label": "t"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "df_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "D_0"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "f"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "α"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 6: a prerequisite step for the subsequent computation.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "df_p"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "v"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "D_0"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "f"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "α"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            },
            {
              "text": "The differential takes an initial velocity to the corresponding rate of change of the function."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "v": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {
          "f": [
            "t"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "compute-l9-foundation-height-derivatives",
      "title": "Differentiate height along a curve",
      "prompt": "For $h(\\alpha(t))=\\langle\\alpha(t)-p_0,a\\rangle$, with $p_0,a$ constant, give $\\frac{d^2}{dt^2}h(\\alpha(t))$. Keep the argument $t$ in your answer.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "d²/dt²",
            "label": "d²/dt²"
          },
          {
            "tool": "h",
            "label": "h"
          },
          {
            "tool": "α",
            "label": "α"
          },
          {
            "tool": "α''",
            "label": "α''"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "t",
            "label": "t"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "d²/dt²"
                },
                {
                  "kind": "symbol",
                  "text": "h"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "α"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "t"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "α''"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "t"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "d²/dt²"
                      },
                      {
                        "kind": "symbol",
                        "text": "h"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "α"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "t"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "⟨"
                      },
                      {
                        "kind": "symbol",
                        "text": "α''"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "t"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "a"
                      },
                      {
                        "kind": "symbol",
                        "text": "⟩"
                      }
                    ]
                  }
                ]
              }
            },
            {
              "text": "The vectors $p_0$ and $a$ are constant. Differentiating twice gives $\\langle\\alpha^{\\prime\\prime}(t),a\\rangle$."
            }
          ],
          "intro": "Differentiate height along a curve."
        }
      },
      "grading": {
        "symbolTypes": {
          "α": "vector",
          "α'": "vector",
          "α''": "vector",
          "a": "vector",
          "p_0": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l11-foundation-tangents",
      "title": "Tangents of a revolution surface",
      "prompt": "For $X(u,v)=(f(v)\\cos u,f(v)\\sin u,g(v))$, compute $X_u$ as an ordered triple. Elide the argument $(v)$ of $f$ for shortness.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "g",
            "label": "g"
          },
          {
            "tool": "sin",
            "label": "sin"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "cos",
            "label": "cos"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "f"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "sin"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "u"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "f"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "cos"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "u"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 11: a prerequisite step for the subsequent computation.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "f"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "sin"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "u"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "f"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "cos"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "u"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  }
                ]
              }
            },
            {
              "text": "Only the trigonometric factors depend on u."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l11-foundation-profile-tangent",
      "title": "Meridian tangent of a revolution surface",
      "prompt": "For $X(u,v)=(f(v)\\cos u,f(v)\\sin u,g(v))$, compute $X_v$ as an ordered triple. Primes denote $v$ derivatives. Elide the argument $(v)$ of $f$, $g$ and their derivatives for shortness.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "f'",
            "label": "f'"
          },
          {
            "tool": "cos",
            "label": "cos"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "sin",
            "label": "sin"
          },
          {
            "tool": "g'",
            "label": "g'"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "X_v"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "f'"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "cos"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "u"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "f'"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "sin"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "u"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "g'"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 11: a prerequisite step for the subsequent computation.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X_v"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "f'"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "cos"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "u"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "f'"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "sin"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "u"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "g'"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  }
                ]
              }
            },
            {
              "text": "Hold the angle fixed and differentiate the profile functions."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_v": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "compute-l11-foundation-speed-constraint",
      "title": "Differentiate the unit-speed constraint",
      "prompt": "For a unit-speed profile $(f(v),g(v))$, start with $0=\\frac{d}{dv}(1)$, differentiate $f^{\\prime2}+g^{\\prime2}=1$ with respect to $v$, and expand. End with $2f^{\\prime}f^{\\prime\\prime}+2g^{\\prime}g^{\\prime\\prime}$. Elide the argument $(v)$ of $f$, $g$ and their derivatives for shortness.",
      "learningVersion": 1,
      "multiplier": 2,
      "editor": {
        "palette": [
          {
            "tool": "d/dv",
            "label": "d/dv"
          },
          {
            "tool": "f'",
            "label": "f'"
          },
          {
            "tool": "g'",
            "label": "g'"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "f''",
            "label": "f''"
          },
          {
            "tool": "g''",
            "label": "g''"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "d/dv"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "1"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "d/dv"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "power",
                          "base": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "f'"
                              }
                            ]
                          },
                          "exponent": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ]
                          }
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "power",
                          "base": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "g'"
                              }
                            ]
                          },
                          "exponent": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "f'"
                },
                {
                  "kind": "symbol",
                  "text": "f''"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "g'"
                },
                {
                  "kind": "symbol",
                  "text": "g''"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 11: a prerequisite step for the subsequent computation.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "0"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "d/dv"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "1"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "d/dv"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "power",
                                "base": {
                                  "kind": "row",
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "f'"
                                    }
                                  ]
                                },
                                "exponent": {
                                  "kind": "row",
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "2"
                                    }
                                  ]
                                }
                              },
                              {
                                "kind": "symbol",
                                "text": "+"
                              },
                              {
                                "kind": "power",
                                "base": {
                                  "kind": "row",
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "g'"
                                    }
                                  ]
                                },
                                "exponent": {
                                  "kind": "row",
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "2"
                                    }
                                  ]
                                }
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      },
                      {
                        "kind": "symbol",
                        "text": "f'"
                      },
                      {
                        "kind": "symbol",
                        "text": "f''"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "2"
                      },
                      {
                        "kind": "symbol",
                        "text": "g'"
                      },
                      {
                        "kind": "symbol",
                        "text": "g''"
                      }
                    ]
                  }
                ]
              }
            },
            {
              "text": "Dividing this identity by 2 supplies the constraint used in the curvature simplification."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "d/dv"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "1"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "d/dv"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "power",
                          "base": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "f'"
                              }
                            ]
                          },
                          "exponent": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ]
                          }
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "power",
                          "base": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "g'"
                              }
                            ]
                          },
                          "exponent": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "f'"
                },
                {
                  "kind": "symbol",
                  "text": "f''"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "g'"
                },
                {
                  "kind": "symbol",
                  "text": "g''"
                }
              ]
            }
          ]
        }
      ],
      "type": "equation-practice",
      "recallPrompt": "What identity follows by differentiating the unit-speed constraint $f'^2+g'^2=1$? Elide the argument $(v)$ of $f$, $g$ and their derivatives for shortness."
    },
    {
      "id": "l12-foundation-variation-velocity",
      "title": "Velocity of the surface variation",
      "prompt": "For $X^t(u,v)=X(u,v)+t h(u,v)N(u,v)$, with $X,h,N$ independent of $t$, compute $\\dot{X^t}:=\\left.\\partial_tX^t\\right|_{t=0}$ by substituting the variation formula. Elide $(u,v)$ arguments.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dot_Xt",
            "label": "dot_Xt"
          },
          {
            "tool": "D_0",
            "label": "D_0"
          },
          {
            "tool": "X",
            "label": "X"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "h",
            "label": "h"
          },
          {
            "tool": "N",
            "label": "N"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "dot_Xt"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "D_0"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "t"
                    },
                    {
                      "kind": "symbol",
                      "text": "h"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "h"
            },
            {
              "kind": "symbol",
              "text": "N"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "For every $t$, $\\partial_tX^t=hN$: the original $X,h,N$ are independent of $t$. Thus in this particular variation the derivative is already independent of $t$ before evaluation at zero."
            },
            {
              "text": "$\\dot{X^t}=hN$ may still depend on $u,v$. It is the initial velocity of the family, not the derivative of the fixed original parametrization $X=X^0$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "dot_Xt": "vector",
          "N": "vector",
          "X": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "type": "equation-practice",
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "dot_Xt"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "D_0"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "t"
                    },
                    {
                      "kind": "symbol",
                      "text": "h"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "h"
            },
            {
              "kind": "symbol",
              "text": "N"
            }
          ]
        }
      ],
      "recallPrompt": "For $X^t=X+thN$, compute $\\dot{X^t}$ by differentiation at $t=0$. Elide $(u,v)$ arguments.",
      "multiplier": 2
    },
    {
      "id": "compute-l12-foundation-variation-tangent",
      "title": "Variation of a coordinate tangent",
      "prompt": "Let $X^t(u,v)=X(u,v)+t h(u,v)N(u,v)$, where $h$ is a fixed scalar function and $N$ is the original unit normal. Dots denote variation derivatives at zero; in particular $\\dot{X^t}:=\\left.\\partial_t X^t\\right|_{t=0}$. Compute $\\partial_u\\dot{X^t}$: pass through $\\partial_u(hN)$, then expand the product rule.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dot_Xt",
            "label": "dot_Xt"
          },
          {
            "tool": "h",
            "label": "h"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "h_u",
            "label": "h_u"
          },
          {
            "tool": "N_u",
            "label": "N_u"
          },
          {
            "tool": "partialop_u",
            "label": "partialop_u"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "partialop_u"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "dot_Xt"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "partialop_u"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "h"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "h_u"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "h"
                },
                {
                  "kind": "symbol",
                  "text": "N_u"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Only $t$ varies in $\\left.\\partial_t X^t\\right|_{t=0}=hN$: the functions $X,h,N$ depend on $u,v$, not on $t$. Thus $\\dot{X^t}=hN$."
            },
            {
              "text": "Smoothness permits commuting the derivatives: $\\partial_u\\dot{X^t}=\\left.\\partial_t X_u^t\\right|_{t=0}$. Both $h$ and $N$ depend on $u$, which gives the two product-rule terms."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "N": "vector",
          "N_u": "vector",
          "dot_Xt": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "partialop_u"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "dot_Xt"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "partialop_u"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "h"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "h_u"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "h"
                },
                {
                  "kind": "symbol",
                  "text": "N_u"
                }
              ]
            }
          ]
        }
      ],
      "type": "equation-practice",
      "recallPrompt": "For $X^t=X+thN$, compute $\\dot{X_u^t}$ at $t=0$."
    },
    {
      "id": "compute-l12-foundation-vary-E",
      "title": "Derive the variation of E",
      "prompt": "For the normal variation $X^t=X+thN$, derive $\\dot{E^t}$ in terms of $h,e$ from $E^t=\\langle X_u^t,X_u^t\\rangle$. Dots mean $\\partial_t|_{t=0}$; undotted quantities are evaluated at $t=0$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dot_Et",
            "label": "dot_Et"
          },
          {
            "tool": "dot_innerUU",
            "label": "dot_innerUU"
          },
          {
            "tool": "dot_Xut",
            "label": "dot_Xut"
          },
          {
            "tool": "h_u",
            "label": "h_u"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "h",
            "label": "h"
          },
          {
            "tool": "N_u",
            "label": "N_u"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "e",
            "label": "e"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "dot_Et"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "dot_innerUU"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "dot_Xut"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "h_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "N"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "h"
                        },
                        {
                          "kind": "symbol",
                          "text": "N_u"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "h"
                },
                {
                  "kind": "symbol",
                  "text": "e"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "From $X_u^t=X_u+t(h_uN+hN_u)$ we get $\\dot{X_u^t}:=\\left.\\partial_t X_u^t\\right|_{t=0}=h_uN+hN_u$. Differentiating $E^t=\\langle X_u^t,X_u^t\\rangle$ therefore gives $\\dot{E^t}=2\\langle\\dot{X_u^t},X_u\\rangle$: the two product-rule terms are equal."
            },
            {
              "text": "The term containing $h_u$ vanishes because $N$ is normal and $X_u$ is tangent. For the remaining term, $0=\\partial_u0=\\partial_u\\langle N,X_u\\rangle=\\langle N_u,X_u\\rangle+\\langle N,X_{uu}\\rangle$. Since $e=\\langle N,X_{uu}\\rangle$, this gives $\\langle N_u,X_u\\rangle=-e$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "N": "vector",
          "N_u": "vector",
          "X_u": "vector",
          "dot_Xut": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "dot_Et"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "dot_innerUU"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "dot_Xut"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "h_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "N"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "h"
                        },
                        {
                          "kind": "symbol",
                          "text": "N_u"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "h"
                },
                {
                  "kind": "symbol",
                  "text": "e"
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "For the normal variation $X^t=X+thN$, derive $\\dot{E^t}$ in terms of $h,e$ from $E^t=\\langle X_u^t,X_u^t\\rangle$. Dots mean $\\partial_t|_{t=0}$; undotted quantities are evaluated at $t=0$."
    },
    {
      "id": "compute-l12-foundation-vary-F",
      "title": "Derive the variation of F",
      "prompt": "For the normal variation $X^t=X+thN$, derive $\\dot{F^t}$ in terms of $h,f$ from $F^t=\\langle X_u^t,X_v^t\\rangle$. Dots mean $\\partial_t|_{t=0}$; undotted quantities are evaluated at $t=0$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dot_Ft",
            "label": "dot_Ft"
          },
          {
            "tool": "dot_innerUV",
            "label": "dot_innerUV"
          },
          {
            "tool": "dot_Xut",
            "label": "dot_Xut"
          },
          {
            "tool": "dot_Xvt",
            "label": "dot_Xvt"
          },
          {
            "tool": "h_u",
            "label": "h_u"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "h",
            "label": "h"
          },
          {
            "tool": "N_u",
            "label": "N_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "h_v",
            "label": "h_v"
          },
          {
            "tool": "N_v",
            "label": "N_v"
          },
          {
            "tool": "f",
            "label": "f"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "dot_Ft"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "dot_innerUV"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "dot_Xut"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "dot_Xvt"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "h_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "N"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "h"
                        },
                        {
                          "kind": "symbol",
                          "text": "N_u"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "h_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "N"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "h"
                        },
                        {
                          "kind": "symbol",
                          "text": "N_v"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "h"
                },
                {
                  "kind": "symbol",
                  "text": "f"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Differentiating $F^t=\\langle X_u^t,X_v^t\\rangle$ gives one term for each factor. Substitute $\\dot{X_u^t}:=\\left.\\partial_t X_u^t\\right|_{t=0}=h_uN+hN_u$ and $\\dot{X_v^t}:=\\left.\\partial_t X_v^t\\right|_{t=0}=h_vN+hN_v$."
            },
            {
              "text": "The $h_u,h_v$ terms vanish by normality. Also $0=\\partial_u0=\\partial_u\\langle N,X_v\\rangle=\\langle N_u,X_v\\rangle+\\langle N,X_{uv}\\rangle$, so $\\langle N_u,X_v\\rangle=-f$. Differentiating $\\langle N,X_u\\rangle=0$ in $v$ similarly gives $\\langle X_u,N_v\\rangle=-f$, using $X_{vu}=X_{uv}$. These are the two contributions $-hf$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "N": "vector",
          "N_u": "vector",
          "N_v": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "dot_Xut": "vector",
          "dot_Xvt": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "dot_Ft"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "dot_innerUV"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "dot_Xut"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "dot_Xvt"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "h_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "N"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "h"
                        },
                        {
                          "kind": "symbol",
                          "text": "N_u"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "h_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "N"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "h"
                        },
                        {
                          "kind": "symbol",
                          "text": "N_v"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "h"
                },
                {
                  "kind": "symbol",
                  "text": "f"
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "For the normal variation $X^t=X+thN$, derive $\\dot{F^t}$ in terms of $h,f$ from $F^t=\\langle X_u^t,X_v^t\\rangle$. Dots mean $\\partial_t|_{t=0}$; undotted quantities are evaluated at $t=0$."
    },
    {
      "id": "compute-l12-foundation-vary-G",
      "title": "Derive the variation of G",
      "prompt": "For the normal variation $X^t=X+thN$, derive $\\dot{G^t}$ in terms of $h,g$ from $G^t=\\langle X_v^t,X_v^t\\rangle$. Dots mean $\\partial_t|_{t=0}$; undotted quantities are evaluated at $t=0$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dot_Gt",
            "label": "dot_Gt"
          },
          {
            "tool": "dot_innerVV",
            "label": "dot_innerVV"
          },
          {
            "tool": "dot_Xvt",
            "label": "dot_Xvt"
          },
          {
            "tool": "h_v",
            "label": "h_v"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "h",
            "label": "h"
          },
          {
            "tool": "N_v",
            "label": "N_v"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "g",
            "label": "g"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "dot_Gt"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "dot_innerVV"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "dot_Xvt"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "h_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "N"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "h"
                        },
                        {
                          "kind": "symbol",
                          "text": "N_v"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "h"
                },
                {
                  "kind": "symbol",
                  "text": "g"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "From $X_v^t=X_v+t(h_vN+hN_v)$ we get $\\dot{X_v^t}:=\\left.\\partial_t X_v^t\\right|_{t=0}=h_vN+hN_v$. Differentiating $G^t=\\langle X_v^t,X_v^t\\rangle$ therefore gives $\\dot{G^t}=2\\langle\\dot{X_v^t},X_v\\rangle$: the two product-rule terms are equal."
            },
            {
              "text": "The term containing $h_v$ vanishes because $N$ is normal and $X_v$ is tangent. For the remaining term, $0=\\partial_v0=\\partial_v\\langle N,X_v\\rangle=\\langle N_v,X_v\\rangle+\\langle N,X_{vv}\\rangle$. Since $g=\\langle N,X_{vv}\\rangle$, this gives $\\langle N_v,X_v\\rangle=-g$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "N": "vector",
          "N_v": "vector",
          "X_v": "vector",
          "dot_Xvt": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "dot_Gt"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "dot_innerVV"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "dot_Xvt"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "h_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "N"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "h"
                        },
                        {
                          "kind": "symbol",
                          "text": "N_v"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "h"
                },
                {
                  "kind": "symbol",
                  "text": "g"
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "For the normal variation $X^t=X+thN$, derive $\\dot{G^t}$ in terms of $h,g$ from $G^t=\\langle X_v^t,X_v^t\\rangle$. Dots mean $\\partial_t|_{t=0}$; undotted quantities are evaluated at $t=0$."
    },
    {
      "id": "compute-l12-foundation-vary-D-product",
      "title": "Differentiate the metric determinant",
      "prompt": "In a smooth surface variation, let $D^t=E^tG^t-(F^t)^2$. Dots mean derivatives at $t=0$. Express $\\dot D$ by the product rule, without substituting formulas for the metric derivatives.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dot_D",
            "label": "dot_D"
          },
          {
            "tool": "dot_E",
            "label": "dot_E"
          },
          {
            "tool": "G",
            "label": "G"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "dot_G",
            "label": "dot_G"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "dot_F",
            "label": "dot_F"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "dot_D"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "dot_E"
                },
                {
                  "kind": "symbol",
                  "text": "G"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "E"
                },
                {
                  "kind": "symbol",
                  "text": "dot_G"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "F"
                },
                {
                  "kind": "symbol",
                  "text": "dot_F"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "All three coefficients $E^t,F^t,G^t$ vary with $t$. The undotted factors in the answer are their values at zero: $E=E^0$, $F=F^0$, $G=G^0$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "dot_D"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "dot_E"
                },
                {
                  "kind": "symbol",
                  "text": "G"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "E"
                },
                {
                  "kind": "symbol",
                  "text": "dot_G"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "F"
                },
                {
                  "kind": "symbol",
                  "text": "dot_F"
                }
              ]
            }
          ]
        }
      ],
      "type": "equation-practice",
      "recallPrompt": "For $D=EG-F^2$ in a smooth surface variation, compute $\\dot D$ using metric derivatives."
    },
    {
      "id": "compute-l12-foundation-vary-D",
      "title": "Derive the variation of the metric determinant",
      "prompt": "For $X^t=X+thN$, $h$ is the normal displacement function. Put $D=EG-F^2$. At $t=0$, $\\dot{E^t}=-2he$, $\\dot{F^t}=-2hf$, $\\dot{G^t}=-2hg$. Starting with $\\dot{D^t}$, expand by the product rule, substitute (expanded or factored), then use $eG+Eg-2Ff=2HD$. A dot denotes the variation derivative at $t=0$; undotted quantities are evaluated there.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dot_Dt",
            "label": "dot_Dt"
          },
          {
            "tool": "dot_Et",
            "label": "dot_Et"
          },
          {
            "tool": "G",
            "label": "G"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "dot_Gt",
            "label": "dot_Gt"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "dot_Ft",
            "label": "dot_Ft"
          },
          {
            "tool": "h",
            "label": "h"
          },
          {
            "tool": "e",
            "label": "e"
          },
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "4",
            "label": "4"
          },
          {
            "tool": "g",
            "label": "g"
          },
          {
            "tool": "H",
            "label": "H"
          },
          {
            "tool": "D",
            "label": "D"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "dot_Dt"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "dot_Et"
                },
                {
                  "kind": "symbol",
                  "text": "G"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "E"
                },
                {
                  "kind": "symbol",
                  "text": "dot_Gt"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "F"
                },
                {
                  "kind": "symbol",
                  "text": "dot_Ft"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "h"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "e"
                },
                {
                  "kind": "symbol",
                  "text": "G"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "E"
                },
                {
                  "kind": "symbol",
                  "text": "g"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "F"
                },
                {
                  "kind": "symbol",
                  "text": "f"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "4"
                },
                {
                  "kind": "symbol",
                  "text": "h"
                },
                {
                  "kind": "symbol",
                  "text": "H"
                },
                {
                  "kind": "symbol",
                  "text": "D"
                }
              ]
            }
          ]
        },
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "dot_Dt"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "dot_Et"
                },
                {
                  "kind": "symbol",
                  "text": "G"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "E"
                },
                {
                  "kind": "symbol",
                  "text": "dot_Gt"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "F"
                },
                {
                  "kind": "symbol",
                  "text": "dot_Ft"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "h"
                },
                {
                  "kind": "symbol",
                  "text": "e"
                },
                {
                  "kind": "symbol",
                  "text": "G"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "E"
                },
                {
                  "kind": "symbol",
                  "text": "h"
                },
                {
                  "kind": "symbol",
                  "text": "g"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "4"
                },
                {
                  "kind": "symbol",
                  "text": "F"
                },
                {
                  "kind": "symbol",
                  "text": "h"
                },
                {
                  "kind": "symbol",
                  "text": "f"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "4"
                },
                {
                  "kind": "symbol",
                  "text": "h"
                },
                {
                  "kind": "symbol",
                  "text": "H"
                },
                {
                  "kind": "symbol",
                  "text": "D"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The substitution uses $\\dot{E^t}=-2he$, $\\dot{F^t}=-2hf$, and $\\dot{G^t}=-2hg$. These were obtained by differentiating the metric inner products, not by varying the original normal $N$."
            },
            {
              "text": "The final equality uses the coordinate formula $H=(eG+Eg-2Ff)/(2(EG-F^2))$. With $D=EG-F^2$, the bracket after factoring $-2h$ is therefore $2HD$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "dot_Dt"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "dot_Et"
                },
                {
                  "kind": "symbol",
                  "text": "G"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "E"
                },
                {
                  "kind": "symbol",
                  "text": "dot_Gt"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "F"
                },
                {
                  "kind": "symbol",
                  "text": "dot_Ft"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "h"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "e"
                },
                {
                  "kind": "symbol",
                  "text": "G"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "E"
                },
                {
                  "kind": "symbol",
                  "text": "g"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "F"
                },
                {
                  "kind": "symbol",
                  "text": "f"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "4"
                },
                {
                  "kind": "symbol",
                  "text": "h"
                },
                {
                  "kind": "symbol",
                  "text": "H"
                },
                {
                  "kind": "symbol",
                  "text": "D"
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "For $X^t=X+thN$, derive $\\dot{D^t}=-4hHD$ from $D=EG-F^2$ and the metric-variation formulas."
    },
    {
      "id": "compute-l13-foundation-frame-coefficient",
      "title": "Extract a moving-frame coefficient",
      "prompt": "Let $e_{1,u}=\\alpha e_2+\\lambda N$ in an orthonormal frame. Starting with $\\langle e_{1,u},e_2\\rangle$, expand using this expression, then use orthonormality to obtain $\\alpha$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "∂",
            "label": "∂"
          },
          {
            "tool": "e_1",
            "label": "e_1"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "e_2",
            "label": "e_2"
          },
          {
            "tool": "α",
            "label": "α"
          },
          {
            "tool": "λ",
            "label": "λ"
          },
          {
            "tool": "N",
            "label": "N"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "e_1"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "u"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "α"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "e_2"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "e_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "λ"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "e_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "α"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 13: a prerequisite step for the subsequent computation.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "⟨"
                      },
                      {
                        "kind": "fraction",
                        "top": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "∂"
                            },
                            {
                              "kind": "symbol",
                              "text": "e_1"
                            }
                          ]
                        },
                        "bottom": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "∂"
                            },
                            {
                              "kind": "symbol",
                              "text": "u"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "e_2"
                      },
                      {
                        "kind": "symbol",
                        "text": "⟩"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "α"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "e_2"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "e_2"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "λ"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "N"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "e_2"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "symbol",
                    "text": "α"
                  }
                ]
              }
            },
            {
              "text": "An inner product with one vector of an orthonormal frame extracts its coefficient."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "e_2": "vector",
          "N": "vector",
          "e_1": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "e_1"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "u"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "α"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "e_2"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "e_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "λ"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "e_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "α"
            }
          ]
        }
      ],
      "type": "equation-practice",
      "recallPrompt": "Given $e_{1,u}=\\alpha e_2+\\lambda N$ in an orthonormal frame, recover $\\alpha$ as an inner product."
    },
    {
      "id": "compute-l14-foundation-vary-one-term",
      "title": "Vary one term of the squared speed",
      "prompt": "Let $u=u(s,t)$, $v=v(s,t)$ and $E=E(u(s,t),v(s,t))$. A dot means $\\partial_t$. Differentiate $E\\dot u^2$ with respect to $s$, leaving $\\partial_sE$ unexpanded.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "∂",
            "label": "∂"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "dot_u",
            "label": "dot_u"
          },
          {
            "tool": "s",
            "label": "s"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "E"
                          },
                          {
                            "kind": "power",
                            "base": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "dot_u"
                                }
                              ]
                            },
                            "exponent": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "2"
                                }
                              ]
                            }
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "s"
                      }
                    ]
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          },
                          {
                            "kind": "symbol",
                            "text": "E"
                          }
                        ]
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          },
                          {
                            "kind": "symbol",
                            "text": "s"
                          }
                        ]
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "dot_u"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "E"
                },
                {
                  "kind": "symbol",
                  "text": "dot_u"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          },
                          {
                            "kind": "symbol",
                            "text": "dot_u"
                          }
                        ]
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          },
                          {
                            "kind": "symbol",
                            "text": "s"
                          }
                        ]
                      }
                    ]
                  }
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 14: a prerequisite step for the subsequent computation.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "fraction",
                    "top": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "∂"
                            },
                            {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "E"
                                },
                                {
                                  "kind": "power",
                                  "base": {
                                    "kind": "row",
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "dot_u"
                                      }
                                    ]
                                  },
                                  "exponent": {
                                    "kind": "row",
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "2"
                                      }
                                    ]
                                  }
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    },
                    "bottom": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "∂"
                            },
                            {
                              "kind": "symbol",
                              "text": "s"
                            }
                          ]
                        }
                      ]
                    }
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "fraction",
                        "top": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "∂"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "E"
                                }
                              ]
                            }
                          ]
                        },
                        "bottom": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "∂"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "s"
                                }
                              ]
                            }
                          ]
                        }
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "dot_u"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "2"
                      },
                      {
                        "kind": "symbol",
                        "text": "E"
                      },
                      {
                        "kind": "symbol",
                        "text": "dot_u"
                      },
                      {
                        "kind": "fraction",
                        "top": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "∂"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "dot_u"
                                }
                              ]
                            }
                          ]
                        },
                        "bottom": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "∂"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "s"
                                }
                              ]
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            },
            {
              "text": "Both the metric coefficient and the coordinate velocity change with the variation."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "E"
                          },
                          {
                            "kind": "power",
                            "base": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "dot_u"
                                }
                              ]
                            },
                            "exponent": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "2"
                                }
                              ]
                            }
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "s"
                      }
                    ]
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          },
                          {
                            "kind": "symbol",
                            "text": "E"
                          }
                        ]
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          },
                          {
                            "kind": "symbol",
                            "text": "s"
                          }
                        ]
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "dot_u"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "E"
                },
                {
                  "kind": "symbol",
                  "text": "dot_u"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          },
                          {
                            "kind": "symbol",
                            "text": "dot_u"
                          }
                        ]
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "∂"
                          },
                          {
                            "kind": "symbol",
                            "text": "s"
                          }
                        ]
                      }
                    ]
                  }
                }
              ]
            }
          ]
        }
      ],
      "type": "equation-practice",
      "recallPrompt": "For $u=u(s,t)$, $v=v(s,t)$ and $E=E(u,v)$, compute $\\partial_s(E\\dot u^2)$, leaving $\\partial_sE$ unexpanded."
    },
    {
      "id": "l15-foundation-plane-geodesic",
      "title": "Geodesic equation in the plane",
      "prompt": "For Cartesian coordinates on the plane, $E=G=1,F=0$. For an affinely parametrized geodesic, the $u$ equation is $\\frac d{dt}(E\\dot u+F\\dot v)=\\frac12(E_u\\dot u^2+2F_u\\dot u\\dot v+G_u\\dot v^2)$. Give the resulting equation for $\\ddot u$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "ddot_u",
            "label": "ddot_u"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "ddot_u"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 15: a prerequisite step for the subsequent computation.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "ddot_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "symbol",
                    "text": "0"
                  }
                ]
              }
            },
            {
              "text": "The coefficients are constant. The v equation likewise gives zero acceleration, hence a straight line at constant velocity."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "compute-l15-foundation-conservation",
      "title": "A missing coordinate gives a conserved momentum",
      "prompt": "In $I=f(v)^2du^2+dv^2$, let $(u(t),v(t))$ be an affinely parametrized geodesic. Since the metric is independent of $u$, the right side of its $u$ equation is 0. Write the resulting equation as a $t$ derivative equal to 0.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "d/dt",
            "label": "d/dt"
          },
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "dot_u",
            "label": "dot_u"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "d/dt"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "power",
                          "base": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "f"
                              }
                            ]
                          },
                          "exponent": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ]
                          }
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_u"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "d/dt"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "power",
                                "base": {
                                  "kind": "row",
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "f"
                                    }
                                  ]
                                },
                                "exponent": {
                                  "kind": "row",
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "2"
                                    }
                                  ]
                                }
                              },
                              {
                                "kind": "symbol",
                                "text": "dot_u"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "symbol",
                    "text": "0"
                  }
                ]
              }
            },
            {
              "text": "Here f means f(v(t)). A function whose derivative vanishes is constant, yielding the angular-momentum card."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "d/dt"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "power",
                          "base": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "f"
                              }
                            ]
                          },
                          "exponent": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ]
                          }
                        },
                        {
                          "kind": "symbol",
                          "text": "dot_u"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "type": "equation-practice",
      "recallPrompt": "For an affinely parametrized geodesic in $I=f(v)^2du^2+dv^2$, what conserved momentum follows from independence of $u$?"
    },
    {
      "id": "l17-foundation-metric-length",
      "title": "Read squared length from a metric",
      "prompt": "At a point with metric $I=\\lambda(du^2+dv^2)$, a tangent vector has coordinate components $(a,b)$. Write its squared length $L$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "L",
            "label": "L"
          },
          {
            "tool": "λ",
            "label": "λ"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "b",
            "label": "b"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "L"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "λ"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "b"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "L"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "λ"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "a"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "b"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  }
                ]
              }
            },
            {
              "text": "The conformal factor multiplies the Euclidean squared length, not the length itself."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l17-foundation-pullback-factor",
      "title": "Build a conformal pullback factor",
      "prompt": "A map has differential $dT$ satisfying $\\|dT(v)\\|^2=q\\|v\\|^2$ in Euclidean coordinates. At the image point, the target metric is $I=\\lambda(dx^2+dy^2)$. Express the pullback conformal factor $m$ using $\\lambda,q$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "m",
            "label": "m"
          },
          {
            "tool": "λ",
            "label": "λ"
          },
          {
            "tool": "q",
            "label": "q"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "m"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "λ"
                },
                {
                  "kind": "symbol",
                  "text": "q"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "At the image point the metric measures $dT(v)$ by $\\lambda\\|dT(v)\\|^2$. Substituting $\\|dT(v)\\|^2=q\\|v\\|^2$ gives the factor $\\lambda q$. The target factor $\\lambda$ is evaluated at $T(p)$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l18-foundation-unit-speed",
      "title": "Unit speed in the half-plane metric",
      "prompt": "For $I=(du^2+dv^2)/v^2$ with $v>0$, the curve $(u(s),v(s))$ is unit-speed. Starting with $1$, express its squared speed in terms of $u^{\\prime},v^{\\prime},v$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "u'",
            "label": "u'"
          },
          {
            "tool": "v'",
            "label": "v'"
          },
          {
            "tool": "v",
            "label": "v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "1"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "u'"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "v'"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "1"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "fraction",
                    "top": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "power",
                              "base": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "u'"
                                  }
                                ]
                              },
                              "exponent": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ]
                              }
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "kind": "power",
                              "base": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "v'"
                                  }
                                ]
                              },
                              "exponent": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      ]
                    },
                    "bottom": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "power",
                          "base": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "v"
                              }
                            ]
                          },
                          "exponent": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "text": "Hyperbolic unit speed is measured with the metric, not with the Euclidean coordinate norm."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "compute-l20-foundation-antipodal",
      "title": "Check antipodal invariance",
      "prompt": "For $\\Phi(x,y,z)=(x^2-y^2,xy,xz,yz)$ on the unit sphere, compute $\\Phi(-x,-y,-z)$ by substituting the signs and then simplifying. Enter the two ordered quadruples as a chain.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "x",
            "label": "x"
          },
          {
            "tool": "y",
            "label": "y"
          },
          {
            "tool": "z",
            "label": "z"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "x"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "y"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "y"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "z"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "y"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "z"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "x"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "y"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": "y"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": "z"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "y"
                },
                {
                  "kind": "symbol",
                  "text": "z"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 20: a prerequisite step for the subsequent computation.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "("
                                },
                                {
                                  "kind": "symbol",
                                  "text": "−"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "x"
                                },
                                {
                                  "kind": "symbol",
                                  "text": ")"
                                }
                              ]
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "("
                                },
                                {
                                  "kind": "symbol",
                                  "text": "−"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "y"
                                },
                                {
                                  "kind": "symbol",
                                  "text": ")"
                                }
                              ]
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "x"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "y"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "x"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "z"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "y"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "z"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "x"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "y"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "x"
                      },
                      {
                        "kind": "symbol",
                        "text": "y"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "x"
                      },
                      {
                        "kind": "symbol",
                        "text": "z"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "y"
                      },
                      {
                        "kind": "symbol",
                        "text": "z"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  }
                ]
              }
            },
            {
              "text": "The two unit representatives of one projective point give the same image. This is the well-definedness step, not the injectivity or immersion proof."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "x"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "y"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "y"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "z"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "y"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "z"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "x"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "y"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": "y"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": "z"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "y"
                },
                {
                  "kind": "symbol",
                  "text": "z"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "Show that $\\Phi(x,y,z)=(x^2-y^2,xy,xz,yz)$ satisfies $\\Phi(-x,-y,-z)=\\Phi(x,y,z)$."
    },
    {
      "id": "compute-l9-foundation-hessian-chain-rule",
      "title": "Second derivative along a surface curve",
      "prompt": "Put $h=f\\circ X$ and let $\\alpha(t)=X(u(t),v(t))$. Primes mean $t$ derivatives. Expand $\\frac{d^2}{dt^2}h(u(t),v(t))$ using the chain rule. Suppress $t$ in the answer; evaluate all partial derivatives of $h$ at $(u(t),v(t))$. Include $\\frac d{dt}(h_u u^{\\prime}+h_v v^{\\prime})$ as the middle expression.",
      "learningVersion": 3,
      "editor": {
        "palette": [
          {
            "tool": "d²/dt²",
            "label": "d²/dt²"
          },
          {
            "tool": "h",
            "label": "h"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "d/dt",
            "label": "d/dt"
          },
          {
            "tool": "h_u",
            "label": "h_u"
          },
          {
            "tool": "u'",
            "label": "u'"
          },
          {
            "tool": "h_v",
            "label": "h_v"
          },
          {
            "tool": "v'",
            "label": "v'"
          },
          {
            "tool": "h_uu",
            "label": "h_uu"
          },
          {
            "tool": "h_uv",
            "label": "h_uv"
          },
          {
            "tool": "h_vv",
            "label": "h_vv"
          },
          {
            "tool": "u''",
            "label": "u''"
          },
          {
            "tool": "v''",
            "label": "v''"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "d²/dt²"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "h"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "d/dt"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "h_u"
                },
                {
                  "kind": "symbol",
                  "text": "u'"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "h_v"
                },
                {
                  "kind": "symbol",
                  "text": "v'"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "h_uu"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "u'"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "h_uv"
                },
                {
                  "kind": "symbol",
                  "text": "u'"
                },
                {
                  "kind": "symbol",
                  "text": "v'"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "h_vv"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v'"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "h_u"
                },
                {
                  "kind": "symbol",
                  "text": "u''"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "h_v"
                },
                {
                  "kind": "symbol",
                  "text": "v''"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "d²/dt²"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "h"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "u"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "d/dt"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "h_u"
                      },
                      {
                        "kind": "symbol",
                        "text": "u'"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "h_v"
                      },
                      {
                        "kind": "symbol",
                        "text": "v'"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "h_uu"
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "u'"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "2"
                      },
                      {
                        "kind": "symbol",
                        "text": "h_uv"
                      },
                      {
                        "kind": "symbol",
                        "text": "u'"
                      },
                      {
                        "kind": "symbol",
                        "text": "v'"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "h_vv"
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "v'"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "h_u"
                      },
                      {
                        "kind": "symbol",
                        "text": "u''"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "h_v"
                      },
                      {
                        "kind": "symbol",
                        "text": "v''"
                      }
                    ]
                  }
                ]
              }
            },
            {
              "text": "First apply the chain rule to obtain $h_u u^{\\prime}+h_v v^{\\prime}$. Differentiate this expression by the product rule, then combine the equal mixed partial derivatives."
            }
          ],
          "intro": "This expansion separates the quadratic velocity terms from the terms depending on acceleration. The next computation uses criticality to cancel the latter and prove that the Hessian is well-defined."
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "h": [
            "u",
            "v"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "d²/dt²"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "h"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "d/dt"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "h_u"
                },
                {
                  "kind": "symbol",
                  "text": "u'"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "h_v"
                },
                {
                  "kind": "symbol",
                  "text": "v'"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "h_uu"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "u'"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "h_uv"
                },
                {
                  "kind": "symbol",
                  "text": "u'"
                },
                {
                  "kind": "symbol",
                  "text": "v'"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "h_vv"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v'"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "h_u"
                },
                {
                  "kind": "symbol",
                  "text": "u''"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "h_v"
                },
                {
                  "kind": "symbol",
                  "text": "v''"
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "For $h=f\\circ X$ and $\\alpha(t)=X(u(t),v(t))$, expand $(h\\circ(u,v))''$ in coordinate derivatives."
    },
    {
      "id": "compute-l9-foundation-hessian-critical-point",
      "title": "Hessian in one tangent direction",
      "prompt": "Let $p=X(q)$ be a critical point of $f$, put $h=f\\circ X$, and write $w=aX_u+bX_v$ at $q$. Express $\\mathrm{Hess}_p f(w,w)$ using $a,b,h_{uu},h_{uv},h_{vv}$ at $q$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "Hess_p",
            "label": "Hess_p"
          },
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "w",
            "label": "w"
          },
          {
            "tool": "h_uu",
            "label": "h_uu"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "h_uv",
            "label": "h_uv"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "h_vv",
            "label": "h_vv"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "Hess_p"
                },
                {
                  "kind": "symbol",
                  "text": "f"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "w"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "w"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "h_uu"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "h_uv"
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": "b"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "h_vv"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "b"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "Hess_p"
                      },
                      {
                        "kind": "symbol",
                        "text": "f"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "w"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "w"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "h_uu"
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "a"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "2"
                      },
                      {
                        "kind": "symbol",
                        "text": "h_uv"
                      },
                      {
                        "kind": "symbol",
                        "text": "a"
                      },
                      {
                        "kind": "symbol",
                        "text": "b"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "h_vv"
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "b"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            },
            {
              "text": "At a critical point, $h_u=h_v=0$. Thus the terms $h_u u^{\\prime\\prime}+h_v v^{\\prime\\prime}$ vanish, even when $u^{\\prime\\prime}$ and $v^{\\prime\\prime}$ are nonzero. The remaining terms depend only on the initial velocity, with $u^{\\prime}(0)=a$ and $v^{\\prime}(0)=b$."
            }
          ],
          "intro": "Compute the diagonal of the Hessian defined by curves. The curve-independence theorem justifies using any curve with the prescribed tangent velocity."
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "compute-l1-foundation-reparametrized-speed",
      "title": "Speed under reparametrization",
      "prompt": "Let $\\beta(t)=\\alpha(\\varphi(t))$, where $\\varphi$ is a smooth diffeomorphism of intervals. Starting with $\\|\\beta^{\\prime}(t)\\|$, apply the chain rule inside the norm, then pull the scalar factor outside. Do not assume $\\varphi$ is increasing.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "β'",
            "label": "β'"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "α'",
            "label": "α'"
          },
          {
            "tool": "φ",
            "label": "φ"
          },
          {
            "tool": "φ'",
            "label": "φ'"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "||"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "β'"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "t"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "||"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "||"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "α'"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "φ"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "t"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "φ'"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "||"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "||"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "α'"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "φ"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "t"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "||"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "|"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "φ'"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "t"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "|"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 1: length and invariance.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "β'"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "α'"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "φ"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "("
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "t"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ")"
                                  }
                                ]
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "φ'"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "||"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "α'"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "φ"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "("
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "t"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ")"
                                  }
                                ]
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": "||"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "|"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "φ'"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "|"
                      }
                    ]
                  }
                ]
              }
            },
            {
              "text": "The chain rule gives $\\beta^{\\prime}(t)=\\alpha^{\\prime}(\\varphi(t))\\varphi^{\\prime}(t)$. Norms scale by the absolute value of a scalar, including when the parameter reverses direction."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "α'": "vector",
          "β'": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "||"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "β'"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "t"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "||"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "||"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "α'"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "φ"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "t"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "φ'"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "||"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "||"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "α'"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "φ"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "t"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "||"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "|"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "φ'"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "t"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "|"
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "For $\\beta=\\alpha\\circ\\varphi$, derive $\\|\\beta'\\|=|\\varphi'|\\|\\alpha'\\circ\\varphi\\|$, allowing either orientation of $\\varphi$."
    },
    {
      "id": "compute-l1-foundation-endpoint-bound",
      "title": "Endpoint distance bounds length",
      "prompt": "Let $\\alpha:[a,b]\\to\\mathbb R^3$ be smooth, with $p=\\alpha(a)$, $q=\\alpha(b)$ and length $L$. Start with $\\|q-p\\|$, use the fundamental theorem of calculus, then the integral triangle inequality, and end with $L$. Include the intermediate norm of the velocity integral and the integral of speed.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "q",
            "label": "q"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "int_ab",
            "label": "int_ab"
          },
          {
            "tool": "α'",
            "label": "α'"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "dt",
            "label": "dt"
          },
          {
            "tool": "≤",
            "label": "≤"
          },
          {
            "tool": "L",
            "label": "L"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "||"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "q"
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "p"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "||"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "||"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "int_ab"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "α'"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "dt"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "||"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "≤"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "int_ab"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "||"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "α'"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "||"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "dt"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "L"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 1: length and invariance.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "q"
                          },
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "p"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "int_ab"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "α'"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": "dt"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "≤"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "int_ab"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "||"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "α'"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": "||"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "dt"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "symbol",
                    "text": "L"
                  }
                ]
              }
            },
            {
              "text": "The fundamental theorem gives $q-p=\\int_a^b\\alpha^{\\prime}(t)\\,dt$. The integral triangle inequality bounds the norm of that integral by the integral of the norm, which is the curve length."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "p": "vector",
          "q": "vector",
          "α'": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "||"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "q"
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "p"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "||"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "||"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "int_ab"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "α'"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "dt"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "||"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "≤"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "int_ab"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "||"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "α'"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "||"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "dt"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "L"
            }
          ]
        }
      ],
      "type": "equation-practice",
      "recallPrompt": "How do you prove that the distance between a smooth curve’s endpoints is at most its length $L$?"
    },
    {
      "id": "compute-l1-foundation-rigid-motion-speed",
      "title": "Rigid motions preserve speed",
      "prompt": "Let $\\beta(t)=A\\alpha(t)+b$, where $A$ is a constant orthogonal matrix and $b$ is a constant vector. Prove that the squared speeds agree. Start with $\\|\\beta^{\\prime}(t)\\|^2$, differentiate inside the norm, expand as a transpose product, use $A^T A=I$, and return to a squared norm.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "β'",
            "label": "β'"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "α'",
            "label": "α'"
          },
          {
            "tool": "transpose",
            "label": "transpose"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "β'"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "A"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "α'"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "α'"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "A"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "A"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "α'"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "t"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "α'"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "α'"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "t"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "α'"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Orthogonality means $A^T A=I$. Expand the squared Euclidean norm as $x^T x$ to see why it is preserved.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "||"
                            },
                            {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "β'"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "("
                                },
                                {
                                  "kind": "symbol",
                                  "text": "t"
                                },
                                {
                                  "kind": "symbol",
                                  "text": ")"
                                }
                              ]
                            },
                            {
                              "kind": "symbol",
                              "text": "||"
                            }
                          ]
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "||"
                            },
                            {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "A"
                                },
                                {
                                  "kind": "row",
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "α'"
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": "("
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": "t"
                                    },
                                    {
                                      "kind": "symbol",
                                      "text": ")"
                                    }
                                  ]
                                }
                              ]
                            },
                            {
                              "kind": "symbol",
                              "text": "||"
                            }
                          ]
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "α'"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "("
                                },
                                {
                                  "kind": "symbol",
                                  "text": "t"
                                },
                                {
                                  "kind": "symbol",
                                  "text": ")"
                                }
                              ]
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "T"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "A"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "T"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "A"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "α'"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "α'"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "("
                                },
                                {
                                  "kind": "symbol",
                                  "text": "t"
                                },
                                {
                                  "kind": "symbol",
                                  "text": ")"
                                }
                              ]
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "T"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "α'"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "||"
                            },
                            {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "α'"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "("
                                },
                                {
                                  "kind": "symbol",
                                  "text": "t"
                                },
                                {
                                  "kind": "symbol",
                                  "text": ")"
                                }
                              ]
                            },
                            {
                              "kind": "symbol",
                              "text": "||"
                            }
                          ]
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "text": "The translation has zero derivative. In the transpose product, matrix order matters. Replacing A transpose times A by the identity leaves the original squared speed. Speeds are nonnegative, so equality of their squares implies equality of speeds and hence lengths on the same interval."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "α'": "vector",
          "β'": "vector",
          "A": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "β'"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "A"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "α'"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "α'"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "A"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "A"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "α'"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "t"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "α'"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "α'"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "t"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "α'"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "For $\\beta=A\\alpha+b$ with constant orthogonal $A$ and constant $b$, prove $\\|\\beta'\\|^2=\\|\\alpha'\\|^2$."
    },
    {
      "id": "sa-gram-entry",
      "title": "Entries of the Gram matrix",
      "prompt": "For a basis $e_1,\\ldots,e_n$, give the entry $M_{ij}$ of its Gram matrix.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "M_ij",
            "label": "M_ij"
          },
          {
            "tool": "e_i",
            "label": "e_i"
          },
          {
            "tool": "e_j",
            "label": "e_j"
          },
          {
            "tool": "inverse",
            "label": "□⁻¹",
            "accessibleLabel": "Invert"
          },
          {
            "tool": "transpose",
            "label": "□ᵀ",
            "accessibleLabel": "Transpose"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}",
          "matrix",
          "column"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "M_ij"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "e_i"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_j"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "definition",
        "definition": "The Gram matrix records all pairwise inner products of the basis vectors. It is symmetric and positive definite."
      },
      "grading": {
        "symbolTypes": {
          "A": "matrix",
          "M": "matrix",
          "B": "matrix",
          "I": "matrix",
          "x": "matrix",
          "y": "matrix",
          "v": "vector",
          "w": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "e_i": "vector",
          "e_j": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false,
        "matrixShapes": {
          "A": "square",
          "M": "square",
          "B": "square",
          "I": "square",
          "x": "column",
          "y": "column"
        },
        "symmetricMatrices": [
          "M",
          "I"
        ]
      },
      "type": "equation-practice"
    },
    {
      "id": "sa-coordinate-inner-product",
      "title": "Inner product in coordinates",
      "prompt": "Let $M$ be the Gram matrix of a basis of a real inner product space, and let $x,y$ be the coordinate columns of $v,w$. Express $\\langle v,w\\rangle$ using $x,y,M$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "w",
            "label": "w"
          },
          {
            "tool": "x",
            "label": "x"
          },
          {
            "tool": "M",
            "label": "M"
          },
          {
            "tool": "y",
            "label": "y"
          },
          {
            "tool": "inverse",
            "label": "□⁻¹",
            "accessibleLabel": "Invert"
          },
          {
            "tool": "transpose",
            "label": "□ᵀ",
            "accessibleLabel": "Transpose"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}",
          "matrix",
          "column"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "w"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "x"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "M"
                },
                {
                  "kind": "symbol",
                  "text": "y"
                }
              ]
            }
          ]
        },
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "w"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "y"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "M"
                },
                {
                  "kind": "symbol",
                  "text": "x"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "definition",
        "definition": "The Gram matrix accounts for basis lengths and angles. The ordinary coordinate dot product works only when the basis is orthonormal."
      },
      "grading": {
        "symbolTypes": {
          "A": "matrix",
          "M": "matrix",
          "B": "matrix",
          "I": "matrix",
          "x": "matrix",
          "y": "matrix",
          "v": "vector",
          "w": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "e_i": "vector",
          "e_j": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false,
        "matrixShapes": {
          "A": "square",
          "M": "square",
          "B": "square",
          "I": "square",
          "x": "column",
          "y": "column"
        },
        "symmetricMatrices": [
          "M",
          "I"
        ]
      },
      "type": "equation-practice"
    },
    {
      "id": "sa-operator-coordinates",
      "title": "Coordinates of the image",
      "prompt": "Let $A$ represent $S$ in a chosen basis and $x$ be the coordinate column of $v$. Give the coordinate column $y$ of $S(v)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "y",
            "label": "y"
          },
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "x",
            "label": "x"
          },
          {
            "tool": "inverse",
            "label": "□⁻¹",
            "accessibleLabel": "Invert"
          },
          {
            "tool": "transpose",
            "label": "□ᵀ",
            "accessibleLabel": "Transpose"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}",
          "matrix",
          "column"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "y"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "A"
                },
                {
                  "kind": "symbol",
                  "text": "x"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "definition",
        "definition": "Column $j$ of $A$ contains the coordinates of $S(e_j)$. Matrix multiplication combines those images with the coordinates of $v$."
      },
      "grading": {
        "symbolTypes": {
          "A": "matrix",
          "M": "matrix",
          "B": "matrix",
          "I": "matrix",
          "x": "matrix",
          "y": "matrix",
          "v": "vector",
          "w": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "e_i": "vector",
          "e_j": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false,
        "matrixShapes": {
          "A": "square",
          "M": "square",
          "B": "square",
          "I": "square",
          "x": "column",
          "y": "column"
        },
        "symmetricMatrices": [
          "M",
          "I"
        ]
      },
      "type": "equation-practice"
    },
    {
      "id": "sa-metric-self-adjoint",
      "title": "Self-adjointness in coordinates",
      "prompt": "Work over a finite-dimensional real inner product space. Let $A$ represent $S$ in the chosen basis, $M$ be its Gram matrix, and $x,y$ the coordinate columns of $v,w$. Give the matrix equality equivalent to self-adjointness of $S$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "M",
            "label": "M"
          },
          {
            "tool": "inverse",
            "label": "□⁻¹",
            "accessibleLabel": "Invert"
          },
          {
            "tool": "transpose",
            "label": "□ᵀ",
            "accessibleLabel": "Transpose"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}",
          "matrix",
          "column"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "A"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "M"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "M"
                },
                {
                  "kind": "symbol",
                  "text": "A"
                }
              ]
            }
          ]
        },
        {
          "kind": "row",
          "children": [
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "M"
                          },
                          {
                            "kind": "symbol",
                            "text": "A"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "T"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "M"
                },
                {
                  "kind": "symbol",
                  "text": "A"
                }
              ]
            }
          ]
        },
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "A"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "M"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "1"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "A"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "M"
                }
              ]
            }
          ]
        },
        {
          "kind": "row",
          "children": [
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "A"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "T"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "M"
                },
                {
                  "kind": "symbol",
                  "text": "A"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "M"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "1"
                      }
                    ]
                  }
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "definition",
        "definition": "The equality $\\langle S(v),w\\rangle=\\langle v,S(w)\\rangle$ becomes $x^TA^TMy=x^TMAy$ for all coordinate columns $x,y$."
      },
      "grading": {
        "symbolTypes": {
          "A": "matrix",
          "M": "matrix",
          "B": "matrix",
          "I": "matrix",
          "x": "matrix",
          "y": "matrix",
          "v": "vector",
          "w": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "e_i": "vector",
          "e_j": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false,
        "matrixShapes": {
          "A": "square",
          "M": "square",
          "B": "square",
          "I": "square",
          "x": "column",
          "y": "column"
        },
        "symmetricMatrices": [
          "M",
          "I"
        ]
      },
      "type": "equation-practice"
    },
    {
      "id": "sa-bilinear-matrix",
      "title": "Matrix of the associated bilinear form",
      "prompt": "Work over a finite-dimensional real inner product space. Let $A$ represent $S$ in the chosen basis, $M$ be its Gram matrix, and $x,y$ the coordinate columns of $v,w$. Let $B$ represent the bilinear form $(v,w)\\mapsto\\langle S(v),w\\rangle$. Express $B$ using $A,M$, without assuming self-adjointness.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "B",
            "label": "B"
          },
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "M",
            "label": "M"
          },
          {
            "tool": "inverse",
            "label": "□⁻¹",
            "accessibleLabel": "Invert"
          },
          {
            "tool": "transpose",
            "label": "□ᵀ",
            "accessibleLabel": "Transpose"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}",
          "matrix",
          "column"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "B"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "A"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "M"
                }
              ]
            }
          ]
        },
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "B"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "M"
                          },
                          {
                            "kind": "symbol",
                            "text": "A"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "T"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "definition",
        "definition": "By definition $x^TBy=\\langle S(v),w\\rangle=(Ax)^TMy=x^TA^TMy$. The operator matrix and the bilinear-form matrix are different objects."
      },
      "grading": {
        "symbolTypes": {
          "A": "matrix",
          "M": "matrix",
          "B": "matrix",
          "I": "matrix",
          "x": "matrix",
          "y": "matrix",
          "v": "vector",
          "w": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "e_i": "vector",
          "e_j": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false,
        "matrixShapes": {
          "A": "square",
          "M": "square",
          "B": "square",
          "I": "square",
          "x": "column",
          "y": "column"
        },
        "symmetricMatrices": [
          "M",
          "I"
        ]
      },
      "type": "equation-practice"
    },
    {
      "id": "sa-recover-operator",
      "title": "Recover the self-adjoint operator",
      "prompt": "Work over a finite-dimensional real inner product space. Let $A$ represent $S$ in the chosen basis, $M$ be its Gram matrix, and $x,y$ the coordinate columns of $v,w$. Assume $S$ is self-adjoint and $B$ represents $\\langle S(v),w\\rangle$. Express $A$ using $M,B$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "M",
            "label": "M"
          },
          {
            "tool": "B",
            "label": "B"
          },
          {
            "tool": "inverse",
            "label": "□⁻¹",
            "accessibleLabel": "Invert"
          },
          {
            "tool": "transpose",
            "label": "□ᵀ",
            "accessibleLabel": "Transpose"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}",
          "matrix",
          "column"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "A"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "M"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "1"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "B"
                }
              ]
            }
          ]
        },
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "A"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "B"
                          },
                          {
                            "kind": "power",
                            "base": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "M"
                                }
                              ]
                            },
                            "exponent": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "−"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "1"
                                }
                              ]
                            }
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "T"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "definition",
        "definition": "Self-adjointness gives $B=A^TM=MA$. The Gram matrix is invertible, so left multiplication by $M^{-1}$ gives $A=M^{-1}B$."
      },
      "grading": {
        "symbolTypes": {
          "A": "matrix",
          "M": "matrix",
          "B": "matrix",
          "I": "matrix",
          "x": "matrix",
          "y": "matrix",
          "v": "vector",
          "w": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "e_i": "vector",
          "e_j": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false,
        "matrixShapes": {
          "A": "square",
          "M": "square",
          "B": "square",
          "I": "square",
          "x": "column",
          "y": "column"
        },
        "symmetricMatrices": [
          "M",
          "I",
          "B"
        ]
      },
      "type": "equation-practice"
    },
    {
      "id": "sa-orthonormal-gram",
      "title": "Gram matrix of an orthonormal basis",
      "prompt": "What is the Gram matrix $M$ in an orthonormal basis? Use $I$ for the identity matrix.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "M",
            "label": "M"
          },
          {
            "tool": "I",
            "label": "I"
          },
          {
            "tool": "inverse",
            "label": "□⁻¹",
            "accessibleLabel": "Invert"
          },
          {
            "tool": "transpose",
            "label": "□ᵀ",
            "accessibleLabel": "Transpose"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}",
          "matrix",
          "column"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "M"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "I"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "definition",
        "definition": "Basis vectors have length 1 and distinct basis vectors are orthogonal, so diagonal entries are 1 and off-diagonal entries are 0."
      },
      "grading": {
        "symbolTypes": {
          "A": "matrix",
          "M": "matrix",
          "B": "matrix",
          "I": "matrix",
          "x": "matrix",
          "y": "matrix",
          "v": "vector",
          "w": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "e_i": "vector",
          "e_j": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false,
        "matrixShapes": {
          "A": "square",
          "M": "square",
          "B": "square",
          "I": "square",
          "x": "column",
          "y": "column"
        },
        "symmetricMatrices": [
          "M",
          "I"
        ]
      },
      "type": "equation-practice"
    },
    {
      "id": "sa-orthonormal-symmetry",
      "title": "Self-adjointness in an orthonormal basis",
      "prompt": "Let $A$ represent an operator in an orthonormal basis of a real inner product space. Give the matrix condition for self-adjointness.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "inverse",
            "label": "□⁻¹",
            "accessibleLabel": "Invert"
          },
          {
            "tool": "transpose",
            "label": "□ᵀ",
            "accessibleLabel": "Transpose"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}",
          "matrix",
          "column"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "A"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "T"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "A"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "definition",
        "definition": "In an orthonormal basis $M=I$, so $A^TM=MA$ reduces to $A^T=A$."
      },
      "grading": {
        "symbolTypes": {
          "A": "matrix",
          "M": "matrix",
          "B": "matrix",
          "I": "matrix",
          "x": "matrix",
          "y": "matrix",
          "v": "vector",
          "w": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "e_i": "vector",
          "e_j": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false,
        "matrixShapes": {
          "A": "square",
          "M": "square",
          "B": "square",
          "I": "square",
          "x": "column",
          "y": "column"
        },
        "symmetricMatrices": [
          "M",
          "I"
        ]
      },
      "type": "equation-practice"
    },
    {
      "id": "sa-two-operators-inner-product",
      "title": "Inner product of two transformed vectors",
      "prompt": "Let $S,T$ be arbitrary linear operators on a finite-dimensional real inner product space, with matrices $A,B$ in the chosen basis. Let $M$ be its Gram matrix and $x,y$ the coordinate columns of $v,w$. Express $\\langle S(v),T(w)\\rangle$ using $x,y,A,B,M$. Here $B$ is the matrix of $T$, not a bilinear form; neither operator is assumed self-adjoint.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "S",
            "label": "S"
          },
          {
            "tool": "T",
            "label": "T"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "w",
            "label": "w"
          },
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "B",
            "label": "B"
          },
          {
            "tool": "M",
            "label": "M"
          },
          {
            "tool": "x",
            "label": "x"
          },
          {
            "tool": "y",
            "label": "y"
          },
          {
            "tool": "inverse",
            "label": "□⁻¹",
            "accessibleLabel": "Invert"
          },
          {
            "tool": "transpose",
            "label": "□ᵀ",
            "accessibleLabel": "Transpose"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}",
          "matrix",
          "column"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "S"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "T"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "w"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "x"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "A"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "M"
                },
                {
                  "kind": "symbol",
                  "text": "B"
                },
                {
                  "kind": "symbol",
                  "text": "y"
                }
              ]
            }
          ]
        },
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "S"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "T"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "w"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "y"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "B"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "M"
                },
                {
                  "kind": "symbol",
                  "text": "A"
                },
                {
                  "kind": "symbol",
                  "text": "x"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The coordinate columns of $S(v)$ and $T(w)$ are $Ax$ and $By$. Use the Gram matrix between them, then $(Ax)^T=x^TA^T$. The reversed scalar product gives the equivalent form $y^TB^TMAx$, since $M^T=M$. No self-adjointness assumption is needed.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "⟨"
                      },
                      {
                        "kind": "symbol",
                        "text": "S"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "v"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "T"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "w"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      },
                      {
                        "kind": "symbol",
                        "text": "⟩"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "A"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "x"
                                }
                              ]
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "T"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "M"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "B"
                      },
                      {
                        "kind": "symbol",
                        "text": "y"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "x"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "T"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "A"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "T"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "M"
                      },
                      {
                        "kind": "symbol",
                        "text": "B"
                      },
                      {
                        "kind": "symbol",
                        "text": "y"
                      }
                    ]
                  }
                ]
              },
              "text": "The coordinate columns of $S(v)$ and $T(w)$ are $Ax$ and $By$. Use the Gram matrix between them, then $(Ax)^T=x^TA^T$. The reversed scalar product gives the equivalent form $y^TB^TMAx$, since $M^T=M$. No self-adjointness assumption is needed."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "A": "matrix",
          "M": "matrix",
          "B": "matrix",
          "I": "matrix",
          "x": "matrix",
          "y": "matrix",
          "v": "vector",
          "w": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "e_i": "vector",
          "e_j": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false,
        "matrixShapes": {
          "A": "square",
          "M": "square",
          "B": "square",
          "I": "square",
          "x": "column",
          "y": "column"
        },
        "symmetricMatrices": [
          "M",
          "I"
        ]
      },
      "type": "equation-practice"
    },
    {
      "id": "sa-compute-bilinear",
      "title": "Derive the bilinear-form matrix",
      "prompt": "Work over a finite-dimensional real inner product space. Let $A$ represent $S$ in the chosen basis, $M$ be its Gram matrix, and $x,y$ the coordinate columns of $v,w$. Rewrite $\\langle S(v),w\\rangle$ in coordinates and expand the transpose of $Ax$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "S",
            "label": "S"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "w",
            "label": "w"
          },
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "x",
            "label": "x"
          },
          {
            "tool": "M",
            "label": "M"
          },
          {
            "tool": "y",
            "label": "y"
          },
          {
            "tool": "inverse",
            "label": "□⁻¹",
            "accessibleLabel": "Invert"
          },
          {
            "tool": "transpose",
            "label": "□ᵀ",
            "accessibleLabel": "Transpose"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}",
          "matrix",
          "column"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "S"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "w"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "A"
                      },
                      {
                        "kind": "symbol",
                        "text": "x"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "M"
                },
                {
                  "kind": "symbol",
                  "text": "y"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "x"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "A"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "M"
                },
                {
                  "kind": "symbol",
                  "text": "y"
                }
              ]
            }
          ]
        },
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "S"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "w"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "y"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "M"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "A"
                },
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "y"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "M"
                },
                {
                  "kind": "symbol",
                  "text": "A"
                },
                {
                  "kind": "symbol",
                  "text": "x"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The coordinate column of $S(v)$ is $Ax$. Use $(Ax)^T=x^TA^T$, preserving the reversed factor order. Hence the bilinear-form matrix is $A^TM$.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "⟨"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "S"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "w"
                      },
                      {
                        "kind": "symbol",
                        "text": "⟩"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "A"
                            },
                            {
                              "kind": "symbol",
                              "text": "x"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "T"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "M"
                      },
                      {
                        "kind": "symbol",
                        "text": "y"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "x"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "T"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "A"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "T"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "M"
                      },
                      {
                        "kind": "symbol",
                        "text": "y"
                      }
                    ]
                  }
                ]
              },
              "text": "The coordinate column of $S(v)$ is $Ax$. Use $(Ax)^T=x^TA^T$, preserving the reversed factor order. Hence the bilinear-form matrix is $A^TM$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "A": "matrix",
          "M": "matrix",
          "B": "matrix",
          "I": "matrix",
          "x": "matrix",
          "y": "matrix",
          "v": "vector",
          "w": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "e_i": "vector",
          "e_j": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true,
        "matrixShapes": {
          "A": "square",
          "M": "square",
          "B": "square",
          "I": "square",
          "x": "column",
          "y": "column"
        },
        "symmetricMatrices": [
          "M",
          "I"
        ]
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "S"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "w"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "A"
                      },
                      {
                        "kind": "symbol",
                        "text": "x"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "M"
                },
                {
                  "kind": "symbol",
                  "text": "y"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "x"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "A"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "M"
                },
                {
                  "kind": "symbol",
                  "text": "y"
                }
              ]
            }
          ]
        }
      ],
      "type": "equation-practice",
      "recallPrompt": "Let $A$ represent $S$, let $M$ be the Gram matrix, and let $x,y$ represent $v,w$. Express $\\langle S(v),w\\rangle$ as a matrix product."
    },
    {
      "id": "sa-compute-self-adjoint",
      "title": "Derive the self-adjoint matrix condition",
      "prompt": "Work over a finite-dimensional real inner product space. Let $A$ represent $S$ in the chosen basis, $M$ be its Gram matrix, and $x,y$ the coordinate columns of $v,w$. Assume $S$ is self-adjoint. Start with $x^TA^TMy$, pass through the two inner products, and end with $x^TMAy$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "x",
            "label": "x"
          },
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "M",
            "label": "M"
          },
          {
            "tool": "y",
            "label": "y"
          },
          {
            "tool": "S",
            "label": "S"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "w",
            "label": "w"
          },
          {
            "tool": "inverse",
            "label": "□⁻¹",
            "accessibleLabel": "Invert"
          },
          {
            "tool": "transpose",
            "label": "□ᵀ",
            "accessibleLabel": "Transpose"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}",
          "matrix",
          "column"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "x"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "A"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "M"
                },
                {
                  "kind": "symbol",
                  "text": "y"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "S"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "w"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "S"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "w"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "x"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "M"
                },
                {
                  "kind": "symbol",
                  "text": "A"
                },
                {
                  "kind": "symbol",
                  "text": "y"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "This equality holds for every $x,y$. Testing coordinate basis columns isolates every entry, so $A^TM=MA$.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "x"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "T"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "A"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "T"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "M"
                      },
                      {
                        "kind": "symbol",
                        "text": "y"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "⟨"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "S"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "w"
                      },
                      {
                        "kind": "symbol",
                        "text": "⟩"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "⟨"
                      },
                      {
                        "kind": "symbol",
                        "text": "v"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "S"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "w"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "⟩"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "x"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "T"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "M"
                      },
                      {
                        "kind": "symbol",
                        "text": "A"
                      },
                      {
                        "kind": "symbol",
                        "text": "y"
                      }
                    ]
                  }
                ]
              },
              "text": "This equality holds for every $x,y$. Testing coordinate basis columns isolates every entry, so $A^TM=MA$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "A": "matrix",
          "M": "matrix",
          "B": "matrix",
          "I": "matrix",
          "x": "matrix",
          "y": "matrix",
          "v": "vector",
          "w": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "e_i": "vector",
          "e_j": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true,
        "matrixShapes": {
          "A": "square",
          "M": "square",
          "B": "square",
          "I": "square",
          "x": "column",
          "y": "column"
        },
        "symmetricMatrices": [
          "M",
          "I"
        ]
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "x"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "A"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "M"
                },
                {
                  "kind": "symbol",
                  "text": "y"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "S"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "w"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "S"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "w"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "x"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "M"
                },
                {
                  "kind": "symbol",
                  "text": "A"
                },
                {
                  "kind": "symbol",
                  "text": "y"
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "With operator matrix $A$, Gram matrix $M$, and coordinate columns $x,y$, show how self-adjointness gives $x^TA^TMy=x^TMAy$."
    },
    {
      "id": "sa-compute-eigenvectors",
      "title": "Why distinct eigenspaces are orthogonal",
      "prompt": "Let $S$ be self-adjoint, with $S(v)=\\lambda v$, $S(w)=\\mu w$, and $\\lambda\\ne\\mu$. Expand $(\\lambda-\\mu)\\langle v,w\\rangle$, substitute the eigenvector equations, and use self-adjointness to obtain 0.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "λ",
            "label": "λ"
          },
          {
            "tool": "μ",
            "label": "μ"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "w",
            "label": "w"
          },
          {
            "tool": "S",
            "label": "S"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}",
          "matrix",
          "column"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "λ"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "μ"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "w"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "λ"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "w"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "μ"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "w"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "S"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "v"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "w"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "S"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "w"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        },
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "λ"
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "μ"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "v"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "w"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "λ"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "v"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "w"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "μ"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "v"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "w"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "S"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "v"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "w"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "v"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "S"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "w"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Bilinearity moves eigenvalues inside the inner products. Self-adjointness makes the two terms equal. Since $\\lambda-\\mu\\ne0$, the equality implies $\\langle v,w\\rangle=0$.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "λ"
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "μ"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "w"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "λ"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "w"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "μ"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "w"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "S"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "v"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "w"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "S"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "w"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "symbol",
                    "text": "0"
                  }
                ]
              },
              "text": "Bilinearity moves eigenvalues inside the inner products. Self-adjointness makes the two terms equal. Since $\\lambda-\\mu\\ne0$, the equality implies $\\langle v,w\\rangle=0$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "A": "matrix",
          "M": "matrix",
          "B": "matrix",
          "I": "matrix",
          "x": "matrix",
          "y": "matrix",
          "v": "vector",
          "w": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "e_i": "vector",
          "e_j": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true,
        "matrixShapes": {
          "A": "square",
          "M": "square",
          "B": "square",
          "I": "square",
          "x": "column",
          "y": "column"
        },
        "symmetricMatrices": [
          "M",
          "I"
        ]
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "λ"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "μ"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "w"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "λ"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "w"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "μ"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "w"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "S"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "v"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "w"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "S"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "w"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "For self-adjoint $S$ with $S(v)=\\lambda v$, $S(w)=\\mu w$ and $\\lambda\\ne\\mu$, prove that $v$ and $w$ are orthogonal."
    },
    {
      "id": "sa-compute-nonsymmetric",
      "title": "A nonsymmetric matrix of a self-adjoint operator",
      "prompt": "In an orthonormal basis, $S(e_1)=e_2$ and $S(e_2)=e_1$. In the basis $f_1=e_1$, $f_2=2e_2$, the operator matrix is $A=\\begin{pmatrix}0&2\\\\1/2&0\\end{pmatrix}$ and the Gram matrix is $M=\\begin{pmatrix}1&0\\\\0&4\\end{pmatrix}$. Verify $A^TM=MA$ by expanding both matrix products.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "M",
            "label": "M"
          },
          {
            "tool": "1/2",
            "label": "1/2",
            "accessibleLabel": "One half"
          },
          {
            "tool": "inverse",
            "label": "□⁻¹",
            "accessibleLabel": "Invert"
          },
          {
            "tool": "transpose",
            "label": "□ᵀ",
            "accessibleLabel": "Transpose"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}",
          "matrix",
          "column"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3",
          "4"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "A"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "M"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1/2"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "4"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "matrix",
              "cols": 2,
              "cells": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "4"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1/2"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "M"
                },
                {
                  "kind": "symbol",
                  "text": "A"
                }
              ]
            }
          ]
        },
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "M"
                },
                {
                  "kind": "symbol",
                  "text": "A"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "4"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1/2"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "matrix",
              "cols": 2,
              "cells": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1/2"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "4"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "A"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "M"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Here $S(f_1)=\\tfrac12f_2$ and $S(f_2)=2f_1$. The matrix $A$ is not symmetric, but $A^TM=MA$. The basis is orthogonal yet not normalized.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "A"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "T"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "M"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "matrix",
                        "cols": 2,
                        "cells": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "0"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1/2"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "0"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "kind": "matrix",
                        "cols": 2,
                        "cells": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "0"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "0"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "4"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "matrix",
                    "cols": 2,
                    "cells": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "0"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "0"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "matrix",
                        "cols": 2,
                        "cells": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "0"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "0"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "4"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "kind": "matrix",
                        "cols": 2,
                        "cells": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "0"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1/2"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "0"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "M"
                      },
                      {
                        "kind": "symbol",
                        "text": "A"
                      }
                    ]
                  }
                ]
              },
              "text": "Here $S(f_1)=\\tfrac12f_2$ and $S(f_2)=2f_1$. The matrix $A$ is not symmetric, but $A^TM=MA$. The basis is orthogonal yet not normalized."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "A": "matrix",
          "M": "matrix",
          "B": "matrix",
          "I": "matrix",
          "x": "matrix",
          "y": "matrix",
          "v": "vector",
          "w": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "e_i": "vector",
          "e_j": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true,
        "matrixShapes": {
          "A": "square",
          "M": "square",
          "B": "square",
          "I": "square",
          "x": "column",
          "y": "column"
        },
        "symmetricMatrices": [
          "M",
          "I"
        ]
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "A"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "M"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1/2"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "4"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "matrix",
              "cols": 2,
              "cells": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "4"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1/2"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "M"
                },
                {
                  "kind": "symbol",
                  "text": "A"
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "Verify $A^TM=MA$ for $A=\\begin{pmatrix}0&2\\\\1/2&0\\end{pmatrix}$ and $M=\\begin{pmatrix}1&0\\\\0&4\\end{pmatrix}$."
    },
    {
      "id": "sa-compute-metric-orthogonality",
      "title": "Orthogonal vectors with nonorthogonal coordinate columns",
      "prompt": "In the preceding basis, eigenvectors have coordinate columns $x=(2,1)^T$ and $y=(2,-1)^T$, and $M=\\begin{pmatrix}1&0\\\\0&4\\end{pmatrix}$. Compute their inner product by expanding $x^TMy$, multiplying $My$ first.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "x",
            "label": "x"
          },
          {
            "tool": "M",
            "label": "M"
          },
          {
            "tool": "y",
            "label": "y"
          },
          {
            "tool": "inverse",
            "label": "□⁻¹",
            "accessibleLabel": "Invert"
          },
          {
            "tool": "transpose",
            "label": "□ᵀ",
            "accessibleLabel": "Transpose"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}",
          "matrix",
          "column"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3",
          "4"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "x"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "M"
                },
                {
                  "kind": "symbol",
                  "text": "y"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "matrix",
                        "cols": 1,
                        "cells": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "4"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "matrix",
                  "cols": 1,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "1"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "matrix",
                        "cols": 1,
                        "cells": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "matrix",
                  "cols": 1,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "4"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "4"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "4"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The tangent vectors are orthogonal because $x^TMy=0$. Their ordinary coordinate dot product is $x^Ty=4-1=3$, which does not measure the original inner product in this basis.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "x"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "T"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "M"
                      },
                      {
                        "kind": "symbol",
                        "text": "y"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "matrix",
                              "cols": 1,
                              "cells": [
                                {
                                  "kind": "row",
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "2"
                                    }
                                  ]
                                },
                                {
                                  "kind": "row",
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "1"
                                    }
                                  ]
                                }
                              ]
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "T"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "matrix",
                        "cols": 2,
                        "cells": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "0"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "0"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "4"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "kind": "matrix",
                        "cols": 1,
                        "cells": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "matrix",
                              "cols": 1,
                              "cells": [
                                {
                                  "kind": "row",
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "2"
                                    }
                                  ]
                                },
                                {
                                  "kind": "row",
                                  "children": [
                                    {
                                      "kind": "symbol",
                                      "text": "1"
                                    }
                                  ]
                                }
                              ]
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "T"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "matrix",
                        "cols": 1,
                        "cells": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "symbol",
                                "text": "4"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "4"
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "4"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "symbol",
                    "text": "0"
                  }
                ]
              },
              "text": "The tangent vectors are orthogonal because $x^TMy=0$. Their ordinary coordinate dot product is $x^Ty=4-1=3$, which does not measure the original inner product in this basis."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "A": "matrix",
          "M": "matrix",
          "B": "matrix",
          "I": "matrix",
          "x": "matrix",
          "y": "matrix",
          "v": "vector",
          "w": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "e_i": "vector",
          "e_j": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true,
        "matrixShapes": {
          "A": "square",
          "M": "square",
          "B": "square",
          "I": "square",
          "x": "column",
          "y": "column"
        },
        "symmetricMatrices": [
          "M",
          "I"
        ]
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "x"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "M"
                },
                {
                  "kind": "symbol",
                  "text": "y"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "matrix",
                        "cols": 1,
                        "cells": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "4"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "matrix",
                  "cols": 1,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "1"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "matrix",
                        "cols": 1,
                        "cells": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "matrix",
                  "cols": 1,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "4"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "4"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "4"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "Compute $x^TMy$ for $x=(2,1)^T$, $y=(2,-1)^T$, $M=\\begin{pmatrix}1&0\\\\0&4\\end{pmatrix}$, showing that these coordinate columns represent orthogonal vectors."
    },
    {
      "id": "compute-l10-distance-principal",
      "title": "Distance Hessian in a principal direction: computation",
      "prompt": "At a critical point with $p_0=p+\\lambda N(p)$, let $v$ be a unit principal vector with curvature $k$. Starting with the distance Hessian formula, substitute $\\|v\\|^2=1$ and $\\mathrm{II}(v,v)=k$, and finish with $2(1-\\lambda k)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "h",
            "label": "h"
          },
          {
            "tool": "λ",
            "label": "λ"
          },
          {
            "tool": "k",
            "label": "k"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "II",
            "label": "II"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "h"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "symbol",
                        "text": "v"
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "λ"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "II"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "1"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "λ"
                },
                {
                  "kind": "symbol",
                  "text": "k"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "By definition of a unit principal vector, $S(v)=kv$ and $\\|v\\|=1$. Therefore $\\mathrm{II}(v,v)=\\langle S(v),v\\rangle=k$. Apply this to the squared-distance Hessian.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "h"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "||"
                            },
                            {
                              "kind": "symbol",
                              "text": "v"
                            },
                            {
                              "kind": "symbol",
                              "text": "||"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "λ"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "II"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "1"
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "λ"
                      },
                      {
                        "kind": "symbol",
                        "text": "k"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  }
                ]
              },
              "text": "Use unit length and the principal-vector identity. The factored expression shows that the sign of this second derivative is the sign of $1-\\lambda k$, and that it vanishes when $\\lambda k=1$. Expanding the product adds no geometric information."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "v": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "h"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "symbol",
                        "text": "v"
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "λ"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "II"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "1"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "λ"
                },
                {
                  "kind": "symbol",
                  "text": "k"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            }
          ]
        }
      ],
      "type": "equation-practice",
      "recallPrompt": "At a critical point of squared distance with $p_0=p+\\lambda N(p)$, derive the Hessian value $2(1-\\lambda k)$ on a unit principal vector of curvature $k$.",
      "multiplier": 1
    },
    {
      "id": "l9-quadratic-form",
      "title": "Quadratic form of a symmetric bilinear form",
      "prompt": "Let $B:V\\times V\\to\\mathbb R$ be symmetric and bilinear. Define its associated quadratic form $Q$ at $v\\in V$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "Q",
            "label": "Q"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "B",
            "label": "B"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "Q"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "B"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Let $B:V\\times V\\to\\mathbb R$ be symmetric and bilinear. Define its associated quadratic form $Q$ at $v\\in V$.",
          "steps": [
            {
              "text": "Bilinearity means linearity separately in each argument; symmetry means $B(v,w)=B(w,v)$. The function $Q(v)=B(v,v)$ records the diagonal values."
            },
            {
              "text": "Polarization recovers the whole symmetric bilinear form from these values. An antisymmetric form has zero diagonal, so symmetry is essential for uniqueness."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "B": [
            "v",
            "w"
          ],
          "Q": [
            "v"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "compute-l9-polarization-expansion",
      "title": "Expand a quadratic form on a sum",
      "prompt": "Let $B$ be symmetric bilinear and $Q(v)=B(v,v)$. Expand $Q(v+w)$ into four bilinear terms, then use symmetry to collect them as $Q(v)+2B(v,w)+Q(w)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "Q",
            "label": "Q"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "w",
            "label": "w"
          },
          {
            "tool": "B",
            "label": "B"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "Q"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "w"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "w"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "w"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "w"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "w"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "Q"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "w"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "Q"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "w"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Let $B$ be symmetric bilinear and $Q(v)=B(v,v)$. Expand $Q(v+w)$ into four bilinear terms, then use symmetry to collect them as $Q(v)+2B(v,w)+Q(w)$.",
          "steps": [
            {
              "text": "Expand both arguments using bilinearity."
            },
            {
              "text": "Symmetry identifies $B(w,v)$ with $B(v,w)$; this is the reason the mixed term has coefficient two."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "B": [
            "v",
            "w"
          ],
          "Q": [
            "v"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "Q"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "w"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "w"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "w"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "w"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "w"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "Q"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "w"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "Q"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "w"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice"
    },
    {
      "id": "l9-polarization",
      "title": "Recover a symmetric form from its diagonal",
      "prompt": "Let $B$ be symmetric bilinear and $Q(v)=B(v,v)$. Express $B(v,w)$ using $Q(v+w)$, $Q(v)$ and $Q(w)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "B",
            "label": "B"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "w",
            "label": "w"
          },
          {
            "tool": "Q",
            "label": "Q"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "B"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "w"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "Q"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": "+"
                          },
                          {
                            "kind": "symbol",
                            "text": "w"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "Q"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "v"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "Q"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "w"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Let $B$ be symmetric bilinear and $Q(v)=B(v,v)$. Express $B(v,w)$ using $Q(v+w)$, $Q(v)$ and $Q(w)$.",
          "steps": [
            {
              "text": "Expanding $Q(v+w)$ gives $Q(v)+2B(v,w)+Q(w)$. Subtract the two diagonal terms and divide by two."
            },
            {
              "text": "This recovers an existing symmetric bilinear form. For an arbitrary function $Q$, the displayed polarization need not be bilinear."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "B": [
            "v",
            "w"
          ],
          "Q": [
            "v"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "compute-l9-polarization-recovery",
      "title": "Polarization identity",
      "prompt": "Let $B$ be symmetric bilinear and $Q(v)=B(v,v)$. Express $B(v,w)$ in terms of $Q$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "Q",
            "label": "Q"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "w",
            "label": "w"
          },
          {
            "tool": "B",
            "label": "B"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "B"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "v"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "w"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "Q"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "v"
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "symbol",
                    "text": "w"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "symbol",
                    "text": "Q"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "v"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "symbol",
                    "text": "Q"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "w"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Let $B$ be symmetric bilinear and $Q(v)=B(v,v)$. Express $B(v,w)$ in terms of $Q$.",
          "steps": [
            {
              "text": "Bilinearity and symmetry give the expansion of $Q(v+w)$."
            },
            {
              "text": "Cancelling gives $Q(v+w)-Q(v)-Q(w)=2B(v,w)$. Division by two proves the polarization identity and uniqueness of the symmetric bilinear form."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "B": [
            "v",
            "w"
          ],
          "Q": [
            "v"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice",
      "recallPrompt": "For symmetric bilinear $B$ and $Q(v)=B(v,v)$, recover $B(v,w)$ from $Q$."
    },
    {
      "id": "l9-hessian-curve-definition",
      "title": "Define the Hessian by curves",
      "prompt": "Let $f:S\\to\\mathbb R$ be smooth with $df_p=0$, and let $\\alpha$ be a smooth surface curve with $\\alpha(0)=p$ and $\\alpha^{\\prime}(0)=v$. Express $\\mathrm{Hess}_p f(v,v)$ as a second derivative along $\\alpha$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "Hf_p",
            "label": "Hf_p"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "f_alpha",
            "label": "f_alpha"
          },
          {
            "tool": "'",
            "label": "'"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "Hf_p"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "v"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "v"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "f_alpha"
            },
            {
              "kind": "symbol",
              "text": "'"
            },
            {
              "kind": "symbol",
              "text": "'"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The critical-point condition makes $(f\\circ\\alpha)^{\\prime\\prime}(0)$ depend only on $v$, not on the acceleration of the curve. These diagonal values uniquely determine the symmetric bilinear form $\\mathrm{Hess}_p f$ by polarization."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "compute-l9-critical-coordinate-differential",
      "title": "Criticality kills the coordinate differential",
      "prompt": "For $h=f\\circ X$, $p=X(q)$, and $df_p=0$ on $T_p(S)$, show that $dh_q(x)=0$, using the fact that $dX_q(x)\\in T_{X(q)}(S)=T_p(S)$ for all $x\\in\\mathbb R^2$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dh_q",
            "label": "dh_q"
          },
          {
            "tool": "x",
            "label": "x"
          },
          {
            "tool": "df_p",
            "label": "df_p"
          },
          {
            "tool": "dX_q",
            "label": "dX_q"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "dh_q"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "x"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "df_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dX_q"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "x"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Let $f:S\\to\\mathbb R$ be smooth on a surface, let $X:U\\subset\\mathbb R^2\\to S$ be a regular chart, and put $h=f\\circ X$ and $p=X(q)$. Assume $p$ is critical for $f$: $df_p:T_pS\\to\\mathbb R$ is zero. For $x\\in\\mathbb R^2$, apply the chain rule to $dh_q(x)$, then use criticality. Write $dX_q(x)$ explicitly inside $df_p$.",
          "steps": [
            {
              "text": "For $x=(a,b)$, the definition of the differential gives $dX_q(x)=\\left.\\frac{d}{dt}\\right|_0 X(q+tx)=aX_u(q)+bX_v(q)\\in T_pS$. Criticality here concerns this tangent plane, not all of ambient three-space."
            },
            {
              "text": "The chain rule is $dh_q=df_p\\circ dX_q$. Thus $dh_q=0$ and, by testing the two coordinate basis vectors, $h_u(q)=h_v(q)=0$."
            },
            {
              "text": "Conversely, $dX_q$ maps the coordinate plane onto $T_pS$, so $dh_q=0$ implies $df_p=0$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "dh_q": [
            "x"
          ],
          "dX_q": [
            "x"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "dh_q"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "x"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "df_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dX_q"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "x"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ]
            }
          ]
        }
      ],
      "type": "equation-practice",
      "recallPrompt": "If $f$ is critical at $p=X(q)$ and $h=f\\circ X$, show that $dh_q(x)=0$."
    },
    {
      "id": "compute-l9-hessian-curve-independence",
      "title": "The second derivative does not depend on acceleration",
      "prompt": "Fix $f:S\\to\\mathbb R$ and a critical point $p=X(q)$, and put $h=f\\circ X$. For $v\\in T_pS$, let $Q(v)=(f\\circ\\alpha)^{\\prime\\prime}(0)$, choosing a surface curve with $\\alpha(0)=p$ and $\\alpha^{\\prime}(0)=v$. Write $\\alpha=X\\circ\\beta$, where $\\beta(0)=q$, $\\beta^{\\prime}(0)=(a,b)$ and $\\beta^{\\prime\\prime}(0)=(r,s)$. Prove that this defines $Q$ independently of the chosen curve by showing that the second derivative depends only on $(a,b)$ and not on $(r,s)$. Give two comma-separated statements: first expand the second derivative through the acceleration terms $h_ur+h_vs$; then state the vanishing first partial derivatives that make those terms zero. All partial derivatives of $h$ are evaluated at $q$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "f_alpha",
            "label": "f_alpha"
          },
          {
            "tool": "h_beta",
            "label": "h_beta"
          },
          {
            "tool": "'",
            "label": "'"
          },
          {
            "tool": "h_uu",
            "label": "h_uu"
          },
          {
            "tool": "h_uv",
            "label": "h_uv"
          },
          {
            "tool": "h_vv",
            "label": "h_vv"
          },
          {
            "tool": "h_u",
            "label": "h_u"
          },
          {
            "tool": "h_v",
            "label": "h_v"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "r",
            "label": "r"
          },
          {
            "tool": "s",
            "label": "s"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "f_alpha"
            },
            {
              "kind": "symbol",
              "text": "''"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "h_beta"
            },
            {
              "kind": "symbol",
              "text": "''"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "h_uu"
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "a"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "2"
                    },
                    {
                      "kind": "symbol",
                      "text": "h_uv"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "h_vv"
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "b"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "h_u"
                },
                {
                  "kind": "symbol",
                  "text": "r"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "h_v"
                },
                {
                  "kind": "symbol",
                  "text": "s"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "h_u"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "h_v"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Fix $f:S\\to\\mathbb R$ and a critical point $p=X(q)$, and put $h=f\\circ X$. For $v\\in T_pS$, let $Q(v)=(f\\circ\\alpha)^{\\prime\\prime}(0)$, choosing a surface curve with $\\alpha(0)=p$ and $\\alpha^{\\prime}(0)=v$. Write $\\alpha=X\\circ\\beta$, where $\\beta(0)=q$, $\\beta^{\\prime}(0)=(a,b)$ and $\\beta^{\\prime\\prime}(0)=(r,s)$. Prove that this defines $Q$ independently of the chosen curve by showing that the second derivative depends only on $(a,b)$ and not on $(r,s)$. Give two comma-separated statements: first expand the second derivative through the acceleration terms $h_ur+h_vs$; then state the vanishing first partial derivatives that make those terms zero. All partial derivatives of $h$ are evaluated at $q$.",
          "steps": [
            {
              "text": "The first equality uses $f\\circ\\alpha=h\\circ\\beta$. The second follows by ordinary differentiation in one variable and the chain rule. The separate statement $h_u=h_v=0$ eliminates both acceleration terms without repeating the quadratic expression."
            },
            {
              "text": "The fact that $h_u(q)=h_v(q)=0$ follows from criticality of $f$ at $p=X(q)$. This implies that $dh_q$, whose Jacobian is $(h_u(q),h_v(q))$, is the zero linear map at $q=X^{-1}(p)$."
            },
            {
              "text": "For the fixed function $f$ and critical point $p$, we can therefore define $Q:T_pS\\to\\mathbb R$ by $Q(v):=(f\\circ\\alpha)^{\\prime\\prime}(0)$, where $\\alpha(0)=p$ and $\\alpha^{\\prime}(0)=v$. This is independent of the chosen curve: equal tangent velocities give equal coordinate velocities because $dX_q$ is injective, and the computation shows that the coordinate accelerations do not matter."
            },
            {
              "text": "In the chart basis, $v=aX_u(q)+bX_v(q)$, so $Q(v)=h_{uu}(q)a^2+2h_{uv}(q)ab+h_{vv}(q)b^2$. This is the quadratic expression used in the later polarization card, where $A=h_{uu}(q)$, $B=h_{uv}(q)$ and $C=h_{vv}(q)$. The pair $(a,b)$ gives coordinates of the tangent vector; intrinsically, the argument of $Q$ is $v\\in T_pS$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "f": [
            "t"
          ],
          "α": [
            "t"
          ],
          "h": [
            "t"
          ],
          "β": [
            "t"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "f_alpha"
            },
            {
              "kind": "symbol",
              "text": "''"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "h_beta"
            },
            {
              "kind": "symbol",
              "text": "''"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "h_uu"
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "a"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "2"
                    },
                    {
                      "kind": "symbol",
                      "text": "h_uv"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "h_vv"
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "b"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "h_u"
                },
                {
                  "kind": "symbol",
                  "text": "r"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "h_v"
                },
                {
                  "kind": "symbol",
                  "text": "s"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "h_u"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "h_v"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "type": "equation-practice",
      "multiplier": 2,
      "recallPrompt": "At a critical point $p=X(q)$, put $h=f\\circ X$ and $\\alpha=X\\circ\\beta$. For $\\beta'(0)=(a,b)$ and $\\beta''(0)=(r,s)$, show why $Q(v)=(f\\circ\\alpha)''(0)$ depends only on $v=\\alpha'(0)$, not the acceleration."
    },
    {
      "id": "compute-l9-hessian-bilinear-existence",
      "title": "Realize the quadratic form as a bilinear diagonal",
      "prompt": "Let $f:S\\to\\mathbb R$ be smooth and critical at $p=X(q)$, and put $h=f\\circ X$. Recall $Q(v)=(f\\circ\\alpha)^{\\prime\\prime}(0)$ for a surface curve with $\\alpha(0)=p$ and $\\alpha^{\\prime}(0)=v$. Write $(a,b)^T=(dX)^{-1}(v)$. Here $dX$ and all partial derivatives of $h$ are evaluated at $q$. Express $Q(v)$ first in coordinates, then as a matrix product using $(dX)^{-1}(v)$, to show that it is the diagonal of a symmetric bilinear form.",
      "learningVersion": 2,
      "editor": {
        "palette": [
          {
            "tool": "Q",
            "label": "Q"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "h_uu",
            "label": "h_uu"
          },
          {
            "tool": "h_uv",
            "label": "h_uv"
          },
          {
            "tool": "h_vv",
            "label": "h_vv"
          },
          {
            "tool": "dX",
            "label": "dX"
          },
          {
            "tool": "T",
            "label": "T"
          },
          {
            "tool": "inverse",
            "label": "inverse"
          },
          {
            "tool": "transpose",
            "label": "transpose"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/",
          "transpose",
          "inverse",
          "matrix-1x2",
          "column",
          "matrix"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "Q"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "h_uu"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "h_uv"
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": "b"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "h_vv"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "b"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "power",
                            "base": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "("
                                },
                                {
                                  "kind": "symbol",
                                  "text": "dX"
                                },
                                {
                                  "kind": "symbol",
                                  "text": ")"
                                }
                              ]
                            },
                            "exponent": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "−"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "1"
                                }
                              ]
                            }
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "h_uu"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "h_uv"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "h_uv"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "h_vv"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "power",
                          "base": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "dX"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          "exponent": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          }
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "v"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The first equality was established in the preceding curve computation. The second writes the same quadratic polynomial as a matrix product, using the coordinate column $(dX)^{-1}(v)=(a,b)^T$."
            },
            {
              "text": "Let $T=(dX)^{-1}$ and let $A$ be the displayed matrix. Define $B(v,w)=(T(v))^T A(T(w))$. Since $T$ is linear, $B$ is bilinear. Equality of mixed partial derivatives makes $A$ symmetric, so $B$ is symmetric as well."
            },
            {
              "text": "The computation proves $B(v,v)=Q(v)$. Polarization recovers $B(v,w)=(Q(v+w)-Q(v)-Q(w))/2$ uniquely from $Q$, so this construction is independent of the chart. This form is $\\operatorname{Hess}_p f$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "v": "matrix",
          "dX": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {
          "Q": [
            "v"
          ],
          "dX": [
            "v"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true,
        "matrixShapes": {
          "dX": "square",
          "v": "column"
        }
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "Q"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "h_uu"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "h_uv"
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": "b"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "h_vv"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "b"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "power",
                            "base": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "("
                                },
                                {
                                  "kind": "symbol",
                                  "text": "dX"
                                },
                                {
                                  "kind": "symbol",
                                  "text": ")"
                                }
                              ]
                            },
                            "exponent": {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "−"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "1"
                                }
                              ]
                            }
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "T"
                      }
                    ]
                  }
                },
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "h_uu"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "h_uv"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "h_uv"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "h_vv"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "power",
                          "base": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "dX"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          "exponent": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          }
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "v"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "At a critical point $p=X(q)$, put $h=f\\circ X$ and $Q(v)=(f\\circ\\alpha)''(0)$. Use $(a,b)^T=(dX_q)^{-1}(v)$ to express $Q(v)$ as the diagonal of a symmetric bilinear form."
    },
    {
      "id": "compute-l10-distance-bilinear",
      "title": "Recover the full distance Hessian",
      "prompt": "At a critical point $p$ of $D(q)=\\|q-p_0\\|^2$, write $p_0=p+\\lambda N(p)$ and $H=\\operatorname{Hess}_pD$. Given $H(v,v)=2(\\langle v,v\\rangle-\\lambda\\mathrm{II}(v,v))$, state the corresponding formula for $H(v,w)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "H",
            "label": "H"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "w",
            "label": "w"
          },
          {
            "tool": "λ",
            "label": "λ"
          },
          {
            "tool": "II",
            "label": "II"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "H"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "w"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "w"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "λ"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "II"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "w"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "At a critical point $p$ of $D(q)=\\|q-p_0\\|^2$, write $p_0=p+\\lambda N(p)$ and $H=\\operatorname{Hess}_pD$. Given $H(v,v)=2(\\langle v,v\\rangle-\\lambda\\mathrm{II}(v,v))$, state the corresponding formula for $H(v,w)$.",
          "steps": [
            {
              "text": "Polarization applies to the Hessian, the inner product, and the symmetric second fundamental form. Their diagonal identities therefore imply $\\operatorname{Hess}_pD=2(\\mathrm I_p-\\lambda\\mathrm{II}_p)$."
            },
            {
              "text": "This is a bilinear identity, not only a formula for a single unit principal direction."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "v": "vector",
          "w": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {
          "H": [
            "v",
            "w"
          ],
          "Q": [
            "v"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice",
      "recallPrompt": "At a critical point $p$ of $D(q)=\\|q-p_0\\|^2$, write $p_0=p+\\lambda N(p)$ and $H=\\operatorname{Hess}_pD$. Given $H(v,v)=2(\\langle v,v\\rangle-\\lambda\\mathrm{II}(v,v))$, state the corresponding formula for $H(v,w)$.",
      "multiplier": 1
    },
    {
      "id": "compute-l10-farthest-curvature",
      "title": "Curvature at a farthest point",
      "prompt": "Let $p$ be farthest from a fixed point $p_0$ on a compact regular surface without boundary. Put $D(q)=\\|q-p_0\\|^2$ and $R=\\|p-p_0\\|>0$. The surface lies inside the ball centered at $p_0$, touching at $p$; choose the inward normal, so $p-p_0=-RN(p)$. For a unit tangent $v$ with normal curvature $k_v$, choose a surface curve $\\alpha(0)=p$, $\\alpha^{\\prime}(0)=v$. Compute $h=(D\\circ\\alpha)^{\\prime\\prime}(0)$ in terms of $R,k_v$, note the sign of $h$, and lastly solve for $k_v$.",
      "learningVersion": 2,
      "editor": {
        "palette": [
          {
            "tool": "h",
            "label": "h"
          },
          {
            "tool": "D_alpha",
            "label": "D_alpha"
          },
          {
            "tool": "α",
            "label": "α"
          },
          {
            "tool": "′",
            "label": "′"
          },
          {
            "tool": "″",
            "label": "″"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "p_0",
            "label": "p_0"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "R",
            "label": "R"
          },
          {
            "tool": "k_v",
            "label": "k_v"
          },
          {
            "tool": "≤",
            "label": "≤"
          },
          {
            "tool": "≥",
            "label": "≥"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "h"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "D_alpha"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "″"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "R"
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "α"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "″"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "p"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "R"
                },
                {
                  "kind": "symbol",
                  "text": "k_v"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "h"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "D_alpha"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "″"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "≤"
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "k_v"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "1"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "R"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "h"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      },
                      {
                        "kind": "symbol",
                        "text": "R"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "≥"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "1"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "R"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The vector $v$ need not be principal: the same computation gives the normal curvature in every unit tangent direction.",
          "steps": [
            {
              "text": "Since $p$ is farthest from $p_0$, every surface point lies in the closed ball centered at $p_0$ with radius $R$. At $p$ the surface is tangent to the boundary sphere. The chosen normal $N(p)$ points toward the ball’s center, whereas $p-p_0$ points from the center to $p$: hence $p-p_0=-RN(p)$. The reference point $p_0$ is arbitrary; it is not assumed to be a center of the surface."
            },
            {
              "text": "Differentiating $\\langle\\alpha(t)-p_0,\\alpha(t)-p_0\\rangle$ twice gives $2\\|\\alpha^{\\prime}(0)\\|^2+2\\langle\\alpha^{\\prime\\prime}(0),p-p_0\\rangle$. Substituting $\\|\\alpha^{\\prime}(0)\\|=1$ and $p-p_0=-RN(p)$ gives the first expanded expression in the answer."
            },
            {
              "text": "The normal-curvature identity proved earlier gives $\\langle\\alpha^{\\prime\\prime}(0),N(p)\\rangle=\\mathrm{II}_p(v,v)=k_v$."
            },
            {
              "text": "At the maximum, $h\\le0$. Thus $k_v=1/R-h/(2R)\\ge1/R$. Applying this to the two principal directions gives $K=k_1k_2\\ge1/R^2>0$."
            },
            {
              "text": "Only $\\alpha^{\\prime}(0)=v$ needs to be unit; the curve need not be parametrized by arc length. Differentiating $\\langle N\\circ\\alpha,\\alpha^{\\prime}\\rangle=0$ gives $\\langle N(p),\\alpha^{\\prime\\prime}(0)\\rangle=-\\langle dN_p(v),v\\rangle=\\mathrm{II}_p(v,v)=k_v$. The inequality $h\\le0$ follows separately from the local maximum of $D\\circ\\alpha$ at zero."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "p": "vector",
          "p_0": "vector",
          "α": "vector",
          "α'": "vector",
          "α''": "vector",
          "N": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {
          "D_alpha": [
            "t"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "h"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "D_alpha"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "″"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "R"
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "α"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "″"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "p"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "R"
                },
                {
                  "kind": "symbol",
                  "text": "k_v"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "h"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "D_alpha"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "″"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "≤"
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "k_v"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "1"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "R"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "h"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      },
                      {
                        "kind": "symbol",
                        "text": "R"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "≥"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "1"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "R"
                  }
                ]
              }
            }
          ]
        }
      ],
      "type": "equation-practice",
      "recallPrompt": "At a farthest point $p$ from $p_0$, put $D(q)=\\|q-p_0\\|^2$, $R=\\|p-p_0\\|>0$, and $N(p)=(p_0-p)/R$. The surface lies inside the ball centered at $p_0$ with radius $R$, touching at $p$; $N(p)$ points toward its center, so $p-p_0=-RN(p)$. For unit $v\\in T_pS$, set $h=\\operatorname{Hess}_pD(v,v)$. Use a surface curve $\\alpha(0)=p$, $\\alpha^{\\prime}(0)=v$ to compute $h$, then use the maximum condition to prove that the normal curvature satisfies $k_v\\ge1/R$.",
      "multiplier": 3
    },
    {
      "id": "compute-l10-normal-curvature-normalization",
      "title": "Normal curvature and smooth tangent fields",
      "prompt": "For a nonzero tangent vector $V$ at a point $p$, express its normal curvature $k_V$ using the first and second fundamental forms, starting by normalizing $V$. Then, deduce a formula for the normal curvature $h_i(t)$ at $\\beta(t)$ in the direction of a nonzero tangent field $V_i(t)$, making the smoothness of $h_i$ apparent from the smoothness of $\\beta$ and $V_i$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "k_V",
            "label": "k_V"
          },
          {
            "tool": "II",
            "label": "II"
          },
          {
            "tool": "V",
            "label": "V"
          },
          {
            "tool": "h_i",
            "label": "h_i"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "II_beta",
            "label": "\\mathrm{II}_{\\beta(t)}",
            "accessibleLabel": "Second fundamental form at beta of t"
          },
          {
            "tool": "V_i",
            "label": "V_i"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "k_V"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "II"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "V"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "symbol",
                        "text": "V"
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "V"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "symbol",
                        "text": "V"
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "II"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "V"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "V"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "⟨"
                  },
                  {
                    "kind": "symbol",
                    "text": "V"
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "symbol",
                    "text": "V"
                  },
                  {
                    "kind": "symbol",
                    "text": "⟩"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "h_i"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "t"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "II_beta"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "V_i"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "t"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "V_i"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "t"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "⟨"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "V_i"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "t"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "V_i"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "t"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "⟩"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Normal curvature is the second fundamental form on the unit tangent. Bilinearity extracts both normalization factors, and $\\|V\\|^2=\\langle V,V\\rangle$."
            },
            {
              "text": "The final numerator and denominator are smooth functions of $t$, and the denominator is positive because $V_i(t)\\ne0$. Hence $h_i$ is smooth. When $\\beta(0)=p$, choosing $V_i(0)$ principal gives $h_i(0)=k_i(p)$; the field need not remain principal away from $p$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "k_V"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "II"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "V"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "symbol",
                        "text": "V"
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "V"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "symbol",
                        "text": "V"
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "II"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "V"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "V"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "⟨"
                  },
                  {
                    "kind": "symbol",
                    "text": "V"
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "symbol",
                    "text": "V"
                  },
                  {
                    "kind": "symbol",
                    "text": "⟩"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "h_i"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "t"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "II_beta"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "V_i"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "t"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "V_i"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "t"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "⟨"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "V_i"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "t"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "V_i"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "t"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "⟩"
                  }
                ]
              }
            }
          ]
        }
      ],
      "type": "equation-practice",
      "recallPrompt": "Normalize a nonzero tangent vector $V$ to compute $k_V$. Deduce a formula for $h_i(t)$ along a surface curve $\\beta(t)$ and nonzero tangent field $V_i(t)$ that makes its smoothness apparent.",
      "multiplier": 2
    },
    {
      "id": "compute-l10-hilbert-product-derivative",
      "title": "Hilbert proof: differentiate the normalizing factor",
      "prompt": "Let $B(t)=Q(t)^{-1/2}$, with $Q(0)=1$, $Q^{\\prime}(0)=0$ and $Q^{\\prime\\prime}(0)=2a^2$, where $a=f_{uu}(0,0)$ in the adapted graph. Compute $B^{\\prime\\prime}(0)$: show the two chain-rule terms using $Q$, then substitute and simplify.",
      "learningVersion": 2,
      "editor": {
        "palette": [
          {
            "tool": "B''",
            "label": "B''"
          },
          {
            "tool": "Q",
            "label": "Q"
          },
          {
            "tool": "Q'",
            "label": "Q'"
          },
          {
            "tool": "Q''",
            "label": "Q''"
          },
          {
            "tool": "a",
            "label": "a"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3",
          "4",
          "5"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "B''"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "3"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "4"
                  }
                ]
              }
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "Q"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "fraction",
                        "top": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "5"
                            }
                          ]
                        },
                        "bottom": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "Q'"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "1"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "Q"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "fraction",
                        "top": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "3"
                            }
                          ]
                        },
                        "bottom": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "Q''"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "1"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "×"
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "a"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "a"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The first derivative is $B^{\\prime}=-\\tfrac12Q^{-3/2}Q^{\\prime}$. Differentiating $Q^{-3/2}$ supplies another negative factor: $(-\\tfrac12)(-\\tfrac32)=+\\tfrac34$."
            },
            {
              "text": "Thus $B^{\\prime\\prime}=\\tfrac34Q^{-5/2}(Q^{\\prime})^2-\\tfrac12Q^{-3/2}Q^{\\prime\\prime}$. At zero, the first term vanishes because $Q^{\\prime}(0)=0$, and the second gives $-a^2$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "B''": [
            "t"
          ],
          "Q": [
            "t"
          ],
          "Q'": [
            "t"
          ],
          "Q''": [
            "t"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "B''"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "3"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "4"
                  }
                ]
              }
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "Q"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "fraction",
                        "top": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "5"
                            }
                          ]
                        },
                        "bottom": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "Q'"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "1"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "Q"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "fraction",
                        "top": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "3"
                            }
                          ]
                        },
                        "bottom": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "Q''"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "1"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "×"
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "a"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "a"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            }
          ]
        }
      ],
      "type": "equation-practice",
      "recallPrompt": "Compute $B^{\\prime\\prime}(0)$ for $B=Q^{-1/2}$, given $Q(0)=1$, $Q^{\\prime}(0)=0$, $Q^{\\prime\\prime}(0)=2a^2$.",
      "multiplier": 2
    },
    {
      "id": "compute-l10-rigidity-product",
      "title": "Constant positive Gaussian curvature transfers extrema",
      "prompt": "Assume $k_1k_2=c>0$ and $k_1>0$. Let $p$ minimize $k_1$. For any point $q$, first write the resulting inequality for $k_1(q)-k_1(p)$. Then, separated by a comma, start with $k_2(q)-k_2(p)$, substitute $k_2=c/k_1$, combine the fractions and finish with $\\le 0$, proving that $p$ maximizes $k_2$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "k_2",
            "label": "k_2"
          },
          {
            "tool": "q",
            "label": "q"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "c",
            "label": "c"
          },
          {
            "tool": "k_1",
            "label": "k_1"
          },
          {
            "tool": "≤",
            "label": "≤"
          },
          {
            "tool": "≥",
            "label": "≥"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "k_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "q"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "k_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "p"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "≥"
                },
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "k_2"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "q"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "k_2"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "p"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "c"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "k_1"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "q"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "c"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "k_1"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "p"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "c"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "k_1"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "p"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "symbol",
                    "text": "k_1"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "q"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "k_1"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "q"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "symbol",
                    "text": "k_1"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "p"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "≤"
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The numerator is nonpositive and the denominator positive, so $k_2(q)\\le k_2(p)$. Thus the same point maximizes $k_2$."
            },
            {
              "text": "For a compact surface with constant Gaussian curvature, positivity follows from the farthest-point theorem; it need not be assumed in the sphere theorem."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "k_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "q"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "k_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "p"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "≥"
                },
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "k_2"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "q"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "k_2"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "p"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "c"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "k_1"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "q"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "c"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "k_1"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "p"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "c"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "k_1"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "p"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "symbol",
                    "text": "k_1"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "q"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "k_1"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "q"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "symbol",
                    "text": "k_1"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "p"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "≤"
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "Assume $k_1k_2=c>0$ and $k_1>0$. Let $p$ minimize $k_1$. For any point $q$, first write the resulting inequality for $k_1(q)-k_1(p)$. Then, separated by a comma, start with $k_2(q)-k_2(p)$, substitute $k_2=c/k_1$, combine the fractions and finish with $\\le 0$, proving that $p$ maximizes $k_2$."
    },
    {
      "id": "compute-l10-sphere-center",
      "title": "Find the center when the shape operator is constant",
      "prompt": "Let $X:U\\to S$ parametrize a surface with unit normal $N:S\\to\\mathbb R^3$. Suppose $-dN=cI$, with constant $c\\ne0$. Put $O=X+(N\\circ X)/c$. For $q\\in U$ and $x\\in\\mathbb R^2$, show that $dO_q(x)=0$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dO_q",
            "label": "dO_q"
          },
          {
            "tool": "dX_q",
            "label": "dX_q"
          },
          {
            "tool": "dNX_q",
            "label": "dNX_q"
          },
          {
            "tool": "dN_Xq",
            "label": "dN_Xq"
          },
          {
            "tool": "x",
            "label": "x"
          },
          {
            "tool": "c",
            "label": "c"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "dO_q"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dX_q"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "x"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "1"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "c"
                      }
                    ]
                  }
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dNX_q"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "x"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dX_q"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "x"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "1"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "c"
                      }
                    ]
                  }
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dN_Xq"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "dX_q"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "x"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dX_q"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "x"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dX_q"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "x"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The chain rule makes the two tangent spaces explicit: $x\\in T_qU\\cong\\mathbb R^2$, whereas $dX_q(x)\\in T_{X(q)}S$.",
          "steps": [
            {
              "text": "Since $c$ is constant, differentiation gives $dO_q(x)=dX_q(x)+d(N\\circ X)_q(x)/c$. The chain rule gives $d(N\\circ X)_q(x)=dN_{X(q)}(dX_q(x))$."
            },
            {
              "text": "The hypothesis $-dN=cI$ applies to the surface tangent vector $dX_q(x)$, so $dN_{X(q)}(dX_q(x))=-c\\,dX_q(x)$."
            },
            {
              "text": "On a connected parameter domain, $dO=0$ makes $O$ constant. Since $N$ is a unit normal, $\\|X-O\\|=1/|c|$, so the parametrized surface lies on the sphere centered at $O$ with radius $1/|c|$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "dO_q"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dX_q"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "x"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "1"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "c"
                      }
                    ]
                  }
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dNX_q"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "x"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dX_q"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "x"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "1"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "c"
                      }
                    ]
                  }
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dN_Xq"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "dX_q"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "x"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dX_q"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "x"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dX_q"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "x"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "Let $X:U\\to S$ parametrize a surface with unit normal $N:S\\to\\mathbb R^3$. Suppose $-dN=cI$, with constant $c\\ne0$. Put $O=X+(N\\circ X)/c$. For $q\\in U$ and $x\\in\\mathbb R^2$, show that $dO_q(x)=0$."
    },
    {
      "id": "compute-l9-hessian-minimum-test",
      "title": "A local minimum has a nonnegative second derivative",
      "prompt": "Let $g$ be smooth near $0$, with a local (not necessarily strict) minimum at $0$. By Taylor’s theorem, write $g(t)=g(0)+g^{\\prime}(0)t+g^{\\prime\\prime}(0)t^2/2+r(t)$, where $r(t)=o(t^2)$. Prove that $g^{\\prime\\prime}(0)\\ge0$: express $g^{\\prime\\prime}(0)$ as a limit using $g(t)+g(-t)-2g(0)$, bound it below using the minimum, and evaluate the resulting limit.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "g",
            "label": "g"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "g''",
            "label": "g''"
          },
          {
            "tool": "r",
            "label": "r"
          },
          {
            "tool": "lim_t0",
            "label": "lim_t0"
          },
          {
            "tool": "≥",
            "label": "≥"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "g''"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "lim_t0"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "g"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "g"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "2"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "g"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "0"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "r"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "r"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "t"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "≥"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "lim_t0"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "r"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "r"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "t"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Let $g$ be smooth near $0$, with a local (not necessarily strict) minimum at $0$. By Taylor’s theorem, write $g(t)=g(0)+g^{\\prime}(0)t+g^{\\prime\\prime}(0)t^2/2+r(t)$, where $r(t)=o(t^2)$. Prove that $g^{\\prime\\prime}(0)\\ge0$: express $g^{\\prime\\prime}(0)$ as a limit using $g(t)+g(-t)-2g(0)$, bound it below using the minimum, and evaluate the resulting limit.",
          "steps": [
            {
              "text": "Adding the Taylor expansions at $t$ and $-t$ cancels the linear terms and gives $g(t)+g(-t)-2g(0)=g^{\\prime\\prime}(0)t^2+r(t)+r(-t)$. For $t\\ne0$, rearrange and divide by $t^2$."
            },
            {
              "text": "At a local minimum, $g(t)-g(0)\\ge0$ and $g(-t)-g(0)\\ge0$ for sufficiently small $t$. Dropping their sum gives the lower bound. Since $r(t)=o(t^2)$, both remainder quotients tend to zero."
            },
            {
              "text": "Smoothness is stronger than necessary. The argument requires only the displayed second-order expansion with remainder $o(t^2)$. Twice differentiability at $0$ suffices for this Peano expansion; continuity of the second derivative is unnecessary."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "g": [
            "t"
          ],
          "r": [
            "t"
          ],
          "g''": [
            "t"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "g''"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "lim_t0"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "g"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "g"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "2"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "g"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "0"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "r"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "r"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "t"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "≥"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "lim_t0"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "r"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "r"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "t"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "If smooth $g$ has a local minimum at $0$, use its second-order Taylor expansion to prove $g''(0)\\ge0$."
    },
    {
      "id": "compute-l9-hessian-minimum-semidefinite",
      "title": "The Hessian at a local minimum is nonnegative",
      "prompt": "Let $f:S\\to\\mathbb R$ be smooth and have a local minimum at $p$. For arbitrary $v\\in T_pS$, choose a smooth curve $\\alpha$ in $S$ with $\\alpha(0)=p$ and $\\alpha^{\\prime}(0)=v$. Using the definition of $\\operatorname{Hess}_p f(v,v)$ and the univariate second-derivative test, show that $\\operatorname{Hess}_p f(v,v)\\ge0$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "Hf_p",
            "label": "Hf_p"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "f_alpha",
            "label": "f_alpha"
          },
          {
            "tool": "'",
            "label": "'"
          },
          {
            "tool": "≥",
            "label": "≥"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "Hf_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "f_alpha"
                },
                {
                  "kind": "symbol",
                  "text": "'"
                },
                {
                  "kind": "symbol",
                  "text": "'"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "≥"
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Let $f:S\\to\\mathbb R$ be smooth and have a local minimum at $p$. For arbitrary $v\\in T_pS$, choose a smooth curve $\\alpha$ in $S$ with $\\alpha(0)=p$ and $\\alpha^{\\prime}(0)=v$. Using the definition of $\\operatorname{Hess}_p f(v,v)$ and the univariate second-derivative test, show that $\\operatorname{Hess}_p f(v,v)\\ge0$.",
          "steps": [
            {
              "text": "A local minimum is a critical point, as proved in L4C: $df_p=0$ on $T_pS$. Therefore the curve definition of the Hessian applies and is independent of the chosen curve with velocity $v$."
            },
            {
              "text": "The univariate function $f\\circ\\alpha$ has a local minimum at $0$. The preceding card gives $(f\\circ\\alpha)^{\\prime\\prime}(0)\\ge0$, which is precisely $\\operatorname{Hess}_p f(v,v)\\ge0$."
            },
            {
              "text": "Since $v$ was arbitrary, the Hessian is positive semidefinite. A non-strict local minimum does not imply positive definiteness."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "Hf_p": [
            "v",
            "w"
          ],
          "f": [
            "p"
          ],
          "α": [
            "t"
          ],
          "f_alpha": [
            "t"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "Hf_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "f_alpha"
                },
                {
                  "kind": "symbol",
                  "text": "'"
                },
                {
                  "kind": "symbol",
                  "text": "'"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "≥"
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "type": "equation-practice",
      "recallPrompt": "For a local minimum of $f$ at $p$, use a surface curve of initial velocity $v$ to prove $\\operatorname{Hess}_p f(v,v)\\ge0$."
    },
    {
      "id": "compute-l9-hessian-positive-test",
      "title": "Why positive definiteness gives a strict minimum",
      "prompt": "Let $f:S\\to\\mathbb R$ be smooth and critical at $p=X(q)$, put $h=f\\circ X$, and suppose $Q(v)=\\operatorname{Hess}_p f(v,v)$ is positive definite. Let $m=\\min_{\\|u\\|=1}Q(dX_q(u))>0$. We have $h(q+x)=h(q)+\\frac12Q(dX_q(x))+r(x)$, with $|r(x)|\\le\\frac m4\\|x\\|^2$ for sufficiently small $x$. Use these facts to show that $h$ has a strict local minimum at $q$.",
      "learningVersion": 2,
      "editor": {
        "palette": [
          {
            "tool": "h",
            "label": "h"
          },
          {
            "tool": "q",
            "label": "q"
          },
          {
            "tool": "x",
            "label": "x"
          },
          {
            "tool": "Q",
            "label": "Q"
          },
          {
            "tool": "dX_q",
            "label": "dX_q"
          },
          {
            "tool": "r",
            "label": "r"
          },
          {
            "tool": "m",
            "label": "m"
          },
          {
            "tool": "≥",
            "label": "≥"
          },
          {
            "tool": ">",
            "label": ">"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3",
          "4"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "h"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "q"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "x"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "h"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "q"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "Q"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "dX_q"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "x"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "r"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "x"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "≥"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "m"
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "||"
                            },
                            {
                              "kind": "symbol",
                              "text": "x"
                            },
                            {
                              "kind": "symbol",
                              "text": "||"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "|"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "r"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "x"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "|"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "≥"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "m"
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "||"
                        },
                        {
                          "kind": "symbol",
                          "text": "x"
                        },
                        {
                          "kind": "symbol",
                          "text": "||"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "4"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ">"
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Take a sufficiently small nonzero coordinate increment $x$.",
          "steps": [
            {
              "text": "Linearity of $dX_q$ and quadratic homogeneity give $Q(dX_q(x))=\\|x\\|^2Q(dX_q(x/\\|x\\|))\\ge m\\|x\\|^2$. Also $r(x)\\ge-|r(x)|$."
            },
            {
              "text": "The given remainder bound yields $h(q+x)-h(q)\\ge m\\|x\\|^2/4>0$. The last inequality uses $m>0$ and $x\\ne0$, proving the strict local minimum."
            },
            {
              "text": "The minimum defining $m$ exists and is positive because $u\\mapsto Q(dX_q(u))$ is continuous and positive on the compact unit circle, and $dX_q$ is an isomorphism onto $T_pS$."
            },
            {
              "text": "The stated expansion comes from second-order multivariable Taylor at $q$. Criticality gives $dh_q=0$, and the quadratic term is $Q(dX_q(x))/2$. Its remainder satisfies $r(x)=o(\\|x\\|^2)$, giving the stated bound uniformly over all directions for sufficiently small $x$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "x": "vector",
          "q": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {
          "h": [
            "x"
          ],
          "Q": [
            "v"
          ],
          "dX_q": [
            "x"
          ],
          "r": [
            "x"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "h"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "q"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "x"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "h"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "q"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "Q"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "dX_q"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "x"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "r"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "x"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "≥"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "m"
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "||"
                            },
                            {
                              "kind": "symbol",
                              "text": "x"
                            },
                            {
                              "kind": "symbol",
                              "text": "||"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "|"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "r"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "x"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "|"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "≥"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "m"
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "||"
                        },
                        {
                          "kind": "symbol",
                          "text": "x"
                        },
                        {
                          "kind": "symbol",
                          "text": "||"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "4"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ">"
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "type": "equation-practice",
      "multiplier": 2,
      "recallPrompt": "Let $m=\\min_{\\|u\\|=1}Q(dX_q(u))>0$. Given $h(q+x)-h(q)=\\frac12Q(dX_q(x))+r(x)$ and $|r(x)|\\le\\frac m4\\|x\\|^2$ near zero, prove a strict minimum at $q$."
    },
    {
      "id": "compute-l10-hilbert-extremum-transfer",
      "title": "Transfer the minimum curvature to the test function",
      "prompt": "Let $k_1\\le k_2$ be the principal curvatures, with a local minimum of $k_1$ and a local maximum of $k_2$ at $p=X(0,0)$. Choose a chart whose $X_u,X_v$ directions at $p$ are principal for $k_1,k_2$, respectively. Let $h_1(t)$ be the normal curvature in direction $X_u$ at $X(0,t)$, and $h_2(t)$ that in direction $X_v$ at $X(t,0)$. Split $h_1(t)-h_1(0)$ through $k_1(X(0,t))$ to show that $h_1$ has a local minimum at zero.",
      "learningVersion": 2,
      "editor": {
        "palette": [
          {
            "tool": [
              "h_1",
              "(",
              "t",
              ")"
            ],
            "label": "h_1(t)"
          },
          {
            "tool": [
              "h_1",
              "(",
              "0",
              ")"
            ],
            "label": "h_1(0)"
          },
          {
            "tool": [
              "k_1",
              "(",
              "X",
              "(",
              "0",
              ",",
              "t",
              ")",
              ")"
            ],
            "label": "k_1(X(0,t))"
          },
          {
            "tool": "≥",
            "label": "≥"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "h_1"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "t"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "h_1"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "h_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "t"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "k_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "X"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "0"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "k_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "X"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "0"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "h_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "≥"
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "definition",
        "definition": "The first difference is nonnegative because $k_1$ bounds every normal curvature below. The second is nonnegative because $k_1$ has a local minimum and $h_1(0)=k_1(p)$. The tangent field need only be principal at $p$. Likewise, $h_2(t)\\le k_2(X(t,0))\\le k_2(p)=h_2(0)$, so $h_2$ has a local maximum at zero. These bounds follow from the smallest and largest eigenvalues of the self-adjoint shape operator."
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "h_1": [
            "t"
          ],
          "k_1": [
            "t"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "h_1"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "t"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "h_1"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "h_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "t"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "k_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "X"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "0"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "k_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "X"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "0"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "h_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "≥"
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "type": "equation-practice",
      "recallPrompt": "Let $k_1\\le k_2$ be the principal curvatures, with a local minimum of $k_1$ and a local maximum of $k_2$ at $p=X(0,0)$. Choose a chart whose $X_u,X_v$ directions at $p$ are principal for $k_1,k_2$, respectively. Let $h_1(t)$ be the normal curvature in direction $X_u$ at $X(0,t)$, and $h_2(t)$ that in direction $X_v$ at $X(t,0)$. Split $h_1(t)-h_1(0)$ through $k_1(X(0,t))$ to show that $h_1$ has a local minimum at zero.",
      "multiplier": 2
    },
    {
      "id": "compute-l4-jacobian-tangent",
      "title": "The Jacobian maps into the tangent plane",
      "prompt": "Let $X:U\\subset\\mathbb R^2\\to S$ be a regular parametrization and $q\\in U$. Define $dX_q(x)$ as the Jacobian of $X$ at $q$ multiplied by $x$, and $T_{X(q)}S=\\operatorname{span}\\{X_u(q),X_v(q)\\}$. For every $x=(a,b)\\in\\mathbb R^2$, show that $dX_q(x)\\in T_{X(q)}S$ by writing the Jacobian product and expanding it as a linear combination of these two vectors.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dX_q",
            "label": "dX_q"
          },
          {
            "tool": "x",
            "label": "x"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "q",
            "label": "q"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "column",
            "label": "column"
          },
          {
            "tool": "matrix-1x2",
            "label": "matrix-1x2"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "dX_q"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "q"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "q"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "matrix",
                  "cols": 1,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "a"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "b"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "q"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "b"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "q"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Let $X:U\\subset\\mathbb R^2\\to S$ be a regular parametrization and $q\\in U$. Define $dX_q(x)$ as the Jacobian of $X$ at $q$ multiplied by $x$, and $T_{X(q)}S=\\operatorname{span}\\{X_u(q),X_v(q)\\}$. For every $x=(a,b)\\in\\mathbb R^2$, show that $dX_q(x)\\in T_{X(q)}S$ by writing the Jacobian product and expanding it as a linear combination of these two vectors.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "dX_q"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "x"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "matrix",
                        "cols": 2,
                        "cells": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "X_u"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "q"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "X_v"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "q"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "kind": "matrix",
                        "cols": 1,
                        "cells": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "a"
                              }
                            ]
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "b"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "q"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "b"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "q"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            },
            {
              "text": "The Jacobian is the matrix with columns $X_u(q)$ and $X_v(q)$, written $(X_u(q),X_v(q))$."
            },
            {
              "text": "Matrix multiplication gives $aX_u(q)+bX_v(q)$."
            },
            {
              "text": "This is a linear combination of the two spanning vectors, hence belongs to $T_{X(q)}S$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "dX_q": [
            "x"
          ],
          "X_u": [
            "q"
          ],
          "X_v": [
            "q"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true,
        "matrixShapes": {}
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "dX_q"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "q"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "q"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "matrix",
                  "cols": 1,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "a"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "b"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "q"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "b"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "q"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "type": "equation-practice"
    },
    {
      "id": "compute-l4-curve-tangent",
      "title": "The curve derivative lies in the tangent plane",
      "prompt": "Let $X:U\\subset\\mathbb R^2\\to S$ be a regular parametrization and $q\\in U$. For $x=(a,b)\\in\\mathbb R^2$, define $dX_q(x)=\\left.\\frac d{dt}\\right|_{t=0}X(\\beta(t))$, where $\\beta(t)=(u(t),v(t))\\in U$, $\\beta(0)=q$ and $\\beta^{\\prime}(0)=(u^{\\prime}(0),v^{\\prime}(0))=(a,b)$. With $T_{X(q)}S=\\operatorname{span}\\{X_u(q),X_v(q)\\}$, show that $dX_q(x)\\in T_{X(q)}S$ by substituting the curve definition and applying the chain rule.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dX_q",
            "label": "dX_q"
          },
          {
            "tool": "x",
            "label": "x"
          },
          {
            "tool": "D_0",
            "label": "D_0"
          },
          {
            "tool": "X",
            "label": "X"
          },
          {
            "tool": "β",
            "label": "β"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "q",
            "label": "q"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "u'",
            "label": "u'"
          },
          {
            "tool": "v'",
            "label": "v'"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "dX_q"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "D_0"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "β"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "q"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "u'"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "q"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "v'"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "q"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "b"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "q"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Let $X:U\\subset\\mathbb R^2\\to S$ be a regular parametrization and $q\\in U$. For $x=(a,b)\\in\\mathbb R^2$, define $dX_q(x)=\\left.\\frac d{dt}\\right|_{t=0}X(\\beta(t))$, where $\\beta(t)=(u(t),v(t))\\in U$, $\\beta(0)=q$ and $\\beta^{\\prime}(0)=(u^{\\prime}(0),v^{\\prime}(0))=(a,b)$. With $T_{X(q)}S=\\operatorname{span}\\{X_u(q),X_v(q)\\}$, show that $dX_q(x)\\in T_{X(q)}S$ by substituting the curve definition and applying the chain rule.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "dX_q"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "x"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "D_0"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "X"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "β"
                              },
                              {
                                "kind": "symbol",
                                "text": "("
                              },
                              {
                                "kind": "symbol",
                                "text": "t"
                              },
                              {
                                "kind": "symbol",
                                "text": ")"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_u"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "q"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      },
                      {
                        "kind": "symbol",
                        "text": "u'"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "X_v"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "q"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      },
                      {
                        "kind": "symbol",
                        "text": "v'"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "X_u"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "q"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "b"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "X_v"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "q"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            },
            {
              "text": "Write $\\beta(t)=(u(t),v(t))$. The chain rule gives $\\left.\\frac d{dt}\\right|_0X(\\beta(t))=X_u(q)u^{\\prime}(0)+X_v(q)v^{\\prime}(0)$."
            },
            {
              "text": "Substitute $u^{\\prime}(0)=a$ and $v^{\\prime}(0)=b$."
            },
            {
              "text": "This is a linear combination of the two spanning vectors, hence belongs to $T_{X(q)}S$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "dX_q": [
            "x"
          ],
          "X_u": [
            "q"
          ],
          "X_v": [
            "q"
          ],
          "X": [
            "q"
          ],
          "β": [
            "t"
          ],
          "u'": [
            "t"
          ],
          "v'": [
            "t"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "dX_q"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "D_0"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "β"
                        },
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "q"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "u'"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "q"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "v'"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "q"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "b"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "q"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "type": "equation-practice",
      "multiplier": 2,
      "recallPrompt": "For $\\beta(0)=q$ and $\\beta'(0)=(a,b)$, use the curve definition of $dX_q$ to show $dX_q(a,b)\\in\\operatorname{span}\\{X_u(q),X_v(q)\\}$."
    },
    {
      "id": "compute-l4-univariate-minimum",
      "title": "A local minimum has zero first derivative",
      "prompt": "Let $g$ be smooth near $0$ and have a local (not necessarily strict) minimum at $0$. Taylor’s first-order expansion gives $g(t)=g(0)+g^{\\prime}(0)t+r(t)$ with $r(t)=o(t)$. Prove $g^{\\prime}(0)=0$ by writing two computations separated by a comma: express $g^{\\prime}(0)$ as the limit of $(g(t)-g(0))/t$ first as $t\\to0^+$ and then as $t\\to0^-$, and compare each with zero.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "g",
            "label": "g"
          },
          {
            "tool": "g'",
            "label": "g'"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "lim_t0plus",
            "label": "lim_t0plus"
          },
          {
            "tool": "lim_t0minus",
            "label": "lim_t0minus"
          },
          {
            "tool": "≥",
            "label": "≥"
          },
          {
            "tool": "≤",
            "label": "≤"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "g'"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "lim_t0plus"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "g"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "g"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "0"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "t"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "≥"
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "g'"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "lim_t0minus"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "g"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "g"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "0"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "t"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "≤"
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Let $g$ be smooth near $0$ and have a local (not necessarily strict) minimum at $0$. Taylor’s first-order expansion gives $g(t)=g(0)+g^{\\prime}(0)t+r(t)$ with $r(t)=o(t)$. Prove $g^{\\prime}(0)=0$ by writing two computations separated by a comma: express $g^{\\prime}(0)$ as the limit of $(g(t)-g(0))/t$ first as $t\\to0^+$ and then as $t\\to0^-$, and compare each with zero.",
          "steps": [
            {
              "text": "For sufficiently small $t$, the numerator $g(t)-g(0)$ is nonnegative. Division by positive $t$ gives a nonnegative quotient; division by negative $t$ gives a nonpositive quotient."
            },
            {
              "text": "Taylor’s expansion gives $(g(t)-g(0))/t=g^{\\prime}(0)+r(t)/t$, so both one-sided limits equal $g^{\\prime}(0)$. The two computations give $g^{\\prime}(0)\\ge0$ and $g^{\\prime}(0)\\le0$, hence $g^{\\prime}(0)=0$."
            },
            {
              "text": "Only differentiability at $0$ is needed. The same limits follow directly from the derivative’s definition; smoothness is stronger than necessary."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "g": [
            "t"
          ],
          "g'": [
            "t"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "g'"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "lim_t0plus"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "g"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "g"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "0"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "t"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "≥"
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "g'"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "lim_t0minus"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "g"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "t"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "g"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "0"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "t"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "≤"
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice"
    },
    {
      "id": "compute-l4-minimum-critical",
      "title": "A surface minimum is a critical point",
      "prompt": "Let $f:S\\to\\mathbb R$ be smooth and have a local minimum at $p$. For arbitrary $v\\in T_pS$, choose a smooth surface curve $\\alpha$ with $\\alpha(0)=p$ and $\\alpha^{\\prime}(0)=v$. Show that $df_p(v)=0$ by expressing it as a derivative along $\\alpha$ and applying the univariate first-derivative test. Thus $p$ is critical: its differential vanishes on the tangent plane.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "df_p",
            "label": "df_p"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "f_alpha",
            "label": "f_alpha"
          },
          {
            "tool": "'",
            "label": "'"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "df_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "f_alpha"
                },
                {
                  "kind": "symbol",
                  "text": "'"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Let $f:S\\to\\mathbb R$ be smooth and have a local minimum at $p$. For arbitrary $v\\in T_pS$, choose a smooth surface curve $\\alpha$ with $\\alpha(0)=p$ and $\\alpha^{\\prime}(0)=v$. Show that $df_p(v)=0$ by expressing it as a derivative along $\\alpha$ and applying the univariate first-derivative test.",
          "steps": [
            {
              "text": "A differentiable univariate function $g$ with a local minimum at $0$ satisfies $g^{\\prime}(0)=0$: the difference quotients are nonnegative from the right and nonpositive from the left, so their common limit is zero."
            },
            {
              "text": "Here $g=f\\circ\\alpha$ has a local minimum at $0$ because $\\alpha(0)=p$ and nearby points of the curve lie on the surface near $p$. The chain rule identifies $g^{\\prime}(0)$ with $df_p(v)$."
            },
            {
              "text": "Every tangent vector can be represented by such a curve: for $p=X(q)$ and $v=dX_q(x)$, take $\\alpha(t)=X(q+tx)$ for sufficiently small positive and negative $t$. Since $v$ is arbitrary, $df_p=0$ on $T_pS$: $p$ is critical."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "df_p": [
            "v"
          ],
          "f": [
            "p"
          ],
          "α": [
            "t"
          ],
          "f_alpha": [
            "t"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "df_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "f_alpha"
                },
                {
                  "kind": "symbol",
                  "text": "'"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "type": "equation-practice",
      "recallPrompt": "How does the univariate first-derivative test prove that a surface minimum is a critical point?"
    },
    {
      "id": "compute-l9-second-differential-chain-rule",
      "title": "The second-order chain rule in differential notation",
      "prompt": "Put $h=f\\circ X$, let $\\beta(t)=(u(t),v(t))$, and let $\\alpha=X\\circ\\beta$. Expand $(h\\circ\\beta)^{\\prime\\prime}(t)$ by the chain and product rules, then express the result using the first and second differentials of $h$. Suppress $t$ in the answer: write $\\beta,\\beta^{\\prime},\\beta^{\\prime\\prime}$ for their values at $t$, and evaluate all partial derivatives of $h$ at $\\beta(t)$. Start with $\\frac{d^2}{dt^2}h(u,v)$ and proceed directly to the coordinate expansion. Here $D^2h(z)$ is the second differential, the symmetric bilinear form whose matrix is the matrix of second partial derivatives of $h$ at $z$; $dh_z$ is the first differential.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "d²/dt²",
            "label": "d²/dt²"
          },
          {
            "tool": "h",
            "label": "h"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "h_u",
            "label": "h_u"
          },
          {
            "tool": "u'",
            "label": "u'"
          },
          {
            "tool": "h_v",
            "label": "h_v"
          },
          {
            "tool": "v'",
            "label": "v'"
          },
          {
            "tool": "h_uu",
            "label": "h_uu"
          },
          {
            "tool": "h_uv",
            "label": "h_uv"
          },
          {
            "tool": "h_vv",
            "label": "h_vv"
          },
          {
            "tool": "u''",
            "label": "u''"
          },
          {
            "tool": "v''",
            "label": "v''"
          },
          {
            "tool": "D2h_beta",
            "label": "D2h_beta"
          },
          {
            "tool": "β'",
            "label": "β'"
          },
          {
            "tool": "dh_beta",
            "label": "dh_beta"
          },
          {
            "tool": "β''",
            "label": "β''"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "d²/dt²"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "h"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "h_uu"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "u'"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "h_uv"
                },
                {
                  "kind": "symbol",
                  "text": "u'"
                },
                {
                  "kind": "symbol",
                  "text": "v'"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "h_vv"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v'"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "h_u"
                },
                {
                  "kind": "symbol",
                  "text": "u''"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "h_v"
                },
                {
                  "kind": "symbol",
                  "text": "v''"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "D2h_beta"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "β'"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "β'"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dh_beta"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "β''"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "d²/dt²"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "h"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "u"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "v"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "h_uu"
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "u'"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "2"
                      },
                      {
                        "kind": "symbol",
                        "text": "h_uv"
                      },
                      {
                        "kind": "symbol",
                        "text": "u'"
                      },
                      {
                        "kind": "symbol",
                        "text": "v'"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "h_vv"
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "v'"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "h_u"
                      },
                      {
                        "kind": "symbol",
                        "text": "u''"
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "symbol",
                        "text": "h_v"
                      },
                      {
                        "kind": "symbol",
                        "text": "v''"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "D2h_beta"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "β'"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "β'"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "dh_beta"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "β''"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            },
            {
              "text": "First apply the chain rule to obtain $h_u u^{\\prime}+h_v v^{\\prime}$. Differentiate this expression by the product rule, then combine the equal mixed partial derivatives."
            },
            {
              "text": "The second differential satisfies $D^2h(\\beta)(\\beta^{\\prime},\\beta^{\\prime})=h_{uu}(u^{\\prime})^2+2h_{uv}u^{\\prime}v^{\\prime}+h_{vv}(v^{\\prime})^2$. The first differential contributes $dh_{\\beta}(\\beta^{\\prime\\prime})=h_u u^{\\prime\\prime}+h_v v^{\\prime\\prime}$."
            },
            {
              "text": "No criticality is assumed in this identity. At a critical point, $dh_{\\beta}=0$ kills the acceleration term at that point. Along an affine line $\\beta(t)=q+tx$, instead $\\beta^{\\prime\\prime}(t)=0$ kills it for every $t$, even at noncritical points."
            }
          ],
          "intro": "Rewrite the coordinate chain-rule calculation using the first and second differentials. This notation packages the same velocity and acceleration terms."
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "h": [
            "u",
            "v"
          ],
          "D2h_beta": [
            "x",
            "y"
          ],
          "dh_beta": [
            "x"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "d²/dt²"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "h"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "h_uu"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "u'"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "h_uv"
                },
                {
                  "kind": "symbol",
                  "text": "u'"
                },
                {
                  "kind": "symbol",
                  "text": "v'"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "h_vv"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v'"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "h_u"
                },
                {
                  "kind": "symbol",
                  "text": "u''"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "h_v"
                },
                {
                  "kind": "symbol",
                  "text": "v''"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "D2h_beta"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "β'"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "β'"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "dh_beta"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "β''"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "For $\\beta(t)=(u(t),v(t))$, compute $(h\\circ\\beta)''$ in coordinates, then express it using $D^2h(\\beta)$ and $dh_\\beta$."
    },
    {
      "id": "compute-l9-hessian-second-differential",
      "title": "The surface Hessian in second-differential notation",
      "prompt": "Let $f:S\\to\\mathbb R$ be smooth and critical at $p=X(q)$, and put $h=f\\circ X$. For $v,w\\in T_pS$, express $\\operatorname{Hess}_p f(v,w)$ using $D^2h(q)$ and the inverse of $dX_q:\\mathbb R^2\\to T_pS$. Here $D^2h(q)$ is the second differential of $h$ at $q$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "Hf_p",
            "label": "Hf_p"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "w",
            "label": "w"
          },
          {
            "tool": "D2h_q",
            "label": "D2h_q"
          },
          {
            "tool": "dX_q",
            "label": "dX_q"
          },
          {
            "tool": "inverse",
            "label": "inverse"
          }
        ],
        "operations": [
          "=",
          "(",
          ")",
          ",",
          "power",
          "−"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "Hf_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "w"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "D2h_q"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "dX_q"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "1"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "dX_q"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "1"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "w"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "This is the coordinate construction of the Hessian, expressed without expanding the matrix entries.",
          "steps": [
            {
              "text": "Put $x=(dX_q)^{-1}(v)$ and $y=(dX_q)^{-1}(w)$. The coordinate computation established $Q(v)=D^2h(q)[x,x]$."
            },
            {
              "text": "The form $B(v,w)=D^2h(q)[(dX_q)^{-1}(v),(dX_q)^{-1}(w)]$ is symmetric bilinear, because $D^2h(q)$ is symmetric bilinear and $(dX_q)^{-1}$ is linear. Its diagonal is $Q$, so polarization identifies it uniquely with $\\operatorname{Hess}_p f$."
            },
            {
              "text": "Criticality is essential to this chart-independent surface Hessian: it removes the first-differential term under changes of coordinates. The ordinary second differential $D^2h(q)$ itself exists without criticality."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "v": "matrix",
          "w": "matrix",
          "dX_q": "matrix"
        },
        "matrixShapes": {
          "v": "column",
          "w": "column",
          "dX_q": "square"
        },
        "scalarProducts": true,
        "implicitArguments": {
          "Hf_p": [
            "v",
            "w"
          ],
          "D2h_q": [
            "x",
            "y"
          ],
          "dX_q": [
            "x"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "Hf_p"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "w"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "D2h_q"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "dX_q"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "1"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "dX_q"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "1"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "w"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            }
          ]
        }
      ],
      "type": "equation-practice",
      "recallPrompt": "At a critical point $p=X(q)$, put $h=f\\circ X$. Express $\\operatorname{Hess}_p f(v,w)$ using $D^2h(q)$ and $(dX_q)^{-1}$."
    },
    {
      "id": "compute-l11-parallel-curvature",
      "title": "Normal curvature along a parallel",
      "prompt": "For $X(u,v)=(f(v)\\cos u,f(v)\\sin u,g(v))$, with $f>0$ and a unit-speed profile, use $N=(g^{\\prime}\\cos u,g^{\\prime}\\sin u,-f^{\\prime})$ and $X_u=(-f\\sin u,f\\cos u,0)$. Compute the normal curvature $k_u$ in the $X_u$ direction by evaluating the relevant inner product. Start with $k_u=\\mathrm{II}(X_u,X_u)/\\|X_u\\|^2$. Then simplify. Elide the argument $(v)$ of $f$, $g$ and their derivatives for shortness.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "k_u",
            "label": "k_u"
          },
          {
            "tool": "II",
            "label": "II"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "X_uu",
            "label": "X_uu"
          },
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "g'",
            "label": "g'"
          },
          {
            "tool": "cos",
            "label": "cos"
          },
          {
            "tool": "sin",
            "label": "sin"
          },
          {
            "tool": "u",
            "label": "u"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "k_u"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "II"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_u"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_u"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "||"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "||"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "⟨"
                  },
                  {
                    "kind": "symbol",
                    "text": "N"
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "symbol",
                    "text": "X_uu"
                  },
                  {
                    "kind": "symbol",
                    "text": "⟩"
                  }
                ]
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "f"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "symbol",
                    "text": "f"
                  },
                  {
                    "kind": "symbol",
                    "text": "g'"
                  }
                ]
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "f"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "g'"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f"
                      }
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "k_u"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "II"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_u"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_u"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "||"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "||"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "⟨"
                  },
                  {
                    "kind": "symbol",
                    "text": "N"
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "symbol",
                    "text": "X_uu"
                  },
                  {
                    "kind": "symbol",
                    "text": "⟩"
                  }
                ]
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "f"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "symbol",
                    "text": "f"
                  },
                  {
                    "kind": "symbol",
                    "text": "g'"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "cos"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "u"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "sin"
                            },
                            {
                              "kind": "symbol",
                              "text": "("
                            },
                            {
                              "kind": "symbol",
                              "text": "u"
                            },
                            {
                              "kind": "symbol",
                              "text": ")"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  }
                ]
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "f"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "g'"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f"
                      }
                    ]
                  }
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 11, 21:30—26:40.",
          "steps": [
            {
              "text": "$\\|X_u\\|^2=f^2$. With our convention $S=-dN$, the second fundamental form gives $\\mathrm{II}(X_u,X_u)=\\langle N,X_{uu}\\rangle$ with no minus sign."
            },
            {
              "text": "$X_{uu}=(-f\\cos u,-f\\sin u,0)$, so $\\langle N,X_{uu}\\rangle=-fg^{\\prime}(\\cos^2u+\\sin^2u)=-fg^{\\prime}$. You may omit the trigonometric expansion in the answer."
            },
            {
              "text": "These are principal directions because $F=f_{\\mathrm{II}}=0$: the shape operator is diagonal in the basis $X_u,X_v$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "k_u"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "II"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_u"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_u"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "||"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "||"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "⟨"
                  },
                  {
                    "kind": "symbol",
                    "text": "N"
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "symbol",
                    "text": "X_uu"
                  },
                  {
                    "kind": "symbol",
                    "text": "⟩"
                  }
                ]
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "f"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "symbol",
                    "text": "f"
                  },
                  {
                    "kind": "symbol",
                    "text": "g'"
                  }
                ]
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "f"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "g'"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f"
                      }
                    ]
                  }
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "For $X(u,v)=(f(v)\\cos u,f(v)\\sin u,g(v))$, with $f>0$ and a unit-speed profile, use $N=(g^{\\prime}\\cos u,g^{\\prime}\\sin u,-f^{\\prime})$ and $X_u=(-f\\sin u,f\\cos u,0)$. How do you compute the normal curvature along a parallel using an inner product? Elide the argument $(v)$ of $f$, $g$ and their derivatives for shortness."
    },
    {
      "id": "compute-l11-meridian-curvature",
      "title": "Normal curvature along a meridian",
      "prompt": "For $X(u,v)=(f(v)\\cos u,f(v)\\sin u,g(v))$, with $f>0$ and a unit-speed profile, use $N=(g^{\\prime}\\cos u,g^{\\prime}\\sin u,-f^{\\prime})$ and $X_v=(f^{\\prime}\\cos u,f^{\\prime}\\sin u,g^{\\prime})$. Compute the normal curvature $k_v$ in the $X_v$ direction by evaluating the relevant inner product. Start with $k_v=\\mathrm{II}(X_v,X_v)/\\|X_v\\|^2$. Then simplify. Elide the argument $(v)$ of $f$, $g$ and their derivatives for shortness.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "k_v",
            "label": "k_v"
          },
          {
            "tool": "II",
            "label": "II"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "X_vv",
            "label": "X_vv"
          },
          {
            "tool": "g'",
            "label": "g'"
          },
          {
            "tool": "f''",
            "label": "f''"
          },
          {
            "tool": "f'",
            "label": "f'"
          },
          {
            "tool": "g''",
            "label": "g''"
          },
          {
            "tool": "cos",
            "label": "cos"
          },
          {
            "tool": "sin",
            "label": "sin"
          },
          {
            "tool": "u",
            "label": "u"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "k_v"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "II"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_v"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_v"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "||"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "||"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_vv"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "g'"
                },
                {
                  "kind": "symbol",
                  "text": "f''"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "f'"
                },
                {
                  "kind": "symbol",
                  "text": "g''"
                }
              ]
            }
          ]
        },
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "k_v"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "II"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_v"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_v"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "||"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "||"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_vv"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "g'"
                },
                {
                  "kind": "symbol",
                  "text": "f''"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "cos"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "u"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "sin"
                          },
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "symbol",
                            "text": "u"
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "f'"
                },
                {
                  "kind": "symbol",
                  "text": "g''"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "g'"
                },
                {
                  "kind": "symbol",
                  "text": "f''"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "f'"
                },
                {
                  "kind": "symbol",
                  "text": "g''"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Lecture 11, 21:30—26:40.",
          "steps": [
            {
              "text": "The profile is unit speed, so $\\|X_v\\|^2=f^{\\prime2}+g^{\\prime2}=1$. With our convention $S=-dN$, $\\mathrm{II}(X_v,X_v)=\\langle N,X_{vv}\\rangle$."
            },
            {
              "text": "$X_{vv}=(f^{\\prime\\prime}\\cos u,f^{\\prime\\prime}\\sin u,g^{\\prime\\prime})$, so $\\langle N,X_{vv}\\rangle=g^{\\prime}f^{\\prime\\prime}(\\cos^2u+\\sin^2u)-f^{\\prime}g^{\\prime\\prime}=g^{\\prime}f^{\\prime\\prime}-f^{\\prime}g^{\\prime\\prime}$. The trigonometric expansion is optional in the answer."
            },
            {
              "text": "These are principal directions because $F=f_{\\mathrm{II}}=0$: the shape operator is diagonal in the basis $X_u,X_v$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "k_v"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "II"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_v"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_v"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "||"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "||"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_vv"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "g'"
                },
                {
                  "kind": "symbol",
                  "text": "f''"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "f'"
                },
                {
                  "kind": "symbol",
                  "text": "g''"
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "For $X(u,v)=(f(v)\\cos u,f(v)\\sin u,g(v))$, with $f>0$ and a unit-speed profile, use $N=(g^{\\prime}\\cos u,g^{\\prime}\\sin u,-f^{\\prime})$ and $X_v=(f^{\\prime}\\cos u,f^{\\prime}\\sin u,g^{\\prime})$. How do you compute the normal curvature along a meridian using an inner product? Elide the argument $(v)$ of $f$, $g$ and their derivatives for shortness."
    },
    {
      "id": "compute-l11-normalize-u",
      "title": "Normal curvature in the X_u direction",
      "prompt": "For a regular surface chart $X$, compute the normal curvature $k_u$ in the $X_u$ direction. Start by normalizing $X_u$, use bilinearity of $\\mathrm{II}$, and finish with the standard fundamental-form coefficients $e,E$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "k_u",
            "label": "k_u"
          },
          {
            "tool": "II",
            "label": "II"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "e",
            "label": "e"
          },
          {
            "tool": "E",
            "label": "E"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "k_u"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "II"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_u"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "symbol",
                        "text": "X_u"
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_u"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "symbol",
                        "text": "X_u"
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "II"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_u"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_u"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "||"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "||"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "e"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "E"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Normal curvature is $\\mathrm{II}$ evaluated on a unit tangent. Bilinearity extracts one factor $1/\\|X_u\\|$ from each argument."
            },
            {
              "text": "By definition, $e=\\mathrm{II}(X_u,X_u)$ and $E=\\langle X_u,X_u\\rangle=\\|X_u\\|^2$. The coordinate direction need not be principal."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "k_u"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "II"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_u"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "symbol",
                        "text": "X_u"
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_u"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "symbol",
                        "text": "X_u"
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "II"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_u"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_u"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "||"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "||"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "e"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "E"
                  }
                ]
              }
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "How do you express normal curvature in the $X_u$ direction using the fundamental-form coefficients $e,E$? Show the normalization."
    },
    {
      "id": "compute-l11-normalize-v",
      "title": "Normal curvature in the X_v direction",
      "prompt": "For a regular surface chart $X$, compute the normal curvature $k_v$ in the $X_v$ direction. Start by normalizing $X_v$, use bilinearity of $\\mathrm{II}$, and finish with the standard fundamental-form coefficients $g,G$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "k_v",
            "label": "k_v"
          },
          {
            "tool": "II",
            "label": "II"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "g",
            "label": "g"
          },
          {
            "tool": "G",
            "label": "G"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "k_v"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "II"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_v"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "symbol",
                        "text": "X_v"
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_v"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "symbol",
                        "text": "X_v"
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "II"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_v"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_v"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "||"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "||"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "g"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "G"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Normal curvature is $\\mathrm{II}$ evaluated on a unit tangent. Bilinearity extracts one factor $1/\\|X_v\\|$ from each argument."
            },
            {
              "text": "By definition, $g=\\mathrm{II}(X_v,X_v)$ and $G=\\langle X_v,X_v\\rangle=\\|X_v\\|^2$. The coordinate direction need not be principal."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "X_v": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "k_v"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "II"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_v"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "symbol",
                        "text": "X_v"
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_v"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "symbol",
                        "text": "X_v"
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "II"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_v"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_v"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "||"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "||"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "g"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "G"
                  }
                ]
              }
            }
          ]
        }
      ],
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "How do you express normal curvature in the $X_v$ direction using the fundamental-form coefficients $g,G$? Show the normalization."
    },
    {
      "id": "compute-l12-area-gram",
      "title": "Cross-product norm and the Gram determinant",
      "prompt": "For a regular surface chart $X$, express $\\|X_u\\times X_v\\|$ using the Gram determinant of $X_u,X_v$, then $E,F,G$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": [
              "det",
              "(",
              ")"
            ],
            "label": "det()"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "G",
            "label": "G"
          }
        ],
        "operations": [
          "=",
          "−",
          "+",
          "(",
          ")",
          "square",
          "power",
          "sqrt",
          "matrix",
          "||",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "||"
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": "×"
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": "||"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "radical",
              "radicand": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "det"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "matrix",
                    "cols": 2,
                    "cells": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "E"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "F"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "F"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "G"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "radical",
              "radicand": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "E"
                  },
                  {
                    "kind": "symbol",
                    "text": "G"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The cross-product norm is the area of the parallelogram spanned by $X_u,X_v$. The Gram determinant is its squared area.",
          "steps": [
            {
              "text": "Alternatively, let $\\theta$ be the angle between $X_u,X_v$. Then $\\|X_u\\times X_v\\|^2=\\|X_u\\|^2\\|X_v\\|^2\\sin^2\\theta=\\|X_u\\|^2\\|X_v\\|^2(1-\\cos^2\\theta)=EG-F^2$. Take the positive square root; regularity makes the area positive."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "||"
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": "×"
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": "||"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "radical",
              "radicand": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "det"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "matrix",
                    "cols": 2,
                    "cells": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "E"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "F"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "F"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "G"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "radical",
              "radicand": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "E"
                  },
                  {
                    "kind": "symbol",
                    "text": "G"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      ],
      "type": "equation-practice",
      "recallPrompt": "How does the Gram determinant express the area $\\|X_u\\times X_v\\|$ in terms of $E,F,G$?"
    },
    {
      "id": "l12-vary-F",
      "title": "First variation of the metric coefficient F",
      "prompt": "For $X^t=X+thN$, let $\\dot F$ mean the derivative of $F^t$ at $t=0$. Express it using $h,f$, with $S=-dN$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dot_F",
            "label": "dot_F"
          },
          {
            "tool": "h",
            "label": "h"
          },
          {
            "tool": "f",
            "label": "f"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "dot_F"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "h"
            },
            {
              "kind": "symbol",
              "text": "f"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "$\\dot X_u=h_uN+hN_u$ and $\\dot X_v=h_vN+hN_v$.",
          "steps": [
            {
              "text": "Normality removes the terms containing $h_u,h_v$. Also $0=\\partial_u0=\\partial_u\\langle N,X_v\\rangle=\\langle N_u,X_v\\rangle+\\langle N,X_{uv}\\rangle$, so $\\langle N_u,X_v\\rangle=-f$. Similarly $\\langle X_u,N_v\\rangle=-f$."
            },
            {
              "text": "$\\displaystyle \\dot F=\\langle\\dot X_u,X_v\\rangle+\\langle X_u,\\dot X_v\\rangle=-hf-hf=-2hf$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l12-vary-G",
      "title": "First variation of the metric coefficient G",
      "prompt": "For $X^t=X+thN$, let $\\dot G$ mean the derivative of $G^t$ at $t=0$. Express it using $h,g$, with $S=-dN$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dot_G",
            "label": "dot_G"
          },
          {
            "tool": "h",
            "label": "h"
          },
          {
            "tool": "g",
            "label": "g"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "dot_G"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "h"
            },
            {
              "kind": "symbol",
              "text": "g"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "$\\dot X_v=h_vN+hN_v$.",
          "steps": [
            {
              "text": "Normality gives $\\langle N,X_v\\rangle=0$. Differentiating: $0=\\partial_v0=\\partial_v\\langle N,X_v\\rangle=\\langle N_v,X_v\\rangle+\\langle N,X_{vv}\\rangle$, hence $\\langle N_v,X_v\\rangle=-g$."
            },
            {
              "text": "$\\displaystyle \\dot G=2\\langle\\dot X_v,X_v\\rangle=2h_v\\langle N,X_v\\rangle+2h\\langle N_v,X_v\\rangle=-2hg$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "l12-vary-D",
      "title": "First variation of the metric determinant",
      "prompt": "For the normal variation $X^t=X+thN$, put $D=EG-F^2$. Express $\\dot D$ at $t=0$ using $h,H,D$, with $H=\\frac12\\operatorname{tr}(-dN)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dot_D",
            "label": "dot_D"
          },
          {
            "tool": "h",
            "label": "h"
          },
          {
            "tool": "H",
            "label": "H"
          },
          {
            "tool": "D",
            "label": "D"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3",
          "4"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "dot_D"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "4"
            },
            {
              "kind": "symbol",
              "text": "h"
            },
            {
              "kind": "symbol",
              "text": "H"
            },
            {
              "kind": "symbol",
              "text": "D"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Use $\\dot E=-2he$, $\\dot F=-2hf$, and $\\dot G=-2hg$.",
          "steps": [
            {
              "text": "$\\displaystyle \\dot D=\\dot E G+E\\dot G-2F\\dot F=-2h(eG+Eg-2Ff)=-4hHD$."
            },
            {
              "text": "The last equality uses $H=(eG+Eg-2Ff)/(2D)$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "T": "vector",
          "N": "vector",
          "B": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "w": "vector",
          "p": "vector",
          "p_0": "vector",
          "dot_a": "vector",
          "dot_w": "vector",
          "dot_γ": "vector",
          "A": "matrix",
          "M": "matrix",
          "I": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "compute-l12-area-variation",
      "title": "First variation of area",
      "prompt": "For $X^t=X+thN$ on $S=X(U)$, let $h$ have compact support, $D^t=E^tG^t-(F^t)^2$, and $D=D^0$. Given $A(t)=\\int_U\\sqrt{D^t}\\,du\\,dv$ and $\\left.\\partial_t\\sqrt{D^t}\\right|_{t=0}=-2hH\\sqrt D$, compute $A^{\\prime}(0)$ by differentiating under the integral and substituting. Finish with a surface integral, using $dA=\\sqrt D\\,du\\,dv$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "A'",
            "label": "A'"
          },
          {
            "tool": "D_0",
            "label": "D_0"
          },
          {
            "tool": "int_U",
            "label": "int_U"
          },
          {
            "tool": "int_S",
            "label": "int_S"
          },
          {
            "tool": "D",
            "label": "D"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "h",
            "label": "h"
          },
          {
            "tool": "H",
            "label": "H"
          },
          {
            "tool": "du",
            "label": "du"
          },
          {
            "tool": "dv",
            "label": "dv"
          },
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "dA",
            "label": "dA"
          },
          {
            "tool": "Dup_t",
            "label": "Dup_t"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "A'"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "D_0"
            },
            {
              "kind": "symbol",
              "text": "int_U"
            },
            {
              "kind": "radical",
              "radicand": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "D"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "t"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "du"
            },
            {
              "kind": "symbol",
              "text": "dv"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "int_U"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "D_0"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "radical",
                  "radicand": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "D"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "t"
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "du"
            },
            {
              "kind": "symbol",
              "text": "dv"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "int_U"
            },
            {
              "kind": "symbol",
              "text": "h"
            },
            {
              "kind": "symbol",
              "text": "H"
            },
            {
              "kind": "radical",
              "radicand": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "D"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "du"
            },
            {
              "kind": "symbol",
              "text": "dv"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "int_S"
            },
            {
              "kind": "symbol",
              "text": "h"
            },
            {
              "kind": "symbol",
              "text": "H"
            },
            {
              "kind": "symbol",
              "text": "d"
            },
            {
              "kind": "symbol",
              "text": "A"
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "A'"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "D_0"
            },
            {
              "kind": "symbol",
              "text": "int_U"
            },
            {
              "kind": "radical",
              "radicand": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "D"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "t"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "du"
            },
            {
              "kind": "symbol",
              "text": "dv"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "int_U"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "D_0"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "radical",
                  "radicand": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "D"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "t"
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "du"
            },
            {
              "kind": "symbol",
              "text": "dv"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "int_U"
            },
            {
              "kind": "symbol",
              "text": "h"
            },
            {
              "kind": "symbol",
              "text": "H"
            },
            {
              "kind": "radical",
              "radicand": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "D"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "du"
            },
            {
              "kind": "symbol",
              "text": "dv"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "int_S"
            },
            {
              "kind": "symbol",
              "text": "h"
            },
            {
              "kind": "symbol",
              "text": "H"
            },
            {
              "kind": "symbol",
              "text": "d"
            },
            {
              "kind": "symbol",
              "text": "A"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Area is the integral of its density: $A(t)=\\int_U \\sqrt{D^t}\\,du\\,dv$.",
          "steps": [
            {
              "text": "Smoothness and compact support justify differentiation under the integral. Substitute $\\left.\\partial_t\\sqrt{D^t}\\right|_{t=0}=-2hH\\sqrt D$, then use $dA=\\sqrt D\\,du\\,dv$ to write the result as an integral over the original surface patch $S$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "type": "equation-practice",
      "recallPrompt": "Write $D^t=E^tG^t-(F^t)^2$ and $D=D^0$. For $X^t=X+thN$ with compactly supported $h$, how does $\\left.\\partial_t\\sqrt{D^t}\\right|_{t=0}=-2hH\\sqrt D$ give the first variation of area $A^{\\prime}(0)$?",
      "multiplier": 2
    },
    {
      "id": "l12-area-variation",
      "title": "First variation of area",
      "prompt": "For a smooth normal variation $X^t=X+thN$ of a surface patch $S$, with compactly supported $h$, express the area derivative $A^{\\prime}(0)$ as an integral over $S$ using $h,H$. Use $H=\\frac12\\operatorname{tr}(-dN)$ and the original area element $dA$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "A'",
            "label": "A'"
          },
          {
            "tool": "int_S",
            "label": "int_S"
          },
          {
            "tool": "h",
            "label": "h"
          },
          {
            "tool": "H",
            "label": "H"
          },
          {
            "tool": "dA",
            "label": "dA"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "A'"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "int_S"
            },
            {
              "kind": "symbol",
              "text": "h"
            },
            {
              "kind": "symbol",
              "text": "H"
            },
            {
              "kind": "symbol",
              "text": "dA"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Put $D^t=E^tG^t-(F^t)^2$ and $D=D^0$.",
          "steps": [
            {
              "text": "The area density satisfies $\\left.\\partial_t\\sqrt{D^t}\\right|_{t=0}=-2hH\\sqrt D$. Differentiating its integral gives $A^{\\prime}(0)=\\int_U\\left.\\partial_t\\sqrt{D^t}\\right|_{t=0}\\,du\\,dv=-2\\int_S hH\\,dA$, since $dA=\\sqrt D\\,du\\,dv$."
            },
            {
              "text": "Thus $H=0$ makes area stationary under every compactly supported normal variation. Smoothness and compact support justify differentiation under the integral."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice"
    },
    {
      "id": "compute-l14-fundamental-lemma",
      "title": "Stationarity forces the coefficient to vanish",
      "prompt": "Let $P$ be continuous on $[a,b]$ and suppose $\\int_a^b P(t)\\varphi(t)\\,dt=0$ for every smooth $\\varphi$ compactly supported in $(a,b)$. To prove $P=0$, suppose $P(t_0)>0$ at an interior point. Choose an interval around $t_0$ where $P>0$, and a nonzero smooth function $\\varphi\\ge0$ supported inside that interval. Write the contradiction as a chain starting with $0$, passing through the integral, and ending with $>0$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "int_ab",
            "label": "int_ab"
          },
          {
            "tool": "P",
            "label": "P"
          },
          {
            "tool": "φ",
            "label": "φ"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "dt",
            "label": "dt"
          },
          {
            "tool": ">",
            "label": ">"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "int_ab"
            },
            {
              "kind": "symbol",
              "text": "P"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "t"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "φ"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "t"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "dt"
            },
            {
              "kind": "symbol",
              "text": ">"
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "int_ab"
            },
            {
              "kind": "symbol",
              "text": "P"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "t"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "φ"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "t"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "dt"
            },
            {
              "kind": "symbol",
              "text": ">"
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Continuity makes $P$ positive on an interval around $t_0$. A nonzero nonnegative smooth bump $\\varphi$ supported there makes $P\\varphi$ nonnegative and positive on a smaller interval, so its integral is positive."
            },
            {
              "text": "The hypothesis says the same integral is zero. A negative value of $P$ gives the opposite contradiction; continuity also supplies the endpoint values."
            },
            {
              "text": "For length variation, vary only one coordinate to isolate its coefficient; then apply this argument. Repeat for the other coordinate."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": false,
        "implicitArguments": {
          "P": [
            "t"
          ],
          "φ": [
            "t"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "type": "equation-practice",
      "recallPrompt": "If $\\int_a^b P(t)\\varphi(t)\\,dt=0$ for every smooth compactly supported test function, how does a nonnegative bump supported where $P>0$ give a contradiction?"
    },
    {
      "id": "compute-l8-umbilic-constant",
      "type": "equation-practice",
      "title": "An umbilic shape operator has constant scalar",
      "prompt": "On a connected regular patch suppose $N_u=-\\lambda X_u$ and $N_v=-\\lambda X_v$, with smooth $\\lambda$. Expand $0=N_{uv}-N_{vu}$ and cancel mixed derivatives to obtain a linear combination of $X_u,X_v$ explaining why $\\lambda$ is constant.",
      "recallPrompt": "How do commuting mixed derivatives show that $N_u=-\\lambda X_u$, $N_v=-\\lambda X_v$ force $\\lambda$ to be constant?",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "N_uv",
            "label": "N_uv"
          },
          {
            "tool": "N_vu",
            "label": "N_vu"
          },
          {
            "tool": "lambda_v",
            "label": "lambda_v"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "λ",
            "label": "λ"
          },
          {
            "tool": "X_uv",
            "label": "X_uv"
          },
          {
            "tool": "lambda_u",
            "label": "lambda_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "X_vu",
            "label": "X_vu"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "N_uv"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "N_vu"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "lambda_v"
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "λ"
                },
                {
                  "kind": "symbol",
                  "text": "X_uv"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "lambda_u"
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "λ"
                },
                {
                  "kind": "symbol",
                  "text": "X_vu"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "lambda_v"
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "lambda_u"
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                }
              ]
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "N_uv"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "N_vu"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "lambda_v"
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "λ"
                },
                {
                  "kind": "symbol",
                  "text": "X_uv"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "lambda_u"
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "λ"
                },
                {
                  "kind": "symbol",
                  "text": "X_vu"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "lambda_v"
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "lambda_u"
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Mixed derivatives of $N$ and $X$ commute. Linear independence of $X_u,X_v$ forces both coefficients of the remaining linear combination to vanish."
            },
            {
              "text": "A smooth function with zero differential is locally constant, and therefore constant on a connected patch. For a totally umbilic surface, $-dN=\\lambda I$ supplies the two derivative identities."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "N_uv": "vector",
          "N_vu": "vector",
          "X_u": "vector",
          "X_v": "vector",
          "X_uv": "vector",
          "X_vu": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2
    },
    {
      "id": "compute-l12-stationary-minimal",
      "type": "equation-practice",
      "title": "Stationarity forces zero mean curvature",
      "prompt": "Suppose $A^{\\prime}(0)=0$ for every compactly supported normal variation $X^t=X+thN$. If $H(p)>0$, choose a nonzero smooth $h\\ge0$ supported where $H>0$. Use the first variation formula to obtain a contradiction, starting with $0$.",
      "recallPrompt": "How does a nonnegative normal variation supported where $H>0$ contradict stationarity for area?",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "A'",
            "label": "A'"
          },
          {
            "tool": "int_S",
            "label": "int_S"
          },
          {
            "tool": "h",
            "label": "h"
          },
          {
            "tool": "H",
            "label": "H"
          },
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "<",
            "label": "<"
          },
          {
            "tool": "dA",
            "label": "dA"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "A'"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "2"
                    },
                    {
                      "kind": "symbol",
                      "text": "int_S"
                    },
                    {
                      "kind": "symbol",
                      "text": "h"
                    },
                    {
                      "kind": "symbol",
                      "text": "H"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "d"
                        },
                        {
                          "kind": "symbol",
                          "text": "A"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "<"
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "A'"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "2"
                    },
                    {
                      "kind": "symbol",
                      "text": "int_S"
                    },
                    {
                      "kind": "symbol",
                      "text": "h"
                    },
                    {
                      "kind": "symbol",
                      "text": "H"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "d"
                        },
                        {
                          "kind": "symbol",
                          "text": "A"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "<"
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Continuity gives a neighborhood where $H>0$. A nonzero nonnegative smooth bump supported there makes $\\int hH\\,dA>0$, contradicting stationarity."
            },
            {
              "text": "If $H(p)<0$, the same choice makes the integral negative and $A^{\\prime}(0)>0$. Thus $H=0$ everywhere. Conversely, $H=0$ makes every such first variation vanish."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "A'": [
            "t"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      }
    },
    {
      "id": "compute-l14-frame-alpha1",
      "type": "equation-practice",
      "title": "Metric dependence of frame coefficient 1",
      "prompt": "For the Gram–Schmidt frame, write $e_1=R_1X_u$ and $e_2=R_2X_u+R_3X_v$. Each $R_i$ is determined by $E,F,G$ and their derivatives, allowing square roots and division by positive quantities. Put $R_4=\\partial_uR_1$. Expand $\\alpha_1=\\langle e_{1,u},e_2\\rangle$: first differentiate $e_1$, then expand the inner product, replacing first-tangent pairings by $E,F$.",
      "recallPrompt": "For the Gram–Schmidt frame, write $e_1=R_1X_u$ and $e_2=R_2X_u+R_3X_v$. Each $R_i$ is determined by $E,F,G$ and their derivatives, allowing square roots and division by positive quantities. Put $R_4=\\partial_uR_1$. Expand $\\alpha_1=\\langle e_{1,u},e_2\\rangle$: first differentiate $e_1$, then expand the inner product, replacing first-tangent pairings by $E,F$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "alpha_1",
            "label": "alpha_1"
          },
          {
            "tool": "R_4",
            "label": "R_4"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "R_1",
            "label": "R_1"
          },
          {
            "tool": "X_uu",
            "label": "X_uu"
          },
          {
            "tool": "R_2",
            "label": "R_2"
          },
          {
            "tool": "R_3",
            "label": "R_3"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "F",
            "label": "F"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "alpha_1"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "R_4"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "R_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uu"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "R_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "R_3"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "R_4"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "R_2"
                        },
                        {
                          "kind": "symbol",
                          "text": "E"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "R_3"
                        },
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "R_1"
                },
                {
                  "kind": "symbol",
                  "text": "R_2"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uu"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "R_1"
                },
                {
                  "kind": "symbol",
                  "text": "R_3"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uu"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "alpha_1"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "R_4"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "R_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uu"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "R_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "R_3"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "R_4"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "R_2"
                        },
                        {
                          "kind": "symbol",
                          "text": "E"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "R_3"
                        },
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "R_1"
                },
                {
                  "kind": "symbol",
                  "text": "R_2"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uu"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "R_1"
                },
                {
                  "kind": "symbol",
                  "text": "R_3"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uu"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The product rule gives $e_{1,u}=R_4X_u+R_1X_{uu}$. Bilinearity then gives the displayed expression. All coefficients are metric-determined; only the two second-derivative/tangent pairings remain to be identified."
            },
            {
              "text": "Gram–Schmidt only uses inner products, subtraction, and normalization. For combinations of $X_u,X_v$, all inner products are computed from $E,F,G$. Thus its scalar coefficients, their square roots and quotients, and their derivatives are metric-determined; their exact formulas are unnecessary. Orthogonality also gives $R_2E+R_3F=0$."
            },
            {
              "text": "The later metric identities give $\\langle X_{uu},X_u\\rangle=E_u/2$ and $\\langle X_{uu},X_v\\rangle=F_u-E_v/2$. Thus $\\alpha_1$ is metric-determined."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_uu": "vector",
          "e_2": "vector",
          "X_u": "vector",
          "X_v": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2
    },
    {
      "id": "compute-l14-frame-alpha2",
      "type": "equation-practice",
      "title": "Metric dependence of frame coefficient 2",
      "prompt": "For the Gram–Schmidt frame, write $e_1=R_1X_u$ and $e_2=R_2X_u+R_3X_v$. Each $R_i$ is determined by $E,F,G$ and their derivatives, allowing square roots and division by positive quantities. Put $R_5=\\partial_vR_1$. Expand $\\alpha_2=\\langle e_{1,v},e_2\\rangle$: first differentiate $e_1$, then expand the inner product, replacing first-tangent pairings by $E,F$.",
      "recallPrompt": "For the Gram–Schmidt frame, write $e_1=R_1X_u$ and $e_2=R_2X_u+R_3X_v$. Each $R_i$ is determined by $E,F,G$ and their derivatives, allowing square roots and division by positive quantities. Put $R_5=\\partial_vR_1$. Expand $\\alpha_2=\\langle e_{1,v},e_2\\rangle$: first differentiate $e_1$, then expand the inner product, replacing first-tangent pairings by $E,F$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "alpha_2",
            "label": "alpha_2"
          },
          {
            "tool": "R_5",
            "label": "R_5"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "R_1",
            "label": "R_1"
          },
          {
            "tool": "X_uv",
            "label": "X_uv"
          },
          {
            "tool": "R_2",
            "label": "R_2"
          },
          {
            "tool": "R_3",
            "label": "R_3"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "F",
            "label": "F"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "alpha_2"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "R_5"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "R_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "R_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "R_3"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "R_5"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "R_2"
                        },
                        {
                          "kind": "symbol",
                          "text": "E"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "R_3"
                        },
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "R_1"
                },
                {
                  "kind": "symbol",
                  "text": "R_2"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "R_1"
                },
                {
                  "kind": "symbol",
                  "text": "R_3"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "alpha_2"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "R_5"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "R_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "R_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "R_3"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "R_5"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "R_2"
                        },
                        {
                          "kind": "symbol",
                          "text": "E"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "R_3"
                        },
                        {
                          "kind": "symbol",
                          "text": "F"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "R_1"
                },
                {
                  "kind": "symbol",
                  "text": "R_2"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "R_1"
                },
                {
                  "kind": "symbol",
                  "text": "R_3"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The product rule gives $e_{1,v}=R_5X_u+R_1X_{uv}$. Bilinearity then gives the displayed expression. All coefficients are metric-determined; only the two second-derivative/tangent pairings remain to be identified."
            },
            {
              "text": "Gram–Schmidt only uses inner products, subtraction, and normalization. For combinations of $X_u,X_v$, all inner products are computed from $E,F,G$. Thus its scalar coefficients, their square roots and quotients, and their derivatives are metric-determined; their exact formulas are unnecessary. Orthogonality also gives $R_2E+R_3F=0$."
            },
            {
              "text": "The later metric identities give $\\langle X_{uv},X_u\\rangle=E_v/2$ and $\\langle X_{uv},X_v\\rangle=G_u/2$. Thus $\\alpha_2$ is metric-determined."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_uv": "vector",
          "e_2": "vector",
          "X_u": "vector",
          "X_v": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2
    },
    {
      "id": "compute-l16-frame-cancellation",
      "type": "equation-practice",
      "title": "Cancel the mixed frame derivatives",
      "prompt": "For a smooth frame, use $(\\alpha_1)_v=\\langle e_{1,uv},e_2\\rangle+\\lambda_1\\mu_2$ and $(\\alpha_2)_u=\\langle e_{1,vu},e_2\\rangle+\\lambda_2\\mu_1$. Substitute these expressions into $(\\alpha_1)_v-(\\alpha_2)_u$, then cancel mixed derivatives.",
      "recallPrompt": "For a smooth frame, use $(\\alpha_1)_v=\\langle e_{1,uv},e_2\\rangle+\\lambda_1\\mu_2$ and $(\\alpha_2)_u=\\langle e_{1,vu},e_2\\rangle+\\lambda_2\\mu_1$. Substitute these expressions into $(\\alpha_1)_v-(\\alpha_2)_u$, then cancel mixed derivatives.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "α1_v",
            "label": "α1_v"
          },
          {
            "tool": "α2_u",
            "label": "α2_u"
          },
          {
            "tool": "eone_uv",
            "label": "eone_uv"
          },
          {
            "tool": "e_2",
            "label": "e_2"
          },
          {
            "tool": "lambda_1",
            "label": "lambda_1"
          },
          {
            "tool": "mu_2",
            "label": "mu_2"
          },
          {
            "tool": "eone_vu",
            "label": "eone_vu"
          },
          {
            "tool": "lambda_2",
            "label": "lambda_2"
          },
          {
            "tool": "mu_1",
            "label": "mu_1"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "α1_v"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "α2_u"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "eone_uv"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "lambda_1"
            },
            {
              "kind": "symbol",
              "text": "mu_2"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "eone_vu"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "e_2"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "lambda_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "mu_1"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "lambda_1"
            },
            {
              "kind": "symbol",
              "text": "mu_2"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "lambda_2"
            },
            {
              "kind": "symbol",
              "text": "mu_1"
            }
          ]
        },
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "α1_v"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "α2_u"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "eone_uv"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "lambda_1"
            },
            {
              "kind": "symbol",
              "text": "mu_2"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "eone_uv"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "e_2"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "lambda_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "mu_1"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "lambda_1"
            },
            {
              "kind": "symbol",
              "text": "mu_2"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "lambda_2"
            },
            {
              "kind": "symbol",
              "text": "mu_1"
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "α1_v"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "α2_u"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "eone_uv"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "lambda_1"
            },
            {
              "kind": "symbol",
              "text": "mu_2"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "eone_vu"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "e_2"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "lambda_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "mu_1"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "lambda_1"
            },
            {
              "kind": "symbol",
              "text": "mu_2"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "lambda_2"
            },
            {
              "kind": "symbol",
              "text": "mu_1"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Smoothness gives $e_{1,uv}=e_{1,vu}$. Keep parentheses around the subtracted expression so both of its terms change sign."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "eone_uv": "vector",
          "eone_vu": "vector",
          "e_2": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "Δ"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2
    },
    {
      "id": "compute-l14-frame-curvature",
      "type": "equation-practice",
      "title": "Start with the curvature numerator",
      "prompt": "Put $\\Delta=EG-F^2>0$ and $N=(X_u\\times X_v)/\\sqrt\\Delta$. Express $eg-f^2$ using inner products of $N_u,N_v$ with $X_u,X_v$, apply CPIPI, then substitute $X_u\\times X_v=\\sqrt\\Delta\\,N$.",
      "recallPrompt": "Put $\\Delta=EG-F^2>0$ and $N=(X_u\\times X_v)/\\sqrt\\Delta$. Express $eg-f^2$ using inner products of $N_u,N_v$ with $X_u,X_v$, apply CPIPI, then substitute $X_u\\times X_v=\\sqrt\\Delta\\,N$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "e",
            "label": "e"
          },
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "g",
            "label": "g"
          },
          {
            "tool": "N_u",
            "label": "N_u"
          },
          {
            "tool": "N_v",
            "label": "N_v"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "Δ",
            "label": "Δ"
          },
          {
            "tool": "N",
            "label": "N"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "e"
                },
                {
                  "kind": "symbol",
                  "text": "g"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "N_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "radical",
              "radicand": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "Δ"
                  }
                ]
              }
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "N_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "e"
                },
                {
                  "kind": "symbol",
                  "text": "g"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "N_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "radical",
              "radicand": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "Δ"
                  }
                ]
              }
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "N_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "CPIPI is the cross-product inner-product identity (Lagrange’s identity).",
          "steps": [
            {
              "text": "Differentiating normality gives $\\langle N_u,X_u\\rangle=-e$, $\\langle N_v,X_v\\rangle=-g$ and $\\langle N_u,X_v\\rangle=\\langle N_v,X_u\\rangle=-f$. Thus the cross-product identity gives $(-e)(-g)-(-f)(-f)=eg-f^2$."
            },
            {
              "text": "Substitute $X_u\\times X_v=\\sqrt\\Delta\\,N$ and take the scalar outside the inner product. This reduces the problem to finding the normal component of $N_u\\times N_v$; no curvature quotient is needed yet."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "N_u": "vector",
          "N_v": "vector",
          "N": "vector",
          "X_u": "vector",
          "X_v": "vector"
        },
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "Δ"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 3
    },
    {
      "id": "compute-l15-geodesic-orthogonality",
      "type": "equation-practice",
      "title": "Orthogonality propagates along geodesics",
      "prompt": "Let the $u$-curves of $X(u,v)$ be unit-speed surface geodesics, and assume $F(0,v)=0$. Compute $F_u$ by differentiating $F=\\langle X_u,X_v\\rangle$, using normal acceleration and $E=1$. Explain why $F=0$ throughout the coordinate neighborhood.",
      "recallPrompt": "Why do unit-speed geodesics initially perpendicular to the base curve remain orthogonal to the transverse coordinate curves?",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "F_u",
            "label": "F_u"
          },
          {
            "tool": "X_uu",
            "label": "X_uu"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_uv",
            "label": "X_uv"
          },
          {
            "tool": "E_v",
            "label": "E_v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "F_u"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uu"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "E_v"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "F_u"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uu"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_uv"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "E_v"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The acceleration $X_{uu}$ of each unit-speed geodesic is normal, whereas $X_v$ is tangent. The other inner product is $E_v/2$, which vanishes because $E=1$ throughout the chart."
            },
            {
              "text": "Thus $F$ is constant along each $u$-curve. Its initial value $F(0,v)=0$ gives $F=0$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_uu": "vector",
          "X_v": "vector",
          "X_u": "vector",
          "X_uv": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2
    },
    {
      "id": "compute-l15-base-geodesic-initial",
      "type": "equation-practice",
      "title": "The base geodesic fixes the metric initial derivative",
      "prompt": "In coordinates with $E=1,F=0$, suppose $v\\mapsto X(0,v)$ is a unit-speed geodesic. Along $u=0$, compute $G_u$ by differentiating $G=\\langle X_v,X_v\\rangle$ and moving the $v$-derivative across the inner product. Then compute $\\partial_u\\sqrt G$.",
      "recallPrompt": "Why does a unit-speed base geodesic in coordinates with $E=1,F=0$ give $\\partial_u\\sqrt G=0$ along the base?",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "G_u",
            "label": "G_u"
          },
          {
            "tool": "X_uv",
            "label": "X_uv"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "partial_v",
            "label": "partial_v"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_vv",
            "label": "X_vv"
          },
          {
            "tool": "partial_u",
            "label": "partial_u"
          },
          {
            "tool": "G",
            "label": "G"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "G_u"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "X_uv"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    },
                    {
                      "kind": "symbol",
                      "text": "partial_v"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "2"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_vv"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "partial_u"
                    },
                    {
                      "kind": "radical",
                      "radicand": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "G"
                          }
                        ]
                      }
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "G_u"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      },
                      {
                        "kind": "radical",
                        "radicand": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "G"
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ]
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "G_u"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "X_uv"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    },
                    {
                      "kind": "symbol",
                      "text": "partial_v"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "2"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "X_vv"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "partial_u"
                    },
                    {
                      "kind": "radical",
                      "radicand": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "G"
                          }
                        ]
                      }
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "G_u"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      },
                      {
                        "kind": "radical",
                        "radicand": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "G"
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The product rule applied to $\\langle X_u,X_v\\rangle$ gives the second equality. This inner product is identically zero, while $X_{vv}$ is normal along the unit-speed base geodesic."
            },
            {
              "text": "Also $G(0,v)=1$. Hence $q=\\sqrt G$ has initial data $q(0,v)=1$, $q_u(0,v)=0$ for $q_{uu}=-Kq$. These conditions select the model metric when $K$ is constant."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_uv": "vector",
          "X_v": "vector",
          "X_u": "vector",
          "X_vv": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 3
    },
    {
      "id": "compute-l16-local-gauss-bonnet",
      "type": "equation-practice",
      "title": "From boundary turning to Gaussian curvature",
      "prompt": "Let $X$ parametrize a smooth disk $D$ with positively oriented smooth boundary. Use an oriented orthonormal tangent frame and $\\alpha_1=\\langle e_{1,u},e_2\\rangle$, $\\alpha_2=\\langle e_{1,v},e_2\\rangle$. You may use $k_g=\\theta^{\\prime}+\\alpha_1u^{\\prime}+\\alpha_2v^{\\prime}$, total turning $\\int\\theta^{\\prime} ds=2\\pi$, and $(\\alpha_1)_v-(\\alpha_2)_u=K\\sqrt{EG-F^2}$. Integrate $k_g$, apply Green\\'s theorem, and finish with an area integral of $K$.",
      "recallPrompt": "How do the turning-angle formula and Green\\'s theorem give $\\int_{\\partial D}k_g\\,ds=2\\pi-\\int_DK\\,dA$ for an oriented disk?",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "int_boundary",
            "label": "int_boundary"
          },
          {
            "tool": "k_g",
            "label": "k_g"
          },
          {
            "tool": "ds",
            "label": "ds"
          },
          {
            "tool": "π",
            "label": "π"
          },
          {
            "tool": "oint_boundary",
            "label": "oint_boundary"
          },
          {
            "tool": "alpha_1",
            "label": "alpha_1"
          },
          {
            "tool": "du",
            "label": "du"
          },
          {
            "tool": "alpha_2",
            "label": "alpha_2"
          },
          {
            "tool": "dv",
            "label": "dv"
          },
          {
            "tool": "iint_D",
            "label": "iint_D"
          },
          {
            "tool": "α2_u",
            "label": "α2_u"
          },
          {
            "tool": "α1_v",
            "label": "α1_v"
          },
          {
            "tool": "int_D",
            "label": "int_D"
          },
          {
            "tool": "K",
            "label": "K"
          },
          {
            "tool": "d",
            "label": "d"
          },
          {
            "tool": "A",
            "label": "A"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "int_boundary"
                },
                {
                  "kind": "symbol",
                  "text": "k_g"
                },
                {
                  "kind": "symbol",
                  "text": "ds"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "π"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "oint_boundary"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "alpha_1"
                },
                {
                  "kind": "symbol",
                  "text": "du"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "alpha_2"
                },
                {
                  "kind": "symbol",
                  "text": "dv"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "π"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "iint_D"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "α2_u"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "α1_v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "du"
                },
                {
                  "kind": "symbol",
                  "text": "dv"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "π"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "int_D"
                },
                {
                  "kind": "symbol",
                  "text": "K"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "d"
                    },
                    {
                      "kind": "symbol",
                      "text": "A"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "int_boundary"
                },
                {
                  "kind": "symbol",
                  "text": "k_g"
                },
                {
                  "kind": "symbol",
                  "text": "ds"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "π"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "oint_boundary"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "alpha_1"
                },
                {
                  "kind": "symbol",
                  "text": "du"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "alpha_2"
                },
                {
                  "kind": "symbol",
                  "text": "dv"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "π"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "iint_D"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "α2_u"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "α1_v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "du"
                },
                {
                  "kind": "symbol",
                  "text": "dv"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "π"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "int_D"
                },
                {
                  "kind": "symbol",
                  "text": "K"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "d"
                    },
                    {
                      "kind": "symbol",
                      "text": "A"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The total-turning theorem supplies $\\int\\theta^{\\prime}\\,ds=2\\pi$ for a positive simple boundary and a frame extending over the disk. This is an input, not a consequence of the curvature calculation."
            },
            {
              "text": "The chain rule gives $\\langle e_1^{\\prime},e_2\\rangle=\\alpha_1u^{\\prime}+\\alpha_2v^{\\prime}$. Integrating converts these terms to $\\oint(\\alpha_1\\,du+\\alpha_2\\,dv)$."
            },
            {
              "text": "Green’s theorem gives $(\\alpha_2)_u-(\\alpha_1)_v$, the negative of the frame-curvature identity. Substitute $-K\\sqrt{EG-F^2}$ and use $dA=\\sqrt{EG-F^2}\\,du\\,dv$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2
    },
    {
      "id": "compute-l17-half-plane-curvature",
      "type": "equation-practice",
      "title": "Curvature of the hyperbolic half-plane",
      "prompt": "For the metric $(du^2+dv^2)/v^2$ on $v>0$, set $r=\\log v$. Rewrite the metric in $(r,u)$ coordinates. Then use $K=-q_{rr}/q$ for a metric $dr^2+q(r)^2du^2$ to compute its curvature.",
      "recallPrompt": "How does the substitution $r=\\log v$ turn the half-plane metric into a metric whose curvature is visibly $-1$?",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "du",
            "label": "du"
          },
          {
            "tool": "dv",
            "label": "dv"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "d",
            "label": "d"
          },
          {
            "tool": "r",
            "label": "r"
          },
          {
            "tool": "e",
            "label": "e"
          },
          {
            "tool": "K",
            "label": "K"
          },
          {
            "tool": "d²/dr²",
            "label": "d²/dr²"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "du"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "dv"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "d"
                              },
                              {
                                "kind": "symbol",
                                "text": "r"
                              }
                            ]
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "e"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "2"
                          },
                          {
                            "kind": "symbol",
                            "text": "r"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "du"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "K"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "fraction",
                      "top": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "1"
                          }
                        ]
                      },
                      "bottom": {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "e"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "−"
                            },
                            {
                              "kind": "symbol",
                              "text": "r"
                            }
                          ]
                        }
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": "d²/dr²"
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "e"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "r"
                          }
                        ]
                      }
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "fraction",
                      "top": {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "e"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "−"
                            },
                            {
                              "kind": "symbol",
                              "text": "r"
                            }
                          ]
                        }
                      },
                      "bottom": {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "e"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "−"
                            },
                            {
                              "kind": "symbol",
                              "text": "r"
                            }
                          ]
                        }
                      }
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "1"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "du"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "symbol",
                        "text": "+"
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "dv"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "d"
                              },
                              {
                                "kind": "symbol",
                                "text": "r"
                              }
                            ]
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "e"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "2"
                          },
                          {
                            "kind": "symbol",
                            "text": "r"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "du"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "K"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "fraction",
                      "top": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "1"
                          }
                        ]
                      },
                      "bottom": {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "e"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "−"
                            },
                            {
                              "kind": "symbol",
                              "text": "r"
                            }
                          ]
                        }
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": "d²/dr²"
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "e"
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "r"
                          }
                        ]
                      }
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "fraction",
                      "top": {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "e"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "−"
                            },
                            {
                              "kind": "symbol",
                              "text": "r"
                            }
                          ]
                        }
                      },
                      "bottom": {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "e"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "−"
                            },
                            {
                              "kind": "symbol",
                              "text": "r"
                            }
                          ]
                        }
                      }
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "1"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Since $v=e^r$ and $dv=e^rdr$, the vertical term becomes $dr^2$ and the horizontal term becomes $e^{-2r}du^2$."
            },
            {
              "text": "Here $q=e^{-r}$ and $q_{rr}=e^{-r}$. Apply the special-coordinate curvature formula from L14b. This also proves curvature $-1$ for the isometric disk model."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2
    },
    {
      "id": "compute-l18-geodesic-center",
      "type": "equation-practice",
      "title": "A conserved center for a hyperbolic geodesic",
      "prompt": "For a nonvertical unit-speed half-plane geodesic $(u(t),v(t))$, let $u^{\\prime}=cv^2$, with constant $c\\ne0$. Using $v^{\\prime\\prime}=((v^{\\prime})^2-(u^{\\prime})^2)/v$, differentiate $u+v^{\\prime}/(cv)$ and show it is constant. Use the quotient rule before substituting the geodesic equation.",
      "recallPrompt": "How do the half-plane geodesic equations show that $u+v^{\\prime}/(cv)$ is constant when $u^{\\prime}=cv^2$, $c\\ne0$?",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "d/dt",
            "label": "d/dt"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "v'",
            "label": "v'"
          },
          {
            "tool": "c",
            "label": "c"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "u'",
            "label": "u'"
          },
          {
            "tool": "v''",
            "label": "v''"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "d/dt"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "u"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v'"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "c"
                      },
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "u'"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v''"
                      },
                      {
                        "kind": "symbol",
                        "text": "v"
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "v'"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "c"
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "v"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "c"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "u'"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "c"
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "v"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "d/dt"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "u"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v'"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "c"
                      },
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "u'"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v''"
                      },
                      {
                        "kind": "symbol",
                        "text": "v"
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "v'"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "c"
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "v"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "c"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "u'"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "c"
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "v"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The quotient rule gives the second numerator. The geodesic equation replaces $v^{\\prime\\prime} v-(v^{\\prime})^2$ by $-(u^{\\prime})^2$."
            },
            {
              "text": "Substitute $u^{\\prime}=cv^2$ to cancel the remaining terms. No division by $v^{\\prime}$ is used, so the calculation also holds at the top of the eventual semicircle."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2
    },
    {
      "id": "compute-l18-geodesic-circle",
      "type": "equation-practice",
      "title": "The conserved center gives a semicircle",
      "prompt": "For a unit-speed half-plane geodesic, suppose $u^{\\prime}=cv^2$, $c\\ne0$, and $a=u+v^{\\prime}/(cv)$ is constant. Use $(u^{\\prime})^2+(v^{\\prime})^2=v^2$ to compute $(u-a)^2+v^2$ and identify the circle containing the geodesic.",
      "recallPrompt": "Given the conserved center $a=u+v^{\\prime}/(cv)$ and $u^{\\prime}=cv^2$, how does unit speed put the geodesic on a circle centered at $(a,0)$?",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "v'",
            "label": "v'"
          },
          {
            "tool": "c",
            "label": "c"
          },
          {
            "tool": "4",
            "label": "4"
          },
          {
            "tool": "u'",
            "label": "u'"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "u"
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "a"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v'"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "c"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "4"
                        }
                      ]
                    }
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "c"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v'"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "u'"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "c"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "1"
                  }
                ]
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "c"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "u"
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "a"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v'"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "c"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "4"
                        }
                      ]
                    }
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "c"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v'"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "u'"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "c"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "1"
                  }
                ]
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "c"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "From the definition of $a$, $u-a=-v^{\\prime}/(cv)$. Squaring and putting the terms over one denominator gives the first fraction."
            },
            {
              "text": "The conserved momentum replaces $c^2v^4$ by $(u^{\\prime})^2$, and unit speed replaces the numerator by $v^2$. The radius is $1/|c|$; since $v>0$, the curve lies on the upper semicircle, orthogonal to the boundary."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2
    },
    {
      "id": "compute-second-form-uu",
      "title": "Second fundamental form: first argument X_u",
      "prompt": "For a regular chart $X$ with unit normal $N$, express $\\mathrm{II}(X_u,X_u)$ using $-dN$, then $N_u$, then $N$ and $X_{uu}$. All quantities are evaluated at the same chart point; $N_u=\\partial_u(N\\circ X)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "II",
            "label": "II"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "dN",
            "label": "dN"
          },
          {
            "tool": "N_u",
            "label": "N_u"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "X_uu",
            "label": "X_uu"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}",
          "matrix"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "II"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "dN"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "N_u"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "N"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "X_uu"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "II"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "dN"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "N_u"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "N"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "X_uu"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The definition is $\\mathrm{II}(w,z)=-\\langle dN(w),z\\rangle$. The chain rule gives $dN(X_u)=N_u$."
            },
            {
              "text": "Differentiate $\\langle N,X_u\\rangle=0$ with respect to $u$: $\\langle N_u,X_u\\rangle+\\langle N,X_{uu}\\rangle=0$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "How does $\\mathrm{II}(X_u,X_u)$ become $\\langle N,X_{uu}\\rangle$?",
      "variants": [
        {
          "prompt": "For a regular chart $X$ with unit normal $N$, express $\\mathrm{II}(X_u,X_u)$ using $-dN$, then $N_u$, then $N$ and $X_{uu}$. All quantities are evaluated at the same chart point; $N_u=\\partial_u(N\\circ X)$.",
          "recallPrompt": "How does $\\mathrm{II}(X_u,X_u)$ become $\\langle N,X_{uu}\\rangle$?",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "II"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "dN"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N_u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_uu"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ],
          "sequence": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "II"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "dN"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N_u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_uu"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ],
          "editor": {
            "palette": [
              {
                "tool": "II",
                "label": "II"
              },
              {
                "tool": "X_u",
                "label": "X_u"
              },
              {
                "tool": "dN",
                "label": "dN"
              },
              {
                "tool": "N_u",
                "label": "N_u"
              },
              {
                "tool": "N",
                "label": "N"
              },
              {
                "tool": "X_uu",
                "label": "X_uu"
              }
            ],
            "operations": [
              "−",
              "+",
              "fraction",
              "=",
              ",",
              "(",
              ")",
              "square",
              "power",
              "||",
              "|",
              "⟨",
              "⟩",
              "sqrt",
              "×",
              "/",
              "{",
              "}",
              "matrix"
            ],
            "digits": [
              "0",
              "1",
              "2",
              "3"
            ],
            "initialAnswerVisible": true
          },
          "explanation": {
            "kind": "proof",
            "proof": {
              "intro": "",
              "steps": [
                {
                  "text": "The definition is $\\mathrm{II}(w,z)=-\\langle dN(w),z\\rangle$. The chain rule gives $dN(X_u)=N_u$."
                },
                {
                  "text": "Differentiate $\\langle N,X_u\\rangle=0$ with respect to $u$: $\\langle N_u,X_u\\rangle+\\langle N,X_{uu}\\rangle=0$."
                }
              ]
            }
          }
        },
        {
          "prompt": "For a regular chart $X$ with unit normal $N$, express $\\mathrm{II}(X_u,X_v)$ using $-dN$, then $N_u$, then $N$ and $X_{uv}$. All quantities are evaluated at the same chart point; $N_u=\\partial_u(N\\circ X)$. Use $X_{vu}=X_{uv}$.",
          "recallPrompt": "How does $\\mathrm{II}(X_u,X_v)$ become $\\langle N,X_{uv}\\rangle$?",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "II"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "dN"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N_u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_uv"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ],
          "sequence": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "II"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "dN"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N_u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_uv"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ],
          "editor": {
            "palette": [
              {
                "tool": "II",
                "label": "II"
              },
              {
                "tool": "X_u",
                "label": "X_u"
              },
              {
                "tool": "X_v",
                "label": "X_v"
              },
              {
                "tool": "dN",
                "label": "dN"
              },
              {
                "tool": "N_u",
                "label": "N_u"
              },
              {
                "tool": "N",
                "label": "N"
              },
              {
                "tool": "X_uv",
                "label": "X_uv"
              }
            ],
            "operations": [
              "−",
              "+",
              "fraction",
              "=",
              ",",
              "(",
              ")",
              "square",
              "power",
              "||",
              "|",
              "⟨",
              "⟩",
              "sqrt",
              "×",
              "/",
              "{",
              "}",
              "matrix"
            ],
            "digits": [
              "0",
              "1",
              "2",
              "3"
            ],
            "initialAnswerVisible": true
          },
          "explanation": {
            "kind": "proof",
            "proof": {
              "intro": "",
              "steps": [
                {
                  "text": "The definition is $\\mathrm{II}(w,z)=-\\langle dN(w),z\\rangle$. The chain rule gives $dN(X_u)=N_u$."
                },
                {
                  "text": "Differentiate $\\langle N,X_v\\rangle=0$ with respect to $u$: $\\langle N_u,X_v\\rangle+\\langle N,X_{vu}\\rangle=0$. Smoothness gives $X_{vu}=X_{uv}$."
                }
              ]
            }
          }
        }
      ]
    },
    {
      "id": "compute-second-form-uv",
      "title": "Second fundamental form: first argument X_v",
      "prompt": "For a regular chart $X$ with unit normal $N$, express $\\mathrm{II}(X_v,X_u)$ using $-dN$, then $N_v$, then $N$ and $X_{uv}$. All quantities are evaluated at the same chart point; $N_v=\\partial_v(N\\circ X)$. Use $X_{vu}=X_{uv}$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "II",
            "label": "II"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "dN",
            "label": "dN"
          },
          {
            "tool": "N_v",
            "label": "N_v"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "X_uv",
            "label": "X_uv"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}",
          "matrix"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "II"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "X_v"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "dN"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "X_v"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "N_v"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "N"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "X_uv"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "II"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "X_v"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "dN"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "X_v"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "N_v"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "N"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "X_uv"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The definition is $\\mathrm{II}(w,z)=-\\langle dN(w),z\\rangle$. The chain rule gives $dN(X_v)=N_v$."
            },
            {
              "text": "Differentiate $\\langle N,X_u\\rangle=0$ with respect to $v$: $\\langle N_v,X_u\\rangle+\\langle N,X_{uv}\\rangle=0$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "How does $\\mathrm{II}(X_v,X_u)$ become $\\langle N,X_{uv}\\rangle$?",
      "variants": [
        {
          "prompt": "For a regular chart $X$ with unit normal $N$, express $\\mathrm{II}(X_v,X_u)$ using $-dN$, then $N_v$, then $N$ and $X_{uv}$. All quantities are evaluated at the same chart point; $N_v=\\partial_v(N\\circ X)$. Use $X_{vu}=X_{uv}$.",
          "recallPrompt": "How does $\\mathrm{II}(X_v,X_u)$ become $\\langle N,X_{uv}\\rangle$?",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "II"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "dN"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N_v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_uv"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ],
          "sequence": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "II"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "dN"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N_v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_uv"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ],
          "editor": {
            "palette": [
              {
                "tool": "II",
                "label": "II"
              },
              {
                "tool": "X_v",
                "label": "X_v"
              },
              {
                "tool": "X_u",
                "label": "X_u"
              },
              {
                "tool": "dN",
                "label": "dN"
              },
              {
                "tool": "N_v",
                "label": "N_v"
              },
              {
                "tool": "N",
                "label": "N"
              },
              {
                "tool": "X_uv",
                "label": "X_uv"
              }
            ],
            "operations": [
              "−",
              "+",
              "fraction",
              "=",
              ",",
              "(",
              ")",
              "square",
              "power",
              "||",
              "|",
              "⟨",
              "⟩",
              "sqrt",
              "×",
              "/",
              "{",
              "}",
              "matrix"
            ],
            "digits": [
              "0",
              "1",
              "2",
              "3"
            ],
            "initialAnswerVisible": true
          },
          "explanation": {
            "kind": "proof",
            "proof": {
              "intro": "",
              "steps": [
                {
                  "text": "The definition is $\\mathrm{II}(w,z)=-\\langle dN(w),z\\rangle$. The chain rule gives $dN(X_v)=N_v$."
                },
                {
                  "text": "Differentiate $\\langle N,X_u\\rangle=0$ with respect to $v$: $\\langle N_v,X_u\\rangle+\\langle N,X_{uv}\\rangle=0$."
                }
              ]
            }
          }
        },
        {
          "prompt": "For a regular chart $X$ with unit normal $N$, express $\\mathrm{II}(X_v,X_v)$ using $-dN$, then $N_v$, then $N$ and $X_{vv}$. All quantities are evaluated at the same chart point; $N_v=\\partial_v(N\\circ X)$.",
          "recallPrompt": "How does $\\mathrm{II}(X_v,X_v)$ become $\\langle N,X_{vv}\\rangle$?",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "II"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "dN"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N_v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_vv"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ],
          "sequence": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "II"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "dN"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N_v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_vv"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ],
          "editor": {
            "palette": [
              {
                "tool": "II",
                "label": "II"
              },
              {
                "tool": "X_v",
                "label": "X_v"
              },
              {
                "tool": "dN",
                "label": "dN"
              },
              {
                "tool": "N_v",
                "label": "N_v"
              },
              {
                "tool": "N",
                "label": "N"
              },
              {
                "tool": "X_vv",
                "label": "X_vv"
              }
            ],
            "operations": [
              "−",
              "+",
              "fraction",
              "=",
              ",",
              "(",
              ")",
              "square",
              "power",
              "||",
              "|",
              "⟨",
              "⟩",
              "sqrt",
              "×",
              "/",
              "{",
              "}",
              "matrix"
            ],
            "digits": [
              "0",
              "1",
              "2",
              "3"
            ],
            "initialAnswerVisible": true
          },
          "explanation": {
            "kind": "proof",
            "proof": {
              "intro": "",
              "steps": [
                {
                  "text": "The definition is $\\mathrm{II}(w,z)=-\\langle dN(w),z\\rangle$. The chain rule gives $dN(X_v)=N_v$."
                },
                {
                  "text": "Differentiate $\\langle N,X_v\\rangle=0$ with respect to $v$: $\\langle N_v,X_v\\rangle+\\langle N,X_{vv}\\rangle=0$."
                }
              ]
            }
          }
        }
      ]
    },
    {
      "id": "compute-gram-operator-matrix",
      "title": "The Gram matrix and a linear operator",
      "prompt": "Let $e_1,\\ldots,e_n$ be a basis of a real inner-product space, $M_{ih}=\\langle e_i,e_h\\rangle$ its Gram matrix, and $A$ the matrix of a linear operator $S$ in this basis. Using Einstein summation, show that $\\langle e_i,S(e_j)\\rangle=(MA)_{ij}$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "e_i",
            "label": "e_i"
          },
          {
            "tool": "e_j",
            "label": "e_j"
          },
          {
            "tool": "e_h",
            "label": "e_h"
          },
          {
            "tool": "S",
            "label": "S"
          },
          {
            "tool": "Aup_hj",
            "label": "Aup_hj"
          },
          {
            "tool": "M_ih",
            "label": "M_ih"
          },
          {
            "tool": "MA_ij",
            "label": "MA_ij"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}",
          "matrix"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "e_i"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "S"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "e_j"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "e_i"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "Aup_hj"
            },
            {
              "kind": "symbol",
              "text": "e_h"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "e_i"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "e_h"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            },
            {
              "kind": "symbol",
              "text": "Aup_hj"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "M_ih"
            },
            {
              "kind": "symbol",
              "text": "Aup_hj"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "MA_ij"
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "e_i"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "S"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "e_j"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "e_i"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "Aup_hj"
            },
            {
              "kind": "symbol",
              "text": "e_h"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "e_i"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "e_h"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            },
            {
              "kind": "symbol",
              "text": "Aup_hj"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "M_ih"
            },
            {
              "kind": "symbol",
              "text": "Aup_hj"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "MA_ij"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Column $j$ of $A$ gives $S(e_j)=A^h{}_j e_h$, with summation over $h$. Linearity in the second argument moves each scalar coefficient outside the inner product."
            },
            {
              "text": "Since $M_{ih}=\\langle e_i,e_h\\rangle$, the resulting sum is the $(i,j)$ entry of $MA$. Neither an orthonormal basis nor self-adjointness of $S$ is required."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "Using Einstein summation, how do you show that $\\langle e_i,S(e_j)\\rangle=(MA)_{ij}$, where $M$ is the Gram matrix and $A$ represents $S$ in the basis $e_1,\\ldots,e_n$?"
    },
    {
      "id": "sa-swap-scaled-basis",
      "title": "A swap in a rescaled basis",
      "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=e_2$ and $S(e_2)=e_1$. Give the matrix of $S$ in the ordered basis $(2e_1,e_2)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [],
        "operations": [
          "matrix",
          "fraction",
          "/",
          "−"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3",
          "4",
          "5",
          "6",
          "7",
          "8",
          "9"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "matrix",
              "cols": 2,
              "cells": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "fraction",
                      "top": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "1"
                          }
                        ]
                      },
                      "bottom": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Column $j$ contains the coordinates of $S(b_j)$ in the displayed basis $(b_1,b_2)$. For $(ce_1,e_2)$, $S(b_1)=c b_2$ and $S(b_2)=b_1/c$; scaling the other basis vector interchanges these coefficients."
            },
            {
              "text": "The operator is self-adjoint, although its matrix in this nonorthonormal basis is not symmetric."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice",
      "recallPrompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=e_2$ and $S(e_2)=e_1$. Give the matrix of $S$ in the ordered basis $(2e_1,e_2)$.",
      "variants": [
        {
          "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=e_2$ and $S(e_2)=e_1$. Give the matrix of $S$ in the ordered basis $(2e_1,e_2)$.",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "fraction",
                          "top": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          },
                          "bottom": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=e_2$ and $S(e_2)=e_1$. Give the matrix of $S$ in the ordered basis $(e_1,2e_2)$.",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "fraction",
                          "top": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          },
                          "bottom": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=e_2$ and $S(e_2)=e_1$. Give the matrix of $S$ in the ordered basis $(3e_1,e_2)$.",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "fraction",
                          "top": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          },
                          "bottom": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "3"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "3"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=e_2$ and $S(e_2)=e_1$. Give the matrix of $S$ in the ordered basis $(e_1,3e_2)$.",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "3"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "fraction",
                          "top": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          },
                          "bottom": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "3"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=e_2$ and $S(e_2)=e_1$. Give the matrix of $S$ in the ordered basis $(4e_1,e_2)$.",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "fraction",
                          "top": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          },
                          "bottom": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "4"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "4"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=e_2$ and $S(e_2)=e_1$. Give the matrix of $S$ in the ordered basis $(e_1,4e_2)$.",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "4"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "fraction",
                          "top": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          },
                          "bottom": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "4"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=e_2$ and $S(e_2)=e_1$. Give the matrix of $S$ in the ordered basis $(5e_1,e_2)$.",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "fraction",
                          "top": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          },
                          "bottom": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "5"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "5"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=e_2$ and $S(e_2)=e_1$. Give the matrix of $S$ in the ordered basis $(e_1,5e_2)$.",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "5"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "fraction",
                          "top": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          },
                          "bottom": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "5"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=e_2$ and $S(e_2)=e_1$. Give the matrix of $S$ in the ordered basis $(6e_1,e_2)$.",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "fraction",
                          "top": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          },
                          "bottom": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "6"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "6"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=e_2$ and $S(e_2)=e_1$. Give the matrix of $S$ in the ordered basis $(e_1,6e_2)$.",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "6"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "fraction",
                          "top": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          },
                          "bottom": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "6"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=e_2$ and $S(e_2)=e_1$. Give the matrix of $S$ in the ordered basis $(7e_1,e_2)$.",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "fraction",
                          "top": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          },
                          "bottom": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "7"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "7"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=e_2$ and $S(e_2)=e_1$. Give the matrix of $S$ in the ordered basis $(e_1,7e_2)$.",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "7"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "fraction",
                          "top": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          },
                          "bottom": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "7"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=e_2$ and $S(e_2)=e_1$. Give the matrix of $S$ in the ordered basis $(8e_1,e_2)$.",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "fraction",
                          "top": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          },
                          "bottom": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "8"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "8"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=e_2$ and $S(e_2)=e_1$. Give the matrix of $S$ in the ordered basis $(e_1,8e_2)$.",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "8"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "fraction",
                          "top": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          },
                          "bottom": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "8"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=e_2$ and $S(e_2)=e_1$. Give the matrix of $S$ in the ordered basis $(9e_1,e_2)$.",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "fraction",
                          "top": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          },
                          "bottom": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "9"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "9"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=e_2$ and $S(e_2)=e_1$. Give the matrix of $S$ in the ordered basis $(e_1,9e_2)$.",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "9"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "fraction",
                          "top": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          },
                          "bottom": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "9"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=e_2$ and $S(e_2)=e_1$. Give the matrix of $S$ in the ordered basis $(10e_1,e_2)$.",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "fraction",
                          "top": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          },
                          "bottom": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              },
                              {
                                "kind": "symbol",
                                "text": "0"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1"
                        },
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=e_2$ and $S(e_2)=e_1$. Give the matrix of $S$ in the ordered basis $(e_1,10e_2)$.",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1"
                        },
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "fraction",
                          "top": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              }
                            ]
                          },
                          "bottom": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "1"
                              },
                              {
                                "kind": "symbol",
                                "text": "0"
                              }
                            ]
                          }
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "sa-reflection-diagonal-basis",
      "title": "A reflection in a diagonal basis",
      "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=-e_1$ and $S(e_2)=e_2$. Give the matrix of $S$ in the ordered basis $(e_1+e_2,−e_1+e_2)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [],
        "operations": [
          "matrix",
          "fraction",
          "/",
          "−"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "matrix",
              "cols": 2,
              "cells": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "1"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "1"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "0"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Write the displayed basis as $(b_1,b_2)$. For two diagonals, $S(b_1)=b_2$ and $S(b_2)=b_1$. For a diagonal followed by a vertical vector, $S(b_1)=-b_1+2b_2$ and $S(b_2)=b_2$. These coordinate columns give the matrix."
            },
            {
              "text": "Reflecting the entire basis across either coordinate axis leaves these relations unchanged. The two-diagonal basis is orthogonal with equal lengths; the diagonal-plus-axis basis is not."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice",
      "recallPrompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=-e_1$ and $S(e_2)=e_2$. Give the matrix of $S$ in the ordered basis $(e_1+e_2,−e_1+e_2)$.",
      "variants": [
        {
          "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=-e_1$ and $S(e_2)=e_2$. Give the matrix of $S$ in the ordered basis $(e_1+e_2,−e_1+e_2)$.",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=-e_1$ and $S(e_2)=e_2$. Give the matrix of $S$ in the ordered basis $(e_1−e_2,−e_1−e_2)$.",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=-e_1$ and $S(e_2)=e_2$. Give the matrix of $S$ in the ordered basis $(−e_1+e_2,e_1+e_2)$.",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=-e_1$ and $S(e_2)=e_2$. Give the matrix of $S$ in the ordered basis $(−e_1−e_2,e_1−e_2)$.",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=-e_1$ and $S(e_2)=e_2$. Give the matrix of $S$ in the ordered basis $(e_1+e_2,e_2)$.",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "1"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=-e_1$ and $S(e_2)=e_2$. Give the matrix of $S$ in the ordered basis $(e_1−e_2,−e_2)$.",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "1"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=-e_1$ and $S(e_2)=e_2$. Give the matrix of $S$ in the ordered basis $(−e_1+e_2,e_2)$.",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "1"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "prompt": "Let $(e_1,e_2)$ be orthonormal, with $S(e_1)=-e_1$ and $S(e_2)=e_2$. Give the matrix of $S$ in the ordered basis $(−e_1−e_2,−e_2)$.",
          "answers": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "matrix",
                  "cols": 2,
                  "cells": [
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "1"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "0"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "sa-compute-bilinear-entries",
      "title": "From bilinear-form entries to coordinates",
      "prompt": "Let $e_1,\\ldots,e_n$ be a basis of a real inner-product space, and $S$ a linear operator. Write $v=x^i e_i$, $w=y^j e_j$, and $B_{ij}=\\langle S(e_i),e_j\\rangle$. Using Einstein summation, show that $\\langle S(v),w\\rangle=x^TBy$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "S",
            "label": "S"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "w",
            "label": "w"
          },
          {
            "tool": "xup_i",
            "label": "xup_i"
          },
          {
            "tool": "yup_j",
            "label": "yup_j"
          },
          {
            "tool": "e_i",
            "label": "e_i"
          },
          {
            "tool": "e_j",
            "label": "e_j"
          },
          {
            "tool": "B_ij",
            "label": "B_ij"
          },
          {
            "tool": "x",
            "label": "x"
          },
          {
            "tool": "B",
            "label": "B"
          },
          {
            "tool": "y",
            "label": "y"
          },
          {
            "tool": "T",
            "label": "T"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}",
          "matrix",
          "transpose"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "S"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "v"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "w"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "S"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "xup_i"
            },
            {
              "kind": "symbol",
              "text": "e_i"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "yup_j"
            },
            {
              "kind": "symbol",
              "text": "e_j"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "xup_i"
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "S"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "e_i"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "e_j"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            },
            {
              "kind": "symbol",
              "text": "yup_j"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "xup_i"
            },
            {
              "kind": "symbol",
              "text": "B_ij"
            },
            {
              "kind": "symbol",
              "text": "yup_j"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "x"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "T"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "B"
            },
            {
              "kind": "symbol",
              "text": "y"
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "S"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "v"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "w"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "S"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "xup_i"
            },
            {
              "kind": "symbol",
              "text": "e_i"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "yup_j"
            },
            {
              "kind": "symbol",
              "text": "e_j"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "xup_i"
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "S"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "e_i"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "e_j"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            },
            {
              "kind": "symbol",
              "text": "yup_j"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "xup_i"
            },
            {
              "kind": "symbol",
              "text": "B_ij"
            },
            {
              "kind": "symbol",
              "text": "yup_j"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "x"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "T"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "B"
            },
            {
              "kind": "symbol",
              "text": "y"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Linearity of $S$ and bilinearity of the real inner product pull out $x^i$ and $y^j$. Substituting the definition of $B_{ij}$ gives the coordinate contraction $x^TBy$."
            },
            {
              "text": "Conversely, choosing $v=e_i$ and $w=e_j$ in $\\langle S(v),w\\rangle=x^TBy$ recovers $B_{ij}=\\langle S(e_i),e_j\\rangle$. Self-adjointness is not needed for this equivalence."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "type": "equation-practice",
      "recallPrompt": "Why does $B_{ij}=\\langle S(e_i),e_j\\rangle$ give $\\langle S(v),w\\rangle=x^TBy$, for coordinate columns $x,y$ of $v,w$?"
    },
    {
      "id": "sa-gram-volume",
      "type": "equation-practice",
      "learningVersion": 1,
      "title": "Gram determinant and volume",
      "prompt": "Let $M$ be the Gram matrix of linearly independent vectors $v_1,\\ldots,v_k$ in a real inner-product space, and let $V$ be the volume of their spanned parallelepiped. Relate $\\det M$ to $V$.",
      "editor": {
        "palette": [
          {
            "tool": "det",
            "label": "det"
          },
          {
            "tool": "M",
            "label": "M"
          },
          {
            "tool": "V",
            "label": "V"
          }
        ],
        "operations": [
          "=",
          "−",
          "+",
          "(",
          ")",
          "square",
          "power",
          "sqrt",
          "matrix",
          "||",
          "×"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "det"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "M"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "V"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            }
          ]
        }
      ],
      "grading": {
        "symbolTypes": {
          "M": "matrix"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true,
        "matrixShapes": {
          "M": "square"
        }
      },
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "In orthonormal coordinates of their span, the coordinate matrix $A$ satisfies $M=A^TA$ and $V=|\\det A|$, so $\\det M=(\\det A)^2=V^2$."
            }
          ]
        }
      }
    },
    {
      "id": "l9-graph-frame",
      "title": "Tangents and upward normal to a graph",
      "prompt": "For the graph $X(u,v)=(u,v,f(u,v))$, give $X_u$, $X_v$, and the upward unit normal $N$, as three comma-separated equations.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "f_u",
            "label": "f_u"
          },
          {
            "tool": "f_v",
            "label": "f_v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "X_u"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "1"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "f_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "1"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "f_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ],
                  "kind": "row"
                }
              ],
              "kind": "row"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "children": [
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "bottom": {
                    "children": [
                      {
                        "kind": "radical",
                        "radicand": {
                          "children": [
                            {
                              "children": [
                                {
                                  "kind": "symbol",
                                  "text": "1"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "+"
                                },
                                {
                                  "base": {
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "f_u"
                                      }
                                    ],
                                    "kind": "row"
                                  },
                                  "exponent": {
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "2"
                                      }
                                    ],
                                    "kind": "row"
                                  },
                                  "kind": "power"
                                },
                                {
                                  "kind": "symbol",
                                  "text": "+"
                                },
                                {
                                  "base": {
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "f_v"
                                      }
                                    ],
                                    "kind": "row"
                                  },
                                  "exponent": {
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "2"
                                      }
                                    ],
                                    "kind": "row"
                                  },
                                  "kind": "power"
                                }
                              ],
                              "kind": "row"
                            }
                          ],
                          "kind": "row"
                        }
                      }
                    ],
                    "kind": "row"
                  },
                  "kind": "fraction",
                  "top": {
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "f_u"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "f_v"
                          }
                        ],
                        "kind": "row"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "1"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ],
                    "kind": "row"
                  }
                }
              ],
              "kind": "row"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Differentiate $X(u,v)=(u,v,f(u,v))$ componentwise to obtain the two tangent vectors."
            },
            {
              "text": "$X_u\\times X_v=(-f_u,-f_v,1)$ has positive third component. Divide by its norm $\\sqrt{1+f_u^2+f_v^2}$ to obtain the upward unit normal."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice",
      "recallPrompt": "For the graph $X(u,v)=(u,v,f(u,v))$, give $X_u$, $X_v$, and the upward unit normal $N$, as three comma-separated equations.",
      "multiplier": 2
    },
    {
      "id": "compute-l9-graph-gram-determinant",
      "title": "Gram determinant of a graph",
      "prompt": "For the graph $X(u,v)=(u,v,f(u,v))$, substitute the first fundamental-form coefficients and simplify $EG-F^2$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "G",
            "label": "G"
          },
          {
            "tool": "f_u",
            "label": "f_u"
          },
          {
            "tool": "f_v",
            "label": "f_v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}",
          "matrix"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "E"
            },
            {
              "kind": "symbol",
              "text": "G"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "F"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "1"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "f_u"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "1"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "f_v"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "f_u"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "f_v"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "1"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "f_u"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "f_v"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "E"
            },
            {
              "kind": "symbol",
              "text": "G"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "F"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "1"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "f_u"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "1"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "f_v"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "f_u"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "f_v"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "1"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "f_u"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "f_v"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Use $E=1+f_u^2$, $F=f_uf_v$, and $G=1+f_v^2$. Expanding the product cancels the term $f_u^2f_v^2$."
            },
            {
              "text": "This is $\\|X_u\\times X_v\\|^2$; its square root is the denominator in the upward unit normal."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "type": "equation-practice",
      "recallPrompt": "How does $EG-F^2$ simplify for the graph $X(u,v)=(u,v,f(u,v))$?",
      "multiplier": 2
    },
    {
      "id": "compute-l10-hilbert-test-derivatives",
      "title": "Hilbert proof: differentiate the second test function",
      "prompt": "Let $h_2(t)$ be the normal curvature in direction $X_v$ at $X(t,0)$. Along $(t,0)$, $h_2=ABC$ with $A=(1+f_v^2)^{-1}$, $B=(1+f_u^2+f_v^2)^{-1/2}$ and $C=f_{vv}$. At zero, $A=B=1$, $A^{\\prime}=A^{\\prime\\prime}=B^{\\prime}=0$, $B^{\\prime\\prime}=-a^2$, $C=b$ and $C^{\\prime\\prime}=q$, where $a:=f_{uu}(0,0)=k_1(p)$, $b:=f_{vv}(0,0)=k_2(p)$ and $q:=f_{vvuu}(0,0)$. Compute $h_2^{\\prime\\prime}(0)$, writing only the surviving product-rule terms before substituting.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "h_2''",
            "label": "h_2''"
          },
          {
            "tool": "B''",
            "label": "B''"
          },
          {
            "tool": "C",
            "label": "C"
          },
          {
            "tool": "C''",
            "label": "C''"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "q",
            "label": "q"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "h_2''"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "B''"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "C"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "C''"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "a"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "b"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "q"
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "h_2''"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "B''"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "C"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "C''"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "a"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "b"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "q"
            }
          ]
        }
      ],
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "h_2''": [
            "t"
          ],
          "B''": [
            "t"
          ],
          "C": [
            "t"
          ],
          "C''": [
            "t"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "type": "equation-practice",
      "recallPrompt": "For $h_2=ABC$, at zero $A=B=1$, $A^{\\prime}=A^{\\prime\\prime}=B^{\\prime}=0$, $B^{\\prime\\prime}=-a^2$, $C=b$ and $C^{\\prime\\prime}=q$. Compute $h_2^{\\prime\\prime}(0)$ through the surviving product-rule terms.",
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The full second product rule has six terms. $A^{\\prime}=A^{\\prime\\prime}=B^{\\prime}=0$ removes four; $A=B=1$ leaves $B^{\\prime\\prime} C+C^{\\prime\\prime}$."
            },
            {
              "text": "$A^{\\prime\\prime}(0)=0$ follows from $f_v=f_{uv}=0$, not from vanishing third derivatives. Exchanging the coordinate axes gives the other test function; smoothness makes their fourth derivatives equal. For $h_1$ along the other axis, this gives $h_1^{\\prime\\prime}(0)=-b^2a+q$."
            }
          ]
        }
      },
      "multiplier": 1
    },
    {
      "id": "compute-l13-conformal-scale",
      "title": "Angle preservation forces equal scales",
      "prompt": "Let $L$ be an injective angle-preserving linear map from a Euclidean plane into an inner-product space, and let $e_1,e_2$ be orthonormal. Since $e_1+e_2\\perp e_1-e_2$, start with zero and expand the inner product of their images to prove $\\|L(e_1)\\|^2=\\|L(e_2)\\|^2$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "L",
            "label": "L"
          },
          {
            "tool": "e_1",
            "label": "e_1"
          },
          {
            "tool": "e_2",
            "label": "e_2"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "L"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "L"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "L"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "L"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "L"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "L"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "L"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "e_1"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "L"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "e_2"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "L"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "L"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "L"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "L"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "L"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "L"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "L"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "e_1"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "L"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "e_2"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            }
          ]
        }
      ],
      "grading": {
        "symbolTypes": {
          "L": "matrix",
          "e_1": "vector",
          "e_2": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {
          "L": [
            "t"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "type": "equation-practice",
      "recallPrompt": "How does angle preservation by an injective linear map $L$ force the images of orthonormal $e_1,e_2$ to have equal lengths? Use $e_1+e_2\\perp e_1-e_2$.",
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Angle preservation applies to both perpendicular pairs: $e_1,e_2$ and $e_1+e_2,e_1-e_2$. Linearity expands the second pair; symmetry cancels its mixed terms."
            },
            {
              "text": "The images are perpendicular and have a common positive length $\\lambda$. Hence the Gram matrix is $\\lambda^2I$. This proves the common scale from angle preservation, rather than assuming it."
            }
          ]
        }
      },
      "multiplier": 2
    },
    {
      "id": "compute-l15-constant-curvature-models",
      "title": "Three constant-curvature metric models",
      "prompt": "In geodesic coordinates put $q=\\sqrt G>0$. Solve $q_{uu}+Kq=0$, $q(0,v)=1$, $q_u(0,v)=0$, in the three cases $K=0,a^2,-a^2$ with $a>0$. Write the corresponding functions $q_0(u),q_1(u),q_2(u)$ as three comma-separated equalities. Restrict to a neighborhood where $q>0$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "q_0",
            "label": "q_0"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "q_1",
            "label": "q_1"
          },
          {
            "tool": "cos",
            "label": "cos"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "q_2",
            "label": "q_2"
          },
          {
            "tool": "cosh",
            "label": "cosh"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "q_0"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "u"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "1"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "q_1"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "u"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "cos"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "a"
            },
            {
              "kind": "symbol",
              "text": "u"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "q_2"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "u"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "cosh"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "a"
            },
            {
              "kind": "symbol",
              "text": "u"
            },
            {
              "kind": "symbol",
              "text": ")"
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "q_0"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "u"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "1"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "q_1"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "u"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "cos"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "a"
            },
            {
              "kind": "symbol",
              "text": "u"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "q_2"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "u"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "cosh"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "a"
            },
            {
              "kind": "symbol",
              "text": "u"
            },
            {
              "kind": "symbol",
              "text": ")"
            }
          ]
        }
      ],
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "q_0": [
            "t"
          ],
          "q_1": [
            "t"
          ],
          "q_2": [
            "t"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "type": "equation-practice",
      "recallPrompt": "In geodesic coordinates put $q=\\sqrt G>0$. Solve $q_{uu}+Kq=0$, $q(0,v)=1$, $q_u(0,v)=0$, in the three cases $K=0,a^2,-a^2$ with $a>0$. Write the corresponding functions $q_0(u),q_1(u),q_2(u)$ as three comma-separated equalities. Restrict to a neighborhood where $q>0$.",
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The initial data select $1$, $\\cos(au)$ and $\\cosh(au)$ from the general solutions of the three constant-coefficient ODEs. Uniqueness makes the result independent of $v$."
            },
            {
              "text": "The metrics are $du^2+q(u)^2dv^2$. Two surfaces with the same constant $K$ therefore have identical metric functions in these coordinates; matching the coordinates gives a local isometry. This asserts neither a global isometry nor a complete negative-curvature surface in $\\mathbb R^3$."
            }
          ]
        }
      },
      "multiplier": 2
    },
    {
      "id": "compute-l16-frame-turning",
      "title": "Separate tangent turning from frame rotation",
      "prompt": "Along a unit-speed curve let $T=\\gamma^{\\prime}=\\cos\\theta\\,e_1+\\sin\\theta\\,e_2$ in a positively oriented orthonormal tangent frame, and $\\eta=N\\times T=-\\sin\\theta\\,e_1+\\cos\\theta\\,e_2$. Differentiate $T$ inside the inner product and show the surviving $\\cos^2\\theta+\\sin^2\\theta$ factor. Compute $k_g=\\langle T^{\\prime},\\eta\\rangle$ in terms of $\\theta^{\\prime}$ and frame derivatives, then move the derivative from $e_1$ to $e_2$. Primes denote arc-length derivatives.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "k_g",
            "label": "k_g"
          },
          {
            "tool": "T'",
            "label": "T'"
          },
          {
            "tool": "η",
            "label": "η"
          },
          {
            "tool": "θ'",
            "label": "θ'"
          },
          {
            "tool": "cos",
            "label": "cos"
          },
          {
            "tool": "θ",
            "label": "θ"
          },
          {
            "tool": "e_1'",
            "label": "e_1'"
          },
          {
            "tool": "sin",
            "label": "sin"
          },
          {
            "tool": "e_2'",
            "label": "e_2'"
          },
          {
            "tool": "e_2",
            "label": "e_2"
          },
          {
            "tool": "e_1",
            "label": "e_1"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "k_g"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "T'"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "η"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "θ'"
                    },
                    {
                      "kind": "symbol",
                      "text": "η"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "cos"
                        },
                        {
                          "kind": "symbol",
                          "text": "θ"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "e_1'"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "sin"
                        },
                        {
                          "kind": "symbol",
                          "text": "θ"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "e_2'"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "η"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "θ'"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "cos"
                              },
                              {
                                "kind": "symbol",
                                "text": "θ"
                              }
                            ]
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "sin"
                              },
                              {
                                "kind": "symbol",
                                "text": "θ"
                              }
                            ]
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "e_1'"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "θ'"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "e_1'"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "θ'"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2'"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "k_g"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "T'"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "η"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "θ'"
                    },
                    {
                      "kind": "symbol",
                      "text": "η"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "cos"
                        },
                        {
                          "kind": "symbol",
                          "text": "θ"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "e_1'"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "sin"
                        },
                        {
                          "kind": "symbol",
                          "text": "θ"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "e_2'"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "η"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "θ'"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "cos"
                              },
                              {
                                "kind": "symbol",
                                "text": "θ"
                              }
                            ]
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "power",
                      "base": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "sin"
                              },
                              {
                                "kind": "symbol",
                                "text": "θ"
                              }
                            ]
                          }
                        ]
                      },
                      "exponent": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "2"
                          }
                        ]
                      }
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "e_1'"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "θ'"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "e_1'"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "θ'"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2'"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ]
        }
      ],
      "grading": {
        "symbolTypes": {
          "T'": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "e_1'": "vector",
          "e_2'": "vector",
          "η": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "type": "equation-practice",
      "recallPrompt": "Along a unit-speed curve let $T=\\gamma^{\\prime}=\\cos\\theta\\,e_1+\\sin\\theta\\,e_2$ in a positively oriented orthonormal tangent frame, and $\\eta=N\\times T=-\\sin\\theta\\,e_1+\\cos\\theta\\,e_2$. Differentiate $T$ inside the inner product and show the surviving $\\cos^2\\theta+\\sin^2\\theta$ factor. Compute $k_g=\\langle T^{\\prime},\\eta\\rangle$ in terms of $\\theta^{\\prime}$ and frame derivatives, then move the derivative from $e_1$ to $e_2$. Primes denote arc-length derivatives.",
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Differentiating the trigonometric coefficients gives $\\theta^{\\prime}(-\\sin\\theta\\,e_1+\\cos\\theta\\,e_2)=\\theta^{\\prime}\\eta$. Since $\\|\\eta\\|=1$, its contribution is $\\theta^{\\prime}$."
            },
            {
              "text": "Unit length gives $\\langle e_i^{\\prime},e_i\\rangle=0$. Expanding the remaining pairings leaves $\\cos^2\\theta\\langle e_1^{\\prime},e_2\\rangle-\\sin^2\\theta\\langle e_2^{\\prime},e_1\\rangle$."
            },
            {
              "text": "$0=\\frac{d}{ds}(0)=\\frac{d}{ds}\\langle e_1,e_2\\rangle=\\langle e_1^{\\prime},e_2\\rangle+\\langle e_1,e_2^{\\prime}\\rangle$. This combines the two terms; $\\cos^2\\theta+\\sin^2\\theta=1$ then removes their coefficient."
            }
          ]
        }
      },
      "multiplier": 3
    },
    {
      "id": "compute-l19-derivation-coordinates",
      "title": "Recover a derivation from its coordinate values",
      "prompt": "In coordinates $x,y$ near $p$, use the local decomposition $h=h(p)+(x-x(p))h_1+(y-y(p))h_2$, with $h_1(p)=h_x(p)$ and $h_2(p)=h_y(p)$. For a derivation $D$ at $p$, expand $D(h)$ by linearity and the Leibniz rule, omit terms with factors vanishing at $p$, then substitute these values of $h_1,h_2$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "D",
            "label": "D"
          },
          {
            "tool": "h",
            "label": "h"
          },
          {
            "tool": "x",
            "label": "x"
          },
          {
            "tool": "h_1",
            "label": "h_1"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "y",
            "label": "y"
          },
          {
            "tool": "h_2",
            "label": "h_2"
          },
          {
            "tool": "h_x",
            "label": "h_x"
          },
          {
            "tool": "h_y",
            "label": "h_y"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "D"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "h"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "D"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "x"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "h_1"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "p"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "D"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "y"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "h_2"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "p"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "D"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "x"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "h_x"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "p"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "D"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "y"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "h_y"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "p"
            },
            {
              "kind": "symbol",
              "text": ")"
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "D"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "h"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "D"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "x"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "h_1"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "p"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "D"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "y"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "h_2"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "p"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "D"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "x"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "h_x"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "p"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "D"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "y"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "h_y"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "p"
            },
            {
              "kind": "symbol",
              "text": ")"
            }
          ]
        }
      ],
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "D": [
            "t"
          ],
          "h_1": [
            "t"
          ],
          "h_2": [
            "t"
          ],
          "h_x": [
            "t"
          ],
          "h_y": [
            "t"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "type": "equation-practice",
      "recallPrompt": "Use $h=h(p)+(x-x(p))h_1+(y-y(p))h_2$, where $h_1(p)=h_x(p)$ and $h_2(p)=h_y(p)$, to recover a derivation $D$ from $D(x),D(y)$.",
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The Leibniz rule gives $D(1)=D(1\\cdot1)=2D(1)$, hence $D$ kills constants."
            },
            {
              "text": "For example, $D((x-x(p))h_1)=D(x)h_1(p)+(x(p)-x(p))D(h_1)=D(x)h_1(p)$. The $y$ term works the same way."
            },
            {
              "text": "Substitute $h_1(p)=h_x(p)$ and $h_2(p)=h_y(p)$. The supplied decomposition comes from integrating the derivative along a straight coordinate segment; its proof is not part of this exercise."
            }
          ]
        }
      },
      "multiplier": 2
    },
    {
      "id": "compute-l20-embedding-kernel",
      "title": "The projective embedding has no tangent kernel",
      "prompt": "For $\\Phi(x,y,z)=(x^2-y^2,xy,xz,yz)$ on $S^2$, a tangent kernel vector $(a,b,c)$ satisfies $xa-yb=ya+xb=za+xc=zb+yc=0$ and $xa+yb+zc=0$. Start with $0=(xa-yb)^2+(ya+xb)^2$, expand and factor to prove $a=b=0$ when $x^2+y^2>0$. The remaining equations and the pole case finish the proof in Details.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "x",
            "label": "x"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "y",
            "label": "y"
          },
          {
            "tool": "b",
            "label": "b"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "x"
                  },
                  {
                    "kind": "symbol",
                    "text": "a"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "symbol",
                    "text": "y"
                  },
                  {
                    "kind": "symbol",
                    "text": "b"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "y"
                  },
                  {
                    "kind": "symbol",
                    "text": "a"
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "symbol",
                    "text": "x"
                  },
                  {
                    "kind": "symbol",
                    "text": "b"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "x"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "y"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "b"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "y"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "x"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "b"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "x"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "y"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "b"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "x"
                  },
                  {
                    "kind": "symbol",
                    "text": "a"
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "symbol",
                    "text": "y"
                  },
                  {
                    "kind": "symbol",
                    "text": "b"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "y"
                  },
                  {
                    "kind": "symbol",
                    "text": "a"
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "symbol",
                    "text": "x"
                  },
                  {
                    "kind": "symbol",
                    "text": "b"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "x"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "y"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "b"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "y"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "x"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "b"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "x"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "y"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "b"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            }
          ]
        }
      ],
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "type": "equation-practice",
      "recallPrompt": "If $xa-yb=ya+xb=0$ and $x^2+y^2>0$, show by adding two squares that $a=b=0$. This is the main kernel step for the projective embedding.",
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The mixed terms cancel. When $x^2+y^2>0$, the sum of squares forces $a=b=0$; then $xc=yc=0$ forces $c=0$."
            },
            {
              "text": "At a pole $x=y=0$, $z=\\pm1$. Tangency gives $c=0$, and the last two components of $d\\Phi$ give $za=zb=0$, hence $a=b=0$. This proves injectivity on every tangent plane, including the equator omitted by a single hemisphere chart."
            }
          ]
        }
      },
      "multiplier": 2
    },
    {
      "id": "compute-l20-isometry-classification",
      "title": "Helicoid isometries: force the coordinate derivatives",
      "prompt": "For a smooth isometry $(u,v)\\mapsto(U,V)$ of $I=(1+v^2)du^2+dv^2$, curvature preservation gives $V=bv$ with constant $b=\\pm1$. Compare the $dv^2$ and $du^2$ coefficients of the pulled-back metric, in that order, then give the resulting values of $U_v^2$ and $U_u^2$ as four comma-separated equalities.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "U_v",
            "label": "U_v"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "U_u",
            "label": "U_u"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "1"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "U_v"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "1"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "1"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "1"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "U_u"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "1"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "v"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "U_v"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "U_u"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "1"
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "1"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "U_v"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "1"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "1"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "1"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "U_u"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "1"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "v"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "U_v"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "U_u"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "1"
            }
          ]
        }
      ],
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "type": "equation-practice",
      "recallPrompt": "For a smooth isometry $(u,v)\\mapsto(U,V)$ of $I=(1+v^2)du^2+dv^2$, curvature preservation gives $V=bv$ with constant $b=\\pm1$. Compare the $dv^2$ and $du^2$ coefficients of the pulled-back metric, in that order, then give the resulting values of $U_v^2$ and $U_u^2$ as four comma-separated equalities.",
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The pullback is $(1+v^2)(U_u\\,du+U_v\\,dv)^2+dv^2$. Its $dv^2$ coefficient gives $(1+v^2)U_v^2+1=1$; its $du^2$ coefficient gives $(1+v^2)U_u^2=1+v^2$."
            },
            {
              "text": "Hence $U_v=0$ and the continuous function $U_u$ takes values in $\\{1,-1\\}$. On the connected coordinate plane it has one sign $a$, so $U=au+c$."
            },
            {
              "text": "Since $K(v)=-1/(1+v^2)^2$, curvature preservation forces $V^2=v^2$. On each half-plane $V/v$ is one constant sign. Smoothness across $v=0$ forces the signs to agree, giving $V=bv$ globally."
            },
            {
              "text": "Conversely, every map $(u,v)\\mapsto(au+c,bv)$ with independent signs $a,b$ is a diffeomorphism and preserves the metric by direct substitution. Thus the list is exhaustive."
            }
          ]
        }
      },
      "multiplier": 2
    },
    {
      "id": "compute-l10-hilbert-adapted-graph",
      "title": "Principal axes make the mixed derivative vanish",
      "prompt": "Write the surface near $p=X(0,0)$ as the upward-oriented graph $X(u,v)=(u,v,f(u,v))$, with horizontal tangent plane. Choose $X_u(0,0)=e_1$, $X_v(0,0)=e_2$ as orthonormal principal directions, with $S(e_1)=ae_1$ and $S(e_2)=be_2$, where $a:=k_1(p)$ and $b:=k_2(p)$. Prove $f_{uv}(0,0)=0$ through the second fundamental form and $S$. Elide evaluation at $(0,0)$ and $p$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "f_uv",
            "label": "f_uv"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "X_uv",
            "label": "X_uv"
          },
          {
            "tool": "II",
            "label": "II"
          },
          {
            "tool": "e_1",
            "label": "e_1"
          },
          {
            "tool": "e_2",
            "label": "e_2"
          },
          {
            "tool": "S",
            "label": "S"
          },
          {
            "tool": "a",
            "label": "a"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "f_uv"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_uv"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "II"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "S"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "e_1"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "a"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "f_uv"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "X_uv"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "II"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "S"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "e_1"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "a"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "grading": {
        "symbolTypes": {
          "N": "vector",
          "X_uv": "vector",
          "e_1": "vector",
          "e_2": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "type": "equation-practice",
      "recallPrompt": "Why does a graph over principal tangent axes satisfy $f_{uv}(0,0)=0$? Use $S(e_1)=ae_1$ and $e_1\\perp e_2$. Elide evaluation points.",
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "For the upward-oriented graph, $N=\\frac{(-f_u,-f_v,1)}{\\sqrt{1+f_u^2+f_v^2}}$ and $X_{uv}=(0,0,f_{uv})$. At $(0,0)$ the tangent plane is horizontal, so $f_u=f_v=0$, $N(p)=(0,0,1)$ and $\\langle N,X_{uv}\\rangle=f_{uv}(0,0)$.",
          "steps": [
            {
              "text": "Differentiate the orthogonality identity: $0=\\partial_v(0)=\\partial_v\\langle N,X_u\\rangle=\\langle N_v,X_u\\rangle+\\langle N,X_{uv}\\rangle$. Here $N_v=\\partial_v(N\\circ X)=dN(X_v)$ by the chain rule."
            },
            {
              "text": "At the origin, using $S=-dN$ and the principal directions, $\\langle N,X_{uv}\\rangle=-\\langle N_v,X_u\\rangle=-\\langle dN(X_v),X_u\\rangle=\\langle S(X_v),X_u\\rangle=b\\langle X_v,X_u\\rangle=0$. Hence $f_{uv}(0,0)=0$."
            },
            {
              "text": "A local graph exists by the inverse function theorem. Translation and rotation make the tangent plane horizontal; orthonormal principal axes exist because $S$ is self-adjoint. These are coordinate choices, not extra restrictions on the surface."
            }
          ]
        }
      },
      "multiplier": 3
    },
    {
      "id": "compute-l10-hilbert-q-derivatives",
      "title": "Differentiate the squared graph-normal factor",
      "prompt": "For the adapted graph, let $Q(t)=1+f_u(t,0)^2+f_v(t,0)^2$. Compute $Q^{\\prime}$, $Q^{\\prime\\prime}$, then $Q^{\\prime}(0)$, $Q^{\\prime\\prime}(0)$, showing the surviving partial derivative before substituting $a$. Elide $(t,0)$ in the first two equations. At $(0,0)$, $f_u=f_v=f_{uv}=0$ and $a:=f_{uu}(0,0)=k_1(p)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "Q'",
            "label": "Q'"
          },
          {
            "tool": "f_u",
            "label": "f_u"
          },
          {
            "tool": "f_uu",
            "label": "f_uu"
          },
          {
            "tool": "f_v",
            "label": "f_v"
          },
          {
            "tool": "f_uv",
            "label": "f_uv"
          },
          {
            "tool": "Q''",
            "label": "Q''"
          },
          {
            "tool": "f_uuu",
            "label": "f_uuu"
          },
          {
            "tool": "f_uuv",
            "label": "f_uuv"
          },
          {
            "tool": "a",
            "label": "a"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "Q'"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "f_u"
                },
                {
                  "kind": "symbol",
                  "text": "f_uu"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "f_v"
                },
                {
                  "kind": "symbol",
                  "text": "f_uv"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "Q''"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f_uu"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "f_u"
                },
                {
                  "kind": "symbol",
                  "text": "f_uuu"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f_uv"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "f_v"
                },
                {
                  "kind": "symbol",
                  "text": "f_uuv"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "Q'"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "Q''"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f_uu"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "Q'"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "f_u"
                },
                {
                  "kind": "symbol",
                  "text": "f_uu"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "f_v"
                },
                {
                  "kind": "symbol",
                  "text": "f_uv"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "Q''"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f_uu"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "f_u"
                },
                {
                  "kind": "symbol",
                  "text": "f_uuu"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f_uv"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "symbol",
                  "text": "f_v"
                },
                {
                  "kind": "symbol",
                  "text": "f_uuv"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "Q'"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "Q''"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f_uu"
                      },
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "0"
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "2"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            }
          ]
        }
      ],
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "f_uu": [
            "u",
            "v"
          ],
          "Q'": [
            "t"
          ],
          "Q''": [
            "t"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "type": "equation-practice",
      "recallPrompt": "For $Q(t)=1+f_u(t,0)^2+f_v(t,0)^2$, compute its first two derivatives and evaluate $Q^{\\prime}(0)$ and $Q^{\\prime\\prime}(0)$ when $f_u=f_v=f_{uv}=0$, $a:=f_{uu}(0,0)=k_1(p)$ at zero. Elide $(t,0)$.",
      "explanation": {
        "kind": "definition",
        "definition": "Along $(u,v)=(t,0)$, differentiation in $t$ is partial differentiation in $u$, evaluated at $(t,0)$. Apply the product rule to both terms of $Q^{\\prime}$. At zero, only $2f_{uu}^2$ survives: the third derivatives need not vanish. The same assumptions give $Q(0)=1$ and $Q^{\\prime}(0)=0$."
      },
      "multiplier": 3
    },
    {
      "id": "compute-l10-hilbert-factor-values",
      "title": "Collect the three factors and their derivatives",
      "prompt": "List $A(0),A^{\\prime}(0),A^{\\prime\\prime}(0),B(0),B^{\\prime}(0),B^{\\prime\\prime}(0),C(0),C^{\\prime}(0),C^{\\prime\\prime}(0)$, where $A(t)=(1+f_v(t,0)^2)^{-1}$, $B(t)=(1+f_u(t,0)^2+f_v(t,0)^2)^{-1/2}$ and $C(t)=f_{vv}(t,0)$. Use $a:=f_{uu}(0,0)=k_1(p)$, $b:=f_{vv}(0,0)=k_2(p)$ and $q:=f_{vvuu}(0,0)$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "B",
            "label": "B"
          },
          {
            "tool": "C",
            "label": "C"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "A'",
            "label": "A'"
          },
          {
            "tool": "B'",
            "label": "B'"
          },
          {
            "tool": "C'",
            "label": "C'"
          },
          {
            "tool": "f_uvv",
            "label": "f_uvv"
          },
          {
            "tool": "A''",
            "label": "A''"
          },
          {
            "tool": "B''",
            "label": "B''"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "C''",
            "label": "C''"
          },
          {
            "tool": "q",
            "label": "q"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "A"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "1"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "A'"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "A''"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "1"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "B'"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "B''"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "C"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "b"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "C'"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "f_uvv"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "C''"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "q"
                }
              ]
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "A"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "1"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "A'"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "A''"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "1"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "B'"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "0"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "B''"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "a"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "C"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "b"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "C'"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "f_uvv"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "C''"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "0"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "="
                },
                {
                  "kind": "symbol",
                  "text": "q"
                }
              ]
            }
          ]
        }
      ],
      "grading": {
        "symbolTypes": {},
        "scalarProducts": true,
        "implicitArguments": {
          "A": [
            "t"
          ],
          "B": [
            "t"
          ],
          "C": [
            "t"
          ],
          "A'": [
            "t"
          ],
          "B'": [
            "t"
          ],
          "C'": [
            "t"
          ],
          "A''": [
            "t"
          ],
          "B''": [
            "t"
          ],
          "C''": [
            "t"
          ],
          "f_uvv": [
            "u",
            "v"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "type": "equation-practice",
      "recallPrompt": "List $A(0),A^{\\prime}(0),A^{\\prime\\prime}(0),B(0),B^{\\prime}(0),B^{\\prime\\prime}(0),C(0),C^{\\prime}(0),C^{\\prime\\prime}(0)$, where $A(t)=(1+f_v(t,0)^2)^{-1}$, $B(t)=(1+f_u(t,0)^2+f_v(t,0)^2)^{-1/2}$ and $C(t)=f_{vv}(t,0)$. Use $a:=f_{uu}(0,0)=k_1(p)$, $b:=f_{vv}(0,0)=k_2(p)$ and $q:=f_{vvuu}(0,0)$.",
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "We use the adapted graph from the preceding cards: at $(0,0)$, $f_u=f_v=f_{uv}=0$. Set $a:=f_{uu}(0,0)=k_1(p)$, $b:=f_{vv}(0,0)=k_2(p)$ and $q:=f_{vvuu}(0,0)$.",
          "steps": [
            {
              "text": "Along $(t,0)$, differentiation is in $u$; arguments are elided below. Differentiating $A=(1+f_v^2)^{-1}$ gives $A^{\\prime}=-2f_vf_{uv}(1+f_v^2)^{-2}$."
            },
            {
              "text": "The product and chain rules give $A^{\\prime\\prime}=-2(f_{uv}^2+f_vf_{uuv})(1+f_v^2)^{-2}+8f_v^2f_{uv}^2(1+f_v^2)^{-3}$. Every term vanishes at $(0,0)$ because $f_v=f_{uv}=0$; no third derivative is assumed zero."
            },
            {
              "text": "$A(0)=B(0)=1$ follows from $f_u=f_v=0$. Also $B^{\\prime}=-\\tfrac12Q^{-3/2}Q^{\\prime}$ gives $B^{\\prime}(0)=0$; the preceding card gives $B^{\\prime\\prime}(0)=-a^2$."
            },
            {
              "text": "Since $C(t)=f_{vv}(t,0)$, $C(0)=b$, $C^{\\prime}(0)=f_{uvv}(0,0)$ and $C^{\\prime\\prime}(0)=f_{vvuu}(0,0)=q$. In particular, $C^{\\prime}(0)$ need not vanish."
            }
          ]
        }
      },
      "multiplier": 3
    },
    {
      "id": "compute-l10-hilbert-principal-value",
      "title": "Evaluate the principal curvature at the adapted origin",
      "prompt": "For the upward-oriented graph $X(u,v)=(u,v,f(u,v))$ with horizontal tangent plane at $p=X(0,0)$, let $X_u$ be a principal direction for $k_1(p)$. Evaluate $k_1(p)$: start with the quotient of the second and first fundamental forms, express it using derivatives of $f$, then simplify using $f_u(0,0)=f_v(0,0)=0$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "k_1",
            "label": "k_1"
          },
          {
            "tool": "p",
            "label": "p"
          },
          {
            "tool": "II",
            "label": "II"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "f_uu",
            "label": "f_uu"
          },
          {
            "tool": "f_u",
            "label": "f_u"
          },
          {
            "tool": "f_v",
            "label": "f_v"
          }
        ],
        "operations": [
          "=",
          "+",
          "−",
          "fraction",
          "square",
          "power",
          "sqrt",
          "(",
          ")",
          ",",
          "⟨",
          "⟩",
          "×",
          "||",
          "|",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "k_1"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "p"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "II"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "⟨"
                  },
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "⟩"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "f_uu"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "1"
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "f_u"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "radical",
                    "radicand": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "power",
                          "base": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "f_u"
                              }
                            ]
                          },
                          "exponent": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ]
                          }
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "power",
                          "base": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "f_v"
                              }
                            ]
                          },
                          "exponent": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "f_uu"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Since $X_u$ is principal at $p$, its normal curvature is $k_1(p)$. For the upward-oriented graph, $N=\\frac{(-f_u,-f_v,1)}{\\sqrt{1+f_u^2+f_v^2}}$ and $X_{uu}=(0,0,f_{uu})$. Thus $\\mathrm{II}(X_u,X_u)=\\langle N,X_{uu}\\rangle=\\frac{\\langle(-f_u,-f_v,1),(0,0,f_{uu})\\rangle}{\\sqrt{1+f_u^2+f_v^2}}=\\frac{f_{uu}}{\\sqrt{1+f_u^2+f_v^2}}$. Also $X_u=(1,0,f_u)$ gives $\\langle X_u,X_u\\rangle=1+f_u^2$."
            },
            {
              "text": "The horizontal tangent plane gives $f_u(0,0)=f_v(0,0)=0$, so both normalization factors become 1."
            },
            {
              "text": "Exchanging $u,v$ gives $k_v=\\frac{\\mathrm{II}(X_v,X_v)}{\\langle X_v,X_v\\rangle}=\\frac{f_{vv}}{(1+f_v^2)\\sqrt{1+f_u^2+f_v^2}}$. Along $(t,0)$ this is $h_2(t)$; the $X_u$ formula along $(0,t)$ gives $h_1(t)$. These directions need only be principal at $p$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "k_1"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "p"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "II"
                  },
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "⟨"
                  },
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "⟩"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "f_uu"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "("
                  },
                  {
                    "kind": "symbol",
                    "text": "1"
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "f_u"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  },
                  {
                    "kind": "symbol",
                    "text": ")"
                  },
                  {
                    "kind": "radical",
                    "radicand": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "1"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "power",
                          "base": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "f_u"
                              }
                            ]
                          },
                          "exponent": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ]
                          }
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "power",
                          "base": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "f_v"
                              }
                            ]
                          },
                          "exponent": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "2"
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "f_uu"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            }
          ]
        }
      ],
      "type": "equation-practice",
      "recallPrompt": "For an upward-oriented graph with horizontal tangent plane at $p=X(0,0)$ and principal direction $X_u$ for $k_1(p)$, compute $k_1(p)$ from the fundamental forms through the graph derivatives.",
      "multiplier": 2
    },
    {
      "id": "compute-l14-stationarity-equation",
      "title": "From length stationarity to the geodesic equation",
      "prompt": "Along a unit-speed geodesic put $A=\\tfrac12(E_u\\dot u^2+2F_u\\dot u\\dot v+G_u\\dot v^2)$ and $B=E\\dot u+F\\dot v$. Vary only $u$ by $u+s\\varphi$, with $\\varphi$ smooth and compactly supported in $(a,b)$. The length variation is $L^{\\prime}(0)=\\int_a^b(A\\varphi+B\\varphi^{\\prime})\\,dt$. Starting with $0=L^{\\prime}(0)$, integrate by parts, then use the fundamental lemma to obtain an equation for $B^{\\prime}$. Elide $t$ arguments.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "B",
            "label": "B"
          },
          {
            "tool": "B'",
            "label": "B'"
          },
          {
            "tool": "φ",
            "label": "φ"
          },
          {
            "tool": "φ'",
            "label": "φ'"
          },
          {
            "tool": "L'",
            "label": "L'"
          },
          {
            "tool": "int_ab",
            "label": "int_ab"
          },
          {
            "tool": "dt",
            "label": "dt"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "L'"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "int_ab"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "A"
                    },
                    {
                      "kind": "symbol",
                      "text": "φ"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": "φ'"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "dt"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "int_ab"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "A"
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "B'"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "φ"
            },
            {
              "kind": "symbol",
              "text": "dt"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "B'"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "A"
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "L'"
            },
            {
              "kind": "symbol",
              "text": "("
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ")"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "int_ab"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "A"
                    },
                    {
                      "kind": "symbol",
                      "text": "φ"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": "φ'"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "dt"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "int_ab"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "A"
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "B'"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "φ"
            },
            {
              "kind": "symbol",
              "text": "dt"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "B'"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "A"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Unit speed is imposed only on the original curve: at $s=0$, $\\partial_s\\sqrt R=\\tfrac12\\partial_sR$. Varying $u$ alone therefore gives exactly the stated $A\\varphi+B\\varphi^{\\prime}$ integrand."
            },
            {
              "text": "Integration by parts replaces $\\int B\\varphi^{\\prime}\\,dt$ by $-\\int B^{\\prime}\\varphi\\,dt$; the boundary term vanishes because $\\varphi$ is compactly supported. Stationarity gives the initial zero."
            },
            {
              "text": "The identity holds for every such $\\varphi$, so the fundamental lemma gives $A-B^{\\prime}=0$. Substituting the definitions yields $\\frac{d}{dt}(E\\dot u+F\\dot v)=\\tfrac12(E_u\\dot u^2+2F_u\\dot u\\dot v+G_u\\dot v^2)$, the $u$ geodesic equation. Varying $v$ instead gives its companion."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "type": "equation-practice",
      "recallPrompt": "With $A=\\tfrac12(E_u\\dot u^2+2F_u\\dot u\\dot v+G_u\\dot v^2)$ and $B=E\\dot u+F\\dot v$, derive $B^{\\prime}=A$ from stationary length and $L^{\\prime}(0)=\\int_a^b(A\\varphi+B\\varphi^{\\prime})\\,dt$ for every compactly supported $\\varphi$. Elide $t$ arguments.",
      "multiplier": 2
    },
    {
      "id": "compute-l18-vertical-equation",
      "title": "Derive the vertical half-plane geodesic equation",
      "prompt": "For a unit-speed geodesic $(u(t),v(t))$ in the half-plane, $E=G=v^{-2}$ and $F=0$. The general equation is $\\frac{d}{dt}(F u^{\\prime}+G v^{\\prime})=\\tfrac12(E_v(u^{\\prime})^2+2F_vu^{\\prime}v^{\\prime}+G_v(v^{\\prime})^2)$. Expand $\\frac{\\partial}{\\partial t}(v^{\\prime}/v^2)$, equate it to the substituted right-hand side, then solve for $v^{\\prime\\prime}$. Elide $t$ arguments.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "∂",
            "label": "∂"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "v'",
            "label": "v'"
          },
          {
            "tool": "v''",
            "label": "v''"
          },
          {
            "tool": "u'",
            "label": "u'"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "∂"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "∂"
                  },
                  {
                    "kind": "symbol",
                    "text": "t"
                  }
                ]
              }
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v'"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "v"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "v''"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v'"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "3"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "u'"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v'"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "3"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "v''"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v'"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "u'"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "v"
                  }
                ]
              }
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "∂"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "∂"
                  },
                  {
                    "kind": "symbol",
                    "text": "t"
                  }
                ]
              }
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v'"
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "v"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "v''"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v'"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "3"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "u'"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v'"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "3"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "v''"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "v'"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  },
                  {
                    "kind": "symbol",
                    "text": "−"
                  },
                  {
                    "kind": "power",
                    "base": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "u'"
                        }
                      ]
                    },
                    "exponent": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "2"
                        }
                      ]
                    }
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "v"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Here $E_v=G_v=-2/v^3$ and $F_v=0$, so the right-hand side of the general equation is $-((u^{\\prime})^2+(v^{\\prime})^2)/v^3$."
            },
            {
              "text": "The product rule applied to $v^{\\prime}v^{-2}$ gives $v^{\\prime\\prime}/v^2-2(v^{\\prime})^2/v^3$. Multiply the resulting equation by $v^3>0$ and collect terms."
            },
            {
              "text": "This equation also holds for an affine parameter, whose speed is constant. Together with the horizontal equation it is used in the conserved-center computation; the speed constraint alone does not replace it."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "type": "equation-practice",
      "recallPrompt": "For the half-plane metric $E=G=v^{-2},F=0$, derive the vertical geodesic equation by expanding $\\frac{\\partial}{\\partial t}(v^{\\prime}/v^2)$ in the general coordinate equation, then solving for $v^{\\prime\\prime}$. Elide $t$ arguments.",
      "multiplier": 2
    },
    {
      "id": "compute-l12-foundation-variation-tangent-u-first",
      "title": "Coordinate differentiation before variation",
      "prompt": "For $X^t(u,v)=X(u,v)+t h(u,v)N(u,v)$, with $X,h,N$ independent of $t$, compute $\\partial_t(\\partial_uX^t)$ by differentiating first in $u$, then in $t$. Elide $(u,v)$ arguments.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "Xup_t",
            "label": "Xup_t"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "h_u",
            "label": "h_u"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "h",
            "label": "h"
          },
          {
            "tool": "N_u",
            "label": "N_u"
          },
          {
            "tool": "partialop_t",
            "label": "partialop_t"
          },
          {
            "tool": "partialop_u",
            "label": "partialop_u"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "partialop_t"
                }
              ]
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "partialop_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "Xup_t"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "partialop_t"
                }
              ]
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "t"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "h_u"
                            },
                            {
                              "kind": "symbol",
                              "text": "N"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "kind": "symbol",
                              "text": "h"
                            },
                            {
                              "kind": "symbol",
                              "text": "N_u"
                            }
                          ]
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "h_u"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "h"
                },
                {
                  "kind": "symbol",
                  "text": "N_u"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Hold $t$ fixed in the inner derivative: $\\partial_uX^t=X_u+t(h_uN+hN_u)$. In the outer derivative, $X_u,h_u,N,h,N_u$ are independent of $t$, so only the factor $t$ contributes."
            },
            {
              "text": "This identity holds for every $t$. The superscript $t$ labels the variation, not a power; unadorned $X$ is the original parametrization $X^0$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "X_u": "vector",
          "N": "vector",
          "N_u": "vector",
          "X": "vector",
          "Xup_t": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "partialop_t"
                }
              ]
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "partialop_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "Xup_t"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "partialop_t"
                }
              ]
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "t"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "h_u"
                            },
                            {
                              "kind": "symbol",
                              "text": "N"
                            },
                            {
                              "kind": "symbol",
                              "text": "+"
                            },
                            {
                              "kind": "symbol",
                              "text": "h"
                            },
                            {
                              "kind": "symbol",
                              "text": "N_u"
                            }
                          ]
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "h_u"
                },
                {
                  "kind": "symbol",
                  "text": "N"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "symbol",
                  "text": "h"
                },
                {
                  "kind": "symbol",
                  "text": "N_u"
                }
              ]
            }
          ]
        }
      ],
      "type": "equation-practice",
      "recallPrompt": "For $X^t=X+thN$, compute $\\partial_t(\\partial_uX^t)$ in the indicated order. Elide $(u,v)$ arguments.",
      "multiplier": 2
    },
    {
      "id": "compute-l12-dot-inner-product",
      "title": "Differentiate an inner product, then evaluate",
      "prompt": "Let $A(t),B(t)$ be smooth vector-valued functions. In this sequence, a dot means the $t$-derivative evaluated at $t=0$. Expand $\\dot{\\langle A,B\\rangle}$: write the derivative at zero, apply the inner-product rule, then evaluate both factors.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "dot_innerAB",
            "label": "dot_innerAB"
          },
          {
            "tool": "A",
            "label": "A"
          },
          {
            "tool": "B",
            "label": "B"
          },
          {
            "tool": "A'",
            "label": "A'"
          },
          {
            "tool": "B'",
            "label": "B'"
          },
          {
            "tool": "dot_A",
            "label": "dot_A"
          },
          {
            "tool": "dot_B",
            "label": "dot_B"
          },
          {
            "tool": "'",
            "label": "'"
          },
          {
            "tool": "(0)",
            "label": "(0)"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "dot_innerAB"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "A"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "B"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "'"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "(0)"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "A'"
                    },
                    {
                      "kind": "symbol",
                      "text": "(0)"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": "(0)"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "A"
                    },
                    {
                      "kind": "symbol",
                      "text": "(0)"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "B'"
                    },
                    {
                      "kind": "symbol",
                      "text": "(0)"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "dot_A"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": "(0)"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "A"
                    },
                    {
                      "kind": "symbol",
                      "text": "(0)"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "dot_B"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "First differentiate the functions of $t$: $(\\langle A,B\\rangle)^{\\prime}=\\langle A^{\\prime},B\\rangle+\\langle A,B^{\\prime}\\rangle$. Only then evaluate at zero, using $A^{\\prime}(0)=\\dot A$ and $B^{\\prime}(0)=\\dot B$."
            },
            {
              "text": "$A(0)$ and $\\dot A$ are fixed vectors, but generally different ones: one is a value and the other a velocity. The dot includes evaluation at zero, not just differentiation."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "A": "vector",
          "B": "vector",
          "A'": "vector",
          "B'": "vector",
          "dot_A": "vector",
          "dot_B": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {
          "A": [
            "t"
          ],
          "B": [
            "t"
          ],
          "A'": [
            "t"
          ],
          "B'": [
            "t"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "dot_innerAB"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "("
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "⟨"
                          },
                          {
                            "kind": "symbol",
                            "text": "A"
                          },
                          {
                            "kind": "symbol",
                            "text": ","
                          },
                          {
                            "kind": "symbol",
                            "text": "B"
                          },
                          {
                            "kind": "symbol",
                            "text": "⟩"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ")"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "'"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "(0)"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "A'"
                    },
                    {
                      "kind": "symbol",
                      "text": "(0)"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": "(0)"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "A"
                    },
                    {
                      "kind": "symbol",
                      "text": "(0)"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "B'"
                    },
                    {
                      "kind": "symbol",
                      "text": "(0)"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "dot_A"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "B"
                    },
                    {
                      "kind": "symbol",
                      "text": "(0)"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "A"
                    },
                    {
                      "kind": "symbol",
                      "text": "(0)"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "dot_B"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ]
        }
      ],
      "type": "equation-practice",
      "recallPrompt": "With dots denoting $t$-derivatives at zero, show the product-rule computation for $\\dot{\\langle A,B\\rangle}$.",
      "multiplier": 2
    },
    {
      "id": "compute-l13-alpha1-v",
      "type": "equation-practice",
      "title": "Differentiate frame coefficient 1 in v",
      "prompt": "In a smooth orthonormal frame $e_1,e_2,N$, let $\\alpha_1=\\langle e_{1,u},e_2\\rangle$, $e_{1,u}=\\alpha_1e_2+\\lambda_1N$, and $e_{2,v}=-\\alpha_2e_1+\\mu_2N$. Compute $(\\alpha_1)_v$ by the inner-product rule, substitute the frame expansions, then use orthonormality.",
      "recallPrompt": "In a smooth orthonormal frame $e_1,e_2,N$, let $\\alpha_1=\\langle e_{1,u},e_2\\rangle$, $e_{1,u}=\\alpha_1e_2+\\lambda_1N$, and $e_{2,v}=-\\alpha_2e_1+\\mu_2N$. Compute $(\\alpha_1)_v$ by the inner-product rule, substitute the frame expansions, then use orthonormality.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "α1_v",
            "label": "α1_v"
          },
          {
            "tool": "eone_uv",
            "label": "eone_uv"
          },
          {
            "tool": "e_2",
            "label": "e_2"
          },
          {
            "tool": "eone_u",
            "label": "eone_u"
          },
          {
            "tool": "etwo_v",
            "label": "etwo_v"
          },
          {
            "tool": "alpha_1",
            "label": "alpha_1"
          },
          {
            "tool": "lambda_1",
            "label": "lambda_1"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "alpha_2",
            "label": "alpha_2"
          },
          {
            "tool": "e_1",
            "label": "e_1"
          },
          {
            "tool": "mu_2",
            "label": "mu_2"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "α1_v"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "eone_uv"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "eone_u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "etwo_v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "eone_uv"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "alpha_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "e_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "lambda_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "alpha_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "e_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "mu_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "eone_uv"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "lambda_1"
            },
            {
              "kind": "symbol",
              "text": "mu_2"
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "α1_v"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "eone_uv"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "eone_u"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "etwo_v"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "eone_uv"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "alpha_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "e_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "lambda_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "alpha_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "e_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "mu_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "eone_uv"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "lambda_1"
            },
            {
              "kind": "symbol",
              "text": "mu_2"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The first term comes from differentiating $e_{1,u}$; the second comes from differentiating $e_2$."
            },
            {
              "text": "In the expanded inner product, all cross terms vanish by orthogonality. Only $\\lambda_1\\mu_2\\langle N,N\\rangle=\\lambda_1\\mu_2$ survives."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "eone_uv": "vector",
          "e_2": "vector",
          "eone_u": "vector",
          "etwo_v": "vector",
          "N": "vector",
          "e_1": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2
    },
    {
      "id": "compute-l13-alpha2-u",
      "type": "equation-practice",
      "title": "Differentiate frame coefficient 2 in u",
      "prompt": "In a smooth orthonormal frame $e_1,e_2,N$, let $\\alpha_2=\\langle e_{1,v},e_2\\rangle$, $e_{1,v}=\\alpha_2e_2+\\lambda_2N$, and $e_{2,u}=-\\alpha_1e_1+\\mu_1N$. Compute $(\\alpha_2)_u$ by the inner-product rule, substitute the frame expansions, then use orthonormality.",
      "recallPrompt": "In a smooth orthonormal frame $e_1,e_2,N$, let $\\alpha_2=\\langle e_{1,v},e_2\\rangle$, $e_{1,v}=\\alpha_2e_2+\\lambda_2N$, and $e_{2,u}=-\\alpha_1e_1+\\mu_1N$. Compute $(\\alpha_2)_u$ by the inner-product rule, substitute the frame expansions, then use orthonormality.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "α2_u",
            "label": "α2_u"
          },
          {
            "tool": "eone_vu",
            "label": "eone_vu"
          },
          {
            "tool": "e_2",
            "label": "e_2"
          },
          {
            "tool": "eone_v",
            "label": "eone_v"
          },
          {
            "tool": "etwo_u",
            "label": "etwo_u"
          },
          {
            "tool": "alpha_2",
            "label": "alpha_2"
          },
          {
            "tool": "lambda_2",
            "label": "lambda_2"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "alpha_1",
            "label": "alpha_1"
          },
          {
            "tool": "e_1",
            "label": "e_1"
          },
          {
            "tool": "mu_1",
            "label": "mu_1"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "α2_u"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "eone_vu"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "eone_v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "etwo_u"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "eone_vu"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "alpha_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "e_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "lambda_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "alpha_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "e_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "mu_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "eone_vu"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "lambda_2"
            },
            {
              "kind": "symbol",
              "text": "mu_1"
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "α2_u"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "eone_vu"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "eone_v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "etwo_u"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "eone_vu"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "alpha_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "e_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "lambda_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "alpha_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "e_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "+"
                    },
                    {
                      "kind": "symbol",
                      "text": "mu_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "eone_vu"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "lambda_2"
            },
            {
              "kind": "symbol",
              "text": "mu_1"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The first term comes from differentiating $e_{1,v}$; the second comes from differentiating $e_2$."
            },
            {
              "text": "In the expanded inner product, all cross terms vanish by orthogonality. Only $\\lambda_2\\mu_1\\langle N,N\\rangle=\\lambda_2\\mu_1$ survives."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "eone_vu": "vector",
          "e_2": "vector",
          "eone_v": "vector",
          "etwo_u": "vector",
          "N": "vector",
          "e_1": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2
    },
    {
      "id": "compute-l13-frame-sign",
      "type": "equation-practice",
      "title": "Why frame rotation has opposite signs",
      "prompt": "In a smooth orthonormal frame $e_1,e_2,N$, put $\\alpha_1=\\langle e_{1,u},e_2\\rangle$. Differentiate $\\langle e_1,e_2\\rangle=0$, starting with $0$, and substitute $\\alpha_1$.",
      "recallPrompt": "In a smooth orthonormal frame $e_1,e_2,N$, put $\\alpha_1=\\langle e_{1,u},e_2\\rangle$. Differentiate $\\langle e_1,e_2\\rangle=0$, starting with $0$, and substitute $\\alpha_1$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "e_1",
            "label": "e_1"
          },
          {
            "tool": "e_2",
            "label": "e_2"
          },
          {
            "tool": "alpha_1",
            "label": "alpha_1"
          },
          {
            "tool": "etwo_u",
            "label": "etwo_u"
          },
          {
            "tool": "partialop_u",
            "label": "partialop_u"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "partialop_u"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "partialop_u"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "alpha_1"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "etwo_u"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "partialop_u"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "0"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "partialop_u"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "alpha_1"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "etwo_u"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The product rule differentiates each entry once; the first term is $\\alpha_1$ by definition. Moving it to the other side gives the minus sign."
            },
            {
              "text": "Likewise, $0=\\partial_u1=\\partial_u\\langle e_i,e_i\\rangle=2\\langle e_{i,u},e_i\\rangle$: a unit frame vector has no derivative component along itself."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "e_1": "vector",
          "e_2": "vector",
          "etwo_u": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "Δ"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2
    },
    {
      "id": "compute-l13-normal-frame",
      "type": "equation-practice",
      "title": "Normal derivatives in any orthonormal frame",
      "prompt": "Let $e_1,e_2,N$ be a smooth orthonormal frame along the surface. Given $N_u\\perp N$, expand $N_u$ in $e_1,e_2$, then transfer each derivative from $N$ to its paired frame vector using orthogonality. Finish using $\\lambda_1=\\langle N,e_{1,u}\\rangle$ and $\\mu_1=\\langle N,e_{2,u}\\rangle$.",
      "recallPrompt": "Let $e_1,e_2,N$ be a smooth orthonormal frame along the surface. Given $N_u\\perp N$, expand $N_u$ in $e_1,e_2$, then transfer each derivative from $N$ to its paired frame vector using orthogonality. Finish using $\\lambda_1=\\langle N,e_{1,u}\\rangle$ and $\\mu_1=\\langle N,e_{2,u}\\rangle$.",
      "learningVersion": 2,
      "editor": {
        "palette": [
          {
            "tool": "N_u",
            "label": "N_u"
          },
          {
            "tool": "e_1",
            "label": "e_1"
          },
          {
            "tool": "e_2",
            "label": "e_2"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "eone_u",
            "label": "eone_u"
          },
          {
            "tool": "etwo_u",
            "label": "etwo_u"
          },
          {
            "tool": "lambda_1",
            "label": "lambda_1"
          },
          {
            "tool": "mu_1",
            "label": "mu_1"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "N_u"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "e_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "e_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "eone_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "etwo_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "lambda_1"
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "mu_1"
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                }
              ]
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "N_u"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "e_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": "+"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "e_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "eone_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "etwo_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "lambda_1"
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "mu_1"
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Differentiating $\\langle N,N\\rangle=1$ gives $\\langle N_u,N\\rangle=0$, so the expansion has only two tangent components."
            },
            {
              "text": "The chain $0=\\partial_u0=\\partial_u\\langle N,e_i\\rangle=\\langle N_u,e_i\\rangle+\\langle N,e_{i,u}\\rangle$ transfers each derivative with a minus sign."
            },
            {
              "text": "Identically, $N_v=-\\langle N,e_{1,v}\\rangle e_1-\\langle N,e_{2,v}\\rangle e_2$. These formulas apply to any smooth orthonormal tangent frame."
            },
            {
              "text": "The final equality uses the definitions $\\lambda_1=\\langle N,e_{1,u}\\rangle$ and $\\mu_1=\\langle N,e_{2,u}\\rangle$, giving $N_u=-\\lambda_1e_1-\\mu_1e_2$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "N_u": "vector",
          "N": "vector",
          "e_1": "vector",
          "e_2": "vector",
          "eone_u": "vector",
          "etwo_u": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "Δ"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2
    },
    {
      "id": "compute-l14-normal-cross",
      "type": "equation-practice",
      "title": "The determinant of the normal coefficients",
      "prompt": "Use $N_u=-\\lambda_1e_1-\\mu_1e_2$, $N_v=-\\lambda_2e_1-\\mu_2e_2$, and $e_1\\times e_2=N$. Expand $N_u\\times N_v$, collect the coefficient of $e_1\\times e_2$, then substitute $N$.",
      "recallPrompt": "Use $N_u=-\\lambda_1e_1-\\mu_1e_2$, $N_v=-\\lambda_2e_1-\\mu_2e_2$, and $e_1\\times e_2=N$. Expand $N_u\\times N_v$, collect the coefficient of $e_1\\times e_2$, then substitute $N$.",
      "learningVersion": 2,
      "editor": {
        "palette": [
          {
            "tool": "N_u",
            "label": "N_u"
          },
          {
            "tool": "N_v",
            "label": "N_v"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "e_1",
            "label": "e_1"
          },
          {
            "tool": "e_2",
            "label": "e_2"
          },
          {
            "tool": "lambda_1",
            "label": "lambda_1"
          },
          {
            "tool": "mu_1",
            "label": "mu_1"
          },
          {
            "tool": "lambda_2",
            "label": "lambda_2"
          },
          {
            "tool": "mu_2",
            "label": "mu_2"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "N_u"
                },
                {
                  "kind": "symbol",
                  "text": "×"
                },
                {
                  "kind": "symbol",
                  "text": "N_v"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "lambda_1"
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "mu_1"
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "×"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "lambda_2"
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "mu_2"
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "lambda_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "mu_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "lambda_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "mu_1"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": "×"
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "lambda_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "mu_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "lambda_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "mu_1"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "N"
                }
              ]
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "N_u"
                },
                {
                  "kind": "symbol",
                  "text": "×"
                },
                {
                  "kind": "symbol",
                  "text": "N_v"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "lambda_1"
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "mu_1"
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                },
                {
                  "kind": "symbol",
                  "text": "×"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "lambda_2"
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "mu_2"
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "lambda_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "mu_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "lambda_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "mu_1"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": "×"
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "symbol",
                      "text": "lambda_1"
                    },
                    {
                      "kind": "symbol",
                      "text": "mu_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "lambda_2"
                    },
                    {
                      "kind": "symbol",
                      "text": "mu_1"
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "N"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The previous card gives $N_u=-\\lambda_1e_1-\\mu_1e_2$; the same argument with $v$ gives $N_v=-\\lambda_2e_1-\\mu_2e_2$.",
          "steps": [
            {
              "text": "Self-cross-products vanish. The two surviving terms initially have positive coefficients because both normal derivatives carry minus signs."
            },
            {
              "text": "Use $e_2\\times e_1=-e_1\\times e_2$ to combine the surviving terms into $(\\lambda_1\\mu_2-\\lambda_2\\mu_1)(e_1\\times e_2)$. Finally substitute $e_1\\times e_2=N$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "N_u": "vector",
          "N_v": "vector",
          "N": "vector",
          "e_1": "vector",
          "e_2": "vector"
        },
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "Δ"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2
    },
    {
      "id": "compute-l14-projection",
      "type": "equation-practice",
      "title": "Subtract the first tangent projection",
      "prompt": "Let $e_1=X_u/\\sqrt E$, where $E=\\langle X_u,X_u\\rangle$ and $F=\\langle X_u,X_v\\rangle$. Compute the component $w$ of $X_v$ perpendicular to $e_1$: subtract its orthogonal projection, substitute $e_1$, then simplify.",
      "recallPrompt": "Let $e_1=X_u/\\sqrt E$, where $E=\\langle X_u,X_u\\rangle$ and $F=\\langle X_u,X_v\\rangle$. Compute the component $w$ of $X_v$ perpendicular to $e_1$: subtract its orthogonal projection, substitute $e_1$, then simplify.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "w",
            "label": "w"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "e_1",
            "label": "e_1"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "w"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "X_v"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "e_1"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "X_v"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "F"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "radical",
                    "radicand": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "radical",
                    "radicand": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "X_v"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "F"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "E"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "X_u"
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "w"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "X_v"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "X_v"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_1"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "e_1"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "X_v"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "F"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "radical",
                    "radicand": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "radical",
                    "radicand": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "E"
                        }
                      ]
                    }
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "X_v"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "F"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "E"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "X_u"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The projection onto the unit vector $e_1$ is $\\langle X_v,e_1\\rangle e_1$, with $\\langle X_v,e_1\\rangle=F/\\sqrt E$. Subtracting it leaves $w\\perp e_1$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "w": "vector",
          "X_v": "vector",
          "X_u": "vector",
          "e_1": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "Δ"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2
    },
    {
      "id": "compute-l13-matching-metrics",
      "type": "equation-practice",
      "title": "Matching metrics preserve curve lengths",
      "prompt": "Charts $X,\\widetilde X$ have the same metric functions $E,F,G$. Along the same coordinate path, put $\\beta(t)=\\widetilde X(u(t),v(t))$ and $\\gamma(t)=X(u(t),v(t))$. Starting with $\\|\\beta^{\\prime}\\|^2$, show both tangent-vector sums and the metric expansion to reach $\\|\\gamma^{\\prime}\\|^2$. Elide arguments.",
      "recallPrompt": "Charts $X,\\widetilde X$ have the same metric functions $E,F,G$. Along the same coordinate path, put $\\beta(t)=\\widetilde X(u(t),v(t))$ and $\\gamma(t)=X(u(t),v(t))$. Starting with $\\|\\beta^{\\prime}\\|^2$, show both tangent-vector sums and the metric expansion to reach $\\|\\gamma^{\\prime}\\|^2$. Elide arguments.",
      "learningVersion": 2,
      "editor": {
        "palette": [
          {
            "tool": "β'",
            "label": "β'"
          },
          {
            "tool": "Xt_u",
            "label": "Xt_u"
          },
          {
            "tool": "u'",
            "label": "u'"
          },
          {
            "tool": "Xt_v",
            "label": "Xt_v"
          },
          {
            "tool": "v'",
            "label": "v'"
          },
          {
            "tool": "E",
            "label": "E"
          },
          {
            "tool": "F",
            "label": "F"
          },
          {
            "tool": "G",
            "label": "G"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "γ'",
            "label": "γ'"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "symbol",
                        "text": "β'"
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "Xt_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "u'"
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "symbol",
                    "text": "Xt_v"
                  },
                  {
                    "kind": "symbol",
                    "text": "v'"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "E"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "u'"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "F"
            },
            {
              "kind": "symbol",
              "text": "u'"
            },
            {
              "kind": "symbol",
              "text": "v'"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "G"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "v'"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "u'"
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "symbol",
                    "text": "X_v"
                  },
                  {
                    "kind": "symbol",
                    "text": "v'"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "symbol",
                        "text": "γ'"
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "symbol",
                        "text": "β'"
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "Xt_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "u'"
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "symbol",
                    "text": "Xt_v"
                  },
                  {
                    "kind": "symbol",
                    "text": "v'"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "E"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "u'"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "2"
            },
            {
              "kind": "symbol",
              "text": "F"
            },
            {
              "kind": "symbol",
              "text": "u'"
            },
            {
              "kind": "symbol",
              "text": "v'"
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "G"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "v'"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "||"
                  },
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "u'"
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "symbol",
                    "text": "X_v"
                  },
                  {
                    "kind": "symbol",
                    "text": "v'"
                  },
                  {
                    "kind": "symbol",
                    "text": "||"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "||"
                      },
                      {
                        "kind": "symbol",
                        "text": "γ'"
                      },
                      {
                        "kind": "symbol",
                        "text": "||"
                      }
                    ]
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The chain rule gives $\\beta^{\\prime}=\\widetilde X_u u^{\\prime}+\\widetilde X_v v^{\\prime}$ and $\\gamma^{\\prime}=X_u u^{\\prime}+X_v v^{\\prime}$."
            },
            {
              "text": "Expand each squared norm by bilinearity. The squared tangent lengths give $E,G$; the two equal cross terms give $2Fu^{\\prime}v^{\\prime}$. The coefficients match because the metric functions agree at the same $(u,v)$."
            },
            {
              "text": "Taking nonnegative square roots and integrating gives equal curve lengths."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "Xt_u": "vector",
          "Xt_v": "vector",
          "X_u": "vector",
          "X_v": "vector"
        },
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2
    },
    {
      "id": "compute-l14-special-curvature",
      "type": "equation-practice",
      "title": "Specialize curvature to geodesic coordinates",
      "prompt": "Assume $E=1,F=0$ throughout a chart, so $\\Delta=G$. Use $e_1=X_u$, $e_2=X_v/\\sqrt G$, $\\langle X_{uu},X_v\\rangle=0$ and $\\langle X_{uv},X_v\\rangle=G_u/2$ to compute $\\alpha_1,\\alpha_2$, writing $\\alpha_2$ also as $\\partial_u\\sqrt G$. Then specialize $K=((\\alpha_1)_v-(\\alpha_2)_u)/\\sqrt\\Delta$.",
      "recallPrompt": "Assume $E=1,F=0$ throughout a chart, so $\\Delta=G$. Use $e_1=X_u$, $e_2=X_v/\\sqrt G$, $\\langle X_{uu},X_v\\rangle=0$ and $\\langle X_{uv},X_v\\rangle=G_u/2$ to compute $\\alpha_1,\\alpha_2$, writing $\\alpha_2$ also as $\\partial_u\\sqrt G$. Then specialize $K=((\\alpha_1)_v-(\\alpha_2)_u)/\\sqrt\\Delta$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "alpha_1",
            "label": "alpha_1"
          },
          {
            "tool": "alpha_2",
            "label": "alpha_2"
          },
          {
            "tool": "G_u",
            "label": "G_u"
          },
          {
            "tool": "G",
            "label": "G"
          },
          {
            "tool": "∂",
            "label": "∂"
          },
          {
            "tool": "u",
            "label": "u"
          },
          {
            "tool": "K",
            "label": "K"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "alpha_1"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "alpha_2"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "G_u"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      },
                      {
                        "kind": "radical",
                        "radicand": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "G"
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "radical",
                        "radicand": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "G"
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "u"
                      }
                    ]
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "K"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "fraction",
                    "top": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "power",
                              "base": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "∂"
                                  }
                                ]
                              },
                              "exponent": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ]
                              }
                            },
                            {
                              "kind": "radical",
                              "radicand": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "G"
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      ]
                    },
                    "bottom": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "∂"
                            },
                            {
                              "kind": "power",
                              "base": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "u"
                                  }
                                ]
                              },
                              "exponent": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      ]
                    }
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "radical",
                    "radicand": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "G"
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "alpha_1"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "alpha_2"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "G_u"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      },
                      {
                        "kind": "radical",
                        "radicand": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "G"
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "radical",
                        "radicand": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "G"
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "∂"
                      },
                      {
                        "kind": "symbol",
                        "text": "u"
                      }
                    ]
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "K"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "fraction",
                    "top": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "power",
                              "base": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "∂"
                                  }
                                ]
                              },
                              "exponent": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ]
                              }
                            },
                            {
                              "kind": "radical",
                              "radicand": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "G"
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      ]
                    },
                    "bottom": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "∂"
                            },
                            {
                              "kind": "power",
                              "base": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "u"
                                  }
                                ]
                              },
                              "exponent": {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "2"
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      ]
                    }
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "radical",
                    "radicand": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "G"
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Here $\\alpha_1=\\langle X_{uu},X_v\\rangle/\\sqrt G=0$ and $\\alpha_2=\\langle X_{uv},X_v\\rangle/\\sqrt G=G_u/(2\\sqrt G)$. The two supplied pairings follow from $F_u-E_v/2=0$ and $G_u/2$."
            },
            {
              "text": "The chain rule identifies $G_u/(2\\sqrt G)=\\partial_u\\sqrt G$."
            },
            {
              "text": "In the curvature formula $(\\alpha_1)_v=0$, while $(\\alpha_2)_u=\\partial_u^2\\sqrt G$ and $\\sqrt\\Delta=\\sqrt G$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2
    },
    {
      "id": "compute-l18-distance-bound",
      "type": "equation-practice",
      "title": "Why the vertical segment is shortest",
      "prompt": "In the half-plane metric $(du^2+dv^2)/v^2$, let $\\gamma(t)=(u(t),v(t))$, $a\\le t\\le b$, join two points on one vertical line, with heights $v_0,v_1>0$. Starting from the length integral, discard horizontal speed, then use the integral triangle inequality to prove $L\\ge|\\ln(v_1/v_0)|$. Elide $(t)$ arguments.",
      "recallPrompt": "In the half-plane metric $(du^2+dv^2)/v^2$, let $\\gamma(t)=(u(t),v(t))$, $a\\le t\\le b$, join two points on one vertical line, with heights $v_0,v_1>0$. Starting from the length integral, discard horizontal speed, then use the integral triangle inequality to prove $L\\ge|\\ln(v_1/v_0)|$. Elide $(t)$ arguments.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "L",
            "label": "L"
          },
          {
            "tool": "int_ab",
            "label": "int_ab"
          },
          {
            "tool": "u'",
            "label": "u'"
          },
          {
            "tool": "v'",
            "label": "v'"
          },
          {
            "tool": "v",
            "label": "v"
          },
          {
            "tool": "dt",
            "label": "dt"
          },
          {
            "tool": "ln",
            "label": "ln"
          },
          {
            "tool": "v_1",
            "label": "v_1"
          },
          {
            "tool": "v_0",
            "label": "v_0"
          },
          {
            "tool": "≥",
            "label": "≥"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "L"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "int_ab"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "radical",
                        "radicand": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "power",
                                  "base": {
                                    "kind": "row",
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "u'"
                                      }
                                    ]
                                  },
                                  "exponent": {
                                    "kind": "row",
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "2"
                                      }
                                    ]
                                  }
                                },
                                {
                                  "kind": "symbol",
                                  "text": "+"
                                },
                                {
                                  "kind": "power",
                                  "base": {
                                    "kind": "row",
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "v'"
                                      }
                                    ]
                                  },
                                  "exponent": {
                                    "kind": "row",
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "2"
                                      }
                                    ]
                                  }
                                }
                              ]
                            }
                          ]
                        }
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "dt"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "≥"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "int_ab"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "|"
                          },
                          {
                            "kind": "symbol",
                            "text": "v'"
                          },
                          {
                            "kind": "symbol",
                            "text": "|"
                          }
                        ]
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "dt"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "≥"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "|"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "int_ab"
                    },
                    {
                      "kind": "fraction",
                      "top": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "v'"
                          }
                        ]
                      },
                      "bottom": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "v"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": "dt"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "|"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "|"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "ln"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "fraction",
                          "top": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "v_1"
                              }
                            ]
                          },
                          "bottom": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "v_0"
                              }
                            ]
                          }
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "|"
                }
              ]
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "L"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "int_ab"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "radical",
                        "radicand": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "row",
                              "children": [
                                {
                                  "kind": "power",
                                  "base": {
                                    "kind": "row",
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "u'"
                                      }
                                    ]
                                  },
                                  "exponent": {
                                    "kind": "row",
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "2"
                                      }
                                    ]
                                  }
                                },
                                {
                                  "kind": "symbol",
                                  "text": "+"
                                },
                                {
                                  "kind": "power",
                                  "base": {
                                    "kind": "row",
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "v'"
                                      }
                                    ]
                                  },
                                  "exponent": {
                                    "kind": "row",
                                    "children": [
                                      {
                                        "kind": "symbol",
                                        "text": "2"
                                      }
                                    ]
                                  }
                                }
                              ]
                            }
                          ]
                        }
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "dt"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "≥"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "int_ab"
                },
                {
                  "kind": "fraction",
                  "top": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "|"
                          },
                          {
                            "kind": "symbol",
                            "text": "v'"
                          },
                          {
                            "kind": "symbol",
                            "text": "|"
                          }
                        ]
                      }
                    ]
                  },
                  "bottom": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "v"
                      }
                    ]
                  }
                },
                {
                  "kind": "symbol",
                  "text": "dt"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "≥"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "|"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "int_ab"
                    },
                    {
                      "kind": "fraction",
                      "top": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "v'"
                          }
                        ]
                      },
                      "bottom": {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "v"
                          }
                        ]
                      }
                    },
                    {
                      "kind": "symbol",
                      "text": "dt"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "|"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "|"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "ln"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "fraction",
                          "top": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "v_1"
                              }
                            ]
                          },
                          "bottom": {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "v_0"
                              }
                            ]
                          }
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "|"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "$\\sqrt{(u^{\\prime})^2+(v^{\\prime})^2}\\ge|v^{\\prime}|$. Division preserves the inequality because $v>0$."
            },
            {
              "text": "The integral triangle inequality gives $\\int_a^b|v^{\\prime}/v|\\,dt\\ge|\\int_a^b v^{\\prime}/v\\,dt|$."
            },
            {
              "text": "Since $(\\ln v)^{\\prime}=v^{\\prime}/v$, the last integral is $\\ln v_1-\\ln v_0$. A monotone vertical segment has $u^{\\prime}=0$ and no change of sign in $v^{\\prime}$, so both inequalities are equalities. Its length is therefore the distance."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 3
    },
    {
      "id": "cross-kronecker",
      "type": "equation-practice",
      "title": "Kronecker delta and an orthonormal basis",
      "prompt": "For an orthonormal basis $e_1,e_2,e_3$, the Kronecker delta $\\delta_{ij}$ is $1$ if $i=j$ and $0$ otherwise. Express $\\langle e_i,e_j\\rangle$ using it. There is no summation here.",
      "recallPrompt": "For an orthonormal basis $e_1,e_2,e_3$, the Kronecker delta $\\delta_{ij}$ is $1$ if $i=j$ and $0$ otherwise. Express $\\langle e_i,e_j\\rangle$ using it. There is no summation here.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "e_i",
            "label": "e_i"
          },
          {
            "tool": "e_j",
            "label": "e_j"
          },
          {
            "tool": "kr_ij",
            "label": "kr_ij"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "e_i"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_j"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "kr_ij"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Orthonormal means unit lengths and zero inner products between distinct basis vectors."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "e_i": "vector",
          "e_j": "vector"
        },
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "multiplier": 1
    },
    {
      "id": "cross-epsilon-positive",
      "type": "equation-practice",
      "title": "Levi-Civita: positive orientation",
      "prompt": "In a positively oriented orthonormal basis, $\\varepsilon_{ijk}$ is the sign of the permutation $(i,j,k)$ of $(1,2,3)$, and is zero if indices repeat. Give the ordered triple $(\\varepsilon_{123},\\varepsilon_{231},\\varepsilon_{312})$.",
      "recallPrompt": "In a positively oriented orthonormal basis, $\\varepsilon_{ijk}$ is the sign of the permutation $(i,j,k)$ of $(1,2,3)$, and is zero if indices repeat. Give the ordered triple $(\\varepsilon_{123},\\varepsilon_{231},\\varepsilon_{312})$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "eps_123",
            "label": "eps_123"
          },
          {
            "tool": "eps_231",
            "label": "eps_231"
          },
          {
            "tool": "eps_312",
            "label": "eps_312"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "eps_123"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "eps_231"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "eps_312"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "1"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "1"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "1"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Each cyclic permutation takes two swaps, so all three permutations have positive sign."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "multiplier": 1
    },
    {
      "id": "cross-epsilon-negative",
      "type": "equation-practice",
      "title": "Levi-Civita: reversed orientation",
      "prompt": "The Levi-Civita symbol is $+1$ on $(1,2,3)$ and its cyclic permutations; swapping two indices reverses its sign. Give $(\\varepsilon_{132},\\varepsilon_{213},\\varepsilon_{321})$.",
      "recallPrompt": "The Levi-Civita symbol is $+1$ on $(1,2,3)$ and its cyclic permutations; swapping two indices reverses its sign. Give $(\\varepsilon_{132},\\varepsilon_{213},\\varepsilon_{321})$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "eps_132",
            "label": "eps_132"
          },
          {
            "tool": "eps_213",
            "label": "eps_213"
          },
          {
            "tool": "eps_321",
            "label": "eps_321"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "eps_132"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "eps_213"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "eps_321"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "1"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "1"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "1"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Each listed permutation is obtained from a positive one by a single swap."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "multiplier": 1
    },
    {
      "id": "cross-epsilon-repeated",
      "type": "equation-practice",
      "title": "Levi-Civita: repeated indices",
      "prompt": "For fixed $i,k\\in\\{1,2,3\\}$, give the value of the Levi-Civita symbol $\\varepsilon_{iik}$.",
      "recallPrompt": "For fixed $i,k\\in\\{1,2,3\\}$, give the value of the Levi-Civita symbol $\\varepsilon_{iik}$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "eps_iik",
            "label": "eps_iik"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "eps_iik"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "0"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "By definition, the Levi-Civita symbol is zero whenever two indices coincide. Here the first two indices are both $i$, so every such entry is zero; for example, $\\varepsilon_{112}=0$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "multiplier": 1
    },
    {
      "id": "cross-components",
      "type": "equation-practice",
      "title": "Cross product in index notation",
      "prompt": "State the Levi-Civita component formula for the cross product in a positively oriented orthonormal basis: express $(a\\times b)_i$ using $\\varepsilon_{ijk}$ and the components of $a,b$. Repeated indices are summed from $1$ to $3$; $i$ is free.",
      "recallPrompt": "State the Levi-Civita component formula for the cross product in a positively oriented orthonormal basis: express $(a\\times b)_i$ using $\\varepsilon_{ijk}$ and the components of $a,b$. Repeated indices are summed from $1$ to $3$; $i$ is free.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "crossab_i",
            "label": "crossab_i"
          },
          {
            "tool": "eps_ijk",
            "label": "eps_ijk"
          },
          {
            "tool": "a_j",
            "label": "a_j"
          },
          {
            "tool": "b_k",
            "label": "b_k"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "crossab_i"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "eps_ijk"
                },
                {
                  "kind": "symbol",
                  "text": "a_j"
                },
                {
                  "kind": "symbol",
                  "text": "b_k"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "For example, $(a\\times b)_1=\\varepsilon_{123}a_2b_3+\\varepsilon_{132}a_3b_2=a_2b_3-a_3b_2$. All other terms vanish because an index repeats."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "multiplier": 1
    },
    {
      "id": "cross-signed-volume",
      "type": "equation-practice",
      "title": "Scalar triple product as signed volume",
      "prompt": "For $a,b,c\\in\\mathbb R^3$, give the scalar triple-product determinant identity for $\\langle a,b\\times c\\rangle$ as a determinant. Use the vectors as columns in a positively oriented orthonormal basis.",
      "recallPrompt": "For $a,b,c\\in\\mathbb R^3$, give the scalar triple-product determinant identity for $\\langle a,b\\times c\\rangle$ as a determinant. Use the vectors as columns in a positively oriented orthonormal basis.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "c",
            "label": "c"
          },
          {
            "tool": "det",
            "label": "det"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "det"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "b"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "c"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "This identity characterizes $b\\times c$: its inner product with any $a$ is the signed volume $\\det(a,b,c)$. Geometrically, $b\\times c$ is the oriented base-area vector and taking its inner product with $a$ multiplies base area by signed height."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "a": "vector",
          "b": "vector",
          "c": "vector"
        },
        "scalarProducts": false,
        "implicitArguments": {
          "det": [
            "a",
            "b",
            "c"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "multiplier": 1
    },
    {
      "id": "cross-cyclic",
      "type": "equation-practice",
      "title": "Scalar triple-product identity",
      "prompt": "State the scalar triple-product cyclic identity (STPCI): for $a,b,c\\in\\mathbb R^3$, rewrite $\\langle a\\times b,c\\rangle$ with the cross product on $b,c$.",
      "recallPrompt": "State the scalar triple-product cyclic identity (STPCI): for $a,b,c\\in\\mathbb R^3$, rewrite $\\langle a\\times b,c\\rangle$ with the cross product on $b,c$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "c",
            "label": "c"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "c"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Both sides are the same signed volume: $\\det(a,b,c)=\\det(b,c,a)$. The cyclic column permutation takes two swaps."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "a": "vector",
          "b": "vector",
          "c": "vector"
        },
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "multiplier": 1
    },
    {
      "id": "cross-contraction",
      "type": "equation-practice",
      "title": "Levi-Civita contraction",
      "prompt": "State the Levi-Civita contraction identity. Express $\\varepsilon_{ijk}\\varepsilon_{ilm}$ using Kronecker deltas. Sum over $i=1,2,3$; the indices $j,k,l,m$ are free.",
      "recallPrompt": "State the Levi-Civita contraction identity. Express $\\varepsilon_{ijk}\\varepsilon_{ilm}$ using Kronecker deltas. Sum over $i=1,2,3$; the indices $j,k,l,m$ are free.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "eps_ijk",
            "label": "eps_ijk"
          },
          {
            "tool": "eps_ilm",
            "label": "eps_ilm"
          },
          {
            "tool": "kr_jl",
            "label": "kr_jl"
          },
          {
            "tool": "kr_km",
            "label": "kr_km"
          },
          {
            "tool": "kr_jm",
            "label": "kr_jm"
          },
          {
            "tool": "kr_kl",
            "label": "kr_kl"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "eps_ijk"
                },
                {
                  "kind": "symbol",
                  "text": "eps_ilm"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "kr_jl"
                },
                {
                  "kind": "symbol",
                  "text": "kr_km"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "kr_jm"
                },
                {
                  "kind": "symbol",
                  "text": "kr_kl"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "If $j=k$ or $l=m$, both sides vanish. Otherwise the product can be nonzero only when $(l,m)=(j,k)$ or $(k,j)$: its value is respectively $+1$ or $-1$. The two delta products select precisely these cases."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "multiplier": 1
    },
    {
      "id": "cross-inner-product",
      "type": "equation-practice",
      "title": "Cross-product inner-product identity",
      "prompt": "State the cross-product inner-product identity (CPIPI), also called Lagrange’s identity. For $a,b,c,d\\in\\mathbb R^3$, express $\\langle a\\times b,c\\times d\\rangle$ using ordinary inner products.",
      "recallPrompt": "State the cross-product inner-product identity (CPIPI), also called Lagrange’s identity. For $a,b,c,d\\in\\mathbb R^3$, express $\\langle a\\times b,c\\times d\\rangle$ using ordinary inner products.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "c",
            "label": "c"
          },
          {
            "tool": "d",
            "label": "d"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "d"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "d"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "d"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "CPIPI abbreviates the cross-product inner-product identity, also called Lagrange’s identity. With $c=a,d=b$, it gives $\\|a\\times b\\|^2=\\|a\\|^2\\|b\\|^2-\\langle a,b\\rangle^2$. Geometrically the left side is the product of the two oriented areas, weighted by the cosine of the angle between their normals."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "a": "vector",
          "b": "vector",
          "c": "vector",
          "d": "vector"
        },
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "multiplier": 2
    },
    {
      "id": "cross-triple",
      "type": "equation-practice",
      "title": "Vector triple-product identity",
      "prompt": "State the vector triple-product identity (BAC–CAB). For $a,b,c\\in\\mathbb R^3$, express $a\\times(b\\times c)$ as a linear combination of $b,c$.",
      "recallPrompt": "State the vector triple-product identity (BAC–CAB). For $a,b,c\\in\\mathbb R^3$, express $a\\times(b\\times c)$ as a linear combination of $b,c$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "c",
            "label": "c"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": "×"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "b"
                        },
                        {
                          "kind": "symbol",
                          "text": "×"
                        },
                        {
                          "kind": "symbol",
                          "text": "c"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "b"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "c"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "BAC–CAB is the vector triple-product identity.",
          "steps": [
            {
              "text": "The result lies in the span of $b,c$. Parentheses matter: the cross product is not associative. The companion computation proves the formula by taking an inner product with an arbitrary vector."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "a": "vector",
          "b": "vector",
          "c": "vector"
        },
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "multiplier": 2
    },
    {
      "id": "compute-cross-cyclic-proof",
      "type": "equation-practice",
      "title": "Cyclic scalar triple product via determinants",
      "prompt": "Prove the STPCI (the scalar triple-product cyclic identity). Use $\\langle a,b\\times c\\rangle=\\det(a,b,c)$ as the scalar triple-product determinant identity. From $\\langle a\\times b,c\\rangle$, first swap the inner-product arguments, then pass through determinants with column orders $(c,a,b)$ and $(a,b,c)$ to obtain $\\langle a,b\\times c\\rangle$.",
      "recallPrompt": "Prove the STPCI (the scalar triple-product cyclic identity). Use $\\langle a,b\\times c\\rangle=\\det(a,b,c)$ as the scalar triple-product determinant identity. From $\\langle a\\times b,c\\rangle$, first swap the inner-product arguments, then pass through determinants with column orders $(c,a,b)$ and $(a,b,c)$ to obtain $\\langle a,b\\times c\\rangle$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "c",
            "label": "c"
          },
          {
            "tool": "det",
            "label": "det"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "c"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "c"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "det"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "c"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "b"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "det"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "b"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "c"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Symmetry of the inner product gives $\\langle a\\times b,c\\rangle=\\langle c,a\\times b\\rangle$. The defining identity then gives $\\det(c,a,b)$."
            },
            {
              "text": "Moving the first column to the last takes two swaps, so $\\det(c,a,b)=\\det(a,b,c)$. Apply the defining identity again to obtain $\\langle a,b\\times c\\rangle$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "a": "vector",
          "b": "vector",
          "c": "vector"
        },
        "scalarProducts": false,
        "implicitArguments": {
          "det": [
            "a",
            "b",
            "c"
          ]
        },
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "c"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "c"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "det"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "c"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "b"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "det"
                },
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "b"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "c"
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "a"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "compute-cross-contraction-proof",
      "type": "equation-practice",
      "title": "Why the epsilon contraction selects a signed pair",
      "prompt": "Establish the Levi-Civita contraction identity for the fixed pair $(1,2)$. For free indices $l,m\\in\\{1,2,3\\}$, sum over $i$ in $\\varepsilon_{i12}\\varepsilon_{ilm}$. Keep the only nonzero term, substitute $\\varepsilon_{312}=1$, then express the result with Kronecker deltas.",
      "recallPrompt": "Establish the Levi-Civita contraction identity for the fixed pair $(1,2)$. For free indices $l,m\\in\\{1,2,3\\}$, sum over $i$ in $\\varepsilon_{i12}\\varepsilon_{ilm}$. Keep the only nonzero term, substitute $\\varepsilon_{312}=1$, then express the result with Kronecker deltas.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "eps_i12",
            "label": "eps_i12"
          },
          {
            "tool": "eps_ilm",
            "label": "eps_ilm"
          },
          {
            "tool": "eps_312",
            "label": "eps_312"
          },
          {
            "tool": "eps_3lm",
            "label": "eps_3lm"
          },
          {
            "tool": "kr_1l",
            "label": "kr_1l"
          },
          {
            "tool": "kr_2m",
            "label": "kr_2m"
          },
          {
            "tool": "kr_1m",
            "label": "kr_1m"
          },
          {
            "tool": "kr_2l",
            "label": "kr_2l"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "eps_i12"
                },
                {
                  "kind": "symbol",
                  "text": "eps_ilm"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "eps_312"
                },
                {
                  "kind": "symbol",
                  "text": "eps_3lm"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "eps_3lm"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "kr_1l"
                },
                {
                  "kind": "symbol",
                  "text": "kr_2m"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "kr_1m"
                },
                {
                  "kind": "symbol",
                  "text": "kr_2l"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "Only $i=3$ survives because $\\varepsilon_{112}=\\varepsilon_{212}=0$."
            },
            {
              "text": "$\\varepsilon_{3lm}$ is $+1$ for $(l,m)=(1,2)$, $-1$ for $(2,1)$, and zero for every other pair. The delta expression has exactly those values."
            },
            {
              "text": "This proves the general contraction as well: for any distinct $j,k$, there is one remaining index $i$. An identical second pair gives the square of a sign, $+1$; a reversed pair gives $-1$; any other pair gives zero. If either pair repeats an index, both sides are zero."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {},
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "eps_i12"
                },
                {
                  "kind": "symbol",
                  "text": "eps_ilm"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "eps_312"
                },
                {
                  "kind": "symbol",
                  "text": "eps_3lm"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "eps_3lm"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "kr_1l"
                },
                {
                  "kind": "symbol",
                  "text": "kr_2m"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "kr_1m"
                },
                {
                  "kind": "symbol",
                  "text": "kr_2l"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "compute-cross-delta-selection",
      "type": "equation-practice",
      "title": "Contract the Kronecker deltas",
      "prompt": "Apply the Kronecker delta summation rule. Using Einstein summation over $j,k,l,m\\in\\{1,2,3\\}$, simplify $(\\delta_{jl}\\delta_{km}-\\delta_{jm}\\delta_{kl})a_jb_kc_ld_m$. First eliminate $l,m$, then identify the two products of inner products.",
      "recallPrompt": "Apply the Kronecker delta summation rule. Using Einstein summation over $j,k,l,m\\in\\{1,2,3\\}$, simplify $(\\delta_{jl}\\delta_{km}-\\delta_{jm}\\delta_{kl})a_jb_kc_ld_m$. First eliminate $l,m$, then identify the two products of inner products.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "kr_jl",
            "label": "kr_jl"
          },
          {
            "tool": "kr_km",
            "label": "kr_km"
          },
          {
            "tool": "kr_jm",
            "label": "kr_jm"
          },
          {
            "tool": "kr_kl",
            "label": "kr_kl"
          },
          {
            "tool": "a_j",
            "label": "a_j"
          },
          {
            "tool": "b_k",
            "label": "b_k"
          },
          {
            "tool": "c_l",
            "label": "c_l"
          },
          {
            "tool": "d_m",
            "label": "d_m"
          },
          {
            "tool": "c_j",
            "label": "c_j"
          },
          {
            "tool": "d_k",
            "label": "d_k"
          },
          {
            "tool": "c_k",
            "label": "c_k"
          },
          {
            "tool": "d_j",
            "label": "d_j"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "c",
            "label": "c"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "d",
            "label": "d"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "kr_jl"
                        },
                        {
                          "kind": "symbol",
                          "text": "kr_km"
                        },
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "kr_jm"
                        },
                        {
                          "kind": "symbol",
                          "text": "kr_kl"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "a_j"
                },
                {
                  "kind": "symbol",
                  "text": "b_k"
                },
                {
                  "kind": "symbol",
                  "text": "c_l"
                },
                {
                  "kind": "symbol",
                  "text": "d_m"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "a_j"
                },
                {
                  "kind": "symbol",
                  "text": "b_k"
                },
                {
                  "kind": "symbol",
                  "text": "c_j"
                },
                {
                  "kind": "symbol",
                  "text": "d_k"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "a_j"
                },
                {
                  "kind": "symbol",
                  "text": "b_k"
                },
                {
                  "kind": "symbol",
                  "text": "c_k"
                },
                {
                  "kind": "symbol",
                  "text": "d_j"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "d"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "d"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The first delta product forces $l=j,m=k$; the second forces $m=j,l=k$."
            },
            {
              "text": "The remaining sums separate: $a_jc_j=\\langle a,c\\rangle$ and $b_kd_k=\\langle b,d\\rangle$, with the analogous pairings in the second term."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "a": "vector",
          "c": "vector",
          "b": "vector",
          "d": "vector"
        },
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "kr_jl"
                        },
                        {
                          "kind": "symbol",
                          "text": "kr_km"
                        },
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "kr_jm"
                        },
                        {
                          "kind": "symbol",
                          "text": "kr_kl"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "a_j"
                },
                {
                  "kind": "symbol",
                  "text": "b_k"
                },
                {
                  "kind": "symbol",
                  "text": "c_l"
                },
                {
                  "kind": "symbol",
                  "text": "d_m"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "a_j"
                },
                {
                  "kind": "symbol",
                  "text": "b_k"
                },
                {
                  "kind": "symbol",
                  "text": "c_j"
                },
                {
                  "kind": "symbol",
                  "text": "d_k"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "a_j"
                },
                {
                  "kind": "symbol",
                  "text": "b_k"
                },
                {
                  "kind": "symbol",
                  "text": "c_k"
                },
                {
                  "kind": "symbol",
                  "text": "d_j"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "d"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "d"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "compute-cross-inner-product-proof",
      "type": "equation-practice",
      "title": "Prove the cross-product inner-product identity",
      "prompt": "Prove CPIPI. Use the Levi-Civita component formula $(a\\times b)_i=\\varepsilon_{ijk}a_jb_k$ and the Levi-Civita contraction identity $\\varepsilon_{ijk}\\varepsilon_{ilm}=\\delta_{jl}\\delta_{km}-\\delta_{jm}\\delta_{kl}$. Expand $\\langle a\\times b,c\\times d\\rangle$ in indices, substitute the contraction, then give the ordinary-inner-product expression. Repeated indices are summed.",
      "recallPrompt": "Prove CPIPI. Use the Levi-Civita component formula $(a\\times b)_i=\\varepsilon_{ijk}a_jb_k$ and the Levi-Civita contraction identity $\\varepsilon_{ijk}\\varepsilon_{ilm}=\\delta_{jl}\\delta_{km}-\\delta_{jm}\\delta_{kl}$. Expand $\\langle a\\times b,c\\times d\\rangle$ in indices, substitute the contraction, then give the ordinary-inner-product expression. Repeated indices are summed.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "c",
            "label": "c"
          },
          {
            "tool": "d",
            "label": "d"
          },
          {
            "tool": "eps_ijk",
            "label": "eps_ijk"
          },
          {
            "tool": "eps_ilm",
            "label": "eps_ilm"
          },
          {
            "tool": "a_j",
            "label": "a_j"
          },
          {
            "tool": "b_k",
            "label": "b_k"
          },
          {
            "tool": "c_l",
            "label": "c_l"
          },
          {
            "tool": "d_m",
            "label": "d_m"
          },
          {
            "tool": "kr_jl",
            "label": "kr_jl"
          },
          {
            "tool": "kr_km",
            "label": "kr_km"
          },
          {
            "tool": "kr_jm",
            "label": "kr_jm"
          },
          {
            "tool": "kr_kl",
            "label": "kr_kl"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "d"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "eps_ijk"
                },
                {
                  "kind": "symbol",
                  "text": "eps_ilm"
                },
                {
                  "kind": "symbol",
                  "text": "a_j"
                },
                {
                  "kind": "symbol",
                  "text": "b_k"
                },
                {
                  "kind": "symbol",
                  "text": "c_l"
                },
                {
                  "kind": "symbol",
                  "text": "d_m"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "kr_jl"
                        },
                        {
                          "kind": "symbol",
                          "text": "kr_km"
                        },
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "kr_jm"
                        },
                        {
                          "kind": "symbol",
                          "text": "kr_kl"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "a_j"
                },
                {
                  "kind": "symbol",
                  "text": "b_k"
                },
                {
                  "kind": "symbol",
                  "text": "c_l"
                },
                {
                  "kind": "symbol",
                  "text": "d_m"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "d"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "d"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "CPIPI is the cross-product inner-product identity (Lagrange’s identity).",
          "steps": [
            {
              "text": "The inner product sums the product of the two $i$th components. Scalar components can be reordered to bring the two epsilon factors together."
            },
            {
              "text": "The contraction replaces the epsilon pair by the difference of delta products. These select $l=j,m=k$ and $m=j,l=k$, respectively; the remaining sums are the inner products."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "a": "vector",
          "b": "vector",
          "c": "vector",
          "d": "vector"
        },
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 3,
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "d"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "eps_ijk"
                },
                {
                  "kind": "symbol",
                  "text": "eps_ilm"
                },
                {
                  "kind": "symbol",
                  "text": "a_j"
                },
                {
                  "kind": "symbol",
                  "text": "b_k"
                },
                {
                  "kind": "symbol",
                  "text": "c_l"
                },
                {
                  "kind": "symbol",
                  "text": "d_m"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "kr_jl"
                        },
                        {
                          "kind": "symbol",
                          "text": "kr_km"
                        },
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "kr_jm"
                        },
                        {
                          "kind": "symbol",
                          "text": "kr_kl"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "a_j"
                },
                {
                  "kind": "symbol",
                  "text": "b_k"
                },
                {
                  "kind": "symbol",
                  "text": "c_l"
                },
                {
                  "kind": "symbol",
                  "text": "d_m"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "d"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "d"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "compute-cross-triple-proof",
      "type": "equation-practice",
      "title": "Recover the vector triple product",
      "prompt": "Prove BAC–CAB. For an arbitrary $x\\in\\mathbb R^3$, start with $\\langle x,a\\times(b\\times c)\\rangle$. Move the outer cross product using the STPCI (the scalar triple-product cyclic identity), apply CPIPI, then collect everything into one inner product with $x$.",
      "recallPrompt": "Prove BAC–CAB. For an arbitrary $x\\in\\mathbb R^3$, start with $\\langle x,a\\times(b\\times c)\\rangle$. Move the outer cross product using the STPCI (the scalar triple-product cyclic identity), apply CPIPI, then collect everything into one inner product with $x$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "x",
            "label": "x"
          },
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "c",
            "label": "c"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "b"
                            },
                            {
                              "kind": "symbol",
                              "text": "×"
                            },
                            {
                              "kind": "symbol",
                              "text": "c"
                            }
                          ]
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "x"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "x"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "x"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "a"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "c"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "a"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "b"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "CPIPI is the cross-product inner-product identity (Lagrange’s identity). BAC–CAB is the vector triple-product identity.",
          "steps": [
            {
              "text": "The first step moves the cross product across the inner product. Apply Lagrange's identity to the two cross products, then use linearity in the second argument."
            },
            {
              "text": "This holds for every $x$, so the vectors inside the initial and final inner products agree. Indeed, if their difference is $z$, choosing $x=z$ gives $\\|z\\|^2=0$. Hence $a\\times(b\\times c)=b\\langle a,c\\rangle-c\\langle a,b\\rangle$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "x": "vector",
          "a": "vector",
          "b": "vector",
          "c": "vector"
        },
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 3,
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "("
                        },
                        {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "b"
                            },
                            {
                              "kind": "symbol",
                              "text": "×"
                            },
                            {
                              "kind": "symbol",
                              "text": "c"
                            }
                          ]
                        },
                        {
                          "kind": "symbol",
                          "text": ")"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "x"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "x"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "x"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "x"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "a"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "c"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "−"
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "⟨"
                        },
                        {
                          "kind": "symbol",
                          "text": "a"
                        },
                        {
                          "kind": "symbol",
                          "text": ","
                        },
                        {
                          "kind": "symbol",
                          "text": "b"
                        },
                        {
                          "kind": "symbol",
                          "text": "⟩"
                        }
                      ]
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "compute-cross-surface",
      "type": "equation-practice",
      "title": "Apply the identity to the surface normal",
      "prompt": "For a smooth surface chart with unit normal $N$, use $e=\\langle N,X_{uu}\\rangle$, $f=\\langle N,X_{uv}\\rangle$, $g=\\langle N,X_{vv}\\rangle$. Apply CPIPI to expand $\\langle N_u\\times N_v,X_u\\times X_v\\rangle$ into inner products, substitute their signed coefficients, and finish with $K\\Delta$, where $\\Delta=EG-F^2$ and $K=(eg-f^2)/\\Delta$.",
      "recallPrompt": "For a smooth surface chart with unit normal $N$, use $e=\\langle N,X_{uu}\\rangle$, $f=\\langle N,X_{uv}\\rangle$, $g=\\langle N,X_{vv}\\rangle$. Apply CPIPI to expand $\\langle N_u\\times N_v,X_u\\times X_v\\rangle$ into inner products, substitute their signed coefficients, and finish with $K\\Delta$, where $\\Delta=EG-F^2$ and $K=(eg-f^2)/\\Delta$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "N_u",
            "label": "N_u"
          },
          {
            "tool": "N_v",
            "label": "N_v"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "e",
            "label": "e"
          },
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "g",
            "label": "g"
          },
          {
            "tool": "K",
            "label": "K"
          },
          {
            "tool": "Δ",
            "label": "Δ"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "N_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "e"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "g"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "f"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "f"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "e"
                },
                {
                  "kind": "symbol",
                  "text": "g"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "K"
            },
            {
              "kind": "symbol",
              "text": "Δ"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "CPIPI is the cross-product inner-product identity (Lagrange’s identity).",
          "steps": [
            {
              "text": "Differentiating $\\langle N,X_u\\rangle=0$ in $u$ gives $\\langle N_u,X_u\\rangle=-e$. Differentiating $\\langle N,X_v\\rangle=0$ in $v$ gives $\\langle N_v,X_v\\rangle=-g$."
            },
            {
              "text": "The two mixed differentiations give $\\langle N_u,X_v\\rangle=\\langle N_v,X_u\\rangle=-f$, using $X_{uv}=X_{vu}$. Substitute these four values into Lagrange's identity."
            },
            {
              "text": "The final equality uses $eg-f^2=K\\Delta$, the Gaussian-curvature formula with its metric denominator cleared."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "N_u": "vector",
          "N_v": "vector",
          "X_u": "vector",
          "X_v": "vector"
        },
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 2,
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "N_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_u"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "N_v"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "e"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "g"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "f"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "f"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "e"
                },
                {
                  "kind": "symbol",
                  "text": "g"
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "power",
                  "base": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "f"
                      }
                    ]
                  },
                  "exponent": {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "2"
                      }
                    ]
                  }
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "K"
            },
            {
              "kind": "symbol",
              "text": "Δ"
            }
          ]
        }
      ]
    },
    {
      "id": "compute-cross-inner-product-geometric",
      "type": "equation-practice",
      "title": "Cross-product identity in an adapted orthonormal basis",
      "prompt": "Prove CPIPI without Levi-Civita symbols. In a positively oriented orthonormal basis, write $a=re_1$, $b=se_1+te_2$, and $c_i=\\langle c,e_i\\rangle$, $d_i=\\langle d,e_i\\rangle$. Expand $\\langle a,c\\rangle\\langle b,d\\rangle-\\langle a,d\\rangle\\langle b,c\\rangle$, cancel the terms containing $s$, then identify the result as $\\langle a\\times b,c\\times d\\rangle$.",
      "recallPrompt": "Prove CPIPI without Levi-Civita symbols. In a positively oriented orthonormal basis, write $a=re_1$, $b=se_1+te_2$, and $c_i=\\langle c,e_i\\rangle$, $d_i=\\langle d,e_i\\rangle$. Expand $\\langle a,c\\rangle\\langle b,d\\rangle-\\langle a,d\\rangle\\langle b,c\\rangle$, cancel the terms containing $s$, then identify the result as $\\langle a\\times b,c\\times d\\rangle$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "a",
            "label": "a"
          },
          {
            "tool": "b",
            "label": "b"
          },
          {
            "tool": "c",
            "label": "c"
          },
          {
            "tool": "d",
            "label": "d"
          },
          {
            "tool": "r",
            "label": "r"
          },
          {
            "tool": "s",
            "label": "s"
          },
          {
            "tool": "t",
            "label": "t"
          },
          {
            "tool": "c_1",
            "label": "c_1"
          },
          {
            "tool": "c_2",
            "label": "c_2"
          },
          {
            "tool": "d_1",
            "label": "d_1"
          },
          {
            "tool": "d_2",
            "label": "d_2"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "d"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "d"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "r"
                },
                {
                  "kind": "symbol",
                  "text": "c_1"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "s"
                        },
                        {
                          "kind": "symbol",
                          "text": "d_1"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        },
                        {
                          "kind": "symbol",
                          "text": "d_2"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "r"
                },
                {
                  "kind": "symbol",
                  "text": "d_1"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "s"
                        },
                        {
                          "kind": "symbol",
                          "text": "c_1"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        },
                        {
                          "kind": "symbol",
                          "text": "c_2"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "r"
                },
                {
                  "kind": "symbol",
                  "text": "t"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "c_1"
                        },
                        {
                          "kind": "symbol",
                          "text": "d_2"
                        },
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "c_2"
                        },
                        {
                          "kind": "symbol",
                          "text": "d_1"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "d"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "CPIPI is the cross-product inner-product identity (Lagrange’s identity).",
          "steps": [
            {
              "text": "Orthonormality gives $\\langle a,c\\rangle=rc_1$ and $\\langle b,d\\rangle=sd_1+td_2$, and likewise for the other two factors. Expanding cancels $rs c_1d_1-rs d_1c_1$."
            },
            {
              "text": "Since $e_1\\times e_2=e_3$, we have $a\\times b=rt e_3$. Bilinearity gives $\\langle e_3,c\\times d\\rangle=c_1d_2-c_2d_1$: only $c_1d_2(e_1\\times e_2)$ and $c_2d_1(e_2\\times e_1)$ contribute to the $e_3$ component. Thus the last expression is the cross-product inner product."
            },
            {
              "text": "This covers arbitrary vectors. If $a\\ne0$, choose $e_1$ along $a$ and $e_2$ along the component of $b$ perpendicular to $a$. If that component is zero, choose any perpendicular $e_2$ and set $t=0$. If $a=0$, both sides vanish directly."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "a": "vector",
          "b": "vector",
          "c": "vector",
          "d": "vector"
        },
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 3,
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "d"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "d"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "⟨"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    },
                    {
                      "kind": "symbol",
                      "text": ","
                    },
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "symbol",
                      "text": "⟩"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "r"
                },
                {
                  "kind": "symbol",
                  "text": "c_1"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "s"
                        },
                        {
                          "kind": "symbol",
                          "text": "d_1"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        },
                        {
                          "kind": "symbol",
                          "text": "d_2"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "−"
                },
                {
                  "kind": "symbol",
                  "text": "r"
                },
                {
                  "kind": "symbol",
                  "text": "d_1"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "s"
                        },
                        {
                          "kind": "symbol",
                          "text": "c_1"
                        },
                        {
                          "kind": "symbol",
                          "text": "+"
                        },
                        {
                          "kind": "symbol",
                          "text": "t"
                        },
                        {
                          "kind": "symbol",
                          "text": "c_2"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "r"
                },
                {
                  "kind": "symbol",
                  "text": "t"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "c_1"
                        },
                        {
                          "kind": "symbol",
                          "text": "d_2"
                        },
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "c_2"
                        },
                        {
                          "kind": "symbol",
                          "text": "d_1"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "a"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "b"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "c"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "d"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "id": "compute-l14-egregium-conclusion",
      "type": "equation-practice",
      "title": "Finish: Gaussian curvature depends only on the metric",
      "prompt": "Put $\\Delta=EG-F^2>0$. We have $eg-f^2=\\sqrt\\Delta(\\lambda_1\\mu_2-\\lambda_2\\mu_1)$ and $\\lambda_1\\mu_2-\\lambda_2\\mu_1=(\\alpha_1)_v-(\\alpha_2)_u$. Start with the coordinate formula for $K$, substitute the numerator, then cancel $\\sqrt\\Delta$ and use compatibility.",
      "recallPrompt": "Put $\\Delta=EG-F^2>0$. We have $eg-f^2=\\sqrt\\Delta(\\lambda_1\\mu_2-\\lambda_2\\mu_1)$ and $\\lambda_1\\mu_2-\\lambda_2\\mu_1=(\\alpha_1)_v-(\\alpha_2)_u$. Start with the coordinate formula for $K$, substitute the numerator, then cancel $\\sqrt\\Delta$ and use compatibility.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "K",
            "label": "K"
          },
          {
            "tool": "e",
            "label": "e"
          },
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "g",
            "label": "g"
          },
          {
            "tool": "Δ",
            "label": "Δ"
          },
          {
            "tool": "lambda_1",
            "label": "lambda_1"
          },
          {
            "tool": "mu_2",
            "label": "mu_2"
          },
          {
            "tool": "lambda_2",
            "label": "lambda_2"
          },
          {
            "tool": "mu_1",
            "label": "mu_1"
          },
          {
            "tool": "α1_v",
            "label": "α1_v"
          },
          {
            "tool": "α2_u",
            "label": "α2_u"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "K"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "e"
                      },
                      {
                        "kind": "symbol",
                        "text": "g"
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "f"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "Δ"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "radical",
                        "radicand": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "Δ"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "lambda_1"
                              },
                              {
                                "kind": "symbol",
                                "text": "mu_2"
                              },
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "symbol",
                                "text": "lambda_2"
                              },
                              {
                                "kind": "symbol",
                                "text": "mu_1"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "Δ"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "α1_v"
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "α2_u"
                      }
                    ]
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "radical",
                    "radicand": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "Δ"
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      ],
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "K"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "e"
                      },
                      {
                        "kind": "symbol",
                        "text": "g"
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "power",
                        "base": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "f"
                            }
                          ]
                        },
                        "exponent": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "2"
                            }
                          ]
                        }
                      }
                    ]
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "Δ"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "radical",
                        "radicand": {
                          "kind": "row",
                          "children": [
                            {
                              "kind": "symbol",
                              "text": "Δ"
                            }
                          ]
                        }
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "lambda_1"
                              },
                              {
                                "kind": "symbol",
                                "text": "mu_2"
                              },
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "symbol",
                                "text": "lambda_2"
                              },
                              {
                                "kind": "symbol",
                                "text": "mu_1"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "Δ"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "α1_v"
                      },
                      {
                        "kind": "symbol",
                        "text": "−"
                      },
                      {
                        "kind": "symbol",
                        "text": "α2_u"
                      }
                    ]
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "radical",
                    "radicand": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "Δ"
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "text": "The four metric-derivative identities make all remaining pairings in the $R_i$ expansions metric-determined. Hence $\\alpha_1,\\alpha_2$ and their coordinate derivatives depend only on the metric."
            },
            {
              "text": "Since $\\Delta>0$, $\\sqrt\\Delta/\\Delta=1/\\sqrt\\Delta$. The final curvature expression therefore depends only on $E,F,G$ and their derivatives, proving the intrinsic dependence."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "N_u": "vector",
          "N_v": "vector",
          "N": "vector",
          "X_u": "vector",
          "X_v": "vector"
        },
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "Δ"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": true
      },
      "multiplier": 3
    },
    {
      "id": "l14-gauss-map-area",
      "title": "Curvature numerator as a cross-product inner product",
      "prompt": "For a regular surface chart $X$ with unit normal $N$, express $eg-f^2$ as the inner product of $N_u\\times N_v$ and $X_u\\times X_v$.",
      "learningVersion": 2,
      "editor": {
        "palette": [
          {
            "tool": "e",
            "label": "e"
          },
          {
            "tool": "f",
            "label": "f"
          },
          {
            "tool": "g",
            "label": "g"
          },
          {
            "tool": "N_u",
            "label": "N_u"
          },
          {
            "tool": "N_v",
            "label": "N_v"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "e"
            },
            {
              "kind": "symbol",
              "text": "g"
            },
            {
              "kind": "symbol",
              "text": "−"
            },
            {
              "kind": "power",
              "base": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "f"
                  }
                ]
              },
              "exponent": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "2"
                  }
                ]
              }
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "⟨"
            },
            {
              "kind": "symbol",
              "text": "N_u"
            },
            {
              "kind": "symbol",
              "text": "×"
            },
            {
              "kind": "symbol",
              "text": "N_v"
            },
            {
              "kind": "symbol",
              "text": ","
            },
            {
              "kind": "symbol",
              "text": "X_u"
            },
            {
              "kind": "symbol",
              "text": "×"
            },
            {
              "kind": "symbol",
              "text": "X_v"
            },
            {
              "kind": "symbol",
              "text": "⟩"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Use CPIPI (the cross-product inner-product identity).",
          "steps": [
            {
              "text": "Differentiating $\\langle N,X_u\\rangle=\\langle N,X_v\\rangle=0$ gives $\\langle N_u,X_u\\rangle=-e$, $\\langle N_v,X_v\\rangle=-g$ and $\\langle N_u,X_v\\rangle=\\langle N_v,X_u\\rangle=-f$."
            },
            {
              "text": "Thus $\\langle N_u\\times N_v,X_u\\times X_v\\rangle=\\langle N_u,X_u\\rangle\\langle N_v,X_v\\rangle-\\langle N_u,X_v\\rangle\\langle N_v,X_u\\rangle=(-e)(-g)-(-f)(-f)=eg-f^2$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "N_u": "vector",
          "N_v": "vector",
          "X_u": "vector",
          "X_v": "vector"
        },
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      },
      "type": "equation-practice",
      "recallPrompt": "For a regular surface chart $X$ with unit normal $N$, express $eg-f^2$ as the inner product of $N_u\\times N_v$ and $X_u\\times X_v$."
    },
    {
      "id": "compute-l14-gauss-map-area",
      "title": "Recover the normal cross product by projection",
      "prompt": "Put $\\Delta=\\|X_u\\times X_v\\|^2>0$. The vectors $N_u\\times N_v$ and $X_u\\times X_v$ are parallel, and $\\langle N_u\\times N_v,X_u\\times X_v\\rangle=K\\Delta$. Starting with $N_u\\times N_v$, use its projection onto $X_u\\times X_v$, substitute these identities, and simplify.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "N_u",
            "label": "N_u"
          },
          {
            "tool": "N_v",
            "label": "N_v"
          },
          {
            "tool": "K",
            "label": "K"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "Δ",
            "label": "Δ"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/",
          "{",
          "}"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": true
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "N_u"
                },
                {
                  "kind": "symbol",
                  "text": "×"
                },
                {
                  "kind": "symbol",
                  "text": "N_v"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "⟨"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "N_u"
                      },
                      {
                        "kind": "symbol",
                        "text": "×"
                      },
                      {
                        "kind": "symbol",
                        "text": "N_v"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_u"
                      },
                      {
                        "kind": "symbol",
                        "text": "×"
                      },
                      {
                        "kind": "symbol",
                        "text": "X_v"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "⟩"
                  }
                ]
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "||"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "×"
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "||"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "K"
                  },
                  {
                    "kind": "symbol",
                    "text": "Δ"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "Δ"
                  }
                ]
              }
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "K"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "Differentiating $\\langle N,N\\rangle=1$ shows that $N_u,N_v$ are tangent. Their cross product is therefore parallel to the nonzero normal vector $X_u\\times X_v$.",
          "steps": [
            {
              "text": "For parallel vectors $a,b$ with $b\\ne0$, the projection formula is $a=\\langle a,b\\rangle b/\\|b\\|^2$. This gives the first equality, even when $a=0$."
            },
            {
              "text": "CPIPI and differentiated normality give $\\langle N_u\\times N_v,X_u\\times X_v\\rangle=eg-f^2=K\\Delta$. The denominator is $\\Delta$, so the scalar coefficient simplifies to $K$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "N_u": "vector",
          "N_v": "vector",
          "X_u": "vector",
          "X_v": "vector"
        },
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "G",
          "W",
          "D"
        ],
        "positive": [
          "Δ"
        ],
        "nonzero": [],
        "equalityChain": true
      },
      "type": "equation-practice",
      "recallPrompt": "Put $\\Delta=\\|X_u\\times X_v\\|^2>0$. The vectors $N_u\\times N_v$ and $X_u\\times X_v$ are parallel, and $\\langle N_u\\times N_v,X_u\\times X_v\\rangle=K\\Delta$. Starting with $N_u\\times N_v$, use its projection onto $X_u\\times X_v$, substitute these identities, and simplify.",
      "sequence": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "N_u"
                },
                {
                  "kind": "symbol",
                  "text": "×"
                },
                {
                  "kind": "symbol",
                  "text": "N_v"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "⟨"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "N_u"
                      },
                      {
                        "kind": "symbol",
                        "text": "×"
                      },
                      {
                        "kind": "symbol",
                        "text": "N_v"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": ","
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "X_u"
                      },
                      {
                        "kind": "symbol",
                        "text": "×"
                      },
                      {
                        "kind": "symbol",
                        "text": "X_v"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "⟩"
                  }
                ]
              },
              "bottom": {
                "kind": "power",
                "base": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "||"
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "X_u"
                        },
                        {
                          "kind": "symbol",
                          "text": "×"
                        },
                        {
                          "kind": "symbol",
                          "text": "X_v"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": "||"
                    }
                  ]
                },
                "exponent": {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "2"
                    }
                  ]
                }
              }
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "K"
                  },
                  {
                    "kind": "symbol",
                    "text": "Δ"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "Δ"
                  }
                ]
              }
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "symbol",
              "text": "K"
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "("
                },
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "X_u"
                    },
                    {
                      "kind": "symbol",
                      "text": "×"
                    },
                    {
                      "kind": "symbol",
                      "text": "X_v"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": ")"
                }
              ]
            }
          ]
        }
      ],
      "multiplier": 2
    },
    {
      "id": "l14-curvature-numerator-normal",
      "type": "equation-practice",
      "title": "Unit normal from the metric determinant",
      "prompt": "For a regular oriented chart $X$, put $\\Delta=EG-F^2$ and choose $N$ in the direction of $X_u\\times X_v$. Express $N$ using $X_u\\times X_v$ and $\\Delta$.",
      "recallPrompt": "For a regular oriented chart $X$, put $\\Delta=EG-F^2$ and choose $N$ in the direction of $X_u\\times X_v$. Express $N$ using $X_u\\times X_v$ and $\\Delta$.",
      "learningVersion": 2,
      "editor": {
        "palette": [
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "X_u",
            "label": "X_u"
          },
          {
            "tool": "X_v",
            "label": "X_v"
          },
          {
            "tool": "Δ",
            "label": "Δ"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "N"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "fraction",
              "top": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "X_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "×"
                  },
                  {
                    "kind": "symbol",
                    "text": "X_v"
                  }
                ]
              },
              "bottom": {
                "kind": "row",
                "children": [
                  {
                    "kind": "radical",
                    "radicand": {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "Δ"
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "The Gram determinant gives $\\|X_u\\times X_v\\|^2=EG-F^2=\\Delta>0$.",
          "steps": [
            {
              "text": "Divide $X_u\\times X_v$ by its length $\\sqrt\\Delta$ to obtain the unit normal with the specified orientation."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "N_u": "vector",
          "N_v": "vector",
          "N": "vector",
          "X_u": "vector",
          "X_v": "vector"
        },
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "Δ"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      }
    },
    {
      "id": "l14-normal-cross-frame",
      "type": "equation-practice",
      "title": "Normal cross product in frame coefficients",
      "prompt": "In an oriented orthonormal frame with $e_1\\times e_2=N$, write $N_u=-\\lambda_1e_1-\\mu_1e_2$ and $N_v=-\\lambda_2e_1-\\mu_2e_2$. Express $N_u\\times N_v$ using $\\lambda_1,\\lambda_2,\\mu_1,\\mu_2,N$.",
      "recallPrompt": "In an oriented orthonormal frame with $e_1\\times e_2=N$, write $N_u=-\\lambda_1e_1-\\mu_1e_2$ and $N_v=-\\lambda_2e_1-\\mu_2e_2$. Express $N_u\\times N_v$ using $\\lambda_1,\\lambda_2,\\mu_1,\\mu_2,N$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "N_u",
            "label": "N_u"
          },
          {
            "tool": "N_v",
            "label": "N_v"
          },
          {
            "tool": "N",
            "label": "N"
          },
          {
            "tool": "lambda_1",
            "label": "lambda_1"
          },
          {
            "tool": "mu_2",
            "label": "mu_2"
          },
          {
            "tool": "lambda_2",
            "label": "lambda_2"
          },
          {
            "tool": "mu_1",
            "label": "mu_1"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "||",
          "|",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "N_u"
                },
                {
                  "kind": "symbol",
                  "text": "×"
                },
                {
                  "kind": "symbol",
                  "text": "N_v"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "row",
                  "children": [
                    {
                      "kind": "symbol",
                      "text": "("
                    },
                    {
                      "kind": "row",
                      "children": [
                        {
                          "kind": "symbol",
                          "text": "lambda_1"
                        },
                        {
                          "kind": "symbol",
                          "text": "mu_2"
                        },
                        {
                          "kind": "symbol",
                          "text": "−"
                        },
                        {
                          "kind": "symbol",
                          "text": "lambda_2"
                        },
                        {
                          "kind": "symbol",
                          "text": "mu_1"
                        }
                      ]
                    },
                    {
                      "kind": "symbol",
                      "text": ")"
                    }
                  ]
                },
                {
                  "kind": "symbol",
                  "text": "N"
                }
              ]
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "$N_u=-\\langle N,e_{1,u}\\rangle e_1-\\langle N,e_{2,u}\\rangle e_2$ and $N_v=-\\langle N,e_{1,v}\\rangle e_1-\\langle N,e_{2,v}\\rangle e_2$: differentiate $\\langle N,e_i\\rangle=0$ and expand the tangent vectors $N_u,N_v$ in the orthonormal frame.",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "N_u"
                      },
                      {
                        "kind": "symbol",
                        "text": "×"
                      },
                      {
                        "kind": "symbol",
                        "text": "N_v"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "⟨"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "N"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ","
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "eone_u"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "⟩"
                                  }
                                ]
                              },
                              {
                                "kind": "symbol",
                                "text": "e_1"
                              },
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "⟨"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "N"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ","
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "etwo_u"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "⟩"
                                  }
                                ]
                              },
                              {
                                "kind": "symbol",
                                "text": "e_2"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "×"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "⟨"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "N"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ","
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "eone_v"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "⟩"
                                  }
                                ]
                              },
                              {
                                "kind": "symbol",
                                "text": "e_1"
                              },
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "⟨"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "N"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ","
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "etwo_v"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "⟩"
                                  }
                                ]
                              },
                              {
                                "kind": "symbol",
                                "text": "e_2"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "⟨"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "N"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ","
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "eone_u"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "⟩"
                                  }
                                ]
                              },
                              {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "⟨"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "N"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ","
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "etwo_v"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "⟩"
                                  }
                                ]
                              },
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "⟨"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "N"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ","
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "etwo_u"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "⟩"
                                  }
                                ]
                              },
                              {
                                "kind": "row",
                                "children": [
                                  {
                                    "kind": "symbol",
                                    "text": "⟨"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "N"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": ","
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "eone_v"
                                  },
                                  {
                                    "kind": "symbol",
                                    "text": "⟩"
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "e_1"
                              },
                              {
                                "kind": "symbol",
                                "text": "×"
                              },
                              {
                                "kind": "symbol",
                                "text": "e_2"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "("
                          },
                          {
                            "kind": "row",
                            "children": [
                              {
                                "kind": "symbol",
                                "text": "lambda_1"
                              },
                              {
                                "kind": "symbol",
                                "text": "mu_2"
                              },
                              {
                                "kind": "symbol",
                                "text": "−"
                              },
                              {
                                "kind": "symbol",
                                "text": "lambda_2"
                              },
                              {
                                "kind": "symbol",
                                "text": "mu_1"
                              }
                            ]
                          },
                          {
                            "kind": "symbol",
                            "text": ")"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "N"
                      }
                    ]
                  }
                ]
              },
              "text": "The corresponding computation card derives this identity."
            },
            {
              "text": "Self-cross-products vanish. The two surviving terms initially have positive coefficients because both normal derivatives carry minus signs."
            },
            {
              "text": "Use $e_2\\times e_1=-e_1\\times e_2$ to collect the two surviving terms. Then $e_1\\times e_2=N$ and the four abbreviations give $(\\lambda_1\\mu_2-\\lambda_2\\mu_1)N$."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "N_u": "vector",
          "N_v": "vector",
          "N": "vector",
          "e_1": "vector",
          "e_2": "vector"
        },
        "scalarProducts": false,
        "implicitArguments": {},
        "nonnegative": [
          "E",
          "Δ"
        ],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      }
    },
    {
      "id": "l14-alpha1-v",
      "type": "equation-practice",
      "title": "Frame coefficient 1 differentiated in v",
      "prompt": "In a smooth orthonormal frame, put $\\alpha_1=\\langle e_{1,u},e_2\\rangle$, $\\lambda_1=\\langle e_{1,u},N\\rangle$, and $\\mu_2=\\langle e_{2,v},N\\rangle$. Express $(\\alpha_1)_v$ using $e_{1,uv},e_2,\\lambda_1,\\mu_2$.",
      "recallPrompt": "In a smooth orthonormal frame, put $\\alpha_1=\\langle e_{1,u},e_2\\rangle$, $\\lambda_1=\\langle e_{1,u},N\\rangle$, and $\\mu_2=\\langle e_{2,v},N\\rangle$. Express $(\\alpha_1)_v$ using $e_{1,uv},e_2,\\lambda_1,\\mu_2$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "α1_v",
            "label": "α1_v"
          },
          {
            "tool": "eone_uv",
            "label": "eone_uv"
          },
          {
            "tool": "e_2",
            "label": "e_2"
          },
          {
            "tool": "lambda_1",
            "label": "lambda_1"
          },
          {
            "tool": "mu_2",
            "label": "mu_2"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "α1_v"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "eone_uv"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "lambda_1"
            },
            {
              "kind": "symbol",
              "text": "mu_2"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "α1_v"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "⟨"
                      },
                      {
                        "kind": "symbol",
                        "text": "eone_uv"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "e_2"
                      },
                      {
                        "kind": "symbol",
                        "text": "⟩"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "⟨"
                      },
                      {
                        "kind": "symbol",
                        "text": "eone_u"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "etwo_v"
                      },
                      {
                        "kind": "symbol",
                        "text": "⟩"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "⟨"
                      },
                      {
                        "kind": "symbol",
                        "text": "eone_uv"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "e_2"
                      },
                      {
                        "kind": "symbol",
                        "text": "⟩"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "⟨"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "alpha_1"
                          },
                          {
                            "kind": "symbol",
                            "text": "e_2"
                          },
                          {
                            "kind": "symbol",
                            "text": "+"
                          },
                          {
                            "kind": "symbol",
                            "text": "lambda_1"
                          },
                          {
                            "kind": "symbol",
                            "text": "N"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "alpha_2"
                          },
                          {
                            "kind": "symbol",
                            "text": "e_1"
                          },
                          {
                            "kind": "symbol",
                            "text": "+"
                          },
                          {
                            "kind": "symbol",
                            "text": "mu_2"
                          },
                          {
                            "kind": "symbol",
                            "text": "N"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "⟩"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "⟨"
                      },
                      {
                        "kind": "symbol",
                        "text": "eone_uv"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "e_2"
                      },
                      {
                        "kind": "symbol",
                        "text": "⟩"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "symbol",
                    "text": "lambda_1"
                  },
                  {
                    "kind": "symbol",
                    "text": "mu_2"
                  }
                ]
              },
              "text": "The corresponding computation card derives this identity."
            },
            {
              "text": "The first term comes from differentiating $e_{1,u}$; the second comes from differentiating $e_2$."
            },
            {
              "text": "In the expanded inner product, all cross terms vanish by orthogonality. Only $\\lambda_1\\mu_2\\langle N,N\\rangle=\\lambda_1\\mu_2$ survives."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "eone_uv": "vector",
          "e_2": "vector",
          "eone_u": "vector",
          "etwo_v": "vector",
          "N": "vector",
          "e_1": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      }
    },
    {
      "id": "l14-alpha2-u",
      "type": "equation-practice",
      "title": "Frame coefficient 2 differentiated in u",
      "prompt": "In a smooth orthonormal frame, put $\\alpha_2=\\langle e_{1,v},e_2\\rangle$, $\\lambda_2=\\langle e_{1,v},N\\rangle$, and $\\mu_1=\\langle e_{2,u},N\\rangle$. Express $(\\alpha_2)_u$ using $e_{1,vu},e_2,\\lambda_2,\\mu_1$.",
      "recallPrompt": "In a smooth orthonormal frame, put $\\alpha_2=\\langle e_{1,v},e_2\\rangle$, $\\lambda_2=\\langle e_{1,v},N\\rangle$, and $\\mu_1=\\langle e_{2,u},N\\rangle$. Express $(\\alpha_2)_u$ using $e_{1,vu},e_2,\\lambda_2,\\mu_1$.",
      "learningVersion": 1,
      "editor": {
        "palette": [
          {
            "tool": "α2_u",
            "label": "α2_u"
          },
          {
            "tool": "eone_vu",
            "label": "eone_vu"
          },
          {
            "tool": "e_2",
            "label": "e_2"
          },
          {
            "tool": "lambda_2",
            "label": "lambda_2"
          },
          {
            "tool": "mu_1",
            "label": "mu_1"
          }
        ],
        "operations": [
          "−",
          "+",
          "fraction",
          "=",
          ",",
          "(",
          ")",
          "square",
          "power",
          "⟨",
          "⟩",
          "sqrt",
          "×",
          "/"
        ],
        "digits": [
          "0",
          "1",
          "2",
          "3"
        ],
        "initialAnswerVisible": false
      },
      "answers": [
        {
          "kind": "row",
          "children": [
            {
              "kind": "symbol",
              "text": "α2_u"
            },
            {
              "kind": "symbol",
              "text": "="
            },
            {
              "kind": "row",
              "children": [
                {
                  "kind": "symbol",
                  "text": "⟨"
                },
                {
                  "kind": "symbol",
                  "text": "eone_vu"
                },
                {
                  "kind": "symbol",
                  "text": ","
                },
                {
                  "kind": "symbol",
                  "text": "e_2"
                },
                {
                  "kind": "symbol",
                  "text": "⟩"
                }
              ]
            },
            {
              "kind": "symbol",
              "text": "+"
            },
            {
              "kind": "symbol",
              "text": "lambda_2"
            },
            {
              "kind": "symbol",
              "text": "mu_1"
            }
          ]
        }
      ],
      "explanation": {
        "kind": "proof",
        "proof": {
          "intro": "",
          "steps": [
            {
              "equation": {
                "kind": "row",
                "children": [
                  {
                    "kind": "symbol",
                    "text": "α2_u"
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "⟨"
                      },
                      {
                        "kind": "symbol",
                        "text": "eone_vu"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "e_2"
                      },
                      {
                        "kind": "symbol",
                        "text": "⟩"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "⟨"
                      },
                      {
                        "kind": "symbol",
                        "text": "eone_v"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "etwo_u"
                      },
                      {
                        "kind": "symbol",
                        "text": "⟩"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "⟨"
                      },
                      {
                        "kind": "symbol",
                        "text": "eone_vu"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "e_2"
                      },
                      {
                        "kind": "symbol",
                        "text": "⟩"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "⟨"
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "alpha_2"
                          },
                          {
                            "kind": "symbol",
                            "text": "e_2"
                          },
                          {
                            "kind": "symbol",
                            "text": "+"
                          },
                          {
                            "kind": "symbol",
                            "text": "lambda_2"
                          },
                          {
                            "kind": "symbol",
                            "text": "N"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "row",
                        "children": [
                          {
                            "kind": "symbol",
                            "text": "−"
                          },
                          {
                            "kind": "symbol",
                            "text": "alpha_1"
                          },
                          {
                            "kind": "symbol",
                            "text": "e_1"
                          },
                          {
                            "kind": "symbol",
                            "text": "+"
                          },
                          {
                            "kind": "symbol",
                            "text": "mu_1"
                          },
                          {
                            "kind": "symbol",
                            "text": "N"
                          }
                        ]
                      },
                      {
                        "kind": "symbol",
                        "text": "⟩"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "="
                  },
                  {
                    "kind": "row",
                    "children": [
                      {
                        "kind": "symbol",
                        "text": "⟨"
                      },
                      {
                        "kind": "symbol",
                        "text": "eone_vu"
                      },
                      {
                        "kind": "symbol",
                        "text": ","
                      },
                      {
                        "kind": "symbol",
                        "text": "e_2"
                      },
                      {
                        "kind": "symbol",
                        "text": "⟩"
                      }
                    ]
                  },
                  {
                    "kind": "symbol",
                    "text": "+"
                  },
                  {
                    "kind": "symbol",
                    "text": "lambda_2"
                  },
                  {
                    "kind": "symbol",
                    "text": "mu_1"
                  }
                ]
              },
              "text": "The corresponding computation card derives this identity."
            },
            {
              "text": "The first term comes from differentiating $e_{1,v}$; the second comes from differentiating $e_2$."
            },
            {
              "text": "In the expanded inner product, all cross terms vanish by orthogonality. Only $\\lambda_2\\mu_1\\langle N,N\\rangle=\\lambda_2\\mu_1$ survives."
            }
          ]
        }
      },
      "grading": {
        "symbolTypes": {
          "eone_vu": "vector",
          "e_2": "vector",
          "eone_v": "vector",
          "etwo_u": "vector",
          "N": "vector",
          "e_1": "vector"
        },
        "scalarProducts": true,
        "implicitArguments": {},
        "nonnegative": [],
        "positive": [],
        "nonzero": [],
        "equalityChain": false
      }
    }
  ],
  "progress": {
    "categories": [
      {
        "id": "solved",
        "label": "Within correction allowance; no answer shown",
        "color": "#df467f"
      },
      {
        "id": "corrected",
        "label": "With corrections",
        "color": "#ee852e"
      },
      {
        "id": "assisted",
        "label": "With answer shown",
        "color": "#d8c574"
      },
      {
        "id": "easy",
        "label": "Recalled effortlessly",
        "color": "#cf4077"
      },
      {
        "id": "good",
        "label": "Recalled correctly",
        "color": "#d47727"
      },
      {
        "id": "hard",
        "label": "Recalled with difficulty",
        "color": "#d8c574"
      },
      {
        "id": "again",
        "label": "Could not recall",
        "color": "#858585"
      }
    ],
    "outcomeCategories": {
      "solved": "solved",
      "corrected": "corrected",
      "assisted": "assisted",
      "easy": "easy",
      "good": "good",
      "hard": "hard",
      "again": "again",
      "listened": "corrected"
    },
    "courseOutcomes": [
      "solved",
      "corrected",
      "assisted"
    ]
  }
}
