Johann Peter Gustav Lejeune Dirichlet (13 February 1805 – 5 May 1859) was a German mathematician who made deep contributions to number theory, and to the theory of Fourier series and other topics in mathematical analysis; he is credited with being one of the first mathematicians to give the modern formal definition of a function.