Question #82163

Prove that every composite number in Z is reducable

Expert's answer

ANSWER on Question #82163 – Math – Combinatorics – Number Theory

QUESTION

Prove that every composite number in Z\mathbb{Z} is reducable.

SOLUTION

**Theorem 1.1** (Unique Factorization in Z\mathbb{Z}). Every integer n>1n > 1 can be written as a product of primes. Moreover, the prime factorization of nn is unique: if n=p1prn = p_1 \cdots p_r and n=q1qsn = q_1 \cdots q_s where the pip_i's and qjq_j's are prime then r=sr = s and after relabeling the factors we have pi=qip_i = q_i for all ii.

Theorem 1.1 is really two statements about each n>1n > 1: (i) a prime factorization of nn exists and (ii) there is only one prime factorization for nn up to the order of multiplication of the prime factors.

To prove Theorem 1.1, we will prove these two statements separately.

When we talk about a product of primes in Theorem 1.1, we allow a “product” with a single term in it, so a prime number is a product of primes using only itself in the product. If we didn’t allow this, then we’d have to say every n>1n > 1 is a prime or a product of primes. By allowing a product with a single term, our language becomes simpler.

**Theorem 2.1.** Every n>1n > 1 has a prime factorization: we can write n=p1prn = p_1 \cdots p_r, where the pip_i are prime numbers.

**Proof.** We will use induction, but more precisely strong induction: assuming every integer between 1 and nn has a prime factorization we will derive that nn has a prime factorization. Our base case is n=2n = 2. This is a prime, so it is a product of primes by our convention that a prime is a product of primes with one term.

Now assume n>2n > 2 and (here comes the strong inductive hypothesis) for all mm with 1<m<n1 < m < n that mm is a product of primes. To show nn is a product of primes, we take cases depending on whether mm is prime or not.

**Case 1:** The number nn is prime.

In this case, nn is a product of primes with just one term. (This is the easy case.)

**Case 2:** The number nn is not prime.

Since n>1n > 1 and nn is not prime, there is some nontrivial factorization n=abn = ab where 1<a<n1 < a < n and 1<b<n1 < b < n. By our strong inductive hypothesis, both aa and bb are products of primes. Since nn is the product of aa and bb, and

both aa and bb are products of primes, nn is a product of primes by stringing together the prime factorizations of aa and bb. More explicitly, writing a=p1pra = p_1 \cdots p_r and b=q1qsb = q_1 \cdots q_s where pip_i and qjq_j are all prime, we have


n=ab=p1prq1qsn = ab = p_1 \cdots p_r \cdot q_1 \cdots q_s


which is a product of primes.

Q.E.D.

**Lemma 2.2.** If pp is a prime number and pabp \mid ab for some integers aa and bb, then pap \mid a or pbp \mid b.

*Proof.* We will assume pabp \mid ab and the conclusion is false: pp does not divide aa or pp does not divide bb. If pp does not divide aa then (p,a)=1(p, a) = 1 because pp is prime. A basic consequence of Bezout’s identity tells us that from pabp \mid ab and (p,a)=1(p, a) = 1 we have pbp \mid b. If pp does not divide bb, then by switching the roles of aa and bb (which is okay since ab=baab = ba) we can conclude that pap \mid a.

Q.E.D.

A generalization of **Lemma 2.2** is that for any finite list of integers a1,,aka_1, \ldots, a_k, if pa1akp \mid a_1 \cdots a_k then paip \mid a_i for some ii. This is trivial for k=1k = 1, and for k2k \geq 2 it is true by induction on kk with **Lemma 2.2** being the base case k=2k = 2. Now we can prove prime factorization is unique.

**Theorem 2.3.** If p1pr=q1qsp_1 \cdots p_r = q_1 \cdots q_s where the pip_i's and qjq_j's are prime, then r=sr = s and after relabeling the factors we have pi=qip_i = q_i for all ii.

*Proof.* The key mathematical step is this: when p1pr=q1qsp_1 \cdots p_r = q_1 \cdots q_s, p1p_1 must equal some qjq_j. This is because p1pr=q1qsp1q1qsp1qjp_1 \cdots p_r = q_1 \cdots q_s \Rightarrow p_1 \mid q_1 \cdots q_s \Rightarrow p_1 \mid q_j for some jj, where the second implication is the generalization of **Lemma 2.2** that we mentioned above. That uses primality of p1p_1. Since qjq_j is prime and p1qjp_1 \mid q_j, we must have p1=qjp_1 = q_j (a prime has no factor greater than 1 other than itself). To prove our theorem, we will induct on the total number of prime factors in the two equal prime factorizations, which is (r+s)(r + s). We allow repeated primes. The base case is (r+s)=2(r + s) = 2, when the equal prime factorization turns into p1=q1p_1 = q_1. Here the conclusion of the theorem is obvious (there is no relabeling needed, since each side has one factor).

Suppose next that (r+s)>2(r + s) > 2 and the theorem is true for any two equal prime factorizations for which the total number of primes being used is less than (r+s)(r + s). If we have p1pr=q1qsp_1 \cdots p_r = q_1 \cdots q_s then r>1r > 1 and s>1s > 1: if r=1r = 1 or s=1s = 1 then one side is a prime number and therefore the other side has to be a prime number, so r=s=1r = s = 1, but (r+s)>2(r + s) > 2. From p1pr=q1qsp_1 \cdots p_r = q_1 \cdots q_s we explained at the start of the proof that p1p_1 must be some qjq_j. By relabeling the factors on the right, which is okay since the order of multiplication doesn’t matter, we can assume p1=q1p_1 = q_1. Then our equal prime factorization becomes p1p2pr=p1q2qsp_1 p_2 \cdots p_r = p_1 q_2 \cdots q_s. Canceling the

common factor p1p_1 on both sides, we get p2pr=q2qsp_2 \cdots p_r = q_2 \cdots q_s (2.1). In this equation of equal prime factorizations, the total number of primes appearing on both sides is (r1)+(s1)=r+s2(r - 1) + (s - 1) = r + s - 2, which is less than (r+s)(r + s). By our inductive hypothesis we conclude r1=s1r - 1 = s - 1 (there are r1r - 1 primes on the left and s1s - 1 primes on the right), so r=sr = s, and after relabeling the primes in (2.1) we have pi=qip_i = q_i for all i2i \geq 2. Combining this with p1=q1p_1 = q_1 we have pi=qip_i = q_i for all ii.

Q.E.D.

Answer provided by https://www.AssignmentExpert.com

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS