We implement the reproducing kernel method and SL(2, R)-shooting method to solve the Thomas–Fermi equation. Powerful techniques are demonstrated by reproducing kernel functions. The reliable numerical approximations to the solution of this equation are calculated by two novel approaches whose results are in good agreement. Numerical results are shown in order to prove the certainty of the techniques.