RPN Power 48 manual · Chapter 10 of 20
Complex numbers
Build, split and calculate with complex numbers in rectangular or polar form.
10.1Make a complex number#
A complex number is shown as (re,im). Type it directly with right shift 8 and 9, or push two reals and press left shift 1 (R→C). Right shift 1 (C→R) splits it again. Left shift 2 types the imaginary unit i.
Make 3 + 4i from two reals
Type 3, ENTER, 4 and press left shift 1.
3ENTER4◀R→C1

1: (3,4)Type a complex number directly
Right shift 8 gives parentheses, right shift 9 a comma.
▶( )81▶,92ENTER

1: (1,2)A comma from the point key
Left shift and the point key also type a comma.
▶( )83◀,.4ENTER

1: (3,4)Split a complex number
Press right shift 1 (C→R).
3ENTER4◀R→C1▶C→R1

2: 3 1: 4Use the imaginary unit
2 times i plus 3.
2◀i2×3+

1: (3,2)10.2Add, multiply and divide complex numbers#
Multiply (1+2i) by (3+4i)
Make each number, then multiply.
1ENTER2◀R→C13ENTER4◀R→C1×

(-5,10)Divide (1+2i) by (3+4i)
Make each number, then divide.
1ENTER2◀R→C13ENTER4◀R→C1÷

(.44,.08)The square of i
i times i is −1.
◀i2◀i2×

(-1,0)Square root of a negative number
A negative real has a complex square root.
4+/−√x

(0,2)Euler: e to the power i
Put i on the stack and press EXP (left shift power).
◀i2◀eˣyˣ

(.540302305868,.841470984808)10.4Show complex numbers in polar form#
In POLAR mode a complex number is shown as (r,∠angle) with the angle in the current unit, and the status line shows R∠Z. The object is the same; only the display changes.
Polar display
Make 3 + 4i and choose POLAR.
3ENTER4◀R→C1MODENXTF3

(5,∠.927295218002)10.5Vectors and matrices of complex numbers#
Put complex numbers inside the brackets of a vector or matrix: [ (1,2) (3,4) ]. If any entry is complex the whole array is a complex array (TYPE 4) and its real entries show as (x,0). Add, subtract and multiply them like real arrays (a real array or a real or complex number can be the other argument), and use DET, INV, ÷ (solve), a whole-number power (0 gives the identity matrix, a negative power the inverse) and SQ for square matrices, CROSS and DOT for vectors, TRN (which also conjugates), CONJ, RE, IM, ABS, NEG, GET, PUT, SIZE, →ARRY and ARRY→. A number divided by a square matrix is the number times its inverse. R→C joins two real arrays into one complex array and C→R splits it.
Type a complex vector
Left shift 9, then right shift 8 for each complex entry; the right arrow steps out of the parentheses.
◀[ ]9▶( )81▶,92▶SPC▶( )83▶,94ENTER
![Result of the example "Type a complex vector" The display shows: RAD { HOME } / 6: / 5: / 4: / 3: / 2: / 1: [ (1,2) (3,4) ].](/trident/app/help/manual/img/07e603a4s.webp)
[ (1,2) (3,4) ]Add a real vector
Type [ 1 1 ] and add.
◀[ ]9▶( )81▶,92▶SPC▶( )83▶,94ENTER◀[ ]91SPC1ENTER+
![Result of the example "Add a real vector" The display shows: RAD { HOME } / 6: / 5: / 4: / 3: / 2: / 1: [ (2,2) (4,4) ].](/trident/app/help/manual/img/9d8f87ces.webp)
[ (2,2) (4,4) ]Multiply by i
Push i (left shift 2) and multiply.
◀[ ]9▶( )81▶,92▶SPC▶( )83▶,94ENTER◀i2×
![Result of the example "Multiply by i" The display shows: RAD { HOME } / 6: / 5: / 4: / 3: / 2: / 1: [ (-2,1) (-4,3) ].](/trident/app/help/manual/img/d1ba6344s.webp)
[ (-2,1) (-4,3) ]Split into real and imaginary parts
Press right shift 1 (C→R).
◀[ ]9▶( )81▶,92▶SPC▶( )83▶,94ENTER▶C→R1
![Result of the example "Split into real and imaginary parts" The display shows: RAD { HOME } / 6: / 5: / 4: / 3: / 2: [ 1 3 ] / 1: [ 2 4 ].](/trident/app/help/manual/img/28147df7s.webp)
2: [ 1 3 ] 1: [ 2 4 ]HP 48 and HP 50g is a trademark of HP Inc.. Trident Calculator is an independent product by South View Studios and is not affiliated with, sponsored by or endorsed by HP. The name is used only to describe the kind of calculator this model resembles; Trident's names, keys, display, fonts and software are its own clean-room design.





