Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'solve symbolic matrix equation' topicStudent Support Forum > General > "solve symbolic matrix equation"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Peter Pein
10/06/07 07:47am

In Response To 'Re: Re: solve symbolic matrix equation'
---------
Hi Nikola,

(wrong forum or wrong CAS? ;-))

be sure to multiply the inverse of c "from the correct side" (matrix multiplication is not commutative!).

For example (Mathematica (not Maple) 5.2):

SeedRandom[20071006];
{a,b,c}=Array[Random[]&,{3,3,3}];
d1=Inverse[c].(a-b) (* correct *);
d2=(a-b).Inverse[c] (* faulty *);

a == b+c.#& /@ {d1,d2}
--> {True,False}

Regards,
Peter

URL: ,

Subject (listing for 'solve symbolic matrix equation')
Author Date Posted
solve symbolic matrix equation Nikola Toljic 09/29/07 12:16pm
Re: solve symbolic matrix equation yehuda ben-s... 10/02/07 07:39am
Re: Re: solve symbolic matrix equation Nikola Toljic 10/02/07 12:28pm
Re: Re: Re: solve symbolic matrix equation yehuda ben-s... 10/04/07 12:45pm
Re: Re: Re: Re: solve symbolic matrix equation Nikola Toljic 10/06/07 8:50pm
Re: Re: Re: solve symbolic matrix equation Peter Pein 10/06/07 07:47am
Re: Re: Re: Re: solve symbolic matrix equation nikola toljic 10/09/07 4:11pm
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic