After using Solve I am choosing the physical root of my equation and dealing further with this root. However, when I am changing parameters using Manipulate, I clearly see not smooth behaviour. Is there a way to cure it? I think, there should be a way of controlling the branch of the square root by adding $\pm i0$.
Asked
Active
Viewed 376 times
2
Piecewise, or 2. InsertI*einto the square-root expression appropriately, and take theLimitase->0. Mathematica will give a complicated answer but should result in correctly chosen branches. – QuantumDot Aug 08 '14 at 07:25Quartics->Falseso you get solutions as explicitRoot[...]objects. Now have your code check for crossings and switch solutions as needed. This can be done by computing parameter values for which there are multiple roots (via aDiscriminantcomputation, say). – Daniel Lichtblau Aug 08 '14 at 15:31ToRadicalsrather than working with simpleRootobjects. – Artes Aug 14 '14 at 19:31