I'm doing a study on module theory and I'm working on the following problem:
Let $K$ be a field and let $f_1, \dots, f_n \in K[X]$ be monic polinomials. Consider the $K[X]$-module $$ V := K[X]/(f_1)\bigoplus\dots\bigoplus K[X]/(f_n) $$
Show that the characteristic polynomials of the endomorphism $v \mapsto X \cdot v$ of the $K$-vector space $V$ equals $\prod_i f_i$.
My attempt:
Question: Am I correct that the act of the endomorphism works via $v = (v_1, \dots, v_n) \mapsto X \cdot v = (X v_1, \dots, X v_n)$?
Question: the exercise does not say that these polynomials must be irreducible. If if this is not the case then we could replace $f_1$ be a possibly smaller degree $\overset{\sim}{f_1}$ irreducible monic polynomial s.t. $(\overset{\sim}{f_1}) = (f_1)$.
In order to find the characteristic polynomial we need to find a basis. For each of the component vector spaces $K[X]/(f_i)$.
Question: am I correct to say that this basis is given by: $\{1, X, X^2, \dots, X^{\deg f_i - 1}\}$? Even if the $f_i$ are not irreducible?
Suppose that this basis is correct. And let $\deg f_1 = d$ and $f_1 = X^d + a_1^{d-1} X^{d-1} + \dots + a_1^0$. (So I use the lower index of the $a_i^j$ to indicate which $f_i$ and the upper to indicate which coeficient in the polynomial. Question: is it true that the endomorphism restricted to $K[X]/(f_1)$ has the following matrix representant: $A = \begin{bmatrix} 0 & 0 & 0 & -a_1^0 \\ 1 & \ddots & 0 & -a_1^2 \\ 0 & \ddots & 0 & \vdots \\ 0 & 0 & 1 & -a_1^{d-1} \end{bmatrix} $. Where I found the last column by noting that $X^d = -X^{d-1}a_1^{d-1} + \dots + -a_1^0$.
And that the full endomorphism would be a block diagonal matrix of matrices of this type?
Now if we compute the characteristic polynomial for $A$. We get $\det(A-tI)=f_1(t) - t^{\deg f_1}$ (up to a sign), but I think that we need to get $f_1$. What is going on here?