Questions tagged [matrix-equations]

This tag is for questions related to equations, with matrices as coefficients and unknowns. A matrix equation is an equation in which a variable stands for a matrix .

Definition: Let $~v_1,~v_2,~\cdots~,v_n~ $ and $~b~$ be vectors in $~\mathbb{R^n}~$. Consider the vector equation $$x_1~v_1+x_2~v_2+~\cdots~+x_n~v_n=b~$$This is equivalent to the matrix equation$$~Ax=b~$$

where $~~A=\begin{pmatrix} \cdot & \cdot & \cdots & \cdot \\ v_1 & v_2 & \cdots & v_n \\ \cdot & \cdot & \cdots & \cdot \\ \end{pmatrix};~~ x=\begin{pmatrix} x_1 \\ x_2\\ \cdots\\ x_n \end{pmatrix} ~~\text{and}~~ b=\begin{pmatrix} b_1 \\ b_2\\ \cdots\\ b_n \end{pmatrix}$

Since a matrix equation $ ~AX=B~$ (where $ ~X~$ is a column vector of variables) is equivalent to a system of linear equations, we can use the same methods we have used on systems of linear equations to solve matrix equations. Namely:

$(1.)~~$ Write down the augmented matrix $ ~A \vdots B$.

$(2.)~~$ Row-reduce to a new augmented matrix $~ \overline A \vdots \overline B~$ in row echelon form.

$(3.)~~$ Use this new matrix to write a matrix equation equivalent to the original one.

$(4.)~~$ Use this new, equivalent matrix equation to find the solutions to the original equation.

In mathematics, matrix equation (which is a system of linear equations) is the basis and a fundamental part of linear algebra, a subject which is used in most parts of modern mathematics. Computational algorithms for finding the solutions are an important part of numerical linear algebra, and play a prominent role in engineering, physics, chemistry, computer science, and economics. A system of non-linear equations can often be approximated by a linear system (see linearization), a helpful technique when making a mathematical model or computer simulation of a relatively complex system.

Very often, the coefficients of the equations are real or complex numbers and the solutions are searched in the same set of numbers, but the theory and the algorithms apply for coefficients and solutions in any field. For solutions in an integral domain like the ring of the integers, or in other algebraic structures, other theories have been developed, see Linear equation over a ring. Integer linear programming is a collection of methods for finding the "best" integer solution (when there are many). Gröbner basis theory provides algorithms when coefficients and unknowns are polynomials. Also tropical geometry is an example of linear algebra in a more exotic structure.

4362 questions
1
vote
1 answer

9x9 equation with x>0 for all x?

TL;DR Solve a 9x9 matrix without negative solutions. To make one thing clear! - I have no idea what I'm doing. What I do know however is to reproduce an equation with different coefficients every time. More specific - this is a game where I'm…
1
vote
3 answers

Existence of solution of system of equations

I have some doubt with the existence of solution of system of 3 linear equations. Representing $$\begin{cases} a_1x+b_1y+c_1z=d_1 \\ a_2x+b_2y+c_2z=d_2 \\ a_3x+b_3y+c_3z=d_3 \end{cases} $$ by the matrix $AX = B$. where $A$ is $3\times 3$…
Swapnil Rustagi
  • 967
  • 1
  • 8
  • 24
1
vote
1 answer

"Congruence" of matrices of different sizes

Is there any way to solve for $X$ the equation: $$XAX^T=B$$ Where $A$ is an $n\times n$ matrix, $B$ is an $m\times m$ matrix, and $X$ is an $m\times n$ matrix, with $m < n$. The elements of $X$ can be real or complex, I'm looking for any solution at…
1
vote
0 answers

Matrix equation divide by zero

Consider a matrix equation $Ax=b$. When solving it, I decomposed $A$ with the Doolittle algorithm to its lower and upper triangular matrix, $L$ and $U$ respectively. Now, the above equation can be formulated as $LUx=b$, and solved in two…
1
vote
2 answers

Orthogonal projection operator - squared of cosine

I am reading a paper making use of orthogonal projection and I came across an expression $ \frac{z^TPz}{z^Tz} $ where P = $ S(S^TS)^{-1}S^T $ which is basically the orthogonal proejction operator. z is just a vector of variables. Then, since $P^2…
RuiQi
  • 437
1
vote
1 answer

Rearranging a Matrix equation

Can someone please help me rearrange this matrix expression: $$T=S(F^T)^{-1}=JF^{-1}\Sigma(F^T)^{-1}$$ I need $\Sigma$ in terms of all the other variables. I understand what to do when it is only $2$ variables but in which order do I multiply when…
Tricia
  • 11
1
vote
1 answer

How to get from a restulting Matrix to its coefficients

I have a given matrix A and it is multiplied with a matrix S. The result is also given. How do I get 3x3 matrix S? $$ A= \begin{pmatrix} 1 & 2 & 3 & 4 & 5 \\ 6 & 7 & 8 & 9 & 10\\ 0 & 0 & 1 & 0 & 0 \\ …
1
vote
1 answer

Matrix equation problem

Is my solution of this matrix equation correct ? $(AX^{-1}+B)^{-1}=\frac13X$, I've started off by raising the equation to $-1$ and in the end I get : $((\frac13I-A)^{-1}B)^{-1}$
Anthony
  • 93
0
votes
1 answer

Solution of system of linear equations.

Let $A$ be $n\times n$ matrix and there is at least one non trivial solution for the system $Ax=0$. For any real column vector $b$ with n components,the equation $Ax=b$ has: $1.$Unique solution. $2.$Finite many solutions. $3.$Infinitely many…
0
votes
1 answer

solve $X + X^T = A$

I have a simple question, for the following equation: $$X + X^T = A,$$ where $A$ is a symmetric matrix, can we solve $X$ from the equation? Thanks a lot. Feng [Edit] Sorry for this simple question. Actually, this question is derived from my another…
0
votes
1 answer

Square root of a matrix that is the sum of other matrices, in terms of square roots of the component matrices

I have the equation: $x = \mathrm{V}^{\frac{1}{2}}y$ which takes a vector of random numbers $y$ and induces a correlation structure according to a matrix $\mathrm{V}$, which is a square symmetric toeplitz matrix constructed from the autocorrelation…
hydrologist
  • 317
  • 1
  • 11
0
votes
1 answer

Determine variables with matrix

The task is to find the variables a, b so that, the planes $E1, E2 $ and $E3$, 1) have no common point 2) have a common point The equations are: $$E1: 1x - 1y - 1z = -2$$ $$E2: 3x +1y -1z = b$$ $$E3: ax + 8y+2z =7$$ I think task 1 has to solved like…
0
votes
1 answer

Solve for unknown matrix $S = M + \Lambda S \Lambda$

Given a diagonal matrix $\Lambda$ (with at most one entry equal to zero) and an arbitrary matrix $M$, is it possible to determine $S$ from the matrix equation $S = M + \Lambda S \Lambda$? I do not have any experience in solving equations like this,…
Ailurus
  • 1,192
0
votes
3 answers

Exponential of a matrix

Can someone show me a step by step solution to find \begin{equation} e ^{At} \end{equation} where A = $\begin{bmatrix}2 & -2\\3 & -2\end{bmatrix}$
Bobcat88
  • 163
  • 1
  • 6
0
votes
1 answer

Solving a matrix with one variable

I have a system of equations as follows: $$1x + hy = -5$$ $$2x - 8y = 6$$ My question is how do I work with such a variable in a matrix? Thank you.