Linear recurrences and Fibonacci numbers.

Slides:



Advertisements
Similar presentations
Solving Equations = 4x – 5(6x – 10) -132 = 4x – 30x = -26x = -26x 7 = x.
Advertisements

Ch 6.3: Step Functions Some of the most interesting elementary applications of the Laplace Transform method occur in the solution of linear equations.
Vocabulary Chapter 6.
Solving Linear Equations Adapted from Walch Education.
Solve an absolute value equation EXAMPLE 2 SOLUTION Rewrite the absolute value equation as two equations. Then solve each equation separately. x – 3 =
EXAMPLE 2 Solve a matrix equation SOLUTION Begin by finding the inverse of A = Solve the matrix equation AX = B for the 2 × 2 matrix X. 2 –7 –1.
The Fibonacci spiral and The Rabbit Experiment By Maripaz Quirós.
4.2 Graphing linear equations Objective: Graph a linear equation using a table of values.
3.2 Solving Systems Algebraically
CHAPTER 7-1 SOLVING SYSTEM OF EQUATIONS. WARM UP  Graph the following linear functions:  Y = 2x + 2  Y = 1/2x – 3  Y = -x - 1.
Solving Quadratic Equations by Factoring
Chapter 5: Sequences, Mathematical Induction, and Recursion 5.6 Defining Sequences Recursively 1 So, Nat’ralists observe, a Flea/Hath smaller Fleas on.
Lesson 7.5 Objective: To identify three types of linear systems The 3 kinds of systems 1)Regular system. When the two lines intersect once. One solution.
Equations Reducible to Quadratic
Solving Systems Using Elimination
Example: 3x 2 + 9x + 6. Solving Quadratic Equations.
§ 3.6 Solving Quadratic Equations by Factoring. Martin-Gay, Developmental Mathematics 2 Zero Factor Theorem Quadratic Equations Can be written in the.
Solve an absolute value equation EXAMPLE 2 SOLUTION Rewrite the absolute value equation as two equations. Then solve each equation separately. x – 3 =
3.1 Systems of Linear Equations (Elimination – or as the book calls it, Addition Method)
§ 2.2 The Addition Property of Equality. Angel, Elementary Algebra, 7ed 2 Linear Equations A linear equation in one variable is an equation that can be.
Systems of Equations Standards: MCC9-12.A.REI.5-12
Advanced Algebra Notes Section 3.4: Solve Systems of Linear Equations in Three Variables A ___________________________ x, y, and z is an equation of the.
Beginning Algebra 5.7 Solving Equations by Factoring:
2.1 – Linear and Quadratic Equations Linear Equations.
Fibonacci Your homework was to find out about this man, so lets fill in this together.
4.4 Absolute Value 11/14/12. Absolute Value: The distance of a number from 0 on a number line. Written as l x l Ex. |5| (distance of 5 from 0) = 5 Ex.
GUIDED PRACTICE for Example – – 2 12 – 4 – 6 A = Use a graphing calculator to find the inverse of the matrix A. Check the result by showing.
EXAMPLE 4 Solve linear systems with many or no solutions Solve the linear system. a.x – 2y = 4 3x – 6y = 8 b.4x – 10y = 8 – 14x + 35y = – 28 SOLUTION a.
7-3: Solving Systems of Equations using Elimination
 How do I solve a system of Linear equations using the graphing method?
Identities, Contradictions and Conditional Equations.
2( ) 8x + 14y = 4 -12x – 14y = x = x = 4 8x + 14y = 4 8(4) + 14y = y = y = -28 ___ ___ y = -2 The solution is (4, -2)
Dr Nazir A. Zafar Advanced Algorithms Analysis and Design Advanced Algorithms Analysis and Design By Dr. Nazir Ahmad Zafar.
Mathematical Induction. The Principle of Mathematical Induction Let S n be a statement involving the positive integer n. If 1.S 1 is true, and 2.the truth.
Lesson 9.6 Topic/ Objective: To solve non linear systems of equations. EQ: How do you find the point of intersection between two equations when one is.
The Square Root Principle & Completing the Square
EQUATION IN TWO VARIABLES:
Solving Systems of Linear Equations by Addition
Graphing Linear Inequalities
Solving Systems of Linear Equations by Addition
Notes Over 9.6 An Equation with One Solution
Solving Systems of Equations
Algebra: Equations and Inequalities
Preview Linear Systems Activity (on worksheet)
Solve a system of linear equation in two variables
2 Understanding Variables and Solving Equations.
Do Now 1/18/12 In your notebook, explain how you know if two equations contain one solution, no solutions, or infinitely many solutions. Provide an example.
1.4 Solving Absolute-Value Equations
Solving One Step Equations
Theorems about LINEAR MAPPINGS.
There are infinite solutions to the system.
Solving a Radical Equation
Objectives Identify solutions of linear equations in two variables.
Solving systems using substitution
1.4 Solving Absolute-Value Equations
Graphing Linear Equations
Systems of Equations Solve by Graphing.
Ch 6.3: Step Functions Some of the most interesting elementary applications of the Laplace Transform method occur in the solution of linear equations.
2 Equations, Inequalities, and Applications.
Vector Spaces, Subspaces
Solving Systems of Equations by Elimination Part 2
Example 2B: Solving Linear Systems by Elimination
Example 5A: Solving Simple Rational Equations
Warm Up Determine whether h=4 is a solution to each problem. 2(h-2)=4
Ch 6.3: Step Functions Some of the most interesting elementary applications of the Laplace Transform method occur in the solution of linear equations.
Solving a System of Linear Equations
Solving By Substitution
Null Spaces, Column Spaces, and Linear Transformations
11-5 Solving Rational Equations
Presentation transcript:

Linear recurrences and Fibonacci numbers

A rabbit problem In a rabbit farm, we want to know the number of does (female rabbits) we will have after a certain number of months if A doe take one month to mature A doe gives birth to a doe every month after that. Rabbits never die. In the first month, we have only one newborn doe.

n Fn Bn Fn = Fn-1+Bn-1 1 1 0 Bn = Fn-1 2 1 1 Fn = Fn-1+Fn-2 3 2 1 4 3 2 5 5 3 6 8 5

Solution 1 Check for F2 Replace and check Fn = Fn-1+Fn-2 Theorem: Proof: Check for F2 Replace and check Fn = Fn-1+Fn-2 The theorem is true by induction.

2 n-1 n-1 Solution 2 Fn = Fn-1+Bn-1 Fn Bn 1 1 1 0 Fn-1 Bn-1 = 1 1 1 0 Fn-1 Bn-1 = Bn = Fn-1 2 Fn-2 Bn-2 1 1 1 0 1 1 1 0 Fn-2 Bn-2 1 1 1 0 = = n-1 n-1 F1 B1 1 1 1 1 0 1 1 1 0 = =

n-1 n-1 Solution 2 Fn Bn 1 1 1 0 1 = 1 1 1 0 1 1 1 0 = VDV-1 1 1 1 0 1 = n-1 1 1 1 0 1 1 1 0 = VDV-1 = VDn-1V-1 r 0 0 s r s 1 1 D= V=

Solution 2 n-1 Fn Bn 1 1 1 0 1 = n-1 -1 r s 1 1 r 0 0 s r s 1 1 1 =

Solution 3 Rewrite all equations as a vector equation. Fn = Fn-1+Fn-2 (F1,F2,F3,F4,…)={Fi}=F L: The left shift operator L{Fi}={Fi+1} L

Solution 3 Fn+2 = Fn+1+Fn I{Fi}={Fi} L2F = LF+F Ax = 0 (L2-L-I)F = 0 (L-rI)(L-sI)F = 0 (L-sI)(L-rI)F = 0

(L-rI)(L-sI)F = 0 (L-sI)(L-rI)F = 0 Everything in the null space of (L-sI) and everything in the null space of (L-rI) is a solution. (L-sI)a = 0 (L-rI)b = 0 an+1 = san bn+1 = rbn an = sn-1a1 bn = rn-1b1 Fn = csn-1+drn-1

Fn = csn-1+drn-1 F1=1 F2=1 Solve for c and d

Fibonacci numbers in nature 2 petals 3 petals 5 petals 34 petals

Fibonacci numbers in nature