A*x=B, linear algebra problem.

Click For Summary

Homework Help Overview

The problem involves solving a set of linear equations represented in matrix form as A*x=B, where A is a matrix defined in terms of variables A1, A2, A3, and the vectors x and B contain complex numbers. The context is related to circuit analysis in the frequency domain.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss algebraic manipulation of the equation A*x=B, with one suggesting the use of eigenvalues and eigenvectors. There is a focus on the implications of the system being inconsistent due to a potential typo in the data provided.

Discussion Status

The discussion is exploring the implications of a discovered inconsistency in the system of equations. Participants are attempting to redefine the x vector to correct the issue, while others are questioning the validity of the manipulations and the resulting equations.

Contextual Notes

There are indications of missing information or errors in the original problem setup, particularly regarding the sum of currents in the circuit not equating to zero, which is critical for the analysis.

colossus__
Messages
3
Reaction score
0

Homework Statement


The problem is rather simple. A set of linear equations, in the form V=Z*I, is given to represent a circuit in the frequency domain. The values for the V and I vectors are given and i have the Z(impedance) matrix written in function of the Z1, Z2, Z3,...,Zn variables?

In a simpler way: How to solve the A*x=B equation, when the values for the x and B vectors are given, and A is written in function of A1, A2, A3,...,An variables.
In my case, the A matrix looks like this:
|A1 -A2 0 |
|A1 0 -A3|
|1 1 1 |

x vector:
-0.26
0.259 - i0.966
0.259 + i0.966

B vector:
150 + i0.342
-150 + i0.342
0

Homework Equations


As simple as stated before, the only equation is the A*x=B. My example with all the complex numbers is not the best to ask for help in this subject, but it's the one that has led me to it.

The Attempt at a Solution


So far i have tried algebraic manipulation of the A*x=B equation multiplying it by A^-1 in the attempt to somehow reduce the matrix into a vector or any of the vectors into a matrix.

I tought maybe eigenvectors and eigenvalues could be involved in the solution of this problem, but since i don't have any linear algebra books around and don't really remember how to use this stuff, I'm hoping you guys could help me with this one.
 
Last edited:
Physics news on Phys.org
It's not that hard. Just multiply A by the vector x and equate the resulting vector to B. That gives you three linear equations in the three unknowns A1, A2, A3. Actually, I'll save you a little time. The (1,1,1) row of the matrix times x gives (-0.26)+2*0.259. That's not zero but the third component of B is zero. That makes the system inconsistent. Is there a typo in there somewhere?
 
Last edited:
You pointed it right, there is something wrong with the system. I went back to the question and found that the data given is wrong. The sum of the currents in the node in question is not equal to zero, therefore we have this problem.

I found this question in a test that is now 2 years old, and I'm actually surprised that none of the students who took the test noticed this mistake.

We could try to redefine the x vector to:
-0.52
0.26 - i0.966
0.26 + i0.966

Now the sum is really equal to zero. I just don't know if this will mess up with the balance in the rest of the system.
 
I tried using your suggestion to solve the problem, it ended up looking like this:
(in a step by step version)

[tex] \begin{bmatrix}<br /> A_1 & -A_2 & 0\\<br /> A_1 & 0 & -A_3\\<br /> 1 & 1 & 1<br /> \end{bmatrix}<br /> \begin{bmatrix}<br /> x_1\\<br /> x_2\\<br /> x_3<br /> \end{bmatrix}<br /> =<br /> \begin{bmatrix}<br /> B_1\\<br /> B_2\\<br /> B_3<br /> \end{bmatrix}[/tex]

[tex] \begin{bmatrix}<br /> x_1A_1 & -x_2A_2 & 0\\<br /> x_1A_1 & 0 & -x_3A_3\\<br /> x_1 & x_2 & x_3<br /> \end{bmatrix}<br /> \begin{bmatrix}<br /> 1\\<br /> 1\\<br /> 1<br /> \end{bmatrix}<br /> =<br /> \begin{bmatrix}<br /> B_1\\<br /> B_2\\<br /> B_3<br /> \end{bmatrix}[/tex]

[tex] \begin{bmatrix}<br /> x_1 & -x_2 & 0\\<br /> x_1 & 0 & -x_3\\<br /> \frac{x_1}{A_1} & \frac{x_2}{A_2} & \frac{x_3}{A_3}<br /> \end{bmatrix}<br /> \begin{bmatrix}<br /> A_1\\<br /> A_2\\<br /> A_3<br /> \end{bmatrix}<br /> =<br /> \begin{bmatrix}<br /> B_1\\<br /> B_2\\<br /> B_3<br /> \end{bmatrix}[/tex]

Using the actual values,

[tex] \begin{bmatrix}<br /> -0.52 & -0.26 + i0.966 & 0\\<br /> -0.52 & 0 & -0.26 - i0.966\\<br /> \frac{-0.52}{A_1} & \frac{0.26 - i0.966}{A_2} & \frac{0.26 + i0.966}{A_3}<br /> \end{bmatrix}<br /> \begin{bmatrix}<br /> A_1\\<br /> A_2\\<br /> A_3<br /> \end{bmatrix}<br /> =<br /> \begin{bmatrix}<br /> 150 + i0.342\\<br /> -150 + i0.342\\<br /> 0<br /> \end{bmatrix}[/tex]

And i still got no clue on how to solve it with those divisions by An that showed up now.
 
You are doing some strange matrix manipulations. If you really want to write this as a matrix equation the last row should really be [0,0,0] and B3 should be 0. There's no A dependency in the last equation. Which brings us to the next problem, now you only have two equations in three unknowns. There are many solutions.
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 25 ·
Replies
25
Views
4K
Replies
4
Views
2K
Replies
15
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
9
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
4
Views
2K