Can anyone solve this with software?

  • Thread starter wil3
  • Start date
  • Tags
    Software
In summary, the function g6_[\mu,\sigma] represents the SIXTH derivative of a normal distribution with unspecified parameters, and the relation g6[\mu+\frac{\delta}{2}] + g6[\mu-\frac{\delta}{2}] = 0 can be solved in terms of \delta only if mu and sigma are unspecified. 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. If you try to approximate the graph of this function with a set of points, you get a number near 1.
  • #1
wil3
179
1
I have tried mathematica, and it says it lacks the means to solve it:

The function
[tex]
g6_{\mu,\sigma}[x]
[/tex]
represents the SIXTH derivative of a normal distribution with unspecified parameters. I am looking to solve the relation:
[tex]
g6_{\mu,\sigma}[\mu+ \frac{\delta}{2}] + g6_{\mu,\sigma}[\mu - \frac{\delta}{2}] = 0
[/tex]
in terms of [tex]\delta[/tex]. 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
  • #2
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.
 
  • #3
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?
 
  • #4
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.
 
  • #5
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.
 

1. Can software solve any problem?

No, software is limited by its programming and capabilities. It can only solve problems that it has been designed and programmed to solve. Some problems may require human intelligence and creativity to find a solution.

2. How do I know if software is the best solution for my problem?

This depends on the nature of the problem and the specific capabilities of the software. It is important to carefully assess the problem and research different software options to determine if it can effectively solve the problem.

3. Is software always more efficient than manual problem-solving methods?

Not necessarily. While software can often solve problems faster than humans, it may not always be the most efficient solution. It is important to consider factors such as cost, accuracy, and complexity before deciding on a problem-solving method.

4. Can any software be used to solve any problem?

No, different software programs have different functionalities and are designed for specific purposes. It is important to choose the right software for the specific problem at hand.

5. Is it necessary to have technical knowledge to use software for problem-solving?

It depends on the complexity of the software and the problem at hand. Some software may require a certain level of technical knowledge to operate effectively, while others may have user-friendly interfaces that can be used by anyone.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
1K
Replies
2
Views
2K
  • Advanced Physics Homework Help
Replies
0
Views
455
Replies
5
Views
1K
  • Special and General Relativity
Replies
2
Views
1K
  • Introductory Physics Homework Help
Replies
26
Views
575
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
  • Differential Geometry
Replies
9
Views
3K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
  • Advanced Physics Homework Help
Replies
2
Views
1K
Back
Top