Re: Comparison of coefficients
- To: mathgroup at smc.vnet.net
- Subject: [mg91830] Re: [mg91805] Comparison of coefficients
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Tue, 9 Sep 2008 06:58:16 -0400 (EDT)
- Reply-to: hanlonr at cox.net
eqn = a Exp[I k x] + b Exp[I k x] == 0; eqn // Simplify (a + b)*E^(I*k*x) == 0 eqn // Factor (a + b)*E^(I*k*x) == 0 eqn // Together (a + b)*E^(I*k*x) == 0 eqn // Collect[#, Exp[I k x]] & (a + b)*E^(I*k*x) == 0 Bob Hanlon ---- Kay-Michael Voit <kay at voits.net> wrote: ============= Hello, 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.) Regards Kay-Michael Voit -- Bob Hanlon