I want to show that there are more primes in the interval $(1,x]$ than in $(x,2x]$, when $x$ is large enough. Let $\pi$ be the prime counting function, ie. $\pi(x)=\# \{ p \leq x | p \text{ is a prime} \}$. Then the above statement is equivalent to showing:
$\pi (2x)-2\pi(x)=-\log(2)\frac{x}{\log ^2x}+O\left(\frac{x}{\log ^3 x}\right)$
I have a hint saying to use the prime number theorem. I'm trying to use that $\pi(x)= \frac{x}{\log x} + \frac{x}{\log ^2 x} + O \left( \frac{x}{\log ^3 x} \right)$, but can't seem to rewrite it fitting. Maybe I need to use other aspects of the prime number theorem.
Added: It's useful to see alternative ways of solving the problem, but I'm still specifically seeking to show the equation above using PNT.
From Dusart we know that $\frac{x}{\ln x}\left(1+\frac{1}{\ln x} \right) < \pi(x )<\frac{x}{\ln x}\left(1+\frac{1.3}{\ln x} \right) $ for all $x \geq 600$ and so you need to prove that $\pi(2x) -2 \pi(x) \leq \frac{2x}{\ln 2x} \left(1+\frac{1.3}{\ln 2x} \right)-2\frac{x}{\ln x}\left(1+\frac{1}{\ln x} \right) << 0 $
Or Equivalently $\frac{1}{\ln 2x} \left(1+\frac{1.3}{\ln 2x} \right) << \frac{1}{\ln x}\left(1+\frac{1}{\ln x} \right) => \ln x (1+\frac{1.3}{\ln 2x}) < (\ln x +\ln 2)(1+\frac{1}{\ln x}) => \ln x +\frac{1.3 \ln x}{\ln 2x} < ln x +1.3< \ln x+ 1 + \ln 2 < \ln x+1+\ln 2 + \frac{\ln 2}{\ln x} $
Checking for smaller cases the inequality is true for all $x\geq 11$