Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Partfrac Calculator

Partfrac

Function: partfrac (<expr>, <var>) Expands the expression <expr> in partial fractions with respect to the main variable <var>. partfrac does a complete partial fraction decomposition. The algorithm employed is based on the fact that the denominators of the partial fraction expansion (the factors of the original denominator) are relatively prime. The numerators can be written as linear combinations of denominators, and the expansion falls out.

f(x):=(1+x)/(x^2-1);
partfrac(f(x),x);
g(x):=1/(x-1);
plot2d([f(x),g(x)], [x,-5,5], [y,-5,5]);

          (%i1) 1/(1+x)^2 - 2/(1+x) + 2/(2+x);
                                2       2        1
          (%o1)               ----- - ----- + --------
                              x + 2   x + 1          2
                                              (x + 1)
          (%i2) ratsimp (%);
                                           x
          (%o2)                 - -------------------
                                   3      2
                                  x  + 4 x  + 5 x + 2
          (%i3) partfrac (%, x);
                                2       2        1
          (%o3)               ----- - ----- + --------
                              x + 2   x + 1          2
                                              (x + 1)

(%o1)                                true
(%i2) 

Partfrac Example

Related Examples

partfrac

partfrac(1/((s-1)*(s^...

Calculate

partfrac

partfrac((x+2*x^1+2*x...

Calculate

partfrac

a: (s^2+s)/((s+2)*(s+...

partfrac((s^2+s)/((s+...

Calculate

partfrac-ratsimp

2*x^3-21*x+30/x^2+x-12;

ratsimp (%);

partfrac (%, x);

Calculate

partfrac-sqrt

f(z):=-1/4 /((z -sqrt...

partfrac(f(z),z);

Calculate

partfrac

a: (s^2+s)/((s+2)*(s+...

partfrac((s^2+s)/((s+...

Calculate

partfrac

f(x):=(x^3+x^2+x)/(x+1);

partfrac(f(x),x);

Calculate

partfrac

partfrac((4*x-3)/(2*x...

Calculate

partfrac-taylor

taylor( (1/(1-x) + x/...

partfrac( x/(1-x)^3, x);

Calculate