I have this nasty function in terms of $\mu$, $k$, $x$, and $z$ that I want to study when it's nonnegative (part of my research project):
$$ -9 \sqrt{2 \pi } k^{5/2} z (x-\mu )^4 e^{\frac{1}{2} k (x-\mu )^2}-4 \sqrt{2 \pi } k^{3/2} z (x-\mu )^2 e^{\frac{1}{2} k (x-\mu )^2}+6 \pi k^3 z^2 (x-\mu )^4 e^{k (x-\mu )^2}+6 k^2 (x-\mu )^4+k \left(-6 \pi z^2 e^{k (x-\mu )^2}+4 \mu ^2+4 x^2-8 \mu x\right)+7 \sqrt{2 \pi } \sqrt{k} z e^{\frac{1}{2} k (x-\mu )^2}-4 \geq 0$$
How would I code up a script to determine values $\mu, k$ such that the above holds for all $x$ such that $|x-\mu|<\epsilon$ and $z\in \mathbb{R}$. I'm just having trouble because I tried to run
Minimize[-4 + 7 E^(1/2 k (x - \[Mu])^2) Sqrt[k] Sqrt[2 \[Pi]] z -
4 E^(1/2 k (x - \[Mu])^2) k^(3/2) Sqrt[2 \[Pi]] z (x - \[Mu])^2 +
6 k^2 (x - \[Mu])^4 -
9 E^(1/2 k (x - \[Mu])^2) k^(5/2) Sqrt[2 \[Pi]] z (x - \[Mu])^4 +
6 E^(k (x - \[Mu])^2) k^3 \[Pi] z^2 (x - \[Mu])^4 +
k (4 x^2 - 6 E^(k (x - \[Mu])^2) \[Pi] z^2 - 8 x \[Mu] +
4 \[Mu]^2), {\[Mu], k}]
but that didn't work at all. I also need to add in the above constraint on $x$.
Any advice or help is appreciated.
FullSimplify
and then replacex-\[Mu]
with a new variable. $\endgroup$