Docsity

Lecture 14: Proving the Division Theorem and Polynomial Division in MATH 74, Spring 2005, Study notes of Mathematics

Toggle sidebar
bg1
MATH 74, TRANSITION TO UPPER DIVISION MATHEMATICS
LECTURE 14
Spring 2005, MWF 3:00PM - 4:00PM, 6 Evans, CCN: 54789
In this lecture, we’ll continue with our introduction to number theory by proving the division
theorem, and stating a division theorem for polynomials.
0.1. proving the division theorem. Recall that the division theorem says
(∀m, n ∈Z:n > 0)(∃!q, r ∈Z)(m=q·n+r∧0≤r∧r < n)
The proof uses the well-ordering principle, together with a carefully constructed set A.
Proof. Let m, n ∈Z, and assume n > 0. Define A={x∈N: (∃k∈Z)(x=m−kn)}. Now A⊆N
by its definition; and A6=∅, since choosing k=min{m, −m}ensures that m−kn ∈N. By the
well-ordering principle, Ahas a least element, call it r. Since r∈A, let qbe the integer such that
r=m−qn. Then we have
(1) m=qn +r(subtracting qn from both sides of the equation above)
(2) 0 ≤r(since r∈N)
(3) r < n (since ris the least member of A. I.e., if we had r≥n, then we would have r−n∈N,
and r−n=m−(q−1)n, so that r−nwould be in A, contradicting the choice of ras the
least member of A)
This completes the existence part of the proof. Assume m, n, q, r are fixed for the remainder of the
proof.
For uniqueness, let q0, r0∈Zand assume that
(1) m=q0n+r0
(2) 0 ≤r0
(3) r0< n
We’ll first show q=q0. Since <is a total ordering on Z, either q < q0or q0< q or q=q0. We’ll rule
out the first two of these cases.
If q < q0, then q+ 1 ≤q0. So r0=m−q0n≤m−(q+ 1)n=r−n < 0. So r0<0. This contradicts
our second assumption regarding r0.
If q0< q, then q0≤q−1. So r0=m−q0n≥m−(q−1)n=r+n>n. So r0> n. This
contradicts our third assumption regarding r0.
We conclude that q=q0. Now we have m=qn+r, and m=q0n+r0. So r=m−qn =m−q0n=r0.
This completes the uniqueness part of the proof.
For any integers m, n with n > 0, the division theorem gives us unique integers qand r. The
integers qand rdepend on mand n. Sometimes to avoid using so many variables, we’ll write
(mdiv n) to mean the qwe get from the division theorem (starting with mand n), and (mmod n)
to mean the rwe get from the division theorem (starting with mand n). So that (mdiv n) and
(mmod n) are the unique integers with
(1) m= (mdiv n)·n+ (mmod n)
(2) 0 ≤(mmod n)< n
Date: Friday, February 18, 2005.
1
pf3

Partial preview of the text

Download Lecture 14: Proving the Division Theorem and Polynomial Division in MATH 74, Spring 2005 and more Study notes Mathematics in PDF only on Docsity!

MATH 74, TRANSITION TO UPPER DIVISION MATHEMATICS

LECTURE 14

Spring 2005, MWF 3:00PM - 4:00PM, 6 Evans, CCN: 54789

In this lecture, we’ll continue with our introduction to number theory by proving the division theorem, and stating a division theorem for polynomials.

0.1. proving the division theorem. Recall that the division theorem says

(∀m, n ∈ Z : n > 0)(∃!q, r ∈ Z)(m = q · n + r ∧ 0 ≤ r ∧ r < n) The proof uses the well-ordering principle, together with a carefully constructed set A.

Proof. Let m, n ∈ Z, and assume n > 0. Define A = {x ∈ N : (∃k ∈ Z)(x = m − kn)}. Now A ⊆ N by its definition; and A 6 = ∅, since choosing k = min{m, −m} ensures that m − kn ∈ N. By the well-ordering principle, A has a least element, call it r. Since r ∈ A, let q be the integer such that r = m − qn. Then we have

(1) m = qn + r (subtracting qn from both sides of the equation above) (2) 0 ≤ r (since r ∈ N) (3) r < n (since r is the least member of A. I.e., if we had r ≥ n, then we would have r − n ∈ N, and r − n = m − (q − 1)n, so that r − n would be in A, contradicting the choice of r as the least member of A)

This completes the existence part of the proof. Assume m, n, q, r are fixed for the remainder of the proof. For uniqueness, let q′, r′^ ∈ Z and assume that (1) m = q′n + r′ (2) 0 ≤ r′ (3) r′^ < n

We’ll first show q = q′. Since < is a total ordering on Z, either q < q′^ or q′^ < q or q = q′. We’ll rule out the first two of these cases. If q < q′, then q + 1 ≤ q′. So r′^ = m − q′n ≤ m − (q + 1)n = r − n < 0. So r′^ < 0. This contradicts our second assumption regarding r′. If q′^ < q, then q′^ ≤ q − 1. So r′^ = m − q′n ≥ m − (q − 1)n = r + n > n. So r′^ > n. This contradicts our third assumption regarding r′. We conclude that q = q′. Now we have m = qn+r, and m = q′n+r′. So r = m−qn = m−q′n = r′. This completes the uniqueness part of the proof.  For any integers m, n with n > 0, the division theorem gives us unique integers q and r. The integers q and r depend on m and n. Sometimes to avoid using so many variables, we’ll write (m div n) to mean the q we get from the division theorem (starting with m and n), and (m mod n) to mean the r we get from the division theorem (starting with m and n). So that (m div n) and (m mod n) are the unique integers with

(1) m = (m div n) · n + (m mod n) (2) 0 ≤ (m mod n) < n

Date: Friday, February 18, 2005. 1

2 MATH 74, TRANSITION TO UPPER DIVISION MATHEMATICS LECTURE 14

  1. The Division Theorem for Polynomials A polynomial with real coefficients is an expression of the form

∑n j=0 aj^ x j (^) , where x is a variable,

a 0 ,... , an are real numbers, and an 6 = 0. Polynomials are often denoted by the letters p or q, and sometimes we also write p(x) when we want to reference the name of the variable. The degree of a polynomial p(x) is the least natural number n such that the coefficient of xn^ is non-zero, and is denoted by deg p. (For example, 4x^3 + x^2 − 7 x + 5 has degree 3, 15x^9 − 2 x has degree 9, and the constant polynomial 4 has degree 0. By convention, we say that if p is the constant zero polynomial, i.e. p(x) = 0, then deg p = −∞. There is a division theorem for polynomials with real coefficients. It says that if p, d are polyno- mials with real coefficients, and if d has degree n ≥ 0, then there are unique polynomials with real coefficients q and r with

(1) p(x) = q(x)d(x) + r(x) (2) deg r < deg d The theorem is also true if ”real” is replaced by ”rational” or ”complex”, but not if it is replaced by ”integer”. The reason integer doesn’t work, (as you will see from the proof) is that you need to be able to divide the coefficients of p by the coefficients of d to get the coefficients of q and r, and we cannot always divide in the integers. The proof of this theorem will be given as an exercise.

  1. Exercises These exercises will be due Wednesday, February 23. (1) Modify the example in the lecture notes involving the Well-Ordering Principle, to prove that

s is irrational whenever s is not a perfect square (i.e. not the square of any natural number). [You may assume as hypotheses any of the arithmetic and ordering properties of rational numbers]. (2) Show that the usual definition of the choose function in terms of factorials

(n k

= (^) k!(nn−!k)! satisfies the recursive condition

(n+ k+

( (^) n k+

(n k

. [Hint: You don’t need to use induction, just algebra. (Various versions of the recursive condition above are often referred to as the Addition Formula for Binomial Coefficients)]. (3) What is the coefficient of x^10 in the expansion of (x + 3)^12? [Hint: Use the Binomial Theorem]. (4) Use telescoping sums to derive a formula for the sum of the first n cubes,

∑n j=1 j

(5) Suppose that f : N → N is a function satisfying the following two properties.

  • (∀a, b ∈ N))(f (a + b) = f (a) + f (b))
  • The range of f is finite, and contains exactly n elements. (a) Show that f (0) = 0 [Hint: At some point, you will need to use the fact that 0 + 0 = 0, and also the cancellation law for addition]. (b) Show that (∃a, b ∈ N)(a 6 = b ∧ f (a) = f (b)) [Hint: pigeonhole principle] (c) Show that (∃c ∈ N)(c 6 = 0 ∧ f (c) = 0). [Hint: Fix a, b ∈ N satisfying the property above. Either a < b or b < a. Use the c you get from the definition of <.] (d) How many different natural numbers c must satisfy f (c) = 0? [Hint: If f (c) = 0, what is f (c + c) and f (c + (c + c))?] (e) Show that if f (c) = 0 and b = a + c, then f (a) = f (b) (f) Show that if k ∈ N and 0 < k < n, then f (k) 6 = 0. [Hint: Show that if k > 0 and f (k) = 0, then the range of f has at most k elements]. (g) What must be the value of f (n)? [Give a proof along with your answer].