Can matrices be used to solve systems with different degree variables?

AI Thread Summary
Using matrices to solve a system of equations with different degree variables, such as quadratic and linear terms, is challenging due to the nature of the equations. The discussion emphasizes that with three equations and only two independent variables, a solution is typically not possible unless one equation is redundant. While matrix algebra can be applied, the results may not yield valid solutions if the system is over-constrained. The concept of a square matrix is highlighted, indicating that it is only useful for independent variables. Ultimately, the feasibility of using matrices in this context is limited by the number of independent variables available.
woodne
Messages
5
Reaction score
0
Hello! First post here.

My question is, is it possible to use a matrix to solve a system where you have the same variable, but a different degree. i.e.

2x^2 + 2x + y = 2
-3x^2 - 6x + 2y = 4
4x^2 + 6x - 3y = 6

Now, I know this is possible other ways, but seeing as each of those would have multiple solutions, is it possible to solve using a matrix?
 
Mathematics news on Phys.org
woodne said:
Hello! First post here.

My question is, is it possible to use a matrix to solve a system where you have the same variable, but a different degree. i.e.

2x^2 + 2x + y = 2
-3x^2 - 6x + 2y = 4
4x^2 + 6x - 3y = 6

Now, I know this is possible other ways, but seeing as each of those would have multiple solutions, is it possible to solve using a matrix?
There are lots of ways you can use a matrix... I imagine, though you meant solving the matrix equation

<br /> \left(<br /> \begin{array}{ccc}<br /> 2 &amp; 2 &amp; 1 \\<br /> -3 &amp; -6 &amp; 2 \\<br /> 4 &amp; 6 &amp; -3<br /> \end{array}<br /> \right)<br /> \left(<br /> \begin{array}{c}<br /> x^2 \\ x \\ y<br /> \end{array}<br /> \right)<br /> =<br /> \left(<br /> \begin{array}{c}<br /> 2 \\ 4 \\ 6<br /> \end{array}<br /> \right)<br />

Well, this is a matrix equation, so you can apply matrix algebra to do whatever you wanted to it. Just make sure you understand what your results mean.
 
too much information …

Hi woodne! Welcome to PF! :smile:

You have three equations, but only two variables. :frown:

So there won't normally be a solution (unless one of the equations is redundant).

If you ignored one equation, you'd only have a 2x3 matrix …
 
That's what i was thinking, that it shouldn't be possible to solve that by a matrix, but my physics teacher swears there's a way to use a matrix for everything.
 
tiny-tim said:
So there won't normally be a solution (unless one of the equations is redundant).

If you ignored one equation, you'd only have a 2x3 matrix …
Er, if there is no solution then there is no solution. All ignoring a constraint achieves is vastly increasing the likelyhood you will mistakenly interpret a 'false solution' as being an actual solution.



P.S. have either of you seriously consider how one might apply linear algebra to this problem? Or did you just think "oh, it can't work" and stop thinking?
 
Last edited:
woodne said:
That's what i was thinking, that it shouldn't be possible to solve that by a matrix, but my physics teacher swears there's a way to use a matrix for everything.

Ask your teacher whether he/she means a square matrix - if so, ask how that can work if there aren't enough independent variables! :smile:

Oh, and be tactful … :rolleyes:
 
Isn't the team "square matrix" used when the dimensions are equal? (let y equal a dimension, such as y x y)
 
razored said:
Isn't the team "square matrix" used when the dimensions are equal? (let y equal a dimension, such as y x y)

Yes, that's right - so a square matrix could only be useful for solving independent variables.

If there are three variables, of which only two are independent (such as x^2 x and y), there won't normally be a solution for more than two equations involving them - which would only give enough numbers for a 3 x 2 matrix! :smile:
 
Back
Top