# Matrices and polynomials

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?

Hurkyl
Staff Emeritus
Gold Member
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

$$\left( \begin{array}{ccc} 2 & 2 & 1 \\ -3 & -6 & 2 \\ 4 & 6 & -3 \end{array} \right) \left( \begin{array}{c} x^2 \\ x \\ y \end{array} \right) = \left( \begin{array}{c} 2 \\ 4 \\ 6 \end{array} \right)$$

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.

tiny-tim
Homework Helper
too much information …

Hi woodne! Welcome to PF!

You have three equations, but only two variables.

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.

Hurkyl
Staff Emeritus
Gold Member
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:
tiny-tim
Homework Helper
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!

Oh, and be tactful …

Isn't the team "square matrix" used when the dimensions are equal? (let y equal a dimension, such as y x y)

tiny-tim