Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Running :

var("a, b", domain="real")
z=1/(a+I*b)
(z.real()+I*z.imag()).factor()

prints :

(a - I*b)/(a^2 + b^2)

See this Sagecell example.

HTH,