Suppose we have two expressions and ==
between them. I want to simplify only the right-hand side. What should I do?
1 Answer
$\begingroup$
$\endgroup$
equation = y + z == D[Integrate[1/(x^3 + 1), x], x]
You can use MapAt
:
MapAt[Simplify, equation, {2}]
#[[1]] == Simplify[#[[2]]] &@equation
orReplacePart[equation, 2 -> Simplify[equation[[2]]]]
$\endgroup$Simplify[equation[[2] ]
$\endgroup$Simplify[equation[[2]] ]
$\endgroup$