A perusal of the letters which passed between Gregory and Collins will show that one of the final subjects to be discussed was the theory of equations. Ever since the famous discoveries of solutions for cubic and biquadratic equations by Scipio Ferro, Tartaglia and Cardan, of the Italian school, mathematicians of all countries had attempted a generalization, and particularly addressed themselves to find an algebraic solution of the quintic equation. A noteworthy attempt on the quintic and the sextic was made, for example, by Tschirnhausen (1651-1708), who even solved the problem in the case when the second and third highest terms were absent, publishing his results in the 'Acta Eruditorum' of 1683. This led him to hope for equal success in the general case of the quintic and sextic, but Leibniz warned him against setting his hopes too high. It was not, indeed, until the beginning of the nineteenth century that the matter was settled, when Abel demonstrated the impossibility of such a solution, in general, for the quintic and higher equations.

It now appears, from a study of three unpublished manuscripts of James Gregory, which have found their way respectively to the libraries of the universities of Edinburgh and St Andrews and that of the Royal Society at Burlington House, that the subject attracted the serious attention of Gregory, especially during the last six months of his life. These three manuscripts give a new way of solving the cubic and biquadratic equations, together with a remarkable attempt upon the quintic. A comparison between these notes and the allusions contained in the letters of Gregory and Collins, from May to October, 1675, make it evident that Gregory believed he had hit upon a general algebraic solution for all orders. "I have now abundantly satisfied myself in these things I was searching after in the analytics, which are all about reduction and solution of equations. It is possible that I flatter myself too much, when I think them of some value, and therefore am sufficiently inclined to know others' thoughts," as he writes in May, 1675. A week or two later Tschirnhausen, then a young man of twenty-four years, arrived in London, to spend the summer in a search for the solution of all equations up to the eighth dimension. Collins, who gave a picturesque description of their meeting and conversation, heard of the universal method of Tschirnhausen but only received, apparently, a few trivial examples which he passed on to Gregory, who, in turn, replied in his letter to Collins, dated August 20, in generous terms: "This gentleman's universal method, when it comes to be public, may be more compendious than mine."

Gregory solved the cubic by reducing it rationally to a quadratic, and solved the biquadratic by a corresponding transformation to a cubic. These transformations he called canons: they differ for each dimension, and the labour of carrying them out "increases at a strange rate as the dimensions augment." He went so far as to propose to Collins that the canons of the first ten dimensions be calculated; and, by October, Collins had agreed to persuade Dary to do this, if the necessary rules and demonstrations were communicated to them by Gregory. But the sudden death of Gregory left this project unfulfilled: nor did Collins ever receive particulars of the method. The papers later fell into the hands of David Gregory, the nephew of James, who made some comments on them but never published them.

Evidently James Gregory believed that he could reduce a quintic to a quartic, and, more generally, an *n*-ic to a lower equation. His method depended on a series of eliminations, which he carried out fully for the cubic and biquadratic, but only partially for the quintic. A complete elimination would inevitably have disclosed the need for solving a sextic before the end was achieved, and would have convinced Gregory that his general method failed for *n* > 4. Had Dary, an energetic and skilled computer, embarked upon this enterprise, a highly interesting development in the theory of equations would have followed.

Actually Gregory did not set too great store by this general method: for, as he wrote in his very last letter to Collins, "I have a method of series going very far beyond it, and, to be ingenuous, I think one of its greatest uses is by drawing learned men from this contemplation which busied so many fine wits."

**Cubic equations:**

Given *x*^{3} + *q*^{2}*x* + *r*^{3} = 0 put *x* = *z* + *v*. From this is made the following equation

*v*

^{3}+ 3

*zv*

^{2}+ (

*q*

^{2}+ 3

*z*

^{2})

*v*+ (

*z*

^{3}+

*q*

^{2}

*z*+

*r*

^{3}) = 0.

*v*

^{3}+

*av*

^{2}+

*b*

^{2}

*v*+

*c*

^{3}to obtain

*v*

^{6}+ (3

*z*+

*a*)

*v*

^{5}+ (

*q*

^{2}+ 3

*z*

^{2}+ 3

*za*+

*b*

^{2})

*v*

^{4}+ (

*z*

^{3}+

*q*

^{2}

*z*+

*r*

^{3}+

*q*

^{2}

*a*+ 3

*zb*

^{2}+

*c*

^{3}+ 3

*az*

^{2})

*v*

^{3}+ (

*z*

^{3}

*a*+

*q*

^{2}

*za*+

*r*

^{3}

*a*+

*b*

^{2}

*q*

^{2}+ 3

*z*

^{2}

*b*

^{2}+ 3

*c*

^{3}

*z*)

*v*

^{2}+ (

*b*

^{2}

*z*

^{3}+

*b*

^{2}

*q*

^{2}

*z*+

*b*

^{2}

*r*

^{3}+

*c*

^{3}

*q*

^{2}+3

*c*

^{3}

*z*

^{2})

*v*+ (

*c*

^{3}

*z*

^{3}+

*c*

^{3}

*q*

^{2}

*z*+

*c*

^{3}

*r*

^{3}) = 0.

*v*

^{5},

*v*

^{4},

*v*

^{2},

*v*to 0 to obtain a quadratic in

*v*

^{3}

*z*+

*a*= 0,

(2) *q*^{2} + 3*z*^{2} + 3*za* + *b*^{2} = 0,

(3) *z*^{3}*a* + *q*^{2}*za* + *r*^{3}*a* + *b*^{2}*q*^{2} + 3*z*^{2}*b*^{2} + 3*c*^{3}*z* = 0,

(4) *b*^{2}*z*^{3} + *b*^{2}*q*^{2}*z* + *b*^{2}*r*^{3} + *c*^{3}*q*^{2} + 3*c*^{3}*z*^{2} = 0.

*a*is removed both from the second and the third, the second equation becomes -

*q*

^{2}+ 6

*z*

^{2}=

*b*

^{2}, and the third

*z*

^{4}- 3

*q*

^{2}

*z*

^{2}- 3

*r*

^{3}

*z*+

*b*

^{2}

*q*

^{2}+ 3

*b*

^{2}

*z*

^{2}+ 3

*c*

^{3}

*z*= 0.

*b*

^{2}= 6

*z*

^{2}-

*q*

^{2},

*b*^{2} = (3*z*^{4} + 3*q*^{2}*z*^{2} + 3*r*^{3z} - 3*c*^{3}*z*)/(*q*^{2} + 3*z*^{2}),

[-]*b*^{2} = (*q*^{2}*c*^{3} + 3*c*^{3}*z*^{2})/(*z*^{3} + *q*^{2} + *r*^{3}).

*b*,

*z*

^{4}-

*q*

^{4}- 3

*r*

^{3}

*z*+ 3

*c*

^{3}

*z*= 0,

6*z*^{5} + 5*q*^{2}*z*^{3} + 6*r*^{3}*z*^{2} - *q*^{4}*z* - *q*^{2}*r*^{3} + *q*^{2}*c*^{3} + 3*z*^{2}*c*^{3} = 0.

*c*

^{3},

*c*

^{3}= (15

*z*

^{4}-

*q*

^{4}- 3

*r*

^{3}

*z*)/3

*z*,

-*c*^{3} = (6*z*^{5} + 5*q*^{2}*z*^{3}+ 6*r*^{3}*z*^{2} - *q*^{4}*z* -*q*^{2}*r*^{3})/(*q*^{2} + 3*z*^{2})

*z*

^{6}- 27

*r*

^{3}

*z*

^{3}-

*q*

^{6}= 0.

**Quartic equations:**

Given *x*^{4} + *q*^{2}*x*^{2} + *r*^{3}*x* + *s*^{4} = 0. Let *x* = *z* + *v*; hence the following equation

*v*

^{4}+ 4

*zv*

^{3}+ (

*q*

^{2}+ 6

*z*

^{2})

*v*

^{2}+ (4

*z*

^{3}+ 2

*q*

^{2}

*z*+

*r*

^{3})

*v*+(

*z*

^{4}+

*q*

^{2}

*z*

^{2}+

*r*

^{3}

*z*+

*s*

^{4}) = 0.

*v*

^{2}+

*av*+

*b*

^{2}, so that

*v*

^{6}+ (4

*z*+

*a*)

*v*

^{5}+ (

*q*

^{2}+ 6

*z*

^{2}+ 4

*az*+

*b*

^{2})

*v*

^{4}+ (4

*z*

^{3}+ 2

*q*

^{2}

*z*+

*r*

^{3}+

*aq*

^{2}+ 6

*az*

^{2}+ 4

*b*

^{2}

*z*)

*v*

^{3}+ (

*z*

^{4}+

*q*

^{2}

*z*

^{2}+

*r*

^{3}

*z*+

*s*

^{4}+ 4

*az*

^{3}+ 2

*aq*

^{2}

*z*+

*ar*

^{3}+

*b*

^{2}

*q*

^{2}+ 6

*b*

^{2}

*z*

^{2})

*v*

^{2}+ (

*az*

^{4}+

*aq*

^{2}

*z*

^{2}+

*ar*

^{3}

*z*+

*as*

^{4}+ 4

*b*

^{2}

*z*

^{3}+ 2

*b*

^{2}

*q*

^{2}

*z*+

*b*

^{2}

*r*

^{3})

*v*+ (

*b*

^{2}

*z*

^{4}+

*b*

^{2}

*q*

^{2}

*z*

^{2}+

*b*

^{2}

*r*

^{3}

*z*+

*b*

^{2}

*s*

^{4}) = 0.

*v*

^{5},

*v*

^{3},

*v*to 0 to obtain a cubic in

*v*

^{2}

*a*+ 4

*z*= 0,

(2) 4*z*^{3} + 2*q*^{2}*z* + *r*^{3} + *aq*^{2} + 6*az*^{2} + 4*b*^{2}*z* = 0,

(3) *az*^{4} + *aq*^{2}*z*^{2} + *ar*^{3}*z* + *as*^{4} + 4*b*^{2}*z*^{3} + 2*b*^{2}*q*^{2}*z* + *b*^{2}*r*^{3} = 0.

*a*is removed from the rest, the following are formed

*z*

^{3}+ 2

*q*

^{2}

*z*-

*r*

^{3}- 4

*b*

^{2}

*z*= 0,

4*z*^{5} + 4*q*^{2}*z*^{3} + 4*r*^{3}*z*^{2} + 4*s*^{4}*z* - 4*b*^{2}*z*^{3} - 2*b*^{2}*q*^{2}*z* - *b*^{2}*r*^{3} = 0,

*b*

^{2}= (20

*z*

^{3}+ 2

*q*

^{2}

*z*-

*r*

^{3})/4

*z*,

*b*^{2} = (4*z*^{5} + 4*q*^{2}*z*^{3} + 4*r*^{3}*z*^{2} + 4*s*^{4}*z*)/(4*z*^{3} + 2*q*^{2}*z* + *r*^{3})

*z*

^{6}+ 32

*q*

^{2}

*z*

^{4}+ (4

*q*

^{4}- 16

*s*

^{4})

*z*

^{2}-

*r*

^{6}= 0.

**Quintic equations:**

Given *x*^{5} + *q*^{2}*x*^{3} + *r*^{3}*x*^{2} + *s*^{4}*x* + *t*^{5} = 0 put *x* = *z* + *v*, *x*^{2} = *z*^{2} + 2*zv* + *v*^{2}, *x*^{3} = *z*^{3} + 3*z*^{2}*v* + 3*zv*^{2} +*v*^{3}, *x*^{5} = *z*^{5} + 5*z*^{4}*v* + 10*z*^{3}*v*^{2} + 10*z*^{2}*v*^{3} + 5 *z* *v*^{4}+ *v*^{5}. From these is made the following equation

*v*

^{5}+ 5

*zv*4 + (10

*z*

^{2}+

*q*

^{2})

*v*

^{3}+ (10

*z*

^{3}+ 3

*q*

^{2}

*z*+

*r*

^{3})

*v*

^{2}+ (5

*z*

^{4}+ 3

*q*

^{2}

*z*

^{2}+ 2

*r*

^{3}

*z*+

*s*

^{4})

*v*+ (

*z*

^{5}+

*q*

^{2}

*z*

^{3}+

*r*

^{3}

*z*

^{2}+

*s*

^{4}

*z*+

*t*

^{5}) = 0.

*v*

^{15}+

*av*

^{14}+

*b*

^{2}

*v*

^{13}+

*c*

^{3}

*v*

^{12}+

*d*

^{4}

*v*

^{11}+

*e*

^{5}

*v*

^{10}+

*f*

^{6}

*v*

^{9}+

*g*

^{7}

*v*

^{8}+

*h*

^{8}

*v*

^{7}+

*k*

^{9}

*v*

^{6}+

*l*

^{10}

*v*

^{5}+

*m*

^{11}

*v*

^{4}+

*n*

^{12}

*v*

^{3}+

*p*

^{13}

*v*

^{2}+

*D*

^{14}

*v*+

*q*

^{15}= 0.

*v*,

*z*,

*a*,

*b*, etc.); and since the resulting 16 equations and the one given make 17, it is clear that with the help of these operations all the unknown quantities can be removed except any one namely

*v*. If this is done, a value of

*v*will be given by a biquadratic equation having a quintic root: and so the value of

*v*will be given with the help of a biquadratic equation, all whose terms are explicit, and a pure quintic.

Also the value of *z* will be given in rejecting the unknown quantities; namely when *a* is rejected a duplicate value 5*z* is found for the same, which can more easily be picked out. Therefore *x* = *z* - *v* is given since both *z* and *v* are made known: and hence it is clear in what manner the quintic equation can be reduced to a biquadratic, if only someone may be found who would not recoil from such labour.

*v*

^{20}+ (5

*z*+

*a*)

*v*

^{19}+ (10

*z*

^{2}+

*q*

^{2}+ 5

*az*+

*b*

^{2})

*v*

^{18}+ (10

*z*

^{3}+ 3

*q*

^{2}

*z*+

*r*

^{3}+ 10

*az*

^{2}+

*aq*

^{2}+ 5

*b*

^{2}

*z*+

*c*

^{3})

*v*

^{17}+ ... = 0

Equate the coefficients of *v*^{19}, *v*^{18}, *v*^{17}, *v*^{16}, *v*^{14}, *v*^{13}, ... to 0 to obtain

*a*= 5

*z*

*b*

^{2}= 15

*z*

^{2}-

*q*

^{2}

[-]

*c*

^{3}= 35

*z*

^{3}- 7

*q*

^{2}

*z*+

*r*

^{3}

*d*

^{4}= 70

*z*

^{4}- 163

*q*

^{2}

*z*

^{2}+ 8

*r*

^{3}

*z*-

*s*

^{4}+10

*q*

^{4}

*f*

^{6}= -420

*z*

^{6}+ 1560

*q*

^{2}

*z*

^{4}- 60

*v*

^{3}

*z*

^{3}+ 45

*q*

^{4}

*z*

^{2}- 10

*q*

^{2}

*r*

^{3}

*z*+ 5

*t*

^{5}

*z*+ 2

*q*

^{2}

*s*

^{4}+

*r*

^{6}- 10

*q*

^{6}- 5

*ze*

^{5}

*g*

^{7}= -1580

*z*

^{7}+ etc. [Gregory gives 14 terms]

*h*

^{8}= [Gregory gives the whole expression]

**Explanation.**

Gregory takes a cubic *f* (*x*) = *x*^{3} + *q*^{2}*x* + *r*^{3}, from which the second term is absent, and later a similar biquadratic and quintic. The exponents of the coefficients accord with his usual idiom, rendering the results homogeneous and virtually acting as the weight-suffixes of Cayley and Sylvester. Next Gregory puts *x* = *z* + *v* and multiplies the resulting cubic in *v* by an arbitrary cubic *y*(*v*) = *v*^{3} + *av*^{2} + *b*^{2}*v* + *c*^{3}. (For the biquadratic he takes *y*(*v*) to be an arbitrary quadratic, and, for the quintic, a polynomial of degree 15.) The resulting sextic in *v* he majestically arranges in full, and then causes the coefficients of *v*^{5}, *v*^{4}, *v*^{2} and *v* to vanish, so that the sextic becomes a quadratic in *v*^{3}. This gives him four equations for *z*, *a*, *b*, *c* in terms of the known *q* and *r*, from which he eliminates *a*, *b*, *c* in succession, and obtains the relation

*z*

^{6}- 27

*r*

^{3}

*z*

^{3}-

*q*

^{6}= 0.

*b*

^{2}and in the next for

*c*

^{3}, but the final result is correct. In the Gregory volume at Edinburgh, which contains a duplicate note in his handwriting, the signs have been corrected, and an additional remark is added, that

*a*= -3

*z*,

*b*

^{2}= 6

*z*

^{2}-

*q*

^{2},

*c*

^{3}=

*r*

^{3}- 5

*z*

^{3}+

*q*

^{4}/3

*z*.

*x*=

*q*

^{2}/3

*z*-

*z*leads to this quadratic for

*z*

^{3}in place of the original cubic in

*x*.

For the biquadratic Gregory builds up a sextic in *v*, involving three unknowns, *z*, *a*, *b* where *x* = *z* + *v*, *y*(*v*) = *v*^{2} + *av* + *b*^{2}. By equating coefficients of *v*^{5}, *v*^{3}, *v* to zero he obtains three relations, whence *a* and *b* are eliminated and a cubic in *z*^{2} remains:

*z*

^{6}+ 32

*q*

^{2}

*z*

^{4}+ (4

*q*

^{4}- 16

*s*

^{4})

*z*

^{2}-

*r*

^{6}= 0.

*z*

^{2}, values of

*v*

^{2}and of

*x*can be found.

These notes on the cubic and biquadratic occur practically in duplicate upon two sheets of foolscap paper, one in the St Andrews manuscript and one in the Edinburgh manuscript, the former occupying the back of a letter from Collins. On the back of the latter is a further note .... In the London manuscript, alone, the attempt on the quintic appears, elaborately written out across the double page. Some comments by David Gregory, the nephew of James Gregory, occur on the back of this sheet.

The method of dealing with the quintic is clear from Gregory's own statement. He multiplies *F*(*v*), his quintic in *v*, by an arbitrary quantic *y*(*v*) of order 15 so as to get the order 20, which is the L.C.M. of 5 and 4, and thereby, after specializing the coefficients, to produce a biquadratic in *v*^{5}. Unfortunately the elimination processes would have yielded at least one irreducible equation of degree 6, had the attempted work been completed: and thus the hoped-for solution - by lowering the degree from 5 to 4 - would have had to be abandoned. It may also be remarked that, to complete the theory of the cubic and biquadratic, it would be necessary to show that the values of *z* and *v*, so found, would yield roots of the original equation, and not merely those of the arbitrary factor *y*(*v*). Doubtless Gregory would have done this, had he lived to publish the work. The whole matter reveals the workings of a mind possessing deep insight into polynomial structure. One cannot but be impressed with the breadth and vigour of the conception, a veritable unfinished symphony, and a true forerunner of the Cayley, Salmon, Sylvester developments in the nineteenth century.

In a Latin note David Gregory comments on this proposed general method of his uncle. He asks two questions:

(2) Why is the degree in

*z*of the final eliminant lower than that of

*x*in the original equation?

On the back of the Edinburgh sheet are a few further notes by James Gregory on the connexion between solving quadratics and ruler and compass constructions.

Presumably Gregory was discussing the problem of drawing a straight line through a vertex of a given square so as to intercept a given length *b* on the line between the two sides remote from the vertex. At any rate he readily gets the equation

*z*

^{4}- 2

*ayz*

^{2}-

*b*

^{2}

*y*

^{2}= 0,

*z*

^{2}-

*ty*)(

*z*

^{2}+

*vy*) = 0.

This gives *v* = *c* - *a*, *t* = *c* + *a* where *c* = √(*a*^{2} + *b*^{2}).

But *z*^{2} = *a*^{2} + *y*^{2}: hence

*y*

^{2}± (

*c*-

*a*)

*y*+

*a*

^{2}= 0.

In this way we see that whenever a biquadratic equation lacks its second and fourth term, but contains one unknown quantity to one dimension[y]in the third and to two[y^{2}]in the last term, it is possible to eliminate the unknown which occurs to four dimensions[z^{4}], and thereby to resolve the said biquadratic into two quadratics, where the unknown quantity is confined to two dimensions. All problems therefore which can be reduced to this are soluble by plane geometry: yet a sure method is wanting whereby in every possible case problems may be reduced to this.