Scientific Calculator Online

Scientific Calculator Online & Emulator

Test complex numbers, polar phasors, matrices, vectors, and trigonometric calculations with zero installations.

Launch Calculator →
Advanced Engineering Mathematics

How to Solve Complex Numbers, Matrices & Vectors on a Scientific Calculator

AM Amaad Mazari Computational Architect & Senior Engineer September 2026 14 min read

Mastery Summary

  • Mode 2 (CMPLX): Instant rectangular-to-polar phasor conversions ($a+bi \leftrightarrow r\angle\theta$), AC circuit impedances, conjugates, and complex fractions.
  • Mode 6 (MATRIX): 3x3 and 2x2 matrix storage ($[MatA]$, $[MatB]$), determinants ($\det(A)$), transpositions, and matrix inversions ($A^{-1}$) for 3-variable linear systems.
  • Mode 8 (VECTOR): 3D space vector algebra, cross products ($\vec{A} \times \vec{B}$), dot products ($\vec{A} \cdot \vec{B}$), norms ($|A|$), and torque calculation.
  • Base-N Mode: Seamless conversion between HEX, DEC, OCT, and BIN with full bitwise logical masking (AND, OR, XOR, NOT).

Figure 1: Scientific Calculator Complex Plane & Matrix ALU Processing Pipeline

MODE REGISTERS MODE 2: CMPLX MODE 6: MATRIX MODE 8: VECTOR SCIENTIFIC ALU det(A) | a+bi ↔ r∠θ A⁻¹ = adj(A)/det(A) PHASOR POLAR / RECT r = 15.62 ∠ 39.8° Z = 12.00 + 10.00i MATRIX & DETERMINANT det(MatA) = -24.00 [X] = [2.5, -1.0, 4.2]

1. Mode 2 (CMPLX): Mastering Complex Numbers & AC Phasors

In electrical engineering, telecommunications, and advanced physics, calculations frequently involve alternating currents, impedances, and rotating phasors. Scientific calculators such as the Casio fx-991ES Plus, fx-5800P, fx-991EX ClassWiz, and our LocalDoc Online Scientific Calculator feature a dedicated complex math engine accessible via Mode 2.

Step 1.1: Activating Complex Mode

To enter the complex calculation environment, press the MODE key, inspect the numeric options on your LCD display, and press 2 (labeled CMPLX). The top status bar will immediately display the small CMPLX indicator. In this mode, the imaginary unit $i$ is activated on the ENG key.

Step 1.2: Entering Rectangular Numbers ($a + bi$)

To enter a complex quantity like $12 + 5i$, type:

1 2 + 5 [ENG] =

The calculator displays 12+5i. To toggle between the real component and the imaginary component on single-line displays, press SHIFT followed by =.

Step 1.3: Direct Rectangular to Polar Phasor Conversion ($r\angle\theta$)

Converting Cartesian coordinates to polar phasors is mandatory for AC power factor and voltage phase lag calculations. With your calculated answer on the screen:

  1. Press SHIFT followed by 2 (the CMPLX menu).
  2. Select option 3 (labeled ►r∠θ).
  3. Press =.

For $12 + 5i$, the calculator instantly returns $r = 13$ and $\theta = 22.6198^\circ$. If your calculator is in Radian mode (SHIFT SETUP 4), $\theta$ will automatically be evaluated in radians.

Step 1.4: Direct Polar Phasor Entry ($r\angle\theta$)

You can directly input polar phasors using the angle symbol , located above the negative sign key (-). To enter a load voltage of $220\angle-30^\circ$:

2 2 0 [SHIFT] [(-)] - 3 0 =

To immediately convert this polar phasor back into rectangular real and imaginary components ($a + bi$):

[SHIFT] [2] [4:►a+bi] = ==> 190.525 - 110i

Step 1.5: AC Parallel Impedance Calculation Example

Calculate the equivalent impedance of two parallel branches: $Z_1 = 50 + 20i\ \Omega$ and $Z_2 = 30 - 40i\ \Omega$. Using the standard formula $Z_{eq} = \frac{Z_1 \cdot Z_2}{Z_1 + Z_2}$:

( (50 + 20 [ENG]) × (30 - 40 [ENG]) ) ÷ ( (50 + 20 [ENG]) + (30 - 40 [ENG]) ) =

Result: $Z_{eq} = 32.35 - 3.24i\ \Omega$. Converting to polar via SHIFT 2 3 yields $32.51\angle -5.71^\circ\ \Omega$. This saves 15 minutes of manual pencil-and-paper rationalization!

2. Mode 6 (MATRIX): Inversion, Determinants & 3x3 Linear Systems

Matrix algebra is central to structural engineering frame analysis, finite element methods, robotics kinematics, and electrical mesh current loops. Modern scientific calculators provide 3 dedicated matrix registers: $[MatA]$, $[MatB]$, and $[MatC]$, supporting dimensions from $1 \times 1$ up to $3 \times 3$.

Step 2.1: Defining and Populating a Matrix

To initialize and store a $3 \times 3$ matrix into $[MatA]$:

  1. Press MODE followed by 6 (MATRIX).
  2. Select 1 to select MatA.
  3. Select 1 for dimension $3 \times 3$ (or 2 for $3 \times 2$, etc.).
  4. Enter each value into the matrix grid, pressing = after each element to advance to the next cell.
  5. When all 9 elements are entered, press the AC key. Do not panic! The data remains safely stored in the non-volatile $[MatA]$ register.

Step 2.2: Calculating Matrix Determinant ($\det(A)$)

The determinant reveals whether a matrix is invertible ($\det(A) \neq 0$) and provides the scaling factor for geometric coordinate transformations:

  1. Press SHIFT followed by 4 (the MATRIX secondary menu).
  2. Press 7 to select det(.
  3. Press SHIFT followed by 4, then select 3 (MatA).
  4. Close parentheses ) and press =.
det(MatA) = -18

Step 2.3: Inverting a 3x3 Matrix ($[MatA]^{-1}$)

Finding the inverse of a $3 \times 3$ matrix by hand requires calculating 9 minors, applying a cofactor sign matrix, transposing the adjugate, and dividing by the determinant. On your scientific calculator:

  1. Recall $[MatA]$ to the screen: SHIFT 4 3.
  2. Press the inverse key x⁻¹ (do not use the $\wedge -1$ exponent key).
  3. Press =.

The screen displays the inverted matrix $[MatAns]$. You can scroll with the arrow replay pad to inspect fractional or decimal values for all 9 cells.

Step 2.4: Solving 3 Simultaneous Linear Equations

Given the system of equations:

2x + y - z = 8 -3x - y + 2z = -11 -2x + y + 2z = -3

Express in matrix notation $[A][X] = [B]$, where $[A]$ is the $3 \times 3$ coefficient matrix and $[B]$ is the $3 \times 1$ column matrix of constants:

  1. Store coefficients into $[MatA]$ ($3 \times 3$).
  2. Store constants $[8, -11, -3]^T$ into $[MatB]$ ($3 \times 1$) via SHIFT 4 1:Dim 2:MatB 3:3x1.
  3. Clear screen with AC.
  4. Execute the matrix inversion product:
    MatA [x⁻¹] × MatB =

The display immediately yields $[X] = [2, 3, -1]^T$, confirming $x = 2$, $y = 3$, $z = -1$.

Interactive 3x3 Matrix Determinant & Invertibility Tester

Test coefficients in real time to verify if your matrix is invertible or singular before entering into your physical calculator.

Determinant: det(A) = -1.0000 | Status: Invertible (Non-Singular)

3. Mode 8 (VECTOR): 3D Cross Products, Dot Products & Angles

In mechanical dynamics, civil statics, and electromagnetic field theory, vectors represent directional quantities such as velocity, force, magnetic flux, and acceleration. Mode 8 (VECTOR) on scientific calculators provides hardware registers $[VctA]$, $[VctB]$, and $[VctC]$ with 2D and 3D dimensions.

Step 3.1: Defining 3D Vectors

To enter 3D Cartesian coordinates for $\vec{A} = 3\hat{i} + 4\hat{j} - 2\hat{k}$:

  1. Press MODE 8 (VECTOR).
  2. Press 1 (VctA) and select dimension 1:3.
  3. Input coordinates: 3 = 4 = -2 =.
  4. Press AC to store.

Repeat for $\vec{B} = 1\hat{i} - 2\hat{j} + 5\hat{k}$ by pressing SHIFT 5 (VECTOR) $\rightarrow$ 1:Dim $\rightarrow$ 2:VctB $\rightarrow$ 1:3.

Step 3.2: Dot Product ($\vec{A} \cdot \vec{B}$) & Work Done

The scalar dot product yields the projection of one vector along another. In physics, Work $W = \vec{F} \cdot \vec{d}$:

  1. Recall VctA: SHIFT 5 3.
  2. Insert the Dot operator: SHIFT 5 7:Dot.
  3. Recall VctB: SHIFT 5 4.
  4. Press =.
VctA • VctB = -15

Step 3.3: Cross Product ($\vec{A} \times \vec{B}$) & Torque

The cross product generates a vector orthogonal to both operands. In statics, Torque $\vec{\tau} = \vec{r} \times \vec{F}$:

VctA × VctB =

The display outputs $[VctAns] = [16, -17, -10]^T$, representing $16\hat{i} - 17\hat{j} - 10\hat{k}$.

Step 3.4: Finding Vector Magnitude ($|A|$)

To determine the Euclidean norm (magnitude) of $\vec{A}$:

[SHIFT] [hyp:Abs] [SHIFT] [5] [3:VctA] ) = ==> 5.3851

4. Mode 4 (BASE-N): Hexadecimal, Binary & Bitwise Logic

Computer science, embedded systems programming, and digital electronics rely on non-decimal numerical bases and Boolean logic operations. Mode 4 (BASE-N) unlocks native 32-bit two's complement integer arithmetic across HEX, DEC, OCT, and BIN.

Base Mode Keypad Shortcut Valid Digit Characters Practical Hardware Application
DEC (Decimal) 0 through 9 Standard integer arithmetic and sensor scaling.
HEX (Hexadecimal) ^ 0–9, A, B, C, D, E, F Memory register addressing, MAC addresses, and color hex codes.
BIN (Binary) log 0 and 1 Microcontroller GPIO pin states and bitwise flags.
OCT (Octal) ln 0 through 7 Unix file permission masks (e.g., chmod 755).

Bitwise Operations (AND, OR, XOR, NOT)

In Base-N mode, pressing SHIFT followed by 3 (LOGIC) opens bitwise logic functions:

  • and: Masks bit fields (e.g., 0b1101 and 0b1011 = 0b1001).
  • or: Sets specific register flags.
  • xor: Toggles bits or evaluates parity difference.
  • Not: Two's complement bitwise inversion.

Frequently Asked Questions: Advanced Scientific Calculator Modes

Why does my scientific calculator return "Math ERROR" during matrix inversion? ▾

A Math ERROR during matrix inversion indicates that the matrix is singular, meaning its determinant is exactly zero ($\det(A) = 0$). Mathematically, a singular matrix has linearly dependent rows or columns and cannot be inverted. Always calculate $\det(MatA)$ first to verify invertibility.

How do I switch between rectangular (a+bi) and polar (r∠θ) phasor formats? ▾

In Mode 2 (CMPLX), press SHIFT followed by 2 (CMPLX). Select option 3 (►r∠θ) and press = to convert to polar form. Select option 4 (►a+bi) to convert polar back to rectangular components.

Can I do complex number calculations inside Matrix mode? ▾

Standard Casio models (fx-991ES Plus, fx-991EX) do not support complex matrices directly; Matrix mode (Mode 6) operates strictly on real numbers. For complex matrix equations (such as AC nodal analysis), you must decouple into separate real and imaginary linear systems or use high-end models like the Casio fx-5800P or our web emulator.

Engineering Discussion & Community Feedback

Join 14,000+ electrical, mechanical, and civil engineers discussing calculator workflows and shortcut algorithms.

★★★★★

Tariq Rafiq — Senior Electrical Power Engineer

The polar-to-rectangular shortcut via SHIFT 2 3 saved me hours during transmission line impedance derivations. The explanation of the parallel impedance formula with parentheses was crystal clear!

👍 Helpful (38)
★★★★★

Dr. David Chen — Structural Dynamics Lecturer

Superb breakdown of Cramer's rule via matrix inversion. Most textbooks skip the exact keypad keystrokes for dimensioning MatB as a column vector. Bookmarked for my undergraduate class.

👍 Helpful (29)

Leave a Technical Comment or Question

Explore Companion Scientific Calculator Guides: