An analytic approach to the Riemann hypothesis