I saw this question in my linear algebra textbook:
Show $A$ is symmetric if and only $A^T = A$.
I started by doing the following using inner product:
$$\begin{array}{rl}&A \text{ is symmetric}\\ \Leftrightarrow & g(Ax, y) = g(x, Ay)\\ \Leftrightarrow &(Ax)^Ty = x^T(Ay)\\ \Leftrightarrow &(A^Tx^T)y = x^T(Ay)\\ \Leftrightarrow &A^T(x^Ty) = A(x^Ty)\\ \Leftrightarrow &A^T = A \end{array}$$
I don't know how to do the reverse direction. Can someone help me out?
I have read If the inner product is symmetric iff $A=A^{T}$ and Prove A is symmetric matrix iff $A$ is square and $x^T Ay = (Ax)^T y$, but the arguments for the reverse direction don't have any real validity, hence I am asking here.
Edit:
My textbook's definition of a symmetric matrix:
$$\begin{array}{rl}&A \text{ is symmetric}\\ \Leftrightarrow & g(Ax, y) = g(x, Ay)\\\end{array}$$
Some of your steps are incorrect. For example, when manipulating transpose, you should have
$$(AB)^T = B^T A^T.$$
Thus $(Ax)^T = x^TA^T$. Secondly, it is not true that $x^T (Ay) = A(x^Ty)$. You are not allowed to change the order of multiplication when working on matrices. Indeed, you get
$$x^T A^T y = x^T A y$$
for all $x, y$. In particular, you can plug in $x = e_i$ (that is, the vector with $1$ at the $i$-th component and zero otherwise) and $y= e_j$ to conlude that
$$(A^T)_{ij} = A_{ij},$$
thus $A^T$ and $A$ has the same $(i, j)$ entries for all $i, j$. Thus $A^T = A$.