Re: polynomial inversion



"Rajib Ahsan" <rajib_ahsan@xxxxxxxxx> wrote in message <gd9gvg$i6e$1@xxxxxxxxxxxxxxxxxx>...
Hello,

I have a polynomial equation of 4th order like:

P = 3 + 2*x + 4*x^2 + 5*x^3 + 7*x^4

Here, x is a 2D square matrix.

I want to get the inverse of this polynomial. Can anyone help me in this purpose? Urgent help needed!!!

Thanks in advance.

The funny thing is, if I tell you how to
compute the inverse, I'll be wrong since
all you wish to know is how to compute
1./P, the arithmetic inverse. Or, perhaps
your question is to swap the coefficients
of the terms, low for high.

But, assuming that you actually wish to
compute a functional inverse, there is still
a problem, since if you have x, then you
don't need the inverse. Polyval will evaluate
the function.

So, is it possible that you are given an
array of values of the dependent variable,
P(x), and you wish to compute x for each
one? While this might be what you mean,
it is not what you have said.

You do realize that such an inverse is
almost never unique for a 4th order
polynomial? So the problem is there will
almost always be any of zero, two or four
real solutions to the problem for every
value of your dependent variable? And,
occasionally, there will be 1 or 3 real
solutions? If you are willing to admit the
complex solutions, then there will always
be exactly four solutions.

Computing the inverse of a 4th order
polynomial is best left to roots, which will
always find all four complex solutions.
Loop over the values of the dependent
variable, and subtract that value from the
constant term in the polynomial to call
roots. Then choose the solution that you
prefer.

John


.



Relevant Pages

  • Re: Quartic equation
    ... No concrete statement about their relative magnitudes can ... y1=x^4 and y2 = Bx-C. ... either have two real solutions or no real solutions. ... intersection lies between the two roots you will get when two real ...
    (sci.math)
  • Re: roots of x^12 = 2^x
    ... Gerry Myerson wrote: ... how many roots does this equation have? ... solutions Maple provided to scan for real solutions, but I missed that one, ...
    (sci.math)
  • Re: roots of x^12 = 2^x
    ... Gerry Myerson wrote: ... bigger at x = 0, ... The two roots given by Ioannis are obtained using the principal ... solutions Maple provided to scan for real solutions, but I missed that one, ...
    (sci.math)
  • Re: Point of intersection (brain dead example)
    ... Graph the functions with a graphing calculator or CAS. ... real solutions if a>e ... Maple's solution uses just the principal branch. ... we get all the complex solutions. ...
    (sci.math)
  • Re: Determining number of roots of a polynomial
    ... >The polynomial can have as many roots as 2 times the highest exponent; ... >number of roots is two times because this allows for complex solutions. ... Maybe because some people are too annoyed by top-posting. ...
    (sci.math)