MATH 3012 N Homework Chapter 9

Similar documents
Warm-up Simple methods Linear recurrences. Solving recurrences. Misha Lavrov. ARML Practice 2/2/2014

Recurrence Relations


First Midterm Examination

24 = 5x. 4.8 = x. December 13, 2017

Assignment #2 COMP 3200 Spring 2012 Prof. Stucki

Solution to Proof Questions from September 1st

What Fun! It's Practice with Scientific Notation!

Problem Set 1 Solutions

( )( b + c) = ab + ac, but it can also be ( )( a) = ba + ca. Let s use the distributive property on a couple of

2 A 3-Person Discrete Envy-Free Protocol

Squaring and Unsquaring

Solutions Quiz 9 Nov. 8, Prove: If a, b, m are integers such that 2a + 3b 12m + 1, then a 3m + 1 or b 2m + 1.

Math 31 Lesson Plan. Day 2: Sets; Binary Operations. Elizabeth Gillaspy. September 23, 2011

QUADRATICS 3.2 Breaking Symmetry: Factoring

Summer HSSP Lecture Notes Week 1. Lane Gunderman, Victor Lopez, James Rowan

7x 5 x 2 x + 2. = 7x 5. (x + 1)(x 2). 4 x

CH 59 SQUARE ROOTS. Every positive number has two square roots. Ch 59 Square Roots. Introduction

Solving Equations with Addition and Subtraction

Math 2142 Homework 5 Part 1 Solutions

Take the Anxiety Out of Word Problems

Private Key Cryptography. Fermat s Little Theorem. One Time Pads. Public Key Cryptography

Title. Birthday Problem. Yukang Shen. University of California, Santa Barbara. May 7, 2014

CHAPTER 7: TECHNIQUES OF INTEGRATION

Math Lecture 18 Notes

Review 3. Andreas Klappenecker

William Gasarch-U of MD. Examples of Three Person Cake Cutting With Uniform Valuatio

Example. How to Guess What to Prove

The PROMYS Math Circle Problem of the Week #3 February 3, 2017

AQA Level 2 Further mathematics Further algebra. Section 4: Proof and sequences

Proportional Division Exposition by William Gasarch

Polynomial and Synthetic Division

Homework assignment 1: Solutions

Designing Information Devices and Systems I Fall 2016 Babak Ayazifar, Vladimir Stojanovic Homework 2

Solutions to Tutorial 4 (Week 5)

All numbered readings are from Beck and Geoghegan s The art of proof.

Solving Linear Equations

Generation X and Y. 1. Experiment with the following function using your CAS (for instance try n = 0,1,2,3): 1 2 t + t2-1) n + 1 (

Lesson 12: Solving Equations

Exercises. Template for Proofs by Mathematical Induction

Solving Quadratic Equations Using the Square Root Property

Grade 7/8 Math Circles February 22nd, 2012 Algebraic Approaches

Partial Fraction Decomposition

Solving Quadratic & Higher Degree Equations

Looking Ahead to Chapter 10

Chapter 2. Mathematical Reasoning. 2.1 Mathematical Models

CSCI 150 Discrete Mathematics Homework 5 Solution

6.1 NEGATIVE NUMBERS AND COMPUTING WITH SIGNED NUMBERS

Recurrence Relations and Recursion: MATH 180

USA Mathematical Talent Search

Fibonacci Numbers. November 7, Fibonacci's Task: Figure out how many pairs of rabbits there will be at the end of one year, following rules.

Combinatorics. But there are some standard techniques. That s what we ll be studying.

Counting. Spock's dilemma (Walls and mirrors) call it C(n,k) Rosen, Chapter 5.1, 5.2, 5.3 Walls and Mirrors, Chapter 3 10/11/12

CSCE 222 Discrete Structures for Computing. Review for the Final. Hyunyoung Lee

Math 1320, Section 10 Quiz IV Solutions 20 Points

Introduction to Computational Complexity

To: Amanda From: Daddy Date: 2004 February 19 About: How to solve math problems

CS1800: Sequences & Sums. Professor Kevin Gold

Discrete Mathematics and Probability Theory Fall 2014 Anant Sahai Midterm 1

Algebra Year 10. Language

Definition of a Logarithm

Matching Theory and the Allocation of Kidney Transplantations

Grade 6 Math Circles November 1 st /2 nd. Egyptian Mathematics

Use mathematical induction in Exercises 3 17 to prove summation formulae. Be sure to identify where you use the inductive hypothesis.

CISC-102 Fall 2017 Week 1 David Rappaport Goodwin G-532 Office Hours: Tuesday 1:30-3:30

Find the Missing Number or Numbers: An Exposition

Simple Math: Cryptography

Solving Recurrence Relations 1. Guess and Math Induction Example: Find the solution for a n = 2a n 1 + 1, a 0 = 0 We can try finding each a n : a 0 =

Integrals. D. DeTurck. January 1, University of Pennsylvania. D. DeTurck Math A: Integrals 1 / 61

CDM Combinatorial Principles

Mathematics in Contemporary Society Chapter 10

Math 38: Graph Theory Spring 2004 Dartmouth College. On Writing Proofs. 1 Introduction. 2 Finding A Solution

EQ: How do I convert between standard form and scientific notation?

CHAPTER 1. Review of Algebra

Definition: A sequence is a function from a subset of the integers (usually either the set

Lesson 3: Solving Equations A Balancing Act

Solving Equations with Addition and Subtraction. Solving Equations with Addition and Subtraction. Solving Equations with Addition and Subtraction

Definition of a Logarithm

Sun Life Financial Canadian Open Mathematics Challenge Section A 4 marks each. Official Solutions

Math 95--Review Prealgebra--page 1

Let's look at some higher order equations (cubic and quartic) that can also be solved by factoring.

CS103 Handout 08 Spring 2012 April 20, 2012 Problem Set 3

Math 308 Midterm Answers and Comments July 18, Part A. Short answer questions

Weeks 8 and 9. Eclectic Equations

Lesson #33 Solving Incomplete Quadratics

Solving Equations. Another fact is that 3 x 4 = 12. This means that 4 x 3 = = 3 and 12 3 = will give us the missing number...

Eureka Math. Algebra II Module 1 Student File_A. Student Workbook. This file contains Alg II-M1 Classwork Alg II-M1 Problem Sets

1 Lesson 13: Methods of Integration

Solutions to the Midterm Test (March 5, 2011)

September 12, Math Analysis Ch 1 Review Solutions. #1. 8x + 10 = 4x 30 4x 4x 4x + 10 = x = x = 10.

NOTES ON OCT 4, 2012

Momentum. Physics 211 Syracuse University, Physics 211 Spring 2017 Walter Freeman. February 28, W. Freeman Momentum February 28, / 15

Section 1 - Introduction to Integers

Order of Operations Practice: 1) =

A. Incorrect! Perform inverse operations to find the solution. B. Correct! Add 1 to both sides of the equation then divide by 2 to get x = 5.

Intermediate Math Circles February 14, 2018 Contest Prep: Number Theory

CS280, Spring 2004: Final

What you may need to do: 1. Formulate a quadratic expression or equation. Generate a quadratic expression from a description or diagram.

Math 3 Variable Manipulation Part 3 Polynomials A

Chapter 1. Pigeonhole Principle

Transcription:

MATH 01 N Homework Chapter 9 February, 017 The recurrence r n+ = r n+1 + r n can be expressed with advancement operators as A A )r n = 0 The quadratic can then be factored using the quadratic formula, yielding Therefore, the general solution is A ) A + 1) = 0 r n = c 1 ) n + c 1) n Now we use the initial conditions to solve for c 1 and c equations: 1 = r 0 = c 1 + c = r = 4c 1 + c This gives the following system of linear Subtracting the first equation from the second gives = c 1 Therefore c 1 = which implies c = 1 Therefore, the closed formula for r n is r n = n + 1 1)n 4 The recurrence h n+ = 6h n+ 11h n+1 + 6h n can be rewritten with the advancement operator as follows: A 6A + 11A 6 ) h n = 0 First observe that A = 1 is a solution to the cubic because 1) 61) + 111) 6 = 0 This means that A 1) is a factor Using long division, we factor the cubic as follows: A 1) A A + 6 ) h n = 0 A 1) A ) A ) h n = 0 Therefore, the general solution is h n = c 1 + c n + c n Now we use the initial conditions to solve for the constants: = c 1 + c + c = c 1 + c + c 4 = c 1 + 9c + 4c These yield c 1 = 6, c =, and c = for a final formula of h n = 6 + n n The recurrence for the Fibonacci numbers is f n+ = f n+1 + f n Rewrite this as A A 1)f n = 0

From the quadratic formula, we can factor this and obtain the general solution 1 + ) n 1 ) n f n = c 1 + c Now use the initial conditions f 0 = 0 and f 1 = 1 to solve for the constants: 0 = c 1 + c 1 + 1 = c 1 ) + c 1 ) Substituting c 1 for c, we obtain the equation: 1 + ) 1 ) 1 = c 1 c 1 1 + 1 = c 1 1 ) 1 = c 1 1 = c 1 So the closed formula is f n = = c 1 = c 1 + ) n 1 ) n 6 c Because ± 4 = 1 ± 6, we have f n = c 1 1 + 6 ) n + 1 6 ) n e First note that A = 1 is a root Thus Therefore A + A A + = A 1)A + A ) = A 1) A + ) f Since A + A + A + 1 = A + 1), we get f n = c 1 + c n + c ) n f n = c 1 1) n + c n 1) n + c n 1) n 9 c For the recurrence A ) f n = n + 1, the homogenous solution is c 1 n + c n n + c n n For the particular solution, try d 1 n + d Here is the check: A ) d 1 n + d ) = A ) A )d 1 n + d ) = A ) d 1 n + 1) + d ) d 1 n + d )) = A ) d 1 n + d 1 d ) = A ) d 1 n + 1) + d 1 d ) 6d 1 n + d 1 6d )) = A )4d 1 n 4d 1 + 4d ) = 4d 1 n + 1) 4d 1 + 4d ) 1d 1 n 1d 1 + 1d ) = 8d 1 n + 1d 1 8d

We need 8d 1 = and 1d 1 8d = 1 Therefore, choose d 1 = 8 and d = 11 16 The general solution is f n = c 1 n + c n n + c n n 8 n 11 16 f For the recurrence A+)A )A 1)f = n, the homogenous solution is c 1 ) n +c n +c 1 n For the particular solution, we would try d n, but this is part of the homogenous solution So try dn n instead Here is the check: A + )A )A 1)[dn n ] = A + )A )[dn + 1) n+1 dn n ] = A + )A )[4dn n + d n ] = A + )[4dn + 1) n+1 + d n+1 0dn n d n ] = A + )[0d n ] = 0d n+1 + 40d n = 100d n + 40d n = 140d n Therefore, choose d = 1 140 The general solution is f n = c 1 ) n + c n + c + 1 140 nn h For the recurrence A )A + )f n = n n, the homogenous solution is c 1 n + c ) n Try the particular solution dn n A )A + )dn n = A )[dn + 1) n+1 + dn n ] = A )[dn n + d n ] = dn + 1) n+1 + d n+1 10dn n 4d n = 10d n This will not work because d must be a constant and we wanted the answer to be n n Therefore, try dn n A )A + )dn n = A )[dn + 1) n+1 + dn n ] = A )[dn n + 4dn n + d n ] = [dn + 1) n+1 + 4dn + 1) n+1 + d n+1 ] [10dn n + 8dn n + 4d n ] = [0dn n + 18d n ] This is still a problem because we will need 0d =, but the term 18d should be 0 However, if we try d 1 n n + d n n, using the above two calculations, we get: A )A + )[d 1 n n + d n n ] = A )A + )d 1 n n + A )A + )d n n = 0d 1 n n + 18d 1 n + 10d n Now we need 0d 1 = and 18d 1 + 10d = 0 So we can let d 1 = 1 4 and d = 9 0 solution of f n = c 1 n + c ) n + 1 4 n n 9 0 nn for a general 1 On #4 in the Chapter homework, you wrote a recurrence for this problem The recurrence was t n = t n 1 + 4t n + t n

Writing this with advancement operators, we obtain the equation: A A 4A )t n = 0 Now we need to factor the cubic A A 4A First, try to find a root The value 1 is a root because 1) 1) 4 1) = 0 Therefore A + 1) is a factor Using long division or sythetic division, we find A A 4A = A + 1)A A ) Now we can use the quadratic formula to factor the rest: ) ) A A 4A = A+1) A + A = A+1) A 1 + ) ) A 1 ) ) Therefore, the general solution is: t n = c 1 1) n + c 1 + ) n + c 1 n ) Now we need some initial conditions to solve for c 1, c, and c We know t 1 = 1, t = and t = 11 To make things a little simpler, let s solve for a value for t 0 that will follow the recurrence: Now solve for the constants: t = t + 4t 1 + t 0 11 = + 4 1 + t 0 1 = t 0 1 = c 1 + c + c 1) 1 = c 1 1) + c 1 + ) + c 1 ) ) = c 1 1) + c 1 + ) + c 1 ) = c 1 + 4 + )c + 4 )c ) First take equation ) and subtract times equation ) to get: = c 1 + c + c From this, subtract times equation 1) to determine c 1 = 1 By equation 1), this implies c = c Using this information in equation ), we see: 1 = 1 + c 1 + ) c 1 ) = 1 + c Therefore c = 1 = and c = c = Therefore, the closed form for t n is t n = 1) n + 1 + ) n 1 n ) 1 Perhaps you noticed that this is a pigeon hole problem Let s think backwards through this We want two people who shook the same number of hands So maybe these will be the two people that came from the same box How about let s sort people based on the number of hands they shook How many boxes would this be? Well you could shake 0 hands or 1 hand or hands or or n 1 hands Notice that you cannot shake n hands because you will not be shaking your own and there are only n 1 other people in the room From 0 to n 1, we have defined a total of n boxes However, there are n people who will be sorted into these boxes So we cannot be sure yet) that two people shook the same number of hands

Let s think a little harder about this Say Bob and Alice are in the room of n people If Bob was anti-social and shook 0 hands, is it possible that Alice shook n 1 hands? No When Alice says she shook n 1 hands, that means she shook hands with everyone else But she couldn t have shaken Bob s hand because Bob didn t shake hands with anyone So, let s break this into two cases: A) Someone shook no hands B) Everyone shook hands with at least one other person Case A): If someone was anti-social, then you cannot have a person who shook n 1 hands as explained above) So you have n people and each person shook between 0 and n hands Thus ) there n are n 1 options or pigeonholes) and n people By the pigeonhole principle, two n 1 = people must fall into the same category So these two people shook the same number of hands Case B): If everyone shook hands with at least one person, then everyone shook between 1 and n 1 hands That is n 1 options pigeonholes) for n people So, by pigeons, two people must fall into the same category, and these two must have shaken hands with the same number of people