And an answer, of utter simplicity and universality, is suggested by the example we have taken: a burnt child dreads the fire. We may go beyond experience by assuming that what we do not know is like what we do know; or, in other words, we may add to our experience on the assumption of a uniformity in nature. What this uniformity precisely is, how we grow in the knowledge of it from generation to generation, these are questions which for the present we lay aside, being content to examine two instances which may serve to make plainer the nature of the rule.

From certain observations made with the spectroscope, we infer the existence of hydrogen in the sun. By looking into the spectroscope when the sun is shining on its slit, we see certain definite bright lines: and experiments made upon bodies on the earth have taught us that when these bright lines are seen hydrogen is the source of them. We assume, then, that the unknown bright lines in the sun are like the known bright lines of the laboratory, and that hydrogen in the sun behaves as hydrogen under similar circumstances would behave on the earth.

The Scientific Basis of Morals, and other essays. — Part 55

But are we not trusting our spectroscope too much? Surely, having found it to be trustworthy for terrestrial substances, where its statements can be verified by man, we are justified in accepting its testimony in other like cases; but not when it gives us information about things in the sun, where its testimony cannot be directly verified by man?

The Scientific Basis of Morals, and other essays. — Part 55

Certainly, we want to know a little more before this inference can be justified; and fortunately we do know this. The spectroscope testifies to exactly the same thing in the two cases; namely, that light-vibrations of a certain rate are being sent through it. Its construction is such that if it were wrong about this in one case, it would be wrong in the other. When we come to look into the matter, we find that we have really assumed the matter of the sun to be like the matter of the earth, made up of a certain number of distinct substances; and that each of these, when very hot, has a distinct rate of vibration, by which it may be recognized and singled out from the rest. But this is the kind of assumption which we are justified in using when we add to our experience. It is an assumption of uniformity in nature, and can only be checked by comparison with many similar assumptions which we have to make in other such cases.

The Scientific Basis of Morals, and other essays. — Part 55