Solving for constant in a linear combination of vectors

In summary, the student is trying to solve for the steady state of a Markov matrix. They have found that if their V_i are orthonormal, then they can solve for the c_i by left-multiplying by A^{-1}. However, this is impossible because the V_i are linearly dependent.
  • #1
robbondo
90
0

Homework Statement


P = c1*V1 + c2*V2
Where P, V1, and V2, are equal sized matrices


Homework Equations





The Attempt at a Solution



So what this problem amounts to is me trying to find the steady state of Markov matrix. So I solved for the eigen vectors, and as is my understanding I should be able to solve for my initial condition matrix P as a linear combination of some constant and the eigen vectors. I'm doing this all in MATLAB and I can't seem to figure out how to plug that equation into MATLAB. I know that it should be possible to solve for these constants(C1,C2) by hand, but I'd like to be able to do this for large matrices. Any suggestions?
 
Physics news on Phys.org
  • #2
Is this matrix P a probability-matrix?
 
  • #3
yeah... So I figured out that i can make the vectors and the constants into matrices and then use the inverse to solve for C1, etc. but it's not working for some reason. I'm still working on it.
 
  • #4
One way you can think about it is that your matrices [tex]P[/tex], [tex]V_1[/tex] and [tex]V_2[/tex] are all vectors in [tex]\mathbb{R}^{n}[/tex].

So we have the equation,

[tex]P = c_1 V_1 + c_2 V_2[/tex]

Taking the inner product of [tex]P[/tex] with the [tex]V_i[/tex] you get a system of equations for the [tex] c_{i}[/tex].

[tex]\langle P,V_1 \rangle = c_1 \langle V_1,V_1 \rangle + c_2 \langle V_2,V_1 \rangle[/tex]
[tex]\langle P,V_2 \rangle = c_1 \langle V_1,V_2 \rangle + c_2 \langle V_2,V_2 \rangle[/tex]

Further, if your [tex]V_i[/tex] are orthonormal, then the above reduces to,

[tex]\langle P,V_i \rangle = c_i[/tex]

You should be able to solve the above system ([tex]A x=b[/tex]) by left-multiplying both sides by [tex]A^{-1}[/tex] since the only time [tex]A[/tex] would be non-invertible is if [tex]\langle V_1,V_1 \rangle \langle V_2,V_2 \rangle = {\langle V_1,V_2 \rangle}^2[/tex];that is, if [tex]V_1[/tex] and [tex]V_2[/tex] are linearly dependent. However, this is impossible because they are distinct eigenvectors of a matrix.
 

FAQ: Solving for constant in a linear combination of vectors

What is a linear combination of vectors?

A linear combination of vectors is a mathematical operation in which two or more vectors are multiplied by constants and added together. The resulting vector is a linear combination of the original vectors.

Why do we need to solve for a constant in a linear combination of vectors?

Solving for a constant in a linear combination of vectors allows us to find the specific value that will produce a desired vector as the result. This is helpful in many applications, such as finding the force needed to balance a system of forces.

How do I solve for a constant in a linear combination of vectors?

To solve for a constant in a linear combination of vectors, you first need to set up a system of equations using the components of the vectors. Then, you can use algebraic techniques, such as elimination or substitution, to solve for the constant.

Can I solve for more than one constant in a linear combination of vectors?

Yes, it is possible to solve for multiple constants in a linear combination of vectors. This can be done by setting up a system of equations with the components of the vectors and using algebraic techniques to solve for each constant.

What are some real-life applications of solving for a constant in a linear combination of vectors?

Solving for a constant in a linear combination of vectors is commonly used in physics, engineering, and other fields to find the necessary forces or components to achieve a desired result. It can also be used in computer graphics to create 3D animations and simulations.

Back
Top