The same difficulty arises in many scientific processes. Given any two numbers, we may by a simple and infallible process obtain their product; but when a large number is given it is quite another matter to determine its factors. Can the reader say what two numbers multiplied together will produce the number 8,616,460,799? I think it unlikely that anyone but myself will ever know; for they are two large prime numbers, and can only be rediscovered by trying in succession a long series of prime divisors until the right one be fallen upon. The work would probably occupy a good computer for many weeks, but it did not occupy me many minutes to multiply the two factors together. Similarly there is no direct process for discovering whether any number is a prime or not; it is only by exhaustively trying all inferior numbers which could be divisors, that we can show there is none, and the labour of the process would be intolerable were it not performed systematically once for all in the process known as the Sieve of Eratosthenes, the results being registered in tables of prime numbers.
The immense difficulties which are encountered in the solution of algebraic equations afford another illustration. Given any algebraic factors, we can easily and infallibly arrive at the product; but given a product it is a matter of infinite difficulty to resolve it into factors. Given any series of quantities however numerous, there is very little trouble in making an equation which shall have those quantities as roots. Let a, b, c, d, &c., be the quantities; then (x - a)(x - b)(x - c)(x - d) . . . = 0 is the equation required, and we only need to multiply out the expression on the left hand by ordinary rules. But having given a complex algebraic expression equated to zero, it is a matter of exceeding difficulty to discover all the roots. Mathematicians have exhausted their highest powers in carrying the complete solution up to the fourth degree. In every other mathematical operation the inverse process is far more difficult than the direct process, subtraction than addition, division than multiplication, evolution than involution; but the difficulty increases vastly as the process becomes more complex. Differentiation, the direct process, is always capable of performance by fixed rules, but as these rules produce considerable variety of results, the inverse process of integration presents immense difficulties, and in an infinite majority of cases surpasses the present resources of mathematicians. There are no infallible and general rules for its accomplishment; it must be done by trial, by guesswork, or by remembering the results of differentiation, and using them as a guide.
Coming more nearly to our own immediate subject, exactly the same difficulty exists in determining the law which certain things obey. Given a general mathematical expression, we can infallibly ascertain its value for any required value of the variable. But I am not aware that mathematicians have ever attempted to lay down the rules of a process by which, having given certain numbers, one might discover a rational or precise formula from which they proceed. The reader may test his power of detecting a law, by contemplation of its results, if he, not being a mathematician, will attempt to point out the law obeyed by the following numbers:
These numbers are sometimes in low terms, but unexpectedly spring up to high terms; in absolute magnitude they are very variable. They seem to set all regularity and method at defiance, and it is hardly to be supposed that anyone could, from contemplation of the numbers, have detected the relations between them. Yet they are derived from the most regular and symmetrical laws of relation, and are of the highest importance in mathematical analysis, being known as the numbers of Bernoulli.
Compare again the difficulty of decyphering with that of cyphering. Anyone can invent a secret language, and with a little steady labour can translate the longest letter into the character. But to decypher the letter, having no key to the signs adopted, is a wholly different matter. As the possible modes of secret writing are infinite in number and exceedingly various in kind, there is no direct mode of discovery whatever. Repeated