I hope you can help me find the "critical points" I'm looking for. For some context: I'm trying to find a critical point in my equations defined as:
equation1 = Pi (L - 3)/2 == (L - 2) ArcTan[2 x] + 2 ArcTan[2 (x - alpha)] equation2 = (d / (1 - d))^2 == ((d^2 + x^2) / ((1 - d)^2 + x^2))^(L-2) * ((d^2 + (x - alpha)^2) / ((1 - d)^2 + (x - alpha)^2))^2 and:
solL[x_] := L /. Solve[equation1, {L}][[1]]; solD[x_] := d /. NSolve[equation2 /. L -> solL[x], {d}, Reals][[1]] alpha is just a constant I fix every case I try to solve.
Due to the symmetries in the equations, only if alpha={0, L/2, L/4, L} it is possible to solve this problem analytically. However, I want to be able to find a solution for any fixed alpha, so non-analytically. If I plot solD[x] it looks like:
Fixing another value for alpha shifts the critical point over the horizontal axis. Now, I am trying to find the critical point x (see the red arrow), where my value "hits the ceiling". Anyone an idea how to do this?
Thanks a million!



differentialEquation. Can you please confirm that you meanNSolveand notNDSolve? $\endgroup$differentialEquationand please confirm that you meanNSolveand notNDSolve. $\endgroup$WhenEvent, triggered by a large magnitude of a derivative, will be useful for locating such points. A sufficiently large derivative is basically an approximation to a discontinuity. $\endgroup$differentialEquationanddifferentialEquation2are not differential equations, are they? $\endgroup$