Post Reply 
(DM42) Matrix exponential
08-23-2023, 07:55 PM
Post: #25
RE: (DM42) Matrix exponential
Trivia, for A = 2x2 matrix, e^A only need its eigenvalues. (i.e. P, P-1 not needed)

A = P D P-1

D diagonal has eigenvalues of A = c ± g --> D-c has diagonal of ± g

Let X = A-c --> X^2 = g^2      // × identity matrix

sinh(X) = (1 + X^2/3! + X^4/5! + ...) * X = sinh(g)/g * X
cosh(X) = (1 + X^2/2! + X^4/4! + ...)      = cosh(g)      // × identity matrix

e^X = sinh(X) + cosh(X) = sinh(g)/g * X + cosh(g)

XCas> eA := ((sinh(g)/g) * (A-c) + cosh(g)) * e^c

XCas> A := [[a11,a12],[a21,a22]];
XCas> x1, x2 := eigenvalues(A) :;
XCas> c, g := [x1+x2, x1-x2]/2 :;
XCas> simplify(hyp2exp(exp(A) - eA))       // confirmed symbolically

\(\left(\begin{array}{cc}0&0\\0&0\end{array}\right)\)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (DM42) Matrix exponential - Gil - 08-11-2023, 11:46 PM
RE: (DM42) Matrix exponential - Gil - 08-12-2023, 10:01 AM
RE: (DM42) Matrix exponential - Gil - 08-12-2023, 08:26 PM
RE: (DM42) Matrix exponential - Gil - 08-12-2023, 08:55 PM
RE: (DM42) Matrix exponential - Gil - 08-13-2023, 10:51 AM
RE: (DM42) Matrix exponential - Gil - 08-13-2023, 09:46 PM
RE: (DM42) Matrix exponential - Gil - 08-15-2023, 11:42 PM
RE: (DM42) Matrix exponential - John Keith - 08-16-2023, 12:01 PM
RE: (DM42) Matrix exponential - Gil - 08-16-2023, 12:45 PM
RE: (DM42) Matrix exponential - Werner - 08-23-2023, 07:16 AM
RE: (DM42) Matrix exponential - Albert Chan - 08-23-2023 07:55 PM
RE: (DM42) Matrix exponential - John Keith - 08-27-2023, 04:46 PM
RE: (DM42) Matrix exponential - Gil - 08-23-2023, 09:09 AM
RE: (DM42) Matrix exponential - Werner - 08-24-2023, 01:14 PM
RE: (DM42) Matrix exponential - Gil - 08-28-2023, 08:57 AM



User(s) browsing this thread: 1 Guest(s)