# HP Forums

Full Version: I need help finding complex roots
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all. I'm very new to HP Prime and I've tried to do my research about my question, but everything I try doesn't work.
I'm trying to find roots of a Quadratic formula. I can't find out how to do it.

Example:
x^2+2x+5=0
this is the answer i'm hoping to see from the calculator: x = -1 + 2i or x = -1 - 2i

I have tried Toolbox->Polynomial->Find Roots (and it gave me -2 as an answer?)
Toolbox->Solve->Solve, Zeros, Complex Solve, Complex Zeros

Nothing is giving me the answer I want.
What am I missing?
Why would proot only give me one answer?

Thanks so much for your time!
I get the correct answer. Can you post a screenshot of how that happened?

[attachment=8268]
Are you using [CAS] for this?
Hi, under CAS, csolve should also have worked fine (in addition to proof). If you set "Use I" (to factor polynomials) in CAS settings, then solve also works fine under the latest version.
(03-28-2020 04:59 PM)freyabelle Wrote: [ -> ]Hi all. I'm very new to HP Prime and I've tried to do my research about my question, but everything I try doesn't work.
I'm trying to find roots of a Quadratic formula. I can't find out how to do it.

Example:
x^2+2x+5=0
this is the answer i'm hoping to see from the calculator: x = -1 + 2i or x = -1 - 2i

I have tried Toolbox->Polynomial->Find Roots (and it gave me -2 as an answer?)
Toolbox->Solve->Solve, Zeros, Complex Solve, Complex Zeros

Nothing is giving me the answer I want.
What am I missing?
Why would proot only give me one answer?

Thanks so much for your time!

Make sure you have "Complex" enabled on the CAS settings. I just tried your equation, and yes, you do get an empty set as an answer if Complex is not enabled. But you do get your expected, correct answers if you set the Complex flag.
Reference URL's
• HP Forums: https://www.hpmuseum.org/forum/index.php
• :