2

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$.

stinglikeabeer
  • 363
  • 1
  • 8
  • 2
    I ran into similar issues; basically, you have two choices: 1. Compute the various cases by hand, and hard-program the correct values using Piecewise, or 2. Insert I*e into the square-root expression appropriately, and take the Limit as e->0. Mathematica will give a complicated answer but should result in correctly chosen branches. – QuantumDot Aug 08 '14 at 07:25
  • 2
    Set Quartics->False so you get solutions as explicit Root[...] 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 a Discriminant computation, say). – Daniel Lichtblau Aug 08 '14 at 15:31
  • 1
    I recommend that you include code for an example in your question. – Mr.Wizard Aug 14 '14 at 16:57
  • I recommend to examine this answer Finding parameters making real part of eigenvalues vanish especially see the edit. In other words I recommend applying ToRadicals rather than working with simple Root objects. – Artes Aug 14 '14 at 19:31

0 Answers0