# Polynomials package

Hi, I hope you can help me. I'm writing my graduate work about polynomials and I have to implement (and then solve) system of six-linear equations with 6 variables.
Do you have any ideas or packeges and command how to do it?

I'm sorry if I did sth wrong about title etc. I'm fresh and don't know local rules

The simplest solution will be to write the system in form of \mathbf{X}\mathbf{\beta}=\mathbf{Y}, and then solve it using X^{-1}Y, if X is invertible. Otherwise, if X'X is invertible, you can use (X'X)^{-1}X'Y, else you can use generalized inverse of X'X.

Look at the solve function provided in the base package and ginv of the MASS package.

You may also want to take a look at this: Solving Linear Equations

1 Like

For getting the most out of this forum, you may want to start by reading this guides.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.