This a mostly a sanity check sort of thing. I am working with the map given by $$F:M_{2\times 2}(\mathbb{R})\rightarrow S_{2\times 2}(\mathbb{R}):A\mapsto A^t J A$$ where J is the matrix $$J = \begin{pmatrix} 1 & 0 \\ 0 & -1\end{pmatrix}.$$
I am trying to show that the set $S = \{A : F(A) = J\}$ is a smooth submanifold of $M$. I know that I need to use the Regular Level Set Theorem to do this, but I am having trouble showing $DF$ will have maximal rank for that the matrices in $S$ (which I have already shown contains only invertible matrices). Using the canonical isomorphism on $M_{2\times 2}(\mathbb{R})\cong \mathbb{R}^4$ described by $\begin{pmatrix}a_1 & a_2\\ a_3 & a_4\end{pmatrix}\mapsto (a_1,a_2,a_3,a_4)$ and the similar one on $S_{2\times 2}(\mathbb{R})\cong \mathbb{R}^3$, I computed $$F(a_1,a_2,a_3,a_4) = (a_1^2 - a_3^2, a_1a_2 - a_3a_4, a_2^2 - a_4^2)$$ which gives us that $$DF = \begin{pmatrix} 2a_1 & 0 & -2a_3 & 0\\ a_1 & a_2 & -a_3 & -a_4\\ 0 & 2a_2 & 0 & -2a_4\end{pmatrix}.$$
My problem is that I think that this matrix can never be full rank since the center row can always be eliminated. Have I done something wrong here? Can anyone verify for me under what conditions $DF$ would be surjective?
Slightly more abstractly (rather than resorting to coordinates):
Note that $df_A(B) = B^\top JA + A^\top JB$. Given a arbitrary symmetric matrix $C$, we wish to find $B$ so that $df_A(B) = C$. Since you already observed that any $A\in f^{-1}(J)$ must be invertible, take $$B = \tfrac12 J(A^{-1})^\top C,$$ and check that $df_A(B) = C$, as desired.
The advantage of this sort of approach is that it will work nicely in higher dimensions, whereas the coordinate approach is very awkward.