In 1855 he accepted a chair of astronomy at both the University of Zürich and the Eidgenössische Technische Hochschule in Zürich. An observatory was opened at Zürich in 1864, largely due to Wolf's efforts, and he was appointed as director.
Wolf wrote on prime number theory and geometry, then later on probability and statistics - a series of papers discussed Buffon's needle experiment in which he estimated π by Monte Carlo methods. We shall return to discuss his statistical contributions later in this article. First, however, we discuss Wolf's main contribution which was his study of the 11 year sunspot cycle.
Heinrich Schwabe was an amateur astronomer in Dessau where he worked as a pharmacist. He observed the Sun because he was trying to find a planet inside the orbit of Mercury. His idea was to detect it when it crossed the disk of the Sun so he began to make a systematic record of the spots on the Sun, every day when visibility allowed, beginning in 1826. By 1843 he had begun to suspect that there was some regularity in the sunspots he was recording and published Solar Observations during 1843 in which he suggested that sunspots might follow a period of about 10 years. Wolf, who at that time was in Bern, was fascinated and in 1847 he began his own observational record of sunspots. In the following year he devised a system which is now known as 'Wolf's sunspot numbers'. This system, which gave a weighted number of sunspots where groups of sunspots were given a higher weight, is still in use for studying solar activity by counting sunspots and sunspot groups. Of course an 11 year cycle requires considerable data and Wolf collected not only current data, but data from historic records from 1610 onwards. From this data Wolf was the first to calculate an accurate length of the cycle, obtaining a value of 11.1 years. In 1852 he became was the co-discoverer of the connection between the sunspot cycle and geomagnetic activity on Earth. He continued to publish reports on sunspot numbers until his death.
Wolf's findings were not well received by his fellow astronomers who argued strongly against his conclusions. However Wolf was totally convinced of his discoveries and the validity of his methods, and of course we know that he was right to remain so. He argued his case strongly against those who were sceptical and those who questioned his methods. One of the reasons that he was able to be so confident was his understanding of statistics and the statistical analysis of the sunspot data. The article  gives an excellent account of this interesting episode. The article  contains an account of another application of statistics made by Wolf.
A book One million facts was published in 1843 which contained an account of Buffon's needle experiment to estimate π, although the book did not attribute the problem to Buffon. Wolf read the account, which is as follows (in the translation given in ):-
On a plane surface draw a sequence of parallel, equally spaced straight lines; take an absolutely cylindrical needle of length a, less than the constant interval d which separates the parallels, and drop it randomly a great number of times on the surface covered by the lines. If one counts the total number q of times the needle has been dropped and notes the number p of time the needle crosses with any one of the parallels, the quantity 2 a . q : p . d will express the ratio π of circumference and diameter all the more precisely the more trials that have been made. The error will be the smallest for a given number of trials if the length a of the needle is equal to one-fourth of the product of the interval length d and the ratio π.Wolf conducted experiments throwing the needle 5000 times, obtaining a value of to be 3.1596. However, more interestingly, Wolf wanted to show that the method of least squares could be used to estimate the error. He published papers in 1849 and 1850 on experiments to compare the experienced probability and the mathematical probability in Versuche zur Vergleichung der Erfahrungswahrscheinlichkeit mit Mathematischen Wahrscheinlichkeit Ⓣ. Riedwyl writes :-
Wolf's (1850) paper, which demonstrates the principle of estimating a parameter in a case where it is not easy to give a mathematical model, was new for his time. In this respect, Wolf's paper can be called a forerunner of the Monte Carlo method.Here is an extract from one of Wolf's 1850 papers (with translation as given in ). Having stated the problem in the form given above he continues:-
... I decided to carry out corresponding series of tests, hoping to obtain, not , but at least new proofs about the rules governing a finite number of trials. On a plate of about one square foot I drew a series of parallels at a distance of 45 mm, and from a knitting needle I broke a piece of 36 mm length - thus getting as close as 1/100 to the ideal ratio according to the instruction above. With this equipment I carried out 3 × 50 trials dropping the needle 100 times each trial and noting each crossing with the parallels. In the first 50 trials I dropped the needle parallel to the parallels on the plate and in the second 50 ones perpendicular to them, whereas in the third 50 trials I sought to induce all kinds of positions by constantly rotating the plate. By this means I obtained the number of crossings between the needle and the parallels on the plate in 100 tosses each.It is likely that only after 1884 was Wolf aware of the history of the problem, and that Buffon was the first to propose it.
The resulting rule was immediately so strong that I felt entitled to apply the method of least squares to the computation of the means. Thus I obtained in the first series of trials for 100 tosses a mean of 21.76 ± 0.64 tosses in which the needle intersected the parallels. In the second series of trials I obtained 71.34 ± 1.25. In the third series of trials I obtained 50.64 ± 0.83. If I compare this with the above formula π = 2a . q / p . d or p = 2 a . q / d π. There results for a = 36, q = 100, and d = 45,
p = 2 . 36 . 100 / 45 π,a number that lies within the error limits of the mean from the third series of trials.
Wolf also made significant contributions to the history of science. He discovered where the correspondence of Johann Bernoulli and several other of the younger Bernoullis was stored and, as a result, this correspondence was later published. Burckhardt writes :-
Upon the establishment of the Zürich Polytechnikum he was named head librarian; during his tenure he assembled a valuable collection of early printed books on astronomy, mathematics, and other branches of science.
Article by: J J O'Connor and E F Robertson