Group Abstract Group Abstract

Message Boards Message Boards

0
|
4.3K Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

DSolve fails to solve Schroedinger equation for Spin-1 particle

Posted 3 years ago
POSTED BY: Thomas Schoenau
2 Replies

I don't understand why, but hamil1 and hamil2 are memorized as SparseArray. How did you enter them? FullSimplify does not seem to handle sparse arrays. Just apply Normal before Simplify:

Simplify[Normal[hamil1 - hamil2]]
POSTED BY: Gianluca Gorni
Posted 3 years ago

As for why

FullSimplify[hamil1-hamil2]

is not reducing to a zero matrix, one would need to do either

FullSimplify@ComplexExpand[hamil1-hamil2]

or

FullSimplify@ExpToTrig[hamil1-hamil2]

since FullSimplify does not automatically do either of those operations. Your other issue maybe related.

POSTED BY: Troy Wahl
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard