2
$\begingroup$

I was testing a program that solves system of linear equations. The program allows the user to enter the coefficients of each equation. When I entered the complex number $i$ as on of the coefficients, the system produced a warning indicating that the implemented algorithm does not work with complex numbers.

Aside from programming specifics, my question is:

Do methods of solving linear equations such as Row Reduction, Cramer's Rules and Multiplication by matrix inverse restricted to real numbers only? Thank you all kindly.

$\endgroup$
1
  • $\begingroup$ @hardmath, thx. $\endgroup$
    – NoChance
    Oct 18, 2015 at 16:20

2 Answers 2

2
$\begingroup$

The methods you mention work over all fields (that is the power gained by abstraction in linear algebra) with the same pseudo-code. If you think about it from an "object oriented" point of view, the axiom of a field provide an interface for an object $\mathbb{F}$ that comes with two binary operations $(+,\cdot)$ whose implementation must satisfy various properties (the field axioms). In this sense, you can implement an algorithm that will work for matrices over all fields (and won't require modification for different fields). However, the programmer must provide support for field arithmetic for each field separately.

$\endgroup$
1
$\begingroup$

Short answer is, the only difference is doing arithmetic in the complex field, rather than arithmetic with real numbers.

Since the complex field is algebraically closed, there are some matrix methods that are actually simpler (at least in form) over the complex numbers. But the methods you highlighted for solving systems of equations are just the same.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .