Given the matrix
$$A=\begin{bmatrix}1/2&a\\b&1/2\\ \end{bmatrix}$$
find the values of $a$ and $b$ that make it orthogonal.
So far I have tried using dot product $$(1/2)a+(1/2)b=0$$ and we can conclude that $a=-b$ and $b=-a$. I also tried the following theorem
$$A^T=A^{-1}$$
so
$$\begin{bmatrix}1/2&b\\a&1/2\\ \end{bmatrix}= \begin{bmatrix} (2+\frac{4ab}{1-4ab})&\frac{-4a}{1-4ab}\\ \frac{-4b}{1-4ab}&\frac{2}{1-4ab}\\ \end{bmatrix}$$
Can someone tell if I'am on the right track and point me in the right direction? Thanks!
Orthogonal matrix means $$AA^T=I$$ Hence, $$\begin{bmatrix} \frac{1}{2} & a\\ b& \frac{1}{2} \end{bmatrix}\begin{bmatrix} \frac{1}{2} & b\\ a& \frac{1}{2} \end{bmatrix}=\begin{bmatrix} \frac{1}{4}+a^2 & \frac{1}{2}(a+b)\\ \frac{1}{2}(a+b)& \frac{1}{4}+b^2 \end{bmatrix}=\begin{bmatrix} 1 & 0\\ 0& 1\end{bmatrix}$$ which implies $$a=-b=\pm\frac{\sqrt{3}}{2}$$