Let $P$ be a polynomial function , then we need to show that the equation :
$P(x)=e^x$ cannot have infinitely many solutions .
I thought about the nth-derivative of $g(x)=P(x)-e^x$ , if there are infinitely many solutions then $g$ takes the value $0$ more than $n=deg(P)+1$ times . Thus the n-th derivative of $g$ vanishes at some point , which is absurd . Because the n-th derivative of $g$ is $e^x$.
(My intuition tells me that there can be a proof using the variation of $P$ and $exp$) is there any idea to solve it besides the idea of the n-th derivative ?