0
$\begingroup$

How can I tell Mathematica to keep solutions of this equation up to second order in q?

Solve[Det[{{I x + a, b, 0}, {I f - I q^2 O, 
     I x + d - q^2 c, -I q^2 e}, {0, h, I x + g}}] == 0, x]
$\endgroup$
2
$\begingroup$
sol = x /.Solve[Det[{{I x + a, b, 0}, {I f - I q^2 O, 
   I x + d - q^2 c, -I q^2 e}, {0, h, I x + g}}] == 0, x]

Normal[Series[sol, {q, 0, 2}]]
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.