# Is the kernel of a linear form $f : A^n \to A$ a projective module?

Let $R$ be a ring (not necessarily commutative, but if you have interesting things to say in the commutative case, please say them!) and $M$, $M''$ two finitely generated projective $R$-modules.

I was wondering if the kernel of a linear map $M \to M''$ is always a projective module.

Unless I'm mistaken, the question boils down to the a priori weaker one I've chosen as title. I guess the answer is no, but I'm unable to cook a counterexample (one first needs to take a linear form whose image isn't a projective submodule of $A$ but it's not enough).

Please make any comment you find relevant, for example is there are classes of rings over which this property is true (it's obviously so for hereditary rings and PIDs).

No, it isn't. If you take $R=K[x]/(x^2)$, then $R$ is projective over itself as always, but the kernel of the map $R\to R$ given by multiplication by $x$ is $Rx$ which isn't projective. To see this, note that $R$ is local, so the only projective modules are direct sums of copies of $R$, so the dimension (over $K$) of any projective module is divisible by $\dim{R}=2$, but $\dim{Rx}=1$.