Is Sigma the Only Variable Affecting Delta in Gaussian Derivative Equations?

  • Thread starter Thread starter wil3
  • Start date Start date
  • Tags Tags
    Software
AI Thread Summary
The discussion revolves around solving the sixth derivative of a normal distribution, represented as g6_{\mu,\sigma}[x], to find the relationship between delta and sigma. The equation g6_{\mu,\sigma}[\mu + \frac{\delta}{2}] + g6_{\mu,\sigma}[\mu - \frac{\delta}{2}] = 0 suggests that the solution may depend solely on sigma, not mu. Various methods, including polynomial solving and substitution, are explored to find real solutions for delta, with emphasis on the cubic solution approach. The conversation highlights that complex values in the solutions may not affect the real roots when actual parameters are applied. Ultimately, a numerical evaluation yields a solution of approximately 1.22 times sigma, affirming the findings.
wil3
Messages
177
Reaction score
1
I have tried mathematica, and it says it lacks the means to solve it:

The function
<br /> g6_{\mu,\sigma}[x]<br />
represents the SIXTH derivative of a normal distribution with unspecified parameters. I am looking to solve the relation:
<br /> g6_{\mu,\sigma}[\mu+ \frac{\delta}{2}] + g6_{\mu,\sigma}[\mu - \frac{\delta}{2}] = 0<br />
in terms of \delta. I have a feeling that the answer does not depend on mu, just sigma.

The application is finding the minimum separation required between the central peaks of two 4-derivative gaussian curves such that there occur no inflections on the consolidated central peak. This is related to Sparrow's criterion.

Thank you very much for any help.
 
Physics news on Phys.org
Check all this carefully to make certain I have not misunderstood or made a mistake.

In[1]:= g[x_]:=E^-((x-mu)^2/(2 sig^2));
In[2]:= d = Derivative[6][g];
In[3]:= Simplify[d[mu + del/2] + d[mu - del/2]]

Notice mu does not appear in the result. Perhaps that settles your question.

If not then notice only the 6th order polynomial can supply solutions and del always appears to even powers so you can use tricks to solve a cubic and then find square roots for the six original solutions. But try brute force.

In[4]:= Simplify[Solve[del^6-60*del^4*sig^2+720*del^2*sig^4-960*sig^6 == 0, del]]

Now you have to decide which of those six apply to your problem.
 
Yeah, another method I tried gets those imaginary solutions as well. My only issue with that is that the graph very definitely has a real solution, since certain values of sigma cause the graph to hit the x-axis and then cross it. I tried running a bunch of points to approximate it, and I got a number somewhere around 1.33, but I would like to know the full form.

Can you explicate the cubic solution approach?
 
Since all your del are to even powers you effectively substitute newdel=del^2 and get

Simplify[Solve[newdel^3-60*newdel^2*sig^2+720*newdel*sig^4-960*sig^6 == 0, newdel]]

Then you get three nice and often somewhat more compact solutions for newdel. Each of those is the square of a solution for del and there are positive and negative square roots. For some problems you can determine by inspection which newdel solution applies.

In some cases complex values in a solution will wash out to give you real solutions when you put in your actual parameters.

If I take the first of those 6 solutions, substitute sig->2, FullSimplify, take the resulting polynomial and plot it I see 6 nice real solutions. So perhaps the complex values are just used in the presentation of the solutions and aren't giving you complex roots after all.
 
Okay, so I just used the Reduce function and got \[Delta] == -\[Sigma] Sqrt[Root[-960 + 720 #1 - 60 #1^2 + #1^3 &, 1]]

I do not know how to interpret this output... once we get to the Slot operator, my understanding begins to run out. However, this expression evaluates numerically to 1.22`sigma, which is the correct answer.

Thanks for your help. You're a pro.
 

Similar threads

Replies
1
Views
2K
Replies
9
Views
4K
Replies
1
Views
70K
Replies
8
Views
16K
Replies
3
Views
2K
Replies
46
Views
8K
Replies
125
Views
19K
Replies
13
Views
3K
Back
Top