The product of the two roots of $\sqrt{2014}x^{\log_{2014} x}=x^{2014}$ is an integer. Find its units digit.
I'm quite unable to solve the problem given. I have no idea how to deal with that $\sqrt{2014}$ term nor the logarithms in the exponent. Is it even necessary to solve for each individual root or is there some other way to progress through the problem?
I'm really just a novice so I'd appreciate if anyone could show me the process or processes, if multiple. Thank you very much.
To simplify the notation, let $\log$ denote $\log_{2014}$.
Taking $\log $ of both sides then yields $$\frac 12+(\log x)^2=2014\log x$$
Letting $z=\log x$ we get the quadratic $$z^2-2014z+\frac 12=0$$
Now if $r,s$ are the roots of the original problem we note that $$\log rs=\log r+\log s$$ so the log of the product of $r,s$ is the sum of the two roots of the quadratic. Of course the sum of the roots of the quadratic is $2014$. Thus $$\log(rs)=2014\implies \boxed{r\times s=2014^{2014}}$$
It is easy to see that, if $N$ ends in $4$, any even power of $N$ ends in $6$ so the units digit of this number is $6$.