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
0
votes
1 answer

piecewise potention of Matrix

Is there a a name for the piecewise potention of a Matrix. Simular to the Hadamard product for multiplication? In Matlab code this would be: A.^x
magu_
  • 113
0
votes
1 answer

Unsure about notation with matrix

I'm not sure about a notation: Let $X= A\mathbb R^3$ where $A$ is a $3$x$3$ matrix. What is $X$? I think it should be the image of $\mathbb R^3$ under the transformation with matrix $A$ but I am not sure.
koizumi
  • 131
0
votes
0 answers

How to obtain a lower triangular matrix from a vector of coefficients

I have a vector $$ \mathbf{x} = (x_{21},x_{31},x_{32},x_{41}, x_{42}x_{51} , x_{52} , x_{53} , x_{54})^T $$ and I need to find a way, using some matrix operations, to derive this matrix here $$ \left( \begin{array}{ccccc} 1& 0 & 0 & 0 & 0 \\ x_{21}…
niandra82
  • 167
0
votes
0 answers

operator system of equations

What is the solution of the following matrix equation? $(F_2^-+F_3^-+F_4^-)Q_1=0\\ (F_2^++F_3^-+F_4^-)Q_2=0\\ (F_3^++F_4^-)Q_3=0\\ (F_4^+)Q_4=0\\ Q_1+Q_2+Q_3+Q_4=I$ where $Q_i$s are positive definite matrixes and $F_i^+$ and $F_i^-$ means the…
0
votes
0 answers

problem with understanding a passage in a matrix equations from a proof in a ML paper

I was reading this article on the flipout method https://arxiv.org/pdf/1803.04386.pdf and at page $4$ the author provides the equation that describes the activations in one layer of a neural net. $r_n$ and $s_n$ are $2$ random vectors of $\pm 1$…
Alucard
  • 274
0
votes
0 answers

Simplifying an expression with both scalar quantities and matrices

I just obtained the expression in the image from integration. Now how do I further simplify this to expression x in terms of t. If possible, how can I graph the relationship between x and t (e.g., using a software/website).
0
votes
2 answers

How could I find all the possible scores for a test given that correct answers are 1 point, skipped answers are 0, & wrong answers are -0.25 points?

I am creating scoreboards for a test that has 3 sections (40, 50 and 60 questions). Correct answers count for 1 point, meaning the highest scores are 40, 50 and 60 respectively. Skipped answers count for 0 points. Wrong answers have a "penalty" of…
Lorncat
  • 77
0
votes
1 answer

Confusion about matrix equations

I took a course in applied matrix methods recently, and we often solved "matrix equations" such as $ A+BX = C$ By using the information given about their invertability or non-zeroness, and multiplying by the appropriate matrices on either side So in…
Carlyle
  • 2,807
  • 2
  • 22
0
votes
1 answer

Is there some sort of pattern to multiplying matrices?

Today in math class I got bored so I started looking up what matrices are used for in math, and I clicked on a pretty beginner article on operations one can do to matrices, including adding, subtracting, multiplying by one variable, and multiplying…
0
votes
2 answers

Is there a set of matrix transformations that convert a 1D vector into a 2D matrix?

I think in programming vernacular, this operation would be called perhaps ravel or reshape more generally. say I have a vector: \begin{bmatrix}a&b& c &d &e &f\end{bmatrix} which I would like to convert into a 2D matrix. Let's arbitrarily say I'd…
DerekG
  • 103
0
votes
1 answer

Proof of an inverse Matrix

I am very raw at proofs, this is only my first semester learning them and I am having trouble with this problem. How would I approach this ? If $$ is an $ × $ matrix that satisfies the equation $ $ is $A^3 -4A^2 +3A -5I_n = 0$, Find the $A^{-1}$
0
votes
1 answer

Matrix equation solution (what condition a matrix needs to fulfill to make the equation possible)

Let $A$ be an $m \times n$ matrix such that $\mathrm{rank}(A) < n$. If one were to set the equation \begin{equation*} A Z = B A, \end{equation*} what is the condition that matrix $Z$ needs to fulfill such that the above relation is even possible?…
slm992
  • 19
  • 6
0
votes
1 answer

Find the exponent $x$ of the matrix in $\mathbf{A}^x \mathbf{v} = a \mathbf{v}$

How to find the exponent $x$ of a matrix in the following "eigenvalue" equation $$\mathbf{A}^x \mathbf{v} = a \mathbf{v} ?$$ If it was a scalar eqution, then one could take logarithms on both sides to solve for $x$. I have heard of logarithm of a…
0
votes
2 answers

How to solve for X this matrix equation $X=XP,\text{ where } X \text{ is } (x_1, x_2, x_3), P \text{ is matrix 3x3?}$?

$$\text{ How to solve for X this matrix equation: }X=XP,\text{ where } X \text{ is } (x_1, x_2, x_3), P \text{ is matrix 3x3?I need not zero solution } x \neq(0,0,0)\text{.I got X(P-I)=0, but what to do next?}$$$$\text{For example for example }P =…
Pie
  • 23
0
votes
0 answers

Solve X in matrix equation of the form $X^{-1} B X = C$?

Find X, and equation $$X^{-1} B X = C$$ where A, B are known square matrices. And how to find a "best-fit"(least square) X in $$X^{-1} B_i X = C_i$$ Given know pairs of square matrices $\{(A_i,B_i)\},{i=1,2,3...}$ Another (maybe)relevant…
somebody4
  • 177
  • 10