I am still learning Linear Algebra at it's basic levels, and I encountered a theorem about invertible matrices that stated that:
If $A$ is an invertible matrix, then for $n=0,1,2,3,..$. $A^n$ is invertible and $(A^n)^{-1} = (A^{-1})^n$.
Now, in attempting to write my proof, I proceeded this way (note that it's not complete):
$$A^n(A^{-1})^n=\prod_{i=1}^nA\prod_{i=1}^nA^{-1}=\prod_{i=1}^n(AA^{-1})=\prod_{i=1}^nI=I$$
Is this line of thinking correct? Well, am just returning to math after a long time of little practice, so I could be wrong.
Based on my comment to Dimitri's answer, would my use of this argument improve my proof?
$$\prod_{i=1}^{n-1}A.(AA^{-1}).\prod_{i=1}^{n-1}=\prod_{i=1}^{n-1}A.(I).\prod_{i=1}^{n-1}=...=A.(AIA^{-1}).A^{-1}=AIA^{-1}=AA^{-1}=I$$
After checking the comments, it seems this last argument gives me a correct proof eventually, and I now see that the problem with my original approach was making the argument that:
$$\prod_{i=1}^nA\prod_{i=1}^nA^{-1}=\prod_{i=1}^n(AA^{-1})$$
Which is not necessarily correct, but like @Srivatsan demonstrates, that approach is not at all wrong since :
Notice that $A$ and $A^{−1}$ commute, so this justifies your proof now
Thanks to everyone for guidance, now I see why collaboration is going to make me love math :D