the question says as following,
Let x be a real number and A a matrix such that $A^2 = I$. Show that the $e^{iAx} = \cos (x)I + i \sin (x) A$.
my problem is that I don't know how to deal with this equation using matrix form, I know how to deal with such a question $e^{ix} = \cos (x) + i \sin (x)$ but how to represent the matrix form in a graph in order to get the values of the exponential function $e^{iAx}$.
I will be very happy if someone explains this equation or any reference will be also good.
Thank you
Hint: