Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to write a FullSimplify at the end of the line with some assumptions?

That is, if I write

a^2+b^2+2 a b //FullSimplify[...]

is there any way to include some assumptions for a,b?

share|improve this question
... //FullSimplify[#, ...]& – Kuba Jul 15 '14 at 18:09


Assuming[a > 0, a^2 + b^2 + 2 a b // FullSimplify]


a^2 + b^2 + 2 a b // FullSimplify[#, a > 0] &
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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