I don't have a computer to test but what happens if x is declared as an integer? For non-integer (or non-real) x the result doesn't necessarily hold.
On Thu, 11 Jul 2019, 19:39 Tomasz Pytel, <tompy...@gmail.com> wrote: > Yes, various, try it with [[0,1],[1,0]] > > On Thursday, July 11, 2019 at 1:30:45 PM UTC-3, Gagandeep Singh (B17CS021) > wrote: >> >> Ah! I missed that. >> Have you tried a matrix other than identity? > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sympy+unsubscr...@googlegroups.com. > To post to this group, send email to sympy@googlegroups.com. > Visit this group at https://groups.google.com/group/sympy. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/def85976-42a2-4dd0-90a6-b65d7ea7b718%40googlegroups.com > <https://groups.google.com/d/msgid/sympy/def85976-42a2-4dd0-90a6-b65d7ea7b718%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. Visit this group at https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAHVvXxQRfK3yC5yu2xgJAkBRhWfvrtO4cm4-_wbssfOhiF11Yg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.