After linear functions, the next simplest functions are polynomials. Examples are

Similar documents
Problems from Probability and Statistical Inference (9th ed.) by Hogg, Tanis and Zimmerman.

MCR3U Unit 7 Lesson Notes

k P (X = k)

Quiz 3 Reminder and Midterm Results

How do we analyze, evaluate, solve, and graph quadratic functions?

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 1 MATH00030 SEMESTER /2018

MATH 408N PRACTICE MIDTERM 1

CDM. Recurrences and Fibonacci

Properties of Arithmetic

CDM. Recurrences and Fibonacci. 20-fibonacci 2017/12/15 23:16. Terminology 4. Recurrence Equations 3. Solution and Asymptotics 6.

Conjectures and proof. Book page 24-30

A SUMMARY OF RECURSION SOLVING TECHNIQUES

SYDE 112, LECTURE 7: Integration by Parts

Notes on arithmetic. 1. Representation in base B

( ) is called the dependent variable because its

Lesson 2-6: Graphs of Absolute Value Equations

SECTION 2.3: LONG AND SYNTHETIC POLYNOMIAL DIVISION

Lecture 3 - Tuesday July 5th

DIFFERENTIATION RULES

Main topics for the First Midterm Exam

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

12.1 Arithmetic Progression Geometric Progression General things about sequences

Sequences and the Binomial Theorem

5.3 Conditional Probability and Independence

12. Perturbed Matrices

16. . Proceeding similarly, we get a 2 = 52 1 = , a 3 = 53 1 = and a 4 = 54 1 = 125

3.4 Pascal s Pride. A Solidify Understanding Task

2.3 Differentiation Formulas. Copyright Cengage Learning. All rights reserved.

CIS 2033 Lecture 5, Fall

3.4 Pascal s Pride. A Solidify Understanding Task

University of California, Berkeley, Statistics 134: Concepts of Probability. Michael Lugo, Spring Exam 1

Math101, Sections 2 and 3, Spring 2008 Review Sheet for Exam #2:

NIT #7 CORE ALGE COMMON IALS

2.1 Convergence of Sequences

To factor an expression means to write it as a product of factors instead of a sum of terms. The expression 3x

Chapter Generating Functions

Math Lecture 18 Notes

Chapter 9: Roots and Irrational Numbers

IES Parque Lineal - 2º ESO

POLYNOMIAL EXPRESSIONS PART 1

5.1 Increasing and Decreasing Functions. A function f is decreasing on an interval I if and only if: for all x 1, x 2 I, x 1 < x 2 = f(x 1 ) > f(x 2 )

Algebra II Polynomials: Operations and Functions

Math Circle: Recursion and Induction

5.1 Simplifying Rational Expressions

Part 3: Parametric Models

Secondary Math 2H Unit 3 Notes: Factoring and Solving Quadratics

Business Statistics. Lecture 3: Random Variables and the Normal Distribution

Algebra III and Trigonometry Summer Assignment

CHAPTER 1 POLYNOMIALS

What if the characteristic equation has complex roots?

Some Review Problems for Exam 2: Solutions

21.3. z-transforms and Difference Equations. Introduction. Prerequisites. Learning Outcomes

2. Limits at Infinity

1.1.1 Algebraic Operations

3.4 Introduction to power series

Finding Limits Graphically and Numerically

{ 0! = 1 n! = n(n 1)!, n 1. n! =

5.2 Infinite Series Brian E. Veitch

We begin by considering the following three sequences:

Elementary Algebra Study Guide Some Basic Facts This section will cover the following topics

Calculus with business applications, Lehigh U, Lecture 03 notes Summer

Northwood High School Algebra 2/Honors Algebra 2 Summer Review Packet

Chapter Five Notes N P U2C5

Chapter 2. Matrix Arithmetic. Chapter 2

Honours Advanced Algebra Unit 2: Polynomial Functions What s Your Identity? Learning Task (Task 8) Date: Period:

In this unit we will study exponents, mathematical operations on polynomials, and factoring.

Why It s Important. What You ll Learn

CSC236 Week 4. Larry Zhang

Symmetries and Polynomials

3 Algebraic Methods. we can differentiate both sides implicitly to obtain a differential equation involving x and y:

Binomial Coefficient Identities/Complements

Summer Review. For Students Entering. Algebra 2 & Analysis

Intermediate Algebra. Gregg Waterman Oregon Institute of Technology

We will work with two important rules for radicals. We will write them for square roots but they work for any root (cube root, fourth root, etc.).

P (A) = P (B) = P (C) = P (D) =

The Not-Formula Book for C2 Everything you need to know for Core 2 that won t be in the formula book Examination Board: AQA

Algebraic Expressions and Identities

SECONDARY MATH THREE. An Integrated Approach. MODULE 3 Polynomial Functions

The following are generally referred to as the laws or rules of exponents. x a x b = x a+b (5.1) 1 x b a (5.2) (x a ) b = x ab (5.

EXAM 2 REVIEW DAVID SEAL

Solving recurrences. Frequently showing up when analysing divide&conquer algorithms or, more generally, recursive algorithms.

X. Numerical Methods

Power series and Taylor series

Matrices MA1S1. Tristan McLoughlin. November 9, Anton & Rorres: Ch

Number Systems III MA1S1. Tristan McLoughlin. December 4, 2013

Sec 2.1 Operations with Polynomials Polynomial Classification and Operations

Problem Solving in Math (Math 43900) Fall 2013

Discrete Mathematics and Probability Theory Fall 2010 Tse/Wagner MT 2 Soln

Math Lab 10: Differential Equations and Direction Fields Complete before class Wed. Feb. 28; Due noon Thu. Mar. 1 in class

Adding and Subtracting Polynomials Polynomials in the Sun

CS 124 Math Review Section January 29, 2018

Partial Fractions. June 27, In this section, we will learn to integrate another class of functions: the rational functions.

Dirchlet s Function and Limit and Continuity Arguments

Sequences of Real Numbers

Adding and Subtracting Polynomials Add and Subtract Polynomials by doing the following: Combine like terms

IB Mathematics HL Year 2 Unit 11: Completion of Algebra (Core Topic 1)

5.1 Modelling Polynomials

Common Core Algebra 2 Review Session 1

Ch1 Algebra and functions. Ch 2 Sine and Cosine rule. Ch 10 Integration. Ch 9. Ch 3 Exponentials and Logarithms. Trigonometric.

Algebra & Trig Review

Transcription:

Mathematics 10 Fall 1999 Polynomials After linear functions, the next simplest functions are polynomials. Examples are 1+x, x +3x +, x 3. Here x is a variable. Recall that we have defined a function to be a rule that tells you how to obtain one number from another. How is a polynomial a function in that sense? You substitute the first number for x and calculate the value of the polynomial for that value of x. The degree of a polynomial is the highest exponent of x appearing. Thus, the polynomials above have degrees 1,, 3 respectively. Since x 0 =1 a constant function is a polynomial of degree 0, and a linear function is one of degree 1. The coefficients of the powers of x in a polynomial expression are called the coefficients of the polynomial. We will index the coefficients by degree: P (x) =c 0 + c 1 x + + c n x n. Notice that a polynomial of degree n might have as many as n +1non-zero coefficients. Roots and factoring If P (x) is a polynomial, a root of the polynomial is a number a such that P (a) =0. For example, let You know how to factor it as If a is a root, then P (x) =x 3x +. x 3x +=(x )(x 1). (a )(a 1) = 0. Now the product of two numbers can be 0 only if one of them is 0. Thus if a is a root, then either a or a 1 must be zero, and consequently either a =or a =1. This is a special case of a general relationship betwen roots and factors of a polynomial. The first part is very simple if (x a) is a factor of P (x) then a is a root of P (x). The other way is slightly more complicated to see, but still true if a is a root, then (x a) divides P (x). Here s an example. Let Then P (x) =x 3 3x +x 1. P (1) = 3+ 1=0 so 1 is a root. But then we can divide P (x) by x 1, as the following calculation indicates: x x + 1 x 1 ) x 3 3x + x 1 x 3 x x + x x + x x 1 x 1 so that P (x) =(x 1)(x x +1) as you can check. This doesn t tell you how to find roots, but it does tell you that if you have one root, you can divide and then look for roots of a polynomial of smaller degree.

Tables Tables When looking for roots of P (x), it is almost always good to be able to look at the graph of P (x) in order to understand exactly what you re in for. Later on, we shall learn all kinds of tricks to do this. but for now we just want to explain to you the simplest (and also perhaps most tedious) method. We shall show what happens by an example. Let P (x) =x + x 1. The first thing we shall do is calculate the value of P (x) for x = 5, 4, 3,..., 4, 5. This choice of range is somewhat arbitrary, but large enough to get a good feeling for this polynomial. We can clearly, with some work, just calculate all these values explicitly. We get the table and then plot the values of P (x) in this table: P (x) 19 11 5 1 1 1 1 5 8 19 6 Now it is simple enough to just calculate the values of P (x) in this table in the ordinary way, but there is a useful trick to know about that some find easier. Suppose we add to the table above the differences in the values of P (x), and then the difference of the differences. We get P (x) 19 11 5 1 1 1 1 5 8 19 6 P 8 6 4 0 4 6 8 10 P

Finding roots 3 The differences form an arithmetic progression, and the second order differences are constant. Once we know this, we can use it to carry out the calculation of the table in a very simple-minded way. First, we calculate the first three values in the table and their differences: P (x) 19 11 5 P 8 6 P Then since we know the second order differences are constant, we can fill in the bottom row, and then the one above it. P (x) 19 11 5 P (x) 8 6 4 0 4 6 8 10 1 P (x)p But then from this in turn we can fill in the row for P (x). The charm of this method is that the only multiplications we have to do are at the beginning. After that, all we need is addition or subtraction. Exercise 1. Make up a similar table and graph for x x 1 in the range 5 to 5, with x =1. Use the difference method. Exercise. Make up a similar table and graph for x 3 x +1in the range 5 to 5, with x =1. Use the difference method. Here, the third order differences are constant, and you will have to calculate explicitly the first 4 values of P (x). Finding roots We can see from the table of values of x + x 1 that P ( ) = 1 while P ( 1) = 1. Therefore the graph of P (x) must cross the x-axis in between and 1, or in other words a root lies in the interval [, 1]. Similarly, a root lies in the interval [0, 1]. This agrees with what the graph shows us, too. We can now continue making tables to locate a root to considerable accuracy. Let s look for the root between 0 and 1, for example. We make up a table of values of P (x) for x =0.0, x =0.1, 0.,..., 0.9, 1.0. We get this table x 0.0 0.1 0. 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 P (x) 1.00 0.89 0.76 0.61 0.44 0.5 0.04 0.19 0.44 0.71 1.00 P (x) 0.11 0.13 0.15 0.17 0.19 0.1 0.3 0.5 0.7 0.9 P (x) 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 and the graph in the middle here (with the previous one next to it showing how we have zoomed in):

Pascal s triangle 4 Then we do this once more, this time to the interval from 0.6 to 0.7. This time we see that the root is between 0.61 and 0.6. x 0.60 0.61 0.6 0.63 0.64 0.65 0.66 0.67 0.68 0.69 0.70 P (x) 0.0400 0.0179 0.0044 0.069 0.0496 0.075 0.0956 0.1189 0.144 0.1661 0.1900 P (x) 0.01 0.03 0.05 0.07 0.09 0.031 0.033 0.035 0.037 0.039 P (x) 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 Pascal s triangle We are now going to digress a bit in order to introduce some important particular polynomials. Let s start with one of the simplest of all sequences: and then write its sum sequence next to it: f: 1 1 1 1 1 1 1 1... f 0 = f: 1 1 1 1 1 1 1 1... f 1 =Σf: 0 1 3 4 5 6 7... These will be the first sequences of several. These sequences will all be indexed; the term indexed by j in the sequence indexed by i will be f i,j. Thus f 0,j =1for all j 0, and f 1,j = j for all j 0. Now we add to this the sum sequence of the second row, which is ΣΣf =Σ f. f 1 : 0 1 3 4 5 6 7... f : 0 0 1 3 6 10 15 1...

Pascal s triangle 5 We don t have to calculate the sum all over again each time in this row. Any term in the new row is the sum of the terms (1) just to its left and () just up and to its left. For example, 15 = 5 + 10: We can write this recipe like this: f 1 : 0 1 3 4 5 6 7... f : 0 0 1 3 6 10 15 1... f,n = f,n 1 + f 1,n 1 for all n 1. This givs us the whole row, if we take into account that the row must start with 0. Add similarly a third row, the sum sequence of the second row: f 1 : 0 1 3 4 5 6 7... f : 0 0 1 3 6 10 15 1... f 3 : 0 0 0 1 4 10 0 35... with the rule f 3,n = f 3,n 1 + f,n 1. Continuing on in this way, we obtain an unlimited number of rows determined completely by the rules f 0,0 =1 f m,0 =0(m>0) f 0,n =1(n>0) f m,n = f m,n 1 + f m 1,n 1 (m>0,n>0). This figure is called Pascal s triangle because it is often written without bothering to write the initial zeroes in each row: f 1 : 1 3 4 5 6 7... f : 1 3 6 10 15 1... f 3 : 1 4 10 0 35... f 3 : 1 5 15 35... Exercise 3. Write the next terms in all five rows. Exercise 4. Write the first nine terms of the next row (including the zeroes). Exercise 5. Write the term indexed by 99 for each of the first three rows. Exercise 6. Write down a formula for the term c,n, recalling how to sum an arithmetic progression. Exercise 7. The numbers in this table occur in other contexts as well. Find (a + b), (a + b) 3. and then write down a guess for (a + b) 6 without direct calculation. We have a way to find any number in the table, but it is not so practical, since in effect if we want to find f m,n we must find a whole chain of the f i,j with i<mand j<n. For example, the number at the lower right here depends on all the other numbers in the table. f 0 : 1 1 1 f 1 : 0 1 3... f : 0 0 1 3 6... f 3 : 0 0 0 1 4 10... f 4 : 0 0 0 0 1 5 15... This involves calculating roughly mn/ other numbers to get it. Not so good. Ideally, we would like a more efficient formula for f m,n that does not have this drastic recursive (meaning going backwards) quality. And we are going to find it.

The binomial theorem 6 The binomial theorem In Pascal s triangle, we know immediately formulas for the terms in the first two rows: f 0,n =1, f 1,n = n and know from an earlier calculation that f,n = n(n 1) We now guess that f m,n is a polynomial in n of degree m. For example, we would expect that f 3,m is a cubic polynomial in n. Which cubic polynomial? The best hint we have is that the first three numbers in the row indexed by 3 are 0, so that this polynomial must have 0, 1, and as roots. This means that n, n 1, and n must be factors. So the polynomial we are looking for must be a constant times n(n 1)(n ). What constant? The first non-zero enry in the row is f 3,3 =1, and on the other hand 3(3 1)(3 ) = 3 1. So we will guess that n(n 1)(n ) f 3,n =. 1 3 Similarly, we can guess that f m,n = n(n 1)...(n m +1) 1 3 4 m So wwe now have a plausible guess for a formula, but how can we verify that it is true? Let s look at the row indexed by 3 again. The numbers in this row are determined by these two properties: (1) Its initial term is 0 and () its difference series is the second row. This means f 3,0 =0, f 3,n+1 f 3,n = f,n. In order to prove that our formula for f 3,n is correct, we must verify that it, too, has these two properties. The first is clear. As for the second: (n +1)(n)(n 1) n(n 1)(n ) 6 sure enough. So we are done, at least for this case.. =. n(n 1) Exercise 8. Let Verify that and C m,n = n(n 1)...(n (m 1)) 1 3 4 m C m,n+1 C m,n = C m 1,n. C m,0 =0.. Exercise 9. Explain why C m,n = C n m,n. Find C 5,10. Exercise 10. C m,n = where n! =1 3 n is called the factorial of n n! m!(n m)!. Exercise 11. Let (a + b) n = a n + + b n. Let P m,n be coefficient of a m b n m. Verify same recursion formula. Binomial theorem. (a + b) N = a N + Na N 1 b + N(N 1) a N b + + b N

Polynomial sequences 7 Exercise 1. Coefficient of x 5 y 5 in (x + y) 10. Exercise 13. Flip a red coin and a green coin. There are four possible outcomes. HH, HT, TH, TT. Just like (H + T ). Flip three coins, how many 3H, H1T, etc. Exercise 14. We know that ΣC m = C m+1. Express n in terms of C 1 and C. Find Σn. Same for n 3, in terms of C 1, C, C 3. Note that Σ and are linear. Polynomial sequences A polynomial sequence is one where a n = P (n), P a polynomial. If a is a polynomial sequence of degree m, then a is one of degree m 1. Because (n +1) m n m =...by the binomial theorem. Thus k a has degree m k, m P is constant, k a =0for k>m. Example. Suppose Then: a n = n 3 n +1. n: 0 1 3 4... a: 1 1 7 5 61... a: 0 6 18 36... a: 6 1 18... 3 a: 6 6 6... 4 a: 0 0... where we write for the difference of the difference of a. Etc. The converse is true: If k a =0then a n = P (n) for some polynomial of degree less than k. Write down the formula explicitly: f(n) =f(0) + n f(0) + n(n 1) f(0) + Exercise 15. Do some. Check by applying to n (m). Exercise 16. Sample y = x, picture comb, find f/ x. Take a limit?