(adsbygoogle = window.adsbygoogle || []).push({}); 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

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Relative error between a real and complex number.

**Physics Forums | Science Articles, Homework Help, Discussion**