Fundamentals / Numerical mathematics / Nonlinear equations

Safeguards and continuation

Control steps within a scalar bracket, track a turning branch and distinguish equilibrium from stability under a specified evolution law.

Reject an inadmissible tangent

Solve \(\ln x=0\) on \([0.5,4]\), starting Newton’s method at 4. Compute the full trial, then two successively halved trials. Which is the first to reduce \(\ln^2 x/2\)? How could the bracket protect a failed update?

Worked solution

The direction is \(-4\ln4\simeq-5.5452\), so the full trial is negative and the logarithm undefined. At half length the trial is 1.2274, with merit about 0.021 versus 0.961 initially, already a decrease. A quarter-step gives 2.6137, also decreasing merit but less strongly.

Reject an inadmissible trial before evaluating its logarithm. A fallback midpoint of 2.25 is admissible and cuts the sign-changing interval to \([0.5,2.25]\); the interval maintains a root guarantee independent of tangent quality.

Explore the related calculation with adjustable inputs. Change the parameters in the corresponding calculation and compare its independently recomputed values with the equation derived in this solution.

Choose the continuation coordinate

For \(F(x,\lambda)=x^2+\lambda-4\), find the two solutions at \(\lambda=3\), their slopes \(dx/d\lambda\), and the turning point. From that point take a pseudo-arclength predictor of length 0.2 in the positive-\(x\) direction and correct to the curve.

Worked solution

At \(\lambda=3\) the roots are \(\pm1\). Their slopes are \(-1/2\) at +1 and \(+1/2\) at −1. The branches meet at \((0,4)\), where these slopes cease to be finite.

The tangent there is \((1,0)\), so the predicted point is \((0.2,4)\). The hyperplane constraint fixes \(x=0.2\), and the physical residual gives \(\lambda=3.96\). Its reduction in \(\lambda\) is compatible with forward arclength progress.

Explore the related calculation with adjustable inputs. Use the equilibrium parabola to inspect sensitivity and the tangent-coordinate continuation step. Translate the state coordinate if the fold is centred at a different value here.

Reverse the dynamics

Use the same \(F\) at \(\lambda=3\), first with \(\dot x=-F\) and then with \(\dot x=F\). Determine which equilibrium is stable in each model and the linearised time constant at its stable root. Can a static root-finding algorithm distinguish these dynamics from its roots alone?

Worked solution

For \(\dot x=-F\) the linearised rate at a root is \(-2x_\star\), so +1 is stable with decay rate 2 and −1 is unstable. Reversing the evolution gives rate \(+2x_\star\), hence −1 becomes stable with the same time constant \(1/2\) in the time units of the equations.

Both static models have the same root set. Rate information from the specified dynamics is necessary to conclude whether a perturbation decays. Numerical convergence of Newton to a root is independent of that physical stability test.

Explore the related calculation with adjustable inputs. Use the equilibrium parabola to inspect sensitivity and the tangent-coordinate continuation step. Translate the state coordinate if the fold is centred at a different value here.