$M,N$ are $2\times2$ real matrices, and $MN=NM$. Then, for any three real numbers $x,y,z$, we have
$$4xz\det(xM^2+yMN+zN^2)\geq(4xz-y^2)\big(x\det(M)-z\det(N)\big)^2 $$
some thought:
1). calculate directly, we got $$ \det(A-xB)=x^2\det(B)-\big(\operatorname{Tr}(A)\operatorname{Tr}(B)-\operatorname{Tr}(AB)\big)x+\det(A) $$ (where $A,B$ are $2\times2$ matrices).
2). $ 4xz\cdot \det(xM^2+yMN+zN^2)= 4x^3z\cdot \det(M-mN)\det(M-nN) $
But I don't know how to go ahead. Thanks a lot!
Had the OP revealed the origin of the question, I might be able to devise a nicer solution. For the time being, I can only solve the problem by a brute-force approach. As $M$ and $N$ commute, there are only three possibilities:
I must stress that this answer is rather unsatisfactory, as it does not really explain how the inequality arises. I hope someone can come up with a more revealing answer.