Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

i_love_downvotes's blog

By i_love_downvotes, history, 4 years ago, In English

Suppose we have a function f(x)=0, and we have to find all the real roots of it.

For example, we have some function a.x^4 + b.x^3 + c.x^2 + d.x^1 + e = 0, assume each term can have any coefficient of their own.

We have to find all real values of x satisfying it.

How can we find it? Any help would be appreciated!

  • Vote: I like it
  • -17
  • Vote: I do not like it

| Write comment?
»
4 years ago, # |
  Vote: I like it +8 Vote: I do not like it

You can search a billion results online, and the classical way you'd be taught in an introductory algo class is with newton's method. However what people may be less familiar with is that you can find all roots at once with arbitrary precision with matrices as described in this paper. I haven't actually read it, but I just came across it one day and think it is interesting as it gets all root including complex ones, but could hardly find any mentions of it.