Rearranging y(x) = a + bx^{-2} + cx^{-4} + dx^{-6} to Find x

  • Thread starter Thread starter peterjaybee
  • Start date Start date
peterjaybee
Messages
62
Reaction score
0
Hi, I have fitted a graph with a function of the form
y(x) = a + bx^{-2} + cx^{-4} + dx^{-6}

I now need to calculate x for a given y and have no idea how to go about rearranging this function.

I need to find x for a lot of y values, so I was hoping to write something in methematica, but I need to understand how to rearrange it before I can implement it in mathematica.
 
Mathematics news on Phys.org
peterjaybee said:
Hi, I have fitted a graph with a function of the form
y(x) = a + bx^{-2} + cx^{-4} + dx^{-6}

I now need to calculate x for a given y and have no idea how to go about rearranging this function.

I need to find x for a lot of y values, so I was hoping to write something in methematica, but I need to understand how to rearrange it before I can implement it in mathematica.

Numerical techniques can be used, but if you want to solve it algebraically, then you can try the substitution u=1/x2 and then use the usual cubic polynomial algebraic solution to solve for u.

There is a cubic solution cheat sheet at the end of this thread.

https://www.physicsforums.com/showthread.php?t=396973&highlight=cubic+solution
 
Thanks for your reply. What numerical technique would you suggest?
 
peterjaybee said:
Thanks for your reply. What numerical technique would you suggest?


I usually start by plotting the function just to visually see how many real roots there might be, then I usually opt for Newton's method as a first try. The plot will allow you to generate some good initial guesses needed for Newton's method.

http://mathworld.wolfram.com/NewtonsMethod.html
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.
Back
Top