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

  • Context: Undergrad 
  • Thread starter Thread starter peterjaybee
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the challenge of rearranging the function y(x) = a + bx-2 + cx-4 + dx-6 to solve for x given specific y values. Participants explore both algebraic and numerical methods for finding x, with a focus on implementation in Mathematica.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Technical explanation

Main Points Raised

  • One participant expresses uncertainty about how to rearrange the function to solve for x and seeks guidance on the process.
  • Another participant suggests using the substitution u = 1/x2 to transform the equation into a cubic polynomial, which can then be solved using standard algebraic methods.
  • A participant inquires about recommended numerical techniques for solving the equation.
  • Another participant recommends starting with a plot of the function to visualize the number of real roots and suggests using Newton's method for finding solutions, emphasizing the importance of good initial guesses derived from the plot.

Areas of Agreement / Disagreement

Participants do not reach a consensus on a single method for solving the equation, as multiple approaches are discussed, including both algebraic and numerical techniques.

Contextual Notes

The discussion includes various assumptions about the nature of the function and the methods proposed, but these assumptions are not fully explored or resolved within the thread.

Who May Find This Useful

This discussion may be useful for individuals interested in mathematical modeling, numerical methods, or those seeking to implement solutions in computational software like Mathematica.

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
 

Similar threads

  • · Replies 13 ·
Replies
13
Views
3K
Replies
2
Views
2K
  • · Replies 16 ·
Replies
16
Views
5K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
6
Views
3K
Replies
3
Views
2K
  • · Replies 18 ·
Replies
18
Views
5K
  • · Replies 3 ·
Replies
3
Views
1K