MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Simplifying expressions using rules with recursion


expr = A.B.A + C.A.B.A;

expr /. A.B.A -> A

A + C.A


Bob Hanlon


On Mon, Aug 6, 2012 at 4:36 AM,  <wimmer.mike at googlemail.com> wrote:
> I would like to use Mathematica to simplify a long expression consisting of tems of products of matrices. These matrices obey equations of the form A = A.B.A, and I would like Mathematica to use these identities to simplify my expression.
> How can I tell Mathematica to do that? Just entering
>
> [1]: A = A.B.A
>
> does not work, as Mathematica will complain about too man recursions (which I understand). But how do
> I do it properly?
>



  • Prev by Date: Re: Functions That Remember Values They Have Found
  • Next by Date: Re: How to Extract Conditional Expression?
  • Previous by thread: Simplifying expressions using rules with recursion
  • Next by thread: Functions That Remember Values They Have Found