0
$\begingroup$

Mathematica unexpectedly moves a part of the result of the calculation to the left side where I want to display only the unknown variable.

Can I prevent this?

$\endgroup$
5
  • 1
    $\begingroup$ With version 11.3 or later, use either AddSides or SubtractSides. For earlier versions roll your own with Map $\endgroup$
    – Bob Hanlon
    Sep 21 at 14:49
  • $\begingroup$ @BobHanlon I just do not want the results moved to the other side. How can I prohibit it with "addsides"? $\endgroup$
    – Anixx
    Sep 21 at 14:51
  • $\begingroup$ Any time you want a specific form for an expression that differs from Mathematica's default form, you will need to do some manual processing. For any other answer, you will need to provide a specific example of what you want. $\endgroup$
    – Bob Hanlon
    Sep 21 at 14:58
  • $\begingroup$ @BobHanlon Here it is: Inactivate[ Integrate[f[x], {x, 0, \[Infinity]}]\[CenterDot]Integrate[ g[x], {x, 0, \[Infinity]}], Integrate] == Const + Integrate[Func, {x, 0, \[Infinity]}] // FullSimplify // ExpandAll // Quiet It moves Const or a part of it to the left $\endgroup$
    – Anixx
    Sep 21 at 15:06
  • 1
    $\begingroup$ Edit your question to include your input and the desired output. It is not clear what you want. Just eliminating the FullSimplify will leave the Const on the RHS, i.e, Inactivate[Integrate[f[x], {x, 0, \[Infinity]}]\[CenterDot]Integrate[g[x], {x, 0, \[Infinity]}], Integrate] == Const + Integrate[Func, {x, 0, \[Infinity]}] // Quiet $\endgroup$
    – Bob Hanlon
    Sep 21 at 15:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.