Prove that if the matrix $\begin{bmatrix}a & b\\b & c\end{bmatrix}$ is nonnegative definite, then it has a factorization $LL^{T}$ in which $L$ is lower triangular.
I am using the following theorem:
Theorem: If $A$ is real, symmetric, and pisitive definite matrix, then it has a unique factorization, $A=LL^{T}$, in which $L$ is lower triangular with a positive diagonal.
Clearly $A$ is real, is symmetric since $\begin{bmatrix}a & b\\b & c\end{bmatrix}^{T}=\begin{bmatrix}a & b\\b & c\end{bmatrix}$ and is positive definite or is of the form P, di is positive definite is of the form $\begin{bmatrix}0 & 0\\0 & 0\end{bmatrix}$ for Find the precise conditions on $a,b,c$ so that $\left[\begin{smallmatrix}a&b\\c&d\end{smallmatrix}\right]$ is nonnegative definite. but P has a $LL^{T}$ factorization trivially.
Is this reasoning right? Thank you very much.
$A=\begin{pmatrix}a&b\\b&c\end{pmatrix}\in S_2(\mathbb{R})$ is $\geq 0$ iff $a\geq 0,c\geq 0,ac-b^2\geq 0$. We seek $L=\begin{pmatrix}p&0\\q&r\end{pmatrix}$ s.t. $LL^T=A$, that is equivalent to $p^2=a,pq=b,q^2+r^2=c$.
We may assume that $p\geq 0$ (change $L$ with $-L$); then $p=\sqrt{a}$.
Case 1. $a>0$. Then $q=b/\sqrt{a}$ and $r^2=\dfrac{ac-b^2}{a}\geq 0$. We may choose $r\geq 0$.
Case 2. $a=0$. Then, necessarily $b=0$. Thus $p=0,q^2+r^2=c$. We may choose $q=0,r=\sqrt{c}$.
$\textbf{Conclusion.}$ When $A\geq 0$, there is a non-unique lower triangular matrix $L$with $\geq 0$ diagonal s.t. $LL^T=A$.