# Question:How do I solve second order equations and obtain real expressions?

## Question:How do I solve second order equations and obtain real expressions?

Maple 18

I have been studying the solutions of the equation below using Maple and Mathematica.

$\large 4a_{02}^2+4ka_{02}a_{11}+k^2a_{11}^{2}+4b_{02}^{2}+4kb_{02}b_{11}+k^{2}b_{11}^{2}=0$

Here, I want to express the solutions for k. In Maple, the solution is imaginary. As one may see below.

On the other hand, if one solves that  exact equation with Mathematica, then one has real solutions. That is,

$\large k_{1,2}=\frac{1}{a_{11}^{2}+b_{11}^{2}}2\left(-a_{02}a_{11}-b_{02}b_{11}\pm\sqrt{-a_{11}^{2}b_{02}^{2}+2a_{02}a_{11}b_{02}b_{11}-a_{02}^2b_{11}^2}\right)$

Based on the above, I have a few questions:

1. What is the correct solution for the first equation above? That is, are the solutions real or complex?

2. How may I obtain the real solutions, k_{1,2}, above using Maple?

Attached below you may find my mwfile with my doubts.

Mydoubts.mw