MatrixExponential - Maple Help

# Online Help

###### All Products    Maple    MapleSim

LinearAlgebra

 MatrixExponential
 determine the matrix exponential exp(A) for a Matrix A

 Calling Sequence MatrixExponential(A, t, options)

Parameters

 A - square Matrix t - (optional) scalar parameter options - (optional); constructor options for the result object

Description

 • The MatrixExponential(A, t) command returns the Matrix exp(A*t) = I + A*t + 1/2!*A^2*t^2 + ... where I is the identity Matrix. This is an example of a generalized Matrix function, F(A).
 • If the scalar parameter t is not specified, the first indeterminate (if any) in the Matrix is removed and used as a parameter.
 • The options option provides additional information (readonly, shape, storage, order, datatype, and attributes) to the Matrix constructor that builds the result. These options may also be provided in the form outputoptions=[...], where [...] represents a Maple list.  If a constructor option is provided in both the calling sequence directly and in an outputoptions option, the latter takes precedence (regardless of the order).
 • This function is part of the LinearAlgebra package, and so it can be used in the form MatrixExponential(..) only after executing the command with(LinearAlgebra). However, it can always be accessed through the long form of the command by using LinearAlgebra[MatrixExponential](..).

Examples

 > $\mathrm{with}\left(\mathrm{LinearAlgebra}\right):$
 > $A≔\mathrm{Matrix}\left(\left[\left[-13,-10\right],\left[21,16\right]\right]\right)$
 ${A}{≔}\left[\begin{array}{cc}{-13}& {-10}\\ {21}& {16}\end{array}\right]$ (1)
 > $\mathrm{MatrixExponential}\left(A\right)$
 $\left[\begin{array}{cc}{15}{}{ⅇ}{-}{14}{}{{ⅇ}}^{{2}}& {-}{10}{}{{ⅇ}}^{{2}}{+}{10}{}{ⅇ}\\ {21}{}{{ⅇ}}^{{2}}{-}{21}{}{ⅇ}& {-}{14}{}{ⅇ}{+}{15}{}{{ⅇ}}^{{2}}\end{array}\right]$ (2)
 > $\mathrm{MatrixExponential}\left(A,x\right)$
 $\left[\begin{array}{cc}{15}{}{{ⅇ}}^{{x}}{-}{14}{}{{ⅇ}}^{{2}{}{x}}& {-}{10}{}{{ⅇ}}^{{2}{}{x}}{+}{10}{}{{ⅇ}}^{{x}}\\ {21}{}{{ⅇ}}^{{2}{}{x}}{-}{21}{}{{ⅇ}}^{{x}}& {-}{14}{}{{ⅇ}}^{{x}}{+}{15}{}{{ⅇ}}^{{2}{}{x}}\end{array}\right]$ (3)
 > $\mathrm{MatrixExponential}\left(A,-x\right)$
 $\left[\begin{array}{cc}{15}{}{{ⅇ}}^{{-}{x}}{-}{14}{}{{ⅇ}}^{{-}{2}{}{x}}& {-}{10}{}{{ⅇ}}^{{-}{2}{}{x}}{+}{10}{}{{ⅇ}}^{{-}{x}}\\ {21}{}{{ⅇ}}^{{-}{2}{}{x}}{-}{21}{}{{ⅇ}}^{{-}{x}}& {-}{14}{}{{ⅇ}}^{{-}{x}}{+}{15}{}{{ⅇ}}^{{-}{2}{}{x}}\end{array}\right]$ (4)
 > $A≔\mathrm{Matrix}\left(\left[\left[-3.0,-1.0\right],\left[2.0,6.0\right]\right]\right)$
 ${A}{≔}\left[\begin{array}{cc}{-3.0}& {-1.0}\\ {2.0}& {6.0}\end{array}\right]$ (5)
 > $\mathrm{MatrixExponential}\left(A,\mathrm{readonly}\right)$
 $\left[\begin{array}{cc}{-8.50653632644480}& {-37.5839622686157}\\ {75.1679245372313}& {329.749124091096}\end{array}\right]$ (6)

 See Also