Ask Your Question

Partial fraction decomposition over reals

asked 2019-12-29 12:52:42 -0500

proy87 gravatar image

Hello. I'm trying to find partial fraction decomposition of 1/(x**2-2*b**2) I use f.partial_fraction(var), but I don't get the result.

How can I get an exact answer over the reals in general case?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2019-12-30 02:38:24 -0500

Emmanuel Charpentier gravatar image


sage: 1/product([(x-u[0])^u[1] for u in (x**2-2*b**2).roots(x=x)])
-1/((sqrt(2)*b + x)*(sqrt(2)*b - x))
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2019-12-29 12:52:42 -0500

Seen: 56 times

Last updated: Dec 30 '19