Hermann Schwarz's father was an architect. Hermann studied at the Gymnasium in Dortmund where his favourite subject was chemistry. When he left school he intended to take a degree in chemistry and he entered the Gewerbeinstitut, later called the Technical University of Berlin, with this aim.
Schwarz began his study of chemistry at Berlin but it was not long before Kummer and Weierstrass had influenced him to change to mathematics. The first of his teachers to influence the direction that his research would eventually take was Karl Pohlke. Through him Schwarz became interested in geometry. Schwarz attended Weierstrass's lectures on The integral calculus in 1861 and the notes that Schwarz took at these lectures still exist. His interest in geometry was soon combined with Weierstrass's ideas of analysis. As Bölling writes in :-
... ideas coming from geometrical considerations were translated [by Schwarz] into the language of analysis.
He continued to study in Berlin, being supervised by Weierstrass, until 1864 when he was awarded his doctorate. His doctoral dissertation was examined by Kummer.
While in Berlin, Schwarz worked on minimal surfaces (surfaces of least area), a characteristic problem of the calculus of variations. Plateau published a famous memoir on the topic in 1866 and in the same year Weierstrass established a bridge between the theory of minimal surfaces and the theory of analytic functions. Schwarz had made an important contribution in 1865 when he discovered what is now known as the Schwarz minimal surface. This minimal surface has a boundary consisting of four edges of a regular tetrahedron.
Schwarz continued studying in Berlin for his teacher's training qualification which he completed by 1867. In that year he was appointed as a Privatdozent to the University of Halle. In 1869 he was appointed as professor of mathematics at the Eidgenössische Technische Hochschule in Zürich then, in 1875, he accepted appointment to the chair of mathematics at Göttingen University.
Perhaps surprisingly after Schwarz succeeded Weierstrass accepting a professorship in Berlin in 1892, the balance in favour of the most eminent university in Germany for mathematics, which had undoubtedly been Berlin, began to shift towards Göttingen. There were several reasons for this. Firstly Schwarz failed to keep up his output of mathematical research after his move. Bieberbach in  put it rather well when he wrote that Schwarz retired to Berlin in 1892. That this was the case should not have come as a complete surprise to those making the appointment for Schwarz had published his Complete Works in 1890, two years earlier. Boerner writes in  that:-
... teaching duties and concern for [Schwarz's] many students took so much of his time that he published very little more. A contributing element may have been his propensity for handling both the important and the trivial with the same thoroughness, a trait also evident in his mathematical papers.
We should not give the impression that the only reason for Berlin moving down from being the leading German university for mathematics to become its second university was due to Schwarz. The other effect was Klein whose dynamic leadership in Göttingen made it prosper at the expense of Berlin where Frobenius and Schwarz could not provide the same inspired approach. Perhaps the final sign that Göttingen had overtaken Berlin came in 1902 when Frobenius and Schwarz chose Hilbert to succeed to the Berlin chair which had become vacant on the death of Fuchs. Hilbert turned down the offer, preferring to remain at Göttingen. The Berlin chair was then filled by Schottky but, like Schwarz before him, he had moved to Berlin after his best days for mathematical research were behind him.
Schwarz continued teaching at Berlin until 1918. We shall describe some of his very fine mathematical achievements in a moment, but first we note that he had several interests outside mathematics, although his marriage was a mathematical one since he married Kummer's daughter. Outside mathematics he was the captain of the local Voluntary Fire Brigade and, more surprisingly, he assisted the stationmaster at the local railway station by closing the doors of the trains.
One important area which Schwarz worked on was that of conformal mappings. In 1870 he produced work related to the Riemann mapping theorem. Although Riemann had given a proof of the theorem that any simply connected region of the plane can be mapped conformally onto a disc, his proof involved using the Dirichlet problem. Weierstrass had shown that Dirichlet's solution to this was not rigorous, see  for details. Schwarz's gave a method to conformally map polygonal regions to the circle. Then, by approximating an arbitrary simply connected region by polygons he was able to give a rigorous proof of the Riemann mapping theorem. Schwarz also gave the alternating method for solving the Dirichlet problem which soon became a standard technique. This aspect of Schwarz's work is examined in detail in .
His most important work is a Festschrift for Weierstrass's 70th birthday. Schwarz answered the question of whether a given minimal surface really yields a minimal area. An idea from this work, in which he constructed a function using successive approximations, led Émile Picard to his existence proof for solutions of differential equations. It also contains the inequality for integrals now known as the 'Schwarz inequality', see  for details.
The fact that Schwarz should have come up with a special case of the general result now known as the Cauchy-Schwarz inequality (or the Cauchy-Bunyakovsky-Schwarz inequality) is not surprising for much of his work is characterised by looking at rather specific and narrow problems but solving them using methods of great generality which have since found widespread applications. That he found such general methods says much for his great intuition which was perhaps based on a deep feeling for geometry.
For example the Cauchy-Schwarz inequality appears in arithmetic, geometric and function-theoretic formulations in works of mathematicians such as Bunyakovsky, Cauchy, Grassmann, von Neumann and Weyl. The form in which the inequality is usually presented today:
<x + my, x + my> ≥ 0
with its standard modern proof seems to have been first given by Weyl in 1918.
In answering the problem of when Gauss's hypergeometric series was an algebraic function Schwarz, as he had done so many times, developed a method which would lead to much more general results. It was in this work that he defined a conformal mapping of a triangle with arcs of circles as sides onto the unit disc which is now known as the 'Schwarz function'. This function is an early example of an automorphic function and in this work Schwarz was looking at ideas which led Klein and Poincaré to develop the theory of automorphic functions.
Let us end with quoting Bölling  on Schwarz's character. He writes:-
Schwarz was deeply influenced by Weierstrass. From their correspondence one finds that Schwarz addressed his teacher often with an accuracy going down to the last detail, sometimes almost timidly. Schwarz's demeanour has been described as naive, dramatic, coarse. In spite of giving the impression of self-confidence, he was, in fact, rather insecure and besides, not efficient in business matters.
Article by: J J O'Connor and E F Robertson