HP 40gs User Manual
Page 195

Computer Algebra System (CAS)
14-13
In real mode, the result is:
In complex mode (using
CFG), the result is:
PARTFRAC
Partial fraction expansion
PARTFRAC has a rational fraction as an argument.
PARTFRAC returns the partial fraction decomposition of
this rational fraction.
Example
To perform a partial fraction decomposition of a rational
function, such as:
you use the
PARTFRAC command.
In real and direct mode, this produces:
In complex mode, this produces:
QUOTE
Quoted expression
QUOTE(
expression) is used to prevent an expression
from being evaluated or simplified.
Example 1
Typing:
gives:
+∞
x
2
2 x
⋅
1
+
+
(
) x
2
2 x
⋅
1
+
–
(
)
⋅
1
16
------
2x
1 i
+
(
)
2
⋅
+
(
) 2x 1 i
+
(
)
–
2
⋅
(
) 2x
1 i
–
(
)
+
2
⋅
(
)
2x 1 i
–
(
)
–
2
⋅
(
)
⋅
⋅
⋅
⋅
x
5
2
–
x
3
1
+
⋅
x
4
2
–
x
3
⋅
2
+
x
2
2 x 1
+
⋅
(
)
–
⋅
-------------------------------------------------------------------------
x 2
x 3
–
2 x
2
⋅
2
+
----------------------
1
–
2 x
⋅
2
–
-------------------
+ +
+
x 2
1 3i
–
4
--------------
x i
+
--------------
1
–
2
------
x 1
–
-----------
1 3i
+
4
--------------
x i
–
--------------
+ +
+
+
im QUOTE 2X 1
–
(
)
(
EXP(
1
X
--- 1
)
–
⋅
X
+
∞
=
,
⎝
⎠
⎛
⎞
hp40g+.book Page 13 Friday, December 9, 2005 1:03 AM