Trigonometric functions of matrices

From Infogalactic: the planetary knowledge core
Jump to: navigation, search

The trigonometric functions (especially sine and cosine) for real or complex square matrices occur in solutions of second-order systems of differential equations.[1] They are defined by the same Taylor series that hold for the trigonometric functions of real and complex numbers:[2]

\begin{align}
\sin X & = X - \frac{X^3}{3!} + \frac{X^5}{5!} - \frac{X^7}{7!} + \cdots & = \sum_{n=0}^\infty \frac{(-1)^n}{(2n+1)!}X^{2n+1} \\
\cos X & = I - \frac{X^2}{2!} + \frac{X^4}{4!} - \frac{X^6}{6!} + \cdots & = \sum_{n=0}^\infty \frac{(-1)^n}{(2n)!}X^{2n}
\end{align}

with Xn being the nth power of the matrix X, and I being the identity matrix of appropriate dimensions.

Equivalently, they can be defined using the matrix exponential along with the matrix equivalent of Euler's formula, eiX = cos X + i sin X, yielding

\begin{align}
\sin X & = {e^{iX} - e^{-iX} \over 2i} \\
\cos X & = {e^{iX} + e^{-iX} \over 2}.
\end{align}

For example, taking X to be a standard Pauli matrix,

 
  \sigma_1 = \sigma_x =
    \begin{pmatrix}
      0&1\\
      1&0
    \end{pmatrix} ~,

one has


  \sin(\theta \sigma_1) =     \sin(\theta)~ \sigma_1 , \qquad  \cos (\theta \sigma_1) =     \cos (\theta)~I~,

as well as, for the cardinal sine function,

\operatorname{sinc}( \theta \sigma_1) =\operatorname{sinc}( \theta) ~I.


<templatestyles src="Module:Hatnote/styles.css"></templatestyles>

Properties

The analog of the Pythagorean trigonometric identity holds:[2]

\sin^2 X + \cos^2 X = I

If X is a diagonal matrix, sin X and cos X are also diagonal matrices with (sin X)nn = sin(Xnn) and (cos X)nn = cos(Xnn), that is, they can be calculated by simply taking the sines or cosines of the matrice's diagonal components.

The analogs of the trigonometric addition formulas are true if and only if XY = YX:[2]

\begin{align}
\sin (X \pm Y) = \sin X \cos Y \pm \cos X \sin Y \\
\cos (X \pm Y) = \cos X \cos Y \mp \sin X \sin Y
\end{align}

Other functions

The tangent, as well as inverse trigonometric functions, hyperbolic and inverse hyperbolic functions have also been defined for matrices:[3]

\arcsin X = -i \ln \left( iX + \sqrt{I-X^2} \right) (see Inverse trigonometric functions#Logarithmic forms, Matrix logarithm, Square root of a matrix)
\begin{align}
\sinh X & = {e^X - e^{-X} \over 2} \\
\cosh X & = {e^X + e^{-X} \over 2}
\end{align}

and so on.

References

  1. Lua error in package.lua at line 80: module 'strict' not found.
  2. 2.0 2.1 2.2 Lua error in package.lua at line 80: module 'strict' not found.
  3. Scilab trigonometry.


<templatestyles src="Asbox/styles.css"></templatestyles>