Minimal surfaces: A Lagrangian derivation of first and second variations | Synapse