\section{Order Structures of $C^*$-Algebras}
\label{section:order-c-star-algebra}

\begin{definition}[Positive]
\label{definition:positive-c-star-algebra}
    Let $A$ be a $C^*$-algebra and $x \in A$, then $x$ is \textbf{positive} if there exists $y \in A$ such that $x = y^*y$. 
\end{definition}

\begin{proposition}
\label{proposition:positive-spectrum}
    Let $A$ be a unital $C^*$-algebra and $x \in A$ be normal, then $x$ is positive if and only if $\sigma_A(x) \subset [0, \infty)$. 
\end{proposition}
\begin{proof}
    Using the \hyperref[continuous functional calculus]{definition:continuous-functional-calculus}, $x$ is positive if and only if $\Gamma_{A[x]}(x) = \text{Id}$ is positive in $C(\sigma_A(x); \complex)$, if and only if $\sigma_A(x) = \Gamma_{A[x]}(x)(\Omega(A[x])) \subset [0, \infty)$ by \autoref{proposition:gelfand-transform-gymnastics}. 
\end{proof}

\begin{proposition}
\label{proposition:positive-norm-inequality}
    Let $A$ be a unital $C^*$-algebra and $x \in A_{sa}$, then the following are equivalent:
    \begin{enumerate}
        \item $x$ is positive.
        \item $\sigma_A(x) \subset [0, \infty)$. 
        \item There exists $\lambda \ge \norm{x}_A$ such that $\norm{\lambda - x}_A \le \lambda$. 
    \end{enumerate}
\end{proposition}
\begin{proof}[Proof, {{\cite[Lemma II.11.3]{Zhu}}}. ]
    (1) $\Leftrightarrow$ (2): \autoref{proposition:positive-spectrum}. 

    (2) $\Leftrightarrow$ (3): By assumption, $\sigma_A(x) \subset \real$, so \autoref{theorem:c-star-normal-spectral-radius} implies that
    \[
    \norm{\lambda - x}_A = [\lambda - x]_{sp} = \sup\bracsn{\lambda - \mu|\mu\in \sigma_A(x)}
    \]

    which is bounded above by $\lambda$ if and only if $\sigma_A(x) \subset [0, \infty)$. 
\end{proof}

\begin{corollary}
\label{corollary:positive-ordering}
    Let $A$ be a unital $C^*$-algebra. For each $x, y \in A$, denote $x \ge y$ if $x - y$ is positive, then $(A, \le)$ is an ordered vector space. 
\end{corollary}
\begin{proof}
    By definition, the ordering is reflexive, antisymmetric, translation-invariant, and invariant under scaling by positive constants. It remains to show that $\le$ is transitive, or equivalently, the sum of two positive elements is positive. 

    Let $x, y \in A$ be positive, then $x + y$ is self-adjoint. Thus there exists $\lambda \ge \norm{x}_A$ and $\mu \ge \norm{y}_A$ such that $\norm{\lambda - x}_A \le \lambda$ and $\norm{\mu - y}_A \le \mu$, so $\norm{(\lambda + \mu) - (x + y)}_A \le \lambda + \mu$, and $x + y$ is positive by \autoref{proposition:positive-norm-inequality}. 
\end{proof}


\begin{definition}[Positive Square Root]
\label{definition:positive-square-root}
    Let $A$ be a $C^*$-algebra and $x \in A$ be positive, then there exists a unique positive element $y \in A$ such that $y^2 = x$. The element $y$ is the \textbf{positive square root} of $x$, denoted $\sqrt{x}$. 
\end{definition}
\begin{proof}
    Since $x$ is positive, $\sigma_A(x) \subset [0, \infty)$ by \autoref{proposition:positive-norm-inequality}. Therefore the square root function $f(t) = \sqrt{t}$ is defined and continuous on $\sigma_A(x)$. Using the \hyperref[continuous functional calculus]{definition:continuous-functional-calculus}, $f(x)$ is a positive element of $A$ such that $f(x)^2 = x$. 

    Let $y \in A$ such that $y^2 = x$, then by the \hyperref[Spectral Mapping Theorem]{theorem:spectral-mapping-continuous}, $y = f(y^2) = f(x)$, so the square root is unique. 
\end{proof}



