Solving for C: Struggling With an Equation

  • Thread starter Thread starter Darknight
  • Start date Start date
AI Thread Summary
The discussion revolves around solving the equation P = ((alpha^C)/(C Factorial))/(summation of alpha^J/J factorial) for the variable C. After approximating the denominator to e^alpha and applying Stirling's approximation, the user simplifies the equation to ln P = C ln alpha - (C ln C) + C - alpha. Despite efforts to isolate C, they struggle to find a solution. The Lambert W function is mentioned as a potential tool for solving the equation, with references to its non-elementary nature and methods for calculating its values. The user seeks further guidance on utilizing the Lambert W function in their problem.
Darknight
Messages
2
Reaction score
0

Homework Statement



The originial equation I have been working with is

P = ((alpha^C)/(C Factorial))/(summation of alpha^J/J factorial), J going from 0 to C)

After approximately the denominator to e^alpha, and applying stirling's approximation on C factorial, further simplifying, I have the follow:

ln P = C ln alpha - (C ln C) + C - alpha

Solve for C (C is a variable, not constant):

P is given, alpha is given, so the only unknown is C, but after spending hours on trying various things, I just could not isolate C as itself and come up with the solution. Please help
 
Physics news on Phys.org
Thanks for the guidance! Actually I also tried looking at the Lambert W too, from the website I can understand how they come up with the W number, but how is W (value) calculated for example ..

Can you please enlighten me? Thanks
 
To quote wikipedia:

The Lambert W relation cannot be expressed in terms of elementary functions.

Wiki also gives some ways to calculate value of W(x) using series.
 
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Since ##px^9+q## is the factor, then ##x^9=\frac{-q}{p}## will be one of the roots. Let ##f(x)=27x^{18}+bx^9+70##, then: $$27\left(\frac{-q}{p}\right)^2+b\left(\frac{-q}{p}\right)+70=0$$ $$b=27 \frac{q}{p}+70 \frac{p}{q}$$ $$b=\frac{27q^2+70p^2}{pq}$$ From this expression, it looks like there is no greatest value of ##b## because increasing the value of ##p## and ##q## will also increase the value of ##b##. How to find the greatest value of ##b##? Thanks
Back
Top