Ask Your Question
0

Partial fraction decomposition over reals

asked 2019-12-29 19:52:42 +0100

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
1

answered 2019-12-30 09:38:24 +0100

Emmanuel Charpentier gravatar image

Well...

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

Stats

Asked: 2019-12-29 19:52:42 +0100

Seen: 282 times

Last updated: Dec 30 '19