Re: Comparison of coefficients

*To*: mathgroup at smc.vnet.net*Subject*: [mg91813] Re: Comparison of coefficients*From*: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>*Date*: Tue, 9 Sep 2008 06:55:02 -0400 (EDT)*Organization*: The Open University, Milton Keynes, UK*References*: <ga2pq1$p93$1@smc.vnet.net>

Kay-Michael Voit wrote: > I'm trying to solve a PDE using a Exp ansatz. > Now I am am stuck with the equation of the form > a Exp[I k x] + b Exp[I k x] == 0 (though much more complicated) > What I would like to do is a comparison of coefficients. How can I make > Mathemetica to show me a form of the equation where I can easily read > the comparison equations? > (In the above equation > (a + b) Exp[I k x] == 0 > for example.) You could use *Factor* as in In[1]:= a Exp[I k x] + b Exp[I k x] == 0 // Factor Out[1]= (a + b) E^(I k x) == 0 Regards, -- Jean-Marc