Say I have an expression $a+b+a\times b$ and I define $c:= a\times b$. How do I get Mathematica to write $a+b+a\times b$ in terms of $c$, i.e. $a+b+c$?
Asked
Active
Viewed 66 times
0
Simplify[a + b + a*b, a == c/b]– Artes Sep 09 '13 at 13:38a + b + a b /. a b -> c? – DavidC Sep 09 '13 at 13:50