Best way to solve a system of complex equations?

Click For Summary

Discussion Overview

The discussion revolves around methods for solving a system of complex equations encountered in circuit analysis, specifically focusing on techniques applicable for manual calculations without the use of software like MATLAB. Participants explore various approaches to handle the equations presented.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant presents a system of complex equations and seeks efficient manual solving methods.
  • Another suggests converting the equations into a set of linear equations and using MATLAB for eigenvalue calculations, but notes the absence of a third equation.
  • Several participants discuss traditional methods for solving linear equations by hand, including row reduction, Cramer's rule, and matrix inversion, with varying preferences expressed.
  • Concerns are raised about the feasibility of obtaining a unique solution given that there are two equations and three variables, indicating the system is under-determined.
  • Back-substitution is mentioned as a potential method for solving the equations, with some participants questioning its effectiveness compared to row reduction.
  • Complex numbers are noted to not fundamentally change the solving process, despite initial assumptions that they might complicate the system.
  • A participant provides an example of solving a different system using row reduction and back-substitution, illustrating the process but not drawing definitive conclusions about the original equations.

Areas of Agreement / Disagreement

Participants express differing opinions on the best method for solving the equations, with no consensus on a single approach. The discussion highlights the challenges posed by the under-determined nature of the system.

Contextual Notes

The discussion reveals limitations related to the number of equations versus variables, which affects the ability to find unique solutions. There is also a lack of clarity on the assumptions regarding the variables involved in the equations.

x86
Gold Member
Messages
256
Reaction score
18
In my circuit analysis class I consistently need to solve system of complex equations, and I can't use MATLAB or anything for it. Suppose I have the following system:

(Va-Vs)/(-j15) + Va/33 + (Va-Vo)/(-j25)=0
(Vo-Va)/(-j25) + (Vo-Vs)/10 = 0

What is the best way to solve it by hand in a time convinient manner?
 
Mathematics news on Phys.org
Can't you make into a set of linear equations and then use MATLAB to find the eigenvalues?

(1/33 - 1/j15 - 1/j25) Va + (1/j15) Vs + (1/25) Vo = 0
...

In this case, it seems you're missing a third equation.
 
How do we usually solve systems of linear equations by hand? Row reduction, Cramer's rule, or matrix inversion. Pick whichever one you like best. I don't recommend matrix inversion except for 2x2 systems (since the inverse is "easy" to remember).

jason
 
jedishrfu said:
In this case, it seems you're missing a third equation.

Probably one of the V or maybe of the differences is not an unknown, or else is an input in terms of which it is desired to express everything else.

Given that, if these are considered hard equations I am afraid there is some bad news... :bugeye:
 
jasonRF said:
How do we usually solve systems of linear equations by hand? Row reduction, Cramer's rule, or matrix inversion. Pick whichever one you like best. I don't recommend matrix inversion except for 2x2 systems (since the inverse is "easy" to remember).

jason

I always found row reduction slower than just back-substitution. So essentially if I just do back substitution, I'll get an answer?

Also, i want to express Vo in terms of Vs, so I only have two equations.

If I want to solve for Vo, I'd just solve for Va, then back substitute?

jedishrfu said:
Can't you make into a set of linear equations and then use MATLAB to find the eigenvalues?

(1/33 - 1/j15 - 1/j25) Va + (1/j15) Vs + (1/25) Vo = 0
...

In this case, it seems you're missing a third equation.

Oh I wish, but on tests we have to do it by hand.

jasonRF said:
How do we usually solve systems of linear equations by hand? Row reduction, Cramer's rule, or matrix inversion. Pick whichever one you like best. I don't recommend matrix inversion except for 2x2 systems (since the inverse is "easy" to remember).

jason

I see. I guess complex numbers don't really change anything, even though you'd think it would mean you'd have 2 times more equations to solve
 
jasonRF said:
How do we usually solve systems of linear equations by hand? Row reduction, Cramer's rule, or matrix inversion. Pick whichever one you like best. I don't recommend matrix inversion except for 2x2 systems (since the inverse is "easy" to remember).

x86 said:
I always found row reduction slower than just back-substitution. So essentially if I just do back substitution, I'll get an answer?

Also, i want to express Vo in terms of Vs, so I only have two equations.

If I want to solve for Vo, I'd just solve for Va, then back substitute?
If you're using matrices to solve for the variables, row reduction gets you a matrix with 1's on the diagonal. The 1 at the lower end of the diagonal gives you one of the variables, and you can then use back-substitution to find the values of the other variables. So back-substitution implies that you have already done row reduction, at least in the context of using matrices to solve the system. Otherwise I'm not sure what you're saying.

Also, and as pointed out already by jedishrfu, you have two equations and three variables, so it's not possible to get a unique solution. A system with fewer equations than variables is called under-determined.

jedishrfu said:
Can't you make into a set of linear equations and then use MATLAB to find the eigenvalues?

(1/33 - 1/j15 - 1/j25) Va + (1/j15) Vs + (1/25) Vo = 0
...

In this case, it seems you're missing a third equation.

x86 said:
Oh I wish, but on tests we have to do it by hand.

jasonRF said:
How do we usually solve systems of linear equations by hand? Row reduction, Cramer's rule, or matrix inversion. Pick whichever one you like best. I don't recommend matrix inversion except for 2x2 systems (since the inverse is "easy" to remember).

x86 said:
I see. I guess complex numbers don't really change anything, even though you'd think it would mean you'd have 2 times more equations to solve
No. Each complex solution counts as one solution.

Here's a simple example:
z + w = 2
z - w = 2i

Setting up an augmented matrix:
##\begin{bmatrix} 1 & 1 & | 2\\ 1 & -1 & | 2i \end{bmatrix}##
Using row reduction, we get
##\begin{bmatrix} 1 & 1 & | 2\\ 0 & 1 & | 1 - i \end{bmatrix}##
At this we can note that w = 1 - i, and then back substitute to get z, or we can continue to reduced row-echelon form (RREF) where each row starts with a 1:
##\begin{bmatrix} 1 & 0 & | 1 + i \\ 0 & 1 & | 1 - i \end{bmatrix}##
The single solution is (z, w) = (1 + i, 1 - i).
 
  • Like
Likes   Reactions: x86

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 10 ·
Replies
10
Views
28K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 4 ·
Replies
4
Views
15K
  • · Replies 22 ·
Replies
22
Views
5K