2. Integers

2.1 Specification: integer

An integer is any whole number. An integer can be zero, greater than zero or less than zero.

2.1.1 Remark Note that this is not a formal definition; it is assumed that you are familiar with the integers and their basic properties.

2.1.2 Example $-3$, $0$, $55$ and one million are integers.

2.2 Definition: Properties of integers

For any integer $n$:

a) $n$ is positive if $n >0$.

b) $n$ is negative if $n <0$.

c) $n$ is nonnegative if $n \geq 0$.

d) An integer $n$ is a natural number if $n$ is nonnegative.

2.2.1 Usage

a) A few authors define zero to be both positive and negative, but that is not common mathematical practice in the USA.

b) In pure mathematics the phrase “natural number” historically meant positive integer, but the meaning “nonnegative integer” used in this book has become more common in recent years.

The following theorem records some familiar facts.

2.3 Theorem

If $m$ and $n$ are integers, then so are $m+n$, $m-n$ and $mn$. If $m$ and $n$ are not both zero and $n$ is nonnegative, then $m^{n}$ is also an integer.

2.3.1 Remarks

a) In this text, $0^{0}$ is undefined.

b) Observe that $m^{n}$ may not be an integer if $n$ is negative.

2.3.2 Exercise Describe precisely all integers $m$ and $n$ for which $m^{n}$ is an integer. Note that Theorem 2.3 does not quite answer this question!

Page 3 of the book (PDF).