[Date Index] [Thread Index] [Author Index]
Re: Replacing expressions with smaller atoms
M = x + (x (x^2 + x + 1))^(1/2); Simplify[M, L == x^2 + x + 1] Sqrt[L*x] + x M /. x^2 + x + 1 -> L Sqrt[L*x] + x Bob Hanlon ---- Ben Forbes <bdforbes at gmail.com> wrote: ============= If I define an atom eg L=x^2+x+1, is there a way to rewrite an expression with these atoms? For example: L=x^2+x+1 M=x+(x(x^2+x+1))^(1/2) I would like some way to express this as x+(xL)^(1/2). Is this possible?