1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Relative error between a real and complex number.

  1. Nov 23, 2008 #1
    1. The problem statement, all variables and given/known data
    So I've got a polynomial with real roots. It turns out that if you perturb one of the coefficients by a small amount, two of the roots end up in the complex plane. Now I want to find the relative error in my computation. For two real numbers, say x1 and x2, I would take
    [tex]rel.err. = {{x1-x2}\over{x1}}[/tex].
    But what do I do if x1 is real and x2 is complex?

    2. Relevant equations

    3. The attempt at a solution
  2. jcsd
  3. Nov 23, 2008 #2


    User Avatar
    Homework Helper

    mabye try
  4. Nov 23, 2008 #3
    Yes. That makes sense. It is the distance between the two values. Works in the complex plane too. Thanks.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Relative error between a real and complex number.
  1. Complex Number (Replies: 4)