compute exponential of matrix with wolfram alpha

3.7k Views Asked by At

I would like to use wolfram alpha to compute matrix exponential. I have tried with the exponential of the identity matrix, with this input:

exp({{1,0},{0,1}})

But what I get is unexpected. The input is interpreted correctly, but the result is

{{e,1},{1,e}}

while, being a diagonal matrix, I would expect {{e,0},{0,e}}... as is explained by wolfram itself.

What I'm missing?

2

There are 2 best solutions below

2
On BEST ANSWER

It's applying the exponential function element-wise, rather than computing the matrix exponential.

1
On

It only proves that you cannot rely on calculators and computer algebra systems and internet queries to solve problems for you... and that none of it is a substitute for the human brain.

Im glad you found the right function to use... but had you not thought about it and blindly went along, like most people do, youd be wrong and everything that stems from it would be wrong too. But you shouldnt ever assume that the function you need is built in, or that it is coded correctly, or that you are even using the right function, and you certainly shouldnt take it on blind faith.

In my humble opinion, a mathematician that cannot do on paper what a computer does for him, is not mathematician at all. Using the tool is one thing, relying on it is quite another, especially if you dont understand what is going on behind the scenes.