Here isConsider the following plot:
Plot[(22500 + T^2/3) \[Phi]^2ϕ^2 + 320 \[Phi]^3ϕ^3 + \[Phi]^4ϕ^4 /.
T -> 96.43650760992945`, {\[Phi]ϕ, -200, 20}]
I would like to find the value of $\Phi<0$ and $T>0$ such that weto obtain the first minimum of the above function.
These two values can be obtained with
FindRoot[
{(22500 + T^2/3) \[Phi]^2ϕ^2 + 320 \[Phi]^3ϕ^3 + \[Phi]^4ϕ^4 == 0 ,
D[(22500 + T^2/3) \[Phi]^2ϕ^2 + 320 \[Phi]^3ϕ^3 + \[Phi]^4ϕ^4, {\[Phi]ϕ,
1}] == 0},
{{\[Phi]ϕ, -200}, {T, 1}}]
which yields
{{$\Phi \rightarrow -160.$., $T \rightarrow 96.4365$}}
FindRoot::lstol: The line search decreased the step size to within tolerance specified by AccuracyGoal and PrecisionGoal but was unable to find a sufficient decrease in the merit function. You may need more than MachinePrecision digits of working precision to meet these tolerances.
{ϕ -> -160., T -> 96.4365}
However, I would like to obtain it with NSolve but it does not work:
NSolve[
{(22500 + T^2/3) \[Phi]^2ϕ^2 + 320 \[Phi]^3ϕ^3 + \[Phi]^4ϕ^4 == 0,
D[(22500 + T^2/3) \[Phi]^2ϕ^2 + 320 \[Phi]^3ϕ^3 + \[Phi]^4ϕ^4, {\[Phi]ϕ,
1}] == 0},
{\[Phi]ϕ, T}]
which gives
NSolve::infsolns: Infinite solution set has dimension at least 1. Returning intersection of solutions with $-\frac{92291 T}{87992}-\frac{121001 \Phi}{175984} == 1$.
and
{{$\Phi \rightarrow 0$., $T \rightarrow -0.953419$}}
NSolve::infsolns: Infinite solution set has dimension at least 1. Returning intersection of solutions with -((92291 T)/87992)-(121001 [Phi])/175984 == 1.
{{ϕ -> 0., T -> -0.953419}}
as a solution, which is wrong obviously wrong.