Skip to content
Select theme

Exterior Derivatives via Linear Algebra

The source download includes only this article, without shared templates or dependencies. To compile it, clone the notes repository and follow its setup instructions.

1. The Start

This note starts with the exterior derivative in Euclidean space, which is the following.

Example
Derive the 2-form of the external differential by defining it in Euclidean space.
Solution

Let 𝜔=𝑃𝑑𝑥+𝑄𝑑𝑦+𝑅𝑑𝑧, we deduce that

𝑑𝑃=𝜕𝑃𝑥𝑑𝑥+𝜕𝑃𝑦𝑑𝑦+𝜕𝑃𝑧𝑑𝑧𝑑𝑄=𝜕𝑄𝑥𝑑𝑥+𝜕𝑄𝑦𝑑𝑦+𝜕𝑄𝑧𝑑𝑧𝑑𝑅=𝜕𝑅𝑥𝑑𝑥+𝜕𝑅𝑦𝑑𝑦+𝜕𝑅𝑧𝑑𝑧𝑑𝜔=𝑑𝑃𝑑𝑥+𝑑𝑄𝑑𝑦+𝑑𝑅𝑑𝑧

. Expand item by item to obtain

𝑑𝑃𝑑𝑥=𝜕𝑃𝑦𝑑𝑦𝑑𝑥+𝜕𝑃𝑧𝑑𝑧𝑑𝑥𝑑𝑄𝑑𝑦=𝜕𝑄𝑥𝑑𝑥𝑑𝑦+𝜕𝑄𝑧𝑑𝑧𝑑𝑦𝑑𝑅𝑑𝑧=𝜕𝑅𝑥𝑑𝑥𝑑𝑧+𝜕𝑅𝑦𝑑𝑦𝑑𝑧

. Substitute them into the expression of 𝑑𝜔, we obtain that

𝑑𝜔=(𝜕𝑅𝑦𝜕𝑄𝑧)𝑑𝑦𝑑𝑧+(𝜕𝑃𝑧𝜕𝑅𝑥)𝑑𝑧𝑑𝑥+(𝜕𝑄𝑥𝜕𝑃𝑦)𝑑𝑥𝑑𝑦

. And we are done.

2. The Climax

But this solution is extremely ugly. We obtain that 𝜔=(𝑃𝑄𝑅)(𝑑𝑥𝑑𝑦𝑑𝑧). So is there a way to solve the problem through linear algebra? Let’s have a try.

Solution

We obtain that for any function 𝑓, 𝑑𝑓=(𝜕𝑓𝑥𝜕𝑓𝑦𝜕𝑓𝑧)(𝑑𝑥𝑑𝑦𝑑𝑧). Let 𝜔=(𝑃𝑄𝑅)(𝑑𝑥𝑑𝑦𝑑𝑧), then 𝑑𝜔=(𝑑𝑃𝑑𝑄𝑑𝑅)(𝑑𝑥𝑑𝑦𝑑𝑧).

Obtain that (𝑑𝑃𝑑𝑄𝑑𝑅)=(𝑑𝑥𝑑𝑦𝑑𝑧)(𝜕𝑃𝑥𝜕𝑃𝑦𝜕𝑃𝑧𝜕𝑄𝑥𝜕𝑄𝑦𝜕𝑄𝑧𝜕𝑅𝑥𝜕𝑅𝑦𝜕𝑅𝑧). Substitute this in, thus, 𝑑𝜔=(𝑑𝑥𝑑𝑦𝑑𝑧)(𝜕𝑃𝑥𝜕𝑃𝑦𝜕𝑃𝑧𝜕𝑄𝑥𝜕𝑄𝑦𝜕𝑄𝑧𝜕𝑅𝑥𝜕𝑅𝑦𝜕𝑅𝑧)(𝑑𝑥𝑑𝑦𝑑𝑧).

Let 𝑣=(𝑑𝑥𝑑𝑦𝑑𝑧), 𝑨=(𝜕𝑃𝑥𝜕𝑃𝑦𝜕𝑃𝑧𝜕𝑄𝑥𝜕𝑄𝑦𝜕𝑄𝑧𝜕𝑅𝑥𝜕𝑅𝑦𝜕𝑅𝑧), then 𝑑𝜔=𝑣𝑇𝑨𝑣.

Here, we may need the following lemma.

Lemma 2.1
Let 𝑅 be an exchange ring, 𝐴 is combination algebra on 𝑅. Let 𝑣𝐴𝑛, for any matrix 𝑺=(𝑠𝑖𝑗)𝑀𝑛(𝑅), If 𝑄=𝑣𝑇𝑺𝑣, then 𝑄=𝑖=1𝑛𝑗=1𝑛𝑠𝑖𝑗𝑣𝑖𝑣𝑗.

Since 𝑑𝑥,𝑑𝑦,𝑑𝑥𝑑𝑥=0,𝑑𝑥𝑑𝑦=𝑑𝑦𝑑𝑥, after applying Lemma 2.1, we obtain that:

𝑑𝜔=(𝜕𝑅𝑦𝜕𝑄𝑧)𝑑𝑦𝑑𝑧+(𝜕𝑃𝑧𝜕𝑅𝑥)𝑑𝑧𝑑𝑥+(𝜕𝑄𝑥𝜕𝑃𝑦)𝑑𝑥𝑑𝑦

. And we are done.

3. The End

Now, the only work is to prove Lemma 2.1, and here it is.

Proof
What are you looking at? It’s just some dumb, straightforward calculation — do it.
View Typst source
#import "../shared.typ": *
#import "@preview/noteworthy:0.4.0": *
#import "/themes/site/notes.typ": *

#show: tylenotes.with(
  title: "Exterior Derivatives via Linear Algebra",
  date: "2026-08-11",
  tags: ("geometry", "lean"),
  summary: "Deriving the exterior derivative of a 1-form as a 2-form in Euclidean space.",
)

= The Start

This note starts with the exterior derivative in Euclidean space,
which is the following.

#example[
  Derive the 2-form of the external differential by defining it in Euclidean space.
]

#solution[
  Let $omega = P d x + Q d y + R d z$,
  we deduce that
  $ d P = partial P_x d x + partial P_y d y + partial P_z d z $
  $ d Q = partial Q_x d x + partial Q_y d y + partial Q_z d z $
  $ d R = partial R_x d x + partial R_y d y + partial R_z d z $
  $ d omega = d P and d x + d Q and d y + d R and d z $.
  Expand item by item to obtain
  $ d P and d x = partial P_y d y and d x + partial P_z d z and d x $
  $ d Q and d y = partial Q_x d x and d y + partial Q_z d z and d y $
  $ d R and d z = partial R_x d x and d z + partial R_y d y and d z $.
  Substitute them into the expression of $d omega$, we obtain that
  $ d omega = 
  (partial R_y - partial Q_z) d y and d z +  
  (partial P_z - partial R_x) d z and d x +
  (partial Q_x - partial P_y) d x and d y $.
  And we are done.
]

= The Climax

But this solution is extremely ugly.
We obtain that $omega = mat(P, Q, R) vec(d x, d y, d z) $.
So is there a way to solve the problem through linear algebra?
Let's have a try.

#solution[
  We obtain that for any function $f$,
  $d f = mat(partial f_x, partial f_y, partial f_z) vec(d x, d y, d z)$.
  Let $omega = mat(P, Q, R) vec(d x, d y, d z)$,
  then $d omega = mat(d P, d Q, d R) vec(d x, d y, d z)$.

  Obtain that $mat(d P, d Q, d R) = mat(d x, d y, d z)
  mat(
    partial P_x, partial P_y, partial P_z;
    partial Q_x, partial Q_y, partial Q_z;
    partial R_x, partial R_y, partial R_z;
  )$.
  Substitute this in, thus,
  $d omega = mat(d x, d y, d z) mat(
    partial P_x, partial P_y, partial P_z;
    partial Q_x, partial Q_y, partial Q_z;
    partial R_x, partial R_y, partial R_z;
  ) vec(d x, d y, d z)$.

  Let $arrow(v) = vec(d x, d y, d z)$, $bold(A) = mat(
    partial P_x, partial P_y, partial P_z;
    partial Q_x, partial Q_y, partial Q_z;
    partial R_x, partial R_y, partial R_z;
  )$, then $d omega = arrow(v)^T bold(A) arrow(v)$.

  Here, we may need the following lemma.

  #lemma[
    Let $R$ be an exchange ring, $A$ is combination algebra on $R$.
    Let $arrow(v) in A^n$, for any matrix $bold(S) = (s_(i j)) in M_n (R)$,
    If $Q = arrow(v)^T bold(S) arrow(v)$, then
    $Q = sum^n_(i=1) sum^n_(j=1) s_(i j) v_i v_j$.
  ]

  Since $forall d x, d y, d x and d x = 0, d x and d y = - d y and d x$,
  after applying *Lemma 2.1*, we obtain that:
  $ d omega = 
  (partial R_y - partial Q_z) d y and d z +  
  (partial P_z - partial R_x) d z and d x +
  (partial Q_x - partial P_y) d x and d y $.
  And we are done.
]

= The End

Now, the only work is to prove *Lemma 2.1*, and here it is.

#proof[
  What are you looking at? It's just some dumb, straightforward calculation — do it.
]



Notes © zzj · Content: CC BY-SA 4.0 · Code: MIT · Built with Astro + Starlight