Solutions returned by Solve are provided as rules:
solnRule1 =
y -> 1/(3 (1 + x)) - (-1 + 2 x)/(6 (1 - x + x^2)) + 2/(
3 (1 + 1/3 (-1 + 2 x)^2));
Solutions returned by Reduce are provided as equations:
solnEqn1 =
y == 1/(3 (1 + x)) - (-1 + 2 x)/(6 (1 - x + x^2)) + 2/(
3 (1 + 1/3 (-1 + 2 x)^2));
It has been my experience that Simplify treats both of these the same:
Simplify@solnRule1
Simplify@solnEqn1
However, that is not the case for these identical solutions:
solnRule2 =
y -> -((-10 cF Ee F Log[10] + 10 cF Epzc F Log[10] -
23 cF pH R T Log[10] + 23 cF pKa R T Log[10] +
23 cF R T Log[f/(1 - f)])/(10 F Log[10]));
solnEqn2 =
y == -((-10 cF Ee F Log[10] + 10 cF Epzc F Log[10] -
23 cF pH R T Log[10] + 23 cF pKa R T Log[10] +
23 cF R T Log[f/(1 - f)])/(10 F Log[10]));
When Simplify is applied to the rule-based version of the above solution, it acts normally:
Simplify@solnRule2
But when Simplify is applied to the equation-based version, it equates the solution to zero:
Simplify@solnEqn2
I don't know why Simplify is doing this. When I convert solnEqn2 to a rule-based format, it behaves normally:
ToRules@solnEqn2
Simplify@%
This can cause problems when applying Simplify to the output of Reduce: Reduce can provide solutions to several different variables, and when one solution is equated to zero it can be difficult to determine the variable it represents.
I'm using:
Solve
solution, plus a couple of other cases, withReduce
in V12.2. $\endgroup$Or
) is equivalent to theSolve
solution. Uh-oh, I just tried applyingSimplify
and theSolve
solution disappears. I guess that explains the diff. It may be a bug (inSolve
perhaps); but it's quite late here, and I don't want to try to figure that out right now. Or perhapsSimplify
does a generically correct transformation that erroneously eliminates the solution. $\endgroup$Simplify
and theReduce
solution disappears" -- as you said, it's currently late where you are :).] Since you identified the problem as resulting not from Reduce by itself, but rather from the application of Simplify to Reduce's solution, I rewrote my question. $\endgroup$Solve[Simplify[red], \[Sigma]M]
andSolve[sys, \[Sigma]M, {Vs, VF}]
, wheresys
is the system in the firstReduce
. $\endgroup$