RREF Calculator RREF Calculator

How to Solve Matrices with Complex Numbers using Row Reduction

A detailed guide on executing Gaussian elimination with complex entries, mastering complex division, and scaling complex pivots.

The Fundamentals of Complex Row Arithmetic

In many engineering fields, such as electrical circuit analysis (using AC phasors) and quantum computing, matrices contain complex numbers of the form a + bi, where i2 = -1.

Performing RREF on a complex matrix follows the same Gauss-Jordan elimination algorithm. However, carrying out the calculations by hand is much more challenging because row operations require complex multiplication and division. Let's review the two essential operations needed for complex row reduction.

1. Complex Conjugates & Division (Scaling a Pivot to 1)

To scale a complex pivot z = a + bi to 1, you must multiply the row by its reciprocal 1/z. To calculate the reciprocal, multiply the numerator and denominator by the complex conjugate a - bi:

1 / (a + bi) = (a - bi) / (a2 + b2)

For example, if a pivot is 1 + i, we scale the row by multiplying it by (1 - i) / 2, which is 0.5 - 0.5i.

2. Complex Elimination (Adding Rows)

To eliminate an entry w in a column below a pivot 1, you must multiply the pivot row by -w and add it to the row you wish to clear. This requires multiplying two complex numbers: (x + yi) × (u + vi) = (xu - yv) + (xv + yu)i.

Worked 2x2 Example

Let's reduce this complex matrix to RREF:

i2
11 - i

Step 1: Scale Row 1 to make the pivot 1

The pivot in Row 1, Column 1 is i. The reciprocal of i is -i (since i × -i = 1). Multiply Row 1 by -i:

The matrix becomes:

1-2i
11 - i

Step 2: Eliminate the entry in Row 2, Column 1

We want to clear the 1 in Row 2, Column 1. Perform the operation: R2 → R2 - R1:

The matrix becomes:

1-2i
01 + i

Step 3: Scale Row 2 to make the pivot 1

The pivot in Row 2, Column 2 is 1 + i. Multiply Row 2 by 1 / (1 + i) = (1 - i) / 2:

The matrix becomes:

1-2i
01

Step 4: Eliminate Row 1, Column 2

Perform the operation: R1 → R1 + 2i × R2:

The matrix is now in RREF (which is the Identity matrix):

10
01
Go to RREF Calculator