The connection of mathematics with logic, according to the above account, is exceedingly close. The fact that all mathematical constants are logical constants, and that all the premisses of mathematics are concerned with these, gives, I believe, the precise statement of what philosophers have meant in asserting that mathematics is à priori. The fact is that, when once the apparatus of logic has been accepted, all mathematics necessarily follows. The logical constants themselves are to be defined only by enumeration, for they are so fundamental that all the properties by which the class of them might be defined presuppose some terms of the class. But practically, the method of discovering the logical constants is the analysis of symbolic logic, which will be the business of the following chapters. The distinction of mathematics from logic is very arbitrary, but if a distinction is desired, it may be made as follows. Logic consists of the premisses of mathematics, together with all other propositions which are concerned exclusively with logical constants and with variables but do not fulfil the above definition of mathematics (§ 1). Mathematics consists of all the consequences of the above premisses which assert formal implications containing variables, together with such of the premisses themselves as have these marks. Thus some of the premises of mathematics, e.g. the principle of the syllogism, if

will belong to mathematics, while others, such as `p` implies `q` and `q` implies `r`, then `p` implies `r`,implication is a relation,

will belong to logic but not to mathematics. But for the desire to adhere to usage, we might identify mathematics and logic, and define either as the class of propositions containing only variables and logical constants; but respect for tradition leads me rather to adhere to the above distinction, while recognizing that certain propositions belong to both sciences.(§ 10 ¶ 1)

From what has now been said, the reader will perceive that the present work has to fulfil two objects, first, to show that all mathematics follows from symbolic logic, and secondly to discover, as far as possible, what are the principles of symbolic logic itself. The first of these objects will be pursued in the following Parts, while the second belongs to Part I. And first of all, as a preliminary to a critical analysis, it will be necessary to give an outline of Symbolic Logic considered simply as a branch of mathematics. This will occupy the following chapter.(§ 10 ¶ 2)

The Principles of Mathematics was written by Bertrand Russell, and published in in 1903. It is now available in the Public Domain.