{ "cells": [ { "cell_type": "markdown", "id": "81b1d2f0", "metadata": {}, "source": [ "---\n", "title: \"Linear Algebra\"\n", "subtitle: \"\"\n", "abstract: \"\"\n", "date: 2026-02-19\n", "format:\n", " html:\n", " other-links:\n", " - text: This notebook\n", " href: App2.ipynb\n", "---" ] }, { "cell_type": "code", "execution_count": 1, "id": "db6fe346", "metadata": {}, "outputs": [], "source": [ "#| echo: false\n", "\n", "using Plots, LaTeXStrings" ] }, { "cell_type": "markdown", "id": "16b4a7e5", "metadata": {}, "source": [ "* $(\\lambda, x)$ *eigenpair* of $A$ where $A x = \\lambda x$ and $x \\not= 0$. Here, $\\lambda$ is an *eigenvalue* and $x$ is an *eigenvector*, \n", "* we say $x$ or $(\\lambda,x)$ is normalised if $|x| = 1$ (normally with respect to $|\\cdot| = |\\cdot|_2$), \n", "* $\\sigma(A) := \\{ \\lambda : \\exists x \\not= 0 \\text{ s.t. } A x = \\lambda x \\}$: *spectrum* of $A$, \n", "* $\\rho(A) := \\max_{\\lambda \\in \\sigma(A)} |\\lambda|$: *spectral radius* of $A$, \n", "* $A^\\star$: conjugate transpose of $A$ given by $A^\\star_{ij} = \\overline{A_{ji}}$, \n", "* $U$ is *unitary* if $U^\\star = U^{-1}$, \n", "\n", "::: {#def-normal}\n", "\n", "We say $A$ is *normal* if $A^\\star A = A A^\\star$ where $A^\\star$ is the conjugate transpose of $A$.\n", "\n", ":::\n", "\n", "::: {#exr-normal}\n", "\n", "Show that real symmetric matrices are normal.\n", "\n", "::: \n", "\n", "::: {#thm-normal}\n", "\n", "$A$ is normal if and only if there exists a *unitary* matrix $U$ (i.e. $U^\\star = U^{-1}$) and a diagonal matrix $\\Lambda$ such that \n", "\n", "\\begin{align}\n", " A = U \\Lambda U^\\star.\n", "\\end{align}\n", "\n", "On defining $\\lambda_j := \\Lambda_{jj}$ and $u_j$ the $j^\\text{th}$ column of $U$, we have \n", "\n", "\\begin{align}\n", " A = \\sum_{j=1}^n \\lambda_j u_j u_j^\\star\n", "\\end{align}\n", "\n", "where $(\\lambda_j, u_j)$ are orthonormal eigenpairs of $A$.\n", "\n", ":::\n", "\n", "