8.1: Recurrence Relations We touched on them briefly before; we’ll dive deeper here. We aren’t going to focus on solving them, but you should know how.

Slides:



Advertisements
Similar presentations
Chapter Recurrence Relations
Advertisements

An introduction to the complex number system. Through your time here at COCC, youve existed solely in the real number system, often represented by a number.
Fall 2002CMSC Discrete Structures1 Now it’s Time for… RecurrenceRelations.
Chapter 6 Advanced Counting 6.1 Recurrence Relations.
Solving IPs – Cutting Plane Algorithm General Idea: Begin by solving the LP relaxation of the IP problem. If the LP relaxation results in an integer solution,
Discrete Mathematics Math 6A Homework 9 Solution.
More Set Definitions and Proofs 1.6, 1.7. Ordered n-tuple The ordered n-tuple (a1,a2,…an) is the ordered collection that has a1 as its first element,
Induction and recursion
CSE115/ENGR160 Discrete Mathematics 04/19/12 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 04/21/11 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 02/21/12
CSE115/ENGR160 Discrete Mathematics 03/31/11
1 Section 6.1 Recurrence Relations. 2 Recursive definition of a sequence Specify one or more initial terms Specify rule for obtaining subsequent terms.
COMPASS Practice Test 13 Quadratics. This slide presentation will focus on quadratics. Quadratics will always have a variable raised to the second power,
Consecutive Numbers Algebra I.
– ALGEBRA I – Unit 1 – Section 2 Consecutive
Chapter 8 With Question/Answer Animations 1. Chapter Summary Applications of Recurrence Relations Solving Linear Recurrence Relations Homogeneous Recurrence.
Applications of Consecutive Integers
Analysis of Recursive Algorithms October 29, 2014
Arithmetic Sequences A sequence in which each term after the first is obtained by adding a fixed number to the previous term is an arithmetic sequence.
Applied Discrete Mathematics Week 9: Relations
Advanced Counting Techniques
Induction and recursion
7.4 Generating Functions Definition 1: The generation function for the sequence a 0, a 1,...,a k,... of real numbers is the infinite series G(x) = a 0.
Section 2.4. Section Summary Sequences. Examples: Geometric Progression, Arithmetic Progression Recurrence Relations Example: Fibonacci Sequence Summations.
Ch. 7: Advanced Counting Techniques
CSE 2813 Discrete Structures Recurrence Relations Section 6.1.
Module #20 - Recurrences 1 Ch. 7 Recurrence Relations Rosen 6 th ed., §§7.1.
R. Johnsonbaugh Discrete Mathematics 7 th edition, 2009 Chapter 7 Recurrence Relations Instructor Tianping Shuai.
Chapter 2: The Logic of Compound Statements 2.5 Application: Number Systems and Circuits for Addition 1 Counting in binary is just like counting in decimal.
Sequences and Summations
Recurrence Relations: Selected Exercises
Section 2.4. Section Summary Sequences. Examples: Geometric Progression, Arithmetic Progression Recurrence Relations Example: Fibonacci Sequence Summations.
Algebraic Plane Solution Let’s solve the system of equations: 2x – 5y + 2z = 15 x + 3y - z = -4 2x - y - z = 2 First we make our assumption that they all.
MA/CSSE 474 Theory of Computation Decision Problems DFSMs.
Sequences and Summations Section 2.4. Section Summary Sequences. – Examples: Geometric Progression, Arithmetic Progression Recurrence Relations – Example:
8.4 Mathematical Induction
Circles. Equation of a circle: ( x – h )2 )2 + ( y – k )2 )2 = r2r2 Center of the circle: C( h, k ) Radius of the circle: r Diameter of the circle: d.
The length of a rectangle is 6 in. more than its width. The perimeter of the rectangle is 24 in. What is the length of the rectangle? What we know: Length.
Agenda Lecture Content:  Recurrence Relations  Solving Recurrence Relations  Iteration  Linear homogenous recurrence relation of order k with constant.
 Every year Stephanie’s hamster population doubles. She started with 6 hamsters. How many hamsters does she have after 7 years? After n years?
ADVANCED ALGORITHMS REVIEW OF ANALYSIS TECHNIQUES (UNIT-1)
Recurrence Relations. Outline Recurrence relationsSolving recurrence relationsRecurrence and Divide-and-conquer algorithmsGenerating functions
3-4 Parallel and Perpendicular Lines
Distribution Function properties Let us consider the experiment of tossing the coin 3 times and observing the number of heads The probabilities and the.
Mathematical Induction Section 5.1. Climbing an Infinite Ladder Suppose we have an infinite ladder: 1.We can reach the first rung of the ladder. 2.If.
Divide and Conquer Faculty Name: Ruhi Fatima Topics Covered Divide and Conquer Matrix multiplication Recurrence.
Chapter 2 Review Honors Algebra Simplify.
Chapter 5. Section 5.1 Climbing an Infinite Ladder Suppose we have an infinite ladder: 1.We can reach the first rung of the ladder. 2.If we can reach.
Algebra: Consecutive Integer Problems Consecutive integer problems are word problems that involve CONSECUTIVE INTEGERS.
Copyright © 2010 Pearson Education, Inc. All rights reserved Sec
Chapter 2 1. Chapter Summary Sets The Language of Sets - Sec 2.1 – Lecture 8 Set Operations and Set Identities - Sec 2.2 – Lecture 9 Functions and sequences.
Section Recursion  Recursion – defining an object (or function, algorithm, etc.) in terms of itself.  Recursion can be used to define sequences.
Recurrence Relations: Selected Exercises. Copyright © Peter Cappello2 Exercise 10 (a) A person deposits $1,000 in an account that yields 9% interest compounded.
Recursive Definitions & Structural Induction: Selected Exercises
CMSC Discrete Structures
Applied Discrete Mathematics Week 11: Relations
Consecutive Numbers Algebra I.
Induction and recursion
Induction and recursion
2-4 Solving Multi-Step Equations
CMSC Discrete Structures
Applied Discrete Mathematics Week 7: Computation
CMSC Discrete Structures
Mathematical Induction
Recurrence Relations Discrete Structures.
2 Chapter Chapter 2 Equations, Inequalities and Problem Solving.
ICS 253: Discrete Structures I
Integers and Absolute Value
Presentation transcript:

8.1: Recurrence Relations We touched on them briefly before; we’ll dive deeper here. We aren’t going to focus on solving them, but you should know how to prove a closed form is a solution from what we did before.

You start an account with $1000. At the end of each year, you add 5% of that year’s amount AND 3% of the previous year’s amount. Find A n, the amount after n years.

How many bit strings of length n contain no consecutive 0s?

Let S n be the set of bit strings of length n with no consecutive 0s. Find a recurrence relation for |S n |

You can climb stairs 1 or two at a time. Find a RR for W n, the number of ways you can climb a staircase with n stairs, when order matters.

Nicely written solution

Let n be a nonnegative integer. Let R n denote the number of regions in a plane subdivided by n lines, with no two lines parallel and no three lines meeting in one point.