If I take a family of polynomials, like this one :
$$\mathcal B = ( t+t^2, t^3, t^2 + t^4) $$
I'm searching for proving that the smallest degree polynomial generates the rest of polynomials (as in the demonstration of $K$ field iff $K[t]$ is a principal domain).
So firstly in order to know if this statement is true, I was trying to write $t^3$ as a linear combination of the $2$ other polynomials. But when I wrote the system of equalities, I did not know what degree of $\lambda$ and $\mu$ I should use
( here : $$ t^3 = \lambda(t) (t+t^2) + \mu(t) (t^2+t^4)$$ )
So my question is the following.
Is there any rule to find such $\lambda$ and $\mu$ and what degree for them should I input ?
In result, I'll have at least 4 equations, and if I take for example $\deg( \lambda ) = 3; \deg( \mu ) = 2 $, I have $7$ variables for $6$ equations.
That's annoying...
Maybe I have not understand a fundamental thing. Please feel free to explain me anything that could be helpful.
The equation implies $$t^2=\lambda(t)(1+t)+\mu(t)(t^3+t)$$
Now we have $t^3+t=(t^2-t-2)(t+1)-2$, or $-2=(t^3+t)-(t^2-t+2)(t+1)$, so $$t^2=-\frac{t^2}2(t^3+t)+\left(\frac{t^4}2-\frac{t^3}2+t^2\right)(t+1)$$
For the general method see this.