Transforming Linear Algebra Equations: Solving for Unknown Parameters

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 3K views
courtrigrad
Messages
1,236
Reaction score
2
[tex]\left(\begin{array}{cc} 2-\alpha\\\alpha \end{array}\right) =\left(\begin{array}{cc} 2\\0\end{array}\right) +\alpha\left(\begin{array}{cc} -1\\1\end{array}\right)[/tex].How did you get rid of the parameter [tex]\alpha[/tex] to transform it into an equation?

thanks
 
Last edited:
Physics news on Phys.org
I know that [tex]\left(\begin{array}{cc} 2-\alpha\\\alpha \end{array}\right) =\left(\begin{array}{cc} 2\\0\end{array}\right) +\alpha\left(\begin{array}{cc} -1\\1\end{array}\right)[/tex] is equivalent to [tex]y = -x+2[/tex]. How do we get this? The first matrix, I know, is the point (2,0). The second matrix is a direction vector, but I don't know where to go from there.
 
Ah, I see. He's starting with a parametric equation for a line:

[tex]\left(\begin{array}{c}x \\ y\end{array}\right) =<br /> \left(\begin{array}{cc} 2-\alpha\\\alpha \end{array}\right) =\left(\begin{array}{cc} 2\\0\end{array}\right) +\alpha\left(\begin{array}{cc} -1\\1\end{array}\right)[/tex]

and he wants to know how to turn it into an implicit form. (i.e. the solutions to an equation)


There's a simple approach that works: just take the equations

[tex]x = 2 - \alpha[/tex]

[tex]y = \alpha[/tex]

and eliminate the variable [itex]\alpha[/itex].


There's a highbrow approach too, that (IMHO) is a good example to learn.

To simplify things, let me write the original equation as:

[tex]\vec{z} = \vec{b} + \alpha \vec{v}[/tex]

In order to get rid of [itex]\alpha[/itex], you need to multiply by something that kills off [itex]\vec{v}[/itex]: you want a good matrix [itex]A[/itex] such that [itex]A \vec{v} = 0[/itex]. Well, that's just a left-nullspace matrix computation! (i.e. the columns of [itex]A^T[/itex] are a basis for the nullspace of [itex]\vec{v}^T[/itex])

In this case, we get something like

[tex]A = \left(\begin{array}{cc}1 & 1\end{array}\right)[/tex]

And so the desired equation is

[tex]A \vec{z} = A \vec{b}[/tex]

which you can check reduces to [itex]x + y = 2[/itex].
 
Last edited:
thank you Hurkyl.
 
P.S. why did I kill off [itex]\vec{v}[/itex] by using a matrix such that [itex]A\vec{v} = 0[/itex], rather than using a matrix such that [itex]\vec{v}A = 0[/itex]?
 
because multiplication of matrices is not commutative?
 
Noncommutativity is why the choice matters.

I can kill off the [itex]\vec{v}[/itex] term by finding a matrix [itex]A[/itex] such that [itex]\vec{v}A = 0[/itex], and then getting the equation

[tex]\vec{z} A = \vec{b} A[/itex]<br /> <br /> but for this particular problem, doing this is bad... whereas doing it the other way is good. Can you tell why?<br /> <br /> <br /> Edit: bleh, the full answer isn't as straightforward as I thought. Sorry about that. <img src="https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f641.png" class="smilie smilie--emoji" loading="lazy" width="64" height="64" alt=":frown:" title="Frown :frown:" data-smilie="3"data-shortname=":frown:" /> It's easy to see why the method in this post won't work (<i>A</i> is degenerate: it has zero columns), but I'm too tired to explain why multiplying on the left works, and what to do in the more general case of something like:<br /> <br /> [tex]Z = B + \alpha M[/tex]<br /> <br /> where Z, B, and M are all mxn matrices, rather than just vectors.[/tex]
 
Last edited: