 His family were Lutherans in the Evangelical Church of Prussia.He graduated from the Albertus University of Königsberg in 1847 where he attended the mathematico-physical seminar directed by Carl Gustav Jacob Jacobi, Franz Ernst Neumann and Friedrich Julius Richelot.In the same year, he moved to Berlin, where he stayed until he received a professorship at Breslau.