MathGroup Archive 1991

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

Search the Archive

Simplify[] problem


Keith R. Slavin writes:

> When asked to Simplify[] this expression:
>
> (E^((k + -I*w)*x)*(k + m + -I*w))/
>  (2*(-E^((k + -I*w)*(-1/2 + x))/2 + E^((k + -I*w)*(1/2 + x))/2))
>
> Mathematica does NOTHING with it (not even canceling out the 2's in the
> denominator)! The terms with x should cancel altogether, and indeed they do
> if I replace (k - I w)  with  a single variable, or remove the 'm' from the
> expression, or several other minor changes...

I did

In[1]:= expr = <Expression given above>

Out[1]= ...

In[2]:= Simplify[ ExpandAll[epxr] ]

          (k + I w)/2      (k + I w)/2         (k + I w)/2
         E            k + E            m + -I E            w
Out[2]= ---------------------------------------------------
                               k    I w
                              E  - E

I don't know whether this is what K.R. Slavin wants, but at least
the "2" and "x" are gone.

MARKUS


  • Prev by Date: simplification
  • Next by Date: [no subject]
  • Previous by thread: Simplify[] problem
  • Next by thread: Simplify bug?