I would like to solve what seems to be a simple question on maximum likelihood which I believe can be solved by differentiation of the likelihood function.
$X_1,X_2,X_3,\ldots,X_{n_1}$ are independent Poisson random variables, each with mean $\lambda\alpha$ and $Y_1,Y_2,Y_3,\ldots,Y_{n_2}$ are independent Poisson random variables, each with mean $\lambda\alpha^2$. $\lambda$ is known. How can I find the maximum likelihood estimator of $\alpha$?
$$f(x) = \frac{e^{-\lambda\alpha}(\lambda\alpha)^x}{x!}$$ $$f(y) = \frac{e^{-\lambda\alpha^2}(\lambda\alpha^2)^y}{y!}$$
I find the likelihood function has this form $$\frac{e^{-n_1\lambda\alpha}e^{-n_2\lambda\alpha^2}(\lambda\alpha)^{\sum x}(\lambda\alpha^2)^{\sum y}}{\prod x! \prod y! }$$
and the log likelihood
$$-n_1\lambda\alpha-n_2\lambda\alpha^2 + \sum x \log(\lambda\alpha) + \sum{y}\log (\lambda\alpha^2) - \log\prod x!-\log \prod y!$$
After differentiation I get
$$-n_1\lambda - 2n_2\lambda\alpha + \frac{\sum{x}}{\alpha} + \frac{2\sum{y}}{\alpha}$$
setting this to zero yields an equation in $\alpha$ which usually is quite simple to solve but in this case I get
$$2\sum{y} + \sum{x} = n_1\lambda\alpha + 2n_2\lambda\alpha^2.$$
This doesn't seem right to me!