0
$\begingroup$

Suppose:

expr=(a x + a y==0);
expr/a
(*Out:=(a x + a y==0)/a*)

I want a eliminated to obtain expr=(x+y==0). None of Expand, Simplify, FullSimplify work. Any suggestions?

$\endgroup$
2
$\begingroup$

Use Thread[]:

expr = a x + a y == 0;
Thread[expr/a, Equal] // Simplify
   x + y == 0
$\endgroup$
  • $\begingroup$ +1 Thanks. I also found another way: Assuming[a != 0, Simplify[expr]] $\endgroup$ – Deep Oct 1 '17 at 12:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.