My objective is to show that $\mathcal{O}_{P}/(f,g)$ is of finite length as a $\mathcal{O}_{P}$-module.
$\mathcal{O}_{P}$ is the local ring of $P = (0, 0)$. In other words it's $k[x, y]_{(x,y)}$. $f$ and $g$ are irreducible polynomials that correspond to distinct curves in $\mathbb{A}^{2}$.
I think I have the proof, but I would like to see if it's correct. I've found a couple of solutions on this site, but they use heavier machinery, and I'm wondering if my simpler solution is somehow flawed.
First of all, the $\mathcal{O}_{P}$-submodules of $\mathcal{O}_{P}/(f,g)$ are the same as the $\mathcal{O}_{P}/(f,g)$-submodules since $\mathcal{O}_{P}/(f,g)$ is annihilated by $(f,g)$. It is sufficient to show that $\mathcal{O}_{P}/(f,g)$ is Artinian.
Since $k[x,y]$ is Noetherian, so is $\mathcal{O}_{P}/(f,g)$.
Now this is the interesting part. I want to show that $\mathcal{O}_{P}/(f,g)$ is of dimension $0$. $\dim k[x,y] = 2$. If $(f,g)$ generates $k[x,y]$ the result is clear. Suppose not. $(f,g)$ contains the prime ideal $(f)$ and it is contained in a maximal ideal that is distinct from $(f)$ since $g \not\in (f)$. This forces $\operatorname{height}(f,g)=2$. Thus $\dim k[x,y]/(f,g)=0$. I conclude that the localisation $\mathcal{O}_{P}/(f,g)$ also has dimension $0$.
Any flaws in this argument?
Thank you.