Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'How to use assumption during Refine or Simplify' topicStudent Support Forum > General > "How to use assumption during Refine or Simplify"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
Bill Simpson
09/09/12 11:02pm

This is not as powerful as using assumptions, but can you get what you need with this

In[1]:= cov=(ea+ex)(ea+ey);
Expand[cov]/.ex*ey->0

Out[2]= ea^2 + ea*ex + ea*ey

That uses pattern matching to replace ea*ey with zero everywhere it appears exactly like that.

URL: ,

Subject (listing for 'How to use assumption during Refine or Simplify')
Author Date Posted
How to use assumption during Refine or Simplify John Wayne 09/09/12 1:18pm
Re: How to use assumption during Refine or Simp... Bill Simpson 09/09/12 11:02pm
< Previous CommentHelp | Reply To Comment | Reply To Topic