Sub topic 3
Even and Odd in Products
Assume you know what an integer is and can use divisibility and remainders. In this chapter, parity means whether an integer is even or odd. A product is the result of multiplying factors.
The central product rules are:
- A product is even if at least one factor is even.
- A product is odd only if every factor is odd.
- A product is odd if and only if every factor is odd.
These rules include zero and negative integers. Zero is even, so any product containing zero is even. The sign of a factor does not affect its parity.
Why the Rules Work
An even integer can be written as \(2k\), where \(k\) is an integer. An odd integer can be written as \(2k+1\).
If one factor is even, write it as \(2k\). For any integer \(m\),
\[ (2k)m = 2(km), \]
so the product has a factor of 2 and is even.
If both factors are odd, write them as \(2a+1\) and \(2b+1\):
\[ (2a+1)(2b+1)=4ab+2a+2b+1. \]
The first three terms are even, and the final 1 makes the entire expression odd.
| Factor 1 | Factor 2 | Product |
|---|---|---|
| even | even | even |
| even | odd | even |
| odd | even | even |
| odd | odd | odd |
For three or more factors, the same rule continues. The product is odd exactly when every factor is odd. If even one factor is even, the whole product is even.
A Remainder View
When an integer is divided by 2, its remainder is either 0 or 1.
- Even integers have remainder 0.
- Odd integers have remainder 1.
For products, multiply these remainders:
- \(0 \times 0 = 0\)
- \(0 \times 1 = 0\)
- \(1 \times 0 = 0\)
- \(1 \times 1 = 1\)
The final remainder identifies the parity of the product.
for a in (0, 1):
for b in (0, 1):
print(a, b, (a + b) % 2, (a * b) % 2)In this program, the last number on each line is the remainder of the product modulo 2. The product is odd only in the row where both inputs are 1.
Common Errors
A frequent mistake is reversing the first rule. An even product does not mean every factor is even. For example,
\[ 6 \times 5 = 30 \]
is even, although 5 is odd. One even factor is enough.
Likewise, an even product does not prove that a particular factor is even unless the other factor is known to be odd. If \(xy\) is even, then at least one of \(x\) and \(y\) is even, but either one could be the even factor.
Negative integers follow the same parity rules:
\[ (-3)(-5)=15 \quad \text{is odd} \]
because both factors are odd, while
\[ (-4)(7)=-28 \quad \text{is even} \]
because one factor is even.
In GRE Quantitative Comparison questions, check whether the variables are stated to be integers. Parity applies only to integers. A fraction such as \(1/2\) is neither even nor odd.
Exercise
If x and y are integers, x is odd, and xy is even, what must be true about y?
Show answer
y must be even. Since x is odd, the product can be even only if the other factor, y, is even.