Halley’s mind at the same time was busy with the momentous problem of gravity, upon which Isaac Newton was working then. Independently of Newton, Halley reached the conclusion that the central force of the Solar System must decrease inversely as the square of the distance. Having applied vainly to his fellow astronomers, Hooke and Wren, Halley in August, 1684, made a special journey to Cambridge to consult Isaac Newton, who confirmed his conjectures.

Halley and Newton became life-long friends. Halley had Newton elected to the Royal Society, and when Newton became too poor to pay his quarterly dues, Halley, through his influence with the leading members of the Society, had them remitted. It was Halley who encouraged Newton to put his momentous discovery and elucidation of the forces of gravity into permanent form in his “Principia,” the first volume of which, “De Motu,” was presented to the Royal Society at Halley’s suggestion.

In the proceedings of the Royal Society for December, 1684, there is an entry that “Mr. Halley had lately seen Mr. Newton at Cambridge, who had told him of a curious treatise ‘De Motu,’ which at Mr. Halley’s desire he promised to send to the Society to be entered upon their register. Mr. Halley was desired to put Mr. Newton in mind of his promise for the securing this invention to himself, till such time as he could be at leisure to publish it.”

Early in the following year Newton sent his treatise to the Society, to whom it was read aloud by Halley. This treatise “De Motu” was the germ of the “Principia” and was intended to be a short account of what the greater work was to embrace.

During the next two years Newton was hard at work on his “Principia,” while Halley was equally hard at work on his computations of the Comet of 1682, and on his theory of the orbits and the periodical returns of Comets which grew out of his observations.

On April 21, 1686, Halley read to the Royal Society his own “Discourse Concerning Gravity and its Properties,” in which he stated that his “worthy countryman, Mr. Issac Newton, has an incomparable treatise on Motion almost ready for the press,” and that the law of the inverse square “is the principle on which Mr. Newton has made out all the phenomena of the celestial motions so easily and naturally that its truth is past dispute.”

Shortly afterward Newton sent in the manuscript of his great work. The Society voted “that a letter of thanks be written to Mr. Newton and that the printing of his book be referred to the consideration of the council and that in the meantime the book be put into the hands of Mr. Halley.”

The truth was that the Royal Society, at that time, did not have money enough to print the book. The Society went through the empty form of “ordering” that the book be printed “forthwith,” but no printer was forthcoming until Halley himself undertook the publication of the great work at his own expense.

The delicacy of Halley’s feeling is revealed by his correspondence with Newton, in which he informed Newton that the book had “been ordered to be printed at the Society’s charge.” The preliminary delay about printing he explained to Newton “arose from the President’s attendance on the King, and the absence of the vice-presidents, whom the good weather had drawn out of town.”

Later Newton came to realize how much he owed to Halley in this matter. In his letters to Halley henceforth he always referred to his book as if it had been Halley’s book. When the great work was finished at last Newton wrote to Halley under the date of July 5, 1687: “I have at length brought your book to an end, and hope it will please you.”