Reducing NxN Matrix to 2x2 w/ Physical Constraints

In summary, the conversation discusses the use of linear algebra to reduce an arbitrary symmetric NxN system using auxiliary constraint relationships. The goal is to end up with an equivalent system with new matrices in terms of the starting matrix. The conversation also mentions the use of voltage and current constraints in matrix form, and the solution is determined by figuring out the inverse of two matrices.
  • #1
waynewec
2
0
TL;DR Summary
Reducing an NxN matrix to a 2x2 by application of physical constraints
Gonna preface by saying I never thought linear algebra would be a class I would regret not taking so much... but in short the goal is to reduce an arbitrary symmetric NxN system using a set of auxiliary constraint relationships, e.g. for a 3x3

[tex]
\begin{bmatrix}
V_1\\
V_2\\
V_3\\
\end{bmatrix}
=
\begin{bmatrix}
L_{e11}&L_{e12}&L_{e12}\\
L_{e21}&L_{e22}&L_{e23}\\
L_{e31}&L_{e32}&L_{e33}\\
\end{bmatrix}
\cdot
\begin{bmatrix}
i_1\\
i_2\\
i_3\\
\end{bmatrix}\\
[/tex]
using the following constraints
##V_1=V_2=V_p##
##V_3=V_s##
##i_p=i_1+i_2##
##i_s=i_3##
to end up with an equivalent system with [itex]L_s[/itex], [itex]L_p[/itex], and [itex]M[/itex] in terms of the starting [itex]L_{eij}[/itex] matrix
[tex]
\begin{bmatrix}
V_p\\
V_s\\
\end{bmatrix}
=
\begin{bmatrix}
L_p&M\\
M&L_s\\
\end{bmatrix}
\cdot
\begin{bmatrix}
i_p\\
i_s\\
\end{bmatrix}
[/tex]
For those interested in the context, this is an application specific usage of the method covered in https://onlinelibrary.wiley.com/doi/full/10.1002/eej.23240 but they glossed a bit over some of the key linear math that I don't understand. Eventually I'll be extending this concept to quite large matrices with more complex auxiliary constraints, but for now I'd appreciate some guidance, and some good resources, to get me goin
 
Last edited:
Physics news on Phys.org
  • #2
Have you tried just eliminating variables? ##V_1 = V_2## relates ##i_n## making it possible to express ##i_1## in terms of ##i_p## and ##i_s##. Clearly, ##i_2 = i_p - i_1## and ##i_3 = i_s## eliminates ##i_2## and ##i_3##.

I get something like,

##V_p = (L_{11}-L_{12})i_1 + L_{12}i_p + L_{13}i_s##
## 0 = (L_{11}-L_{12})i_1 + (L_{12}-L_{22})(i_p-i_1) + (L_{13}-L_{23})i_s##
## V_s = (L_{31}-L_{32})i_1 + L_{32}i_p + L_{33}i_s##

Okay, just use the second equation to eliminate ##i_1##.
 
  • #3
Paul Colby said:
Have you tried just eliminating variables? ##V_1 = V_2## relates ##i_n## making it possible to express ##i_1## in terms of ##i_p## and ##i_s##. Clearly, ##i_2 = i_p - i_1## and ##i_3 = i_s## eliminates ##i_2## and ##i_3##.

I get something like,

##V_p = (L_{11}-L_{12})i_1 + L_{12}i_p + L_{13}i_s##
## 0 = (L_{11}-L_{12})i_1 + (L_{12}-L_{22})(i_p-i_1) + (L_{13}-L_{23})i_s##
## V_s = (L_{31}-L_{32})i_1 + L_{32}i_p + L_{33}i_s##

Okay, just use the second equation to eliminate ##i_1##.
Absolutely valid, and an approach I've used, but any changes made to constraints or the order of the input matrix requires extremely tedious manual calculations. I was hoping for a direction that relies on matrix mathematics and could be implemented programmatically. 3x3, not so bad - 9x9 will make me want to kill myself
 
  • #4
Well, okay. The voltage constrains in matrix form,

##\left(\begin{array}{c} V_1 \\ V_2 \\ V_3\end{array}\right) = \left(\begin{array}{cc} 1 & 0 \\ 1 & 0 \\ 0 & 1\end{array}\right)\left(\begin{array}{c} V_p \\ V_s\end{array}\right)##

The current constraints in matrix form,

##\left(\begin{array}{c} i_p \\ i_s \end{array}\right) = \left(\begin{array}{ccc} 1 & 1 & 0 \\ 0 & 0 & 1\end{array}\right)\left(\begin{array}{c} i_1 \\ i_2 \\ i_3 \end{array}\right)##

More generaly,

##V = C V_c##

and

##I_c = D I##

Clearly,

##V_c = C^{-1} L D^{-1} I_c##

is the solution. All you need to do is figure out what ##C^{-1}## and ##D^{-1}## really mean.
 

What is a NxN matrix?

A NxN matrix is a square matrix with an equal number of rows and columns. The number of rows and columns is represented by the value of N.

What are physical constraints?

Physical constraints refer to limitations or restrictions that are imposed on a system or process due to physical factors such as space, time, resources, or other physical properties.

Why is it important to reduce a NxN matrix to 2x2 with physical constraints?

Reducing a NxN matrix to 2x2 with physical constraints can help simplify complex systems or processes and make them more manageable. It can also help optimize resources and improve efficiency in problem-solving.

What are some common methods for reducing a NxN matrix to 2x2 with physical constraints?

Some common methods for reducing a NxN matrix to 2x2 with physical constraints include Gaussian elimination, LU decomposition, and Singular Value Decomposition (SVD).

What are some applications of reducing a NxN matrix to 2x2 with physical constraints?

Reducing a NxN matrix to 2x2 with physical constraints has various applications in fields such as engineering, computer science, economics, and physics. It can be used to solve optimization problems, model complex systems, and perform data analysis, among others.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
4
Views
1K
  • Introductory Physics Homework Help
Replies
2
Views
17K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
8K
  • Engineering and Comp Sci Homework Help
Replies
9
Views
14K
  • Engineering and Comp Sci Homework Help
Replies
3
Views
3K
Back
Top