To Mary Somerville   [8 March 1831]

Slough March 8 1831

Dear Madam,

If you have any doubt about Pontecoulant’s method of indeterminate coefficients, (I have not his book), your better way will be to abandon it altogether and throw yourself on the broad principles of Laplace as laid down in No43 of the 2nd book of the Mec. Cel. , or as he has explained it rather more clearly I think, than in the condensed and general form in which it is stated in the Mec. Cel. in the Mem Acad. Sci. 1772 P373 in a very beautiful memoir, which I would recommend you to look at.

The outline of the principle is this. — Direct approximation leads to an integral consisting of terms of 2 kinds, periodical and algebraic — the former of the form sin or cos(A+Bt) The latter of t,t2 &c But never any term of the form sin, cos(A+Bt+Ct2) (If such a term as the latter could occur, the method would be inapplicable, but by tracing the approximation step by step we shall easily see that no such term can arise. This ought to be very plainly stated in illustrating the principles to elementary readers).

By thus having one or two steps of approx[imatio]n we discover the General form of the integral of diydti+P+αQ=0 to be1 y=&c+(A+Bt+Ct2+&c)sin[cos](m+NT)+&c

Now therefore let such a general series be substituted for y and Since t only enters in the periodical terms of the 1st degree, no power of t can be produced by differentiation but what arose from parts without the sin & cos nor can any of the terms out of the [illegible] sin, cos be ever introduced into them by such an operation. Consequently, in this substitution we may (for a moment) regard the t out of and the t in the sines & cosines as independent and denote them by different letters such as ν and t and then we have y=(A+Bν+Cν2+&c)×sin[cos](m+nt) [Where dtdt=dνdt ].

2) Now this substitution being made as above in iyti+P+αQ=0 an equation of the form 0=k+k′ν+k″ν2+&c must evidently arise, where k,k′,&c are terms composed of sin[cos](m+NT)&c and it is evident that if we can determine the assumed series so as to make k=0,k′=0,k″=0 &c all will be right and ν will go out.

Instead of putting y=(A+Bt+Ct2...)sin[cos](m+Nt) we may write it as Laplace does y=X+tY+t2Z+&c where X,Y,Z are periodic terms of the form sin or cos(m+NT) or series of such terms, and the same reasoning still subsists — when substituted the result will still be an equation such as k+k′ν+k″ν2+&c=0 and we may then suppose y=X+νY+ν2Z+&c provided after the differentiations we make ν=t. Now this comes to the same as supposing ν=t+const or (tθ) and thus if y=X+tY+t2Z+&c satisfy the eqn then y=X+(tθ)Y+(tθ)2Z+&c will satisfy it also

The next step is this. θ is an arbitrary constant. But by supposition y=X+tY+t2Z+&c is the complete integral — therefore the zero arbitrary constant θ is only apparently so — therefore it must be a function of the other arbitraries c,c′,c″ &c contained in yTherefore, reciprocally, if X+(tθ)Y+(tθ)2Z+&c be capable of being regarded as a transformation of X+tY+t′Z+&c, then c,c′,&c must be certain functions of θ, and X,Y,Z being functions of c,c′,&c must also be functions of θ — such functions may always found, or supposed.

It is therefore [illegible] to assume for c,c′,&c such functions of θ as shall make X+Y(tθ)+Z(tθ)2+&c a legitimate transformation of X+Yt+Zt2+&c.

3rd step Now if this transformation be generally possible as an algebraic truth it will be still true (being independent of θ’s particular value) when θ=t & in that case we have y=X; observing that in this expression X which is a function of c,c′,&c and thereby a function of θ becomes now a function of t of a quite different nature from what it was before by writing t for θ.

If then the nature of X regarded as a function of θ, as well as of periodical functions of t can be found — such as X=ϕ(t,θ) then will the [illegible] value of y be y=ϕ(t,t).

The problem is reduced to this

XYZ&c & are functions of cc′c″&c of a given form cc′c″& are functions of θ of an unknown form (to be found by the condition that X+tY+t2Z&c=X+(tθ)Y+(tθ)2Z+&c is an equation to be verified independent of particular values of t & θ. Req[d] the forms of X,c,c′,c″&c in θ,t

now it will be observed that this equation being to be made identical in θ, the 1st member does not explicitly contain it, and therefore the 2d when developed in θ may have all the differential coefficients =0 to that we see developing

X+Yt+Zt2+&c=X+Yt+Zt2+&c+θ{dXdθY}+θ2{d2X12dθ2dY1dt+Z}+&c

Comparing Like terms and destroying the powers of θ we see Y=dXdθ ; whence Yt=d2Xdθ2 so that 2Z=dYdθ , &c which are the same equations Laplace gets by a somewhat different consideration.

Step 5. Thus Y,Z,&c are given in functions of θ when X is once so expressed, and its differential coefficients. These diff[erentia]l coefficients however it will be observed will involve terms arising from c,c′,c″,&c as follows dXdθ=dXdcdcdθ+dXdc′dc′dθ+&c

dYdθ=dYdcdcdθ+dYdc′dc′dθ+&c

Now if any of the of the c enter into a periodic term as a constant as for instance in the term cos or sin(ct+const) and if X,Y,&c either of them contain such a term, there will arise a term in dXdθ of the form t×sinorcos(ct+const)×dcdθ containing the arc t and therefore the general form of dXdθ will be dXdθ=X′+TX″ and so of the rest.

So the equations determining the identity in question take the form

Y=X′+θX″ 2Z=Y′+θY″+X″

(for the way in which θ gets in here instead of t see Laplace. There is no difficulty about it).

Step 6. In these X′,X″,Y′,Y″,&c are composed entirely of periodic terms in t and linear terms of the form dcdθ,dc′dθ′,&c

Now the object is 1st to get the values of these & thence by substitution in X,Y,&c those of the latter in terms of θ. To this end, we observe, 1st that t and θ are independent 2nd that each equation is linear in dcθ,&c&θ so that they are in fact a system of simultaneous linear differential equations in c,c′,c″,&c by whose integration (regarding t as arbitrary & independent and treating c,c′,&c and θ as the variables. These may be had moreover since t is arbitrary any of these equations may be differentiated with regard to t alone, & thus equations of greater simplicity obtained.

I think this is about the [illegible] view of Laplace’s method, but it is delicate & should be explained in full detail. It is extraordinary to me how I have forgot these things. I was once very familiar with this part of the Mec. Cel. — and yet I always found some thing catching in the reasoning & I know by experience how easy it is to make a slip in it.

I am much flattered by your & Sir J Macktintosh’s approbation of my book — one word of such praise is worth a whole volume of newspaper & magazine puffering with which it has been treated & which really had made me almost feel that I must have written something very foolish. But you reassure me. With comp[limen]ts to Dr S in which Mrs H joins, I am, dear Madam,

J F W Herschel

Please cite as “Herschel2652,” in Ɛpsilon: The Sir John Herschel Collection accessed on 25 April 2024, https://epsilon.ac.uk/view/herschel/letters/Herschel2652