Using linear algebra to find a number of independent equations

member 392791
Hello,

How am I to find then number of independent equations in a set using matrix techniques?

Thanks
 
Physics news on Phys.org
Hey Woopydalan.

Are the equations linear or non-linear?
 
linear
 
Set up the matrix Ax = b where the rows of A contain the coefficients of each component (x0, x1, x2, etc) for a specific equation (row 1 = equation 1, row 2 = equation 2, etc).

Once you do that, find the row-reduced echelon form of the matrix to answer your question.

You can do this in MATLAB or Octave by using the rref command.
 
  • Like
Likes 1 person
I'll do an example. Suppose we have the equations

x+y+z = 0
2x+2y+2z = 0
3x+3y+3z = 0
x+z = 0

Hopefully it's clear that there are two linearly independent equations here. We can write this in matrix form as
\left( \begin{array}{ccc}<br /> 1 &amp; 1 &amp; 1 \\<br /> 2 &amp; 2 &amp; 2 \\<br /> 3 &amp; 3 &amp; 3\\<br /> 1 &amp; 0 &amp; 1 \end{array} \right) \left( \begin{array}{c} x\\ y\\ z \end{array} \right) = \left( \begin{array}{c} 0 \\ 0\\ 0\\ 0 \end{array} \right)
It should be clear that the number of independent equations is equal to the number of linearly independent rows of the matrix I wrote down - this is going to be true in general, where you can write your equations in matrix form, and then the number of linearly independent equations is equal to the number of linearly independent rows of the matrix. This number is called the rank of the matrix and there are a number of ways of computing it.
 
  • Like
Likes 1 person
Thank you ! So that means the rank of the matrix you wrote is 2?
 
Thread 'Derivation of equations of stress tensor transformation'
Hello ! I derived equations of stress tensor 2D transformation. Some details: I have plane ABCD in two cases (see top on the pic) and I know tensor components for case 1 only. Only plane ABCD rotate in two cases (top of the picture) but not coordinate system. Coordinate system rotates only on the bottom of picture. I want to obtain expression that connects tensor for case 1 and tensor for case 2. My attempt: Are these equations correct? Is there more easier expression for stress tensor...
Back
Top