Here’s the $\LaTeX$ code of my diagram for matrix diagonalisation to be used on
Discord.
Why do matrix diagonalisation on square matrix $P$?
If we can find a diagonal matrix $D$ and a square matrix $Q$ such that
$P = QDQ^{-1}$, then we can easily compute $(P + \lambda I)^n$ for any scalar
$\lambda$ and integer $n$ because $D^n$ is easy to compute.
\[\begin{tikzcd}
    {{}} & {{}} & \cdots & {} \\
    {{}} & {{}} & \cdots & {{}}
    \arrow["P", from=1-1, to=1-2]
    \arrow["{Q^{-1}}"', from=1-1, to=2-1]
    \arrow["D"', from=2-1, to=2-2]
    \arrow["Q"', from=2-2, to=1-2]
    \arrow["P", from=1-2, to=1-3]
    \arrow["D"', from=2-2, to=2-3]
    \arrow["P", from=1-3, to=1-4]
    \arrow["D"', from=2-3, to=2-4]
    \arrow["Q"', from=2-4, to=1-4]
\end{tikzcd}\]
After viewing the power of the Discord bot $\TeX{}$it, which renders $\LaTeX$
code on Discord, I gave up spending more time on exploring more functionalities
of $\KaTeX$ (say, commutative diagrams) because Discord and $\LaTeX$ spread
math knowledge much better than a static blog for basic math: the former allows
instant feedback from the reader.  The later is better for taking notes.  To
display more complicated graphics, I can compile to PDF first, then use
dvisvgm with -P for --pdf.  (The small -p selects
--page=ranges.)
        [Read More]