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?
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this communityUse
Assuming[a > 0, a^2 + b^2 + 2 a b // FullSimplify]
or
a^2 + b^2 + 2 a b // FullSimplify[#, a > 0] &
... //FullSimplify[#, ...]&
$\endgroup$