Lecture 5 (More Useful Tools) Invariants The Use of Invariants  Let f be a function from X to X with a fixed point a  X, i.e. f(a) = a.  Define the.

Slides:



Advertisements
Similar presentations
1 Squares, Rectangles and Sticks Tandi Clausen-May Click the mouse to continue.
Advertisements

Making Math Work Algebra Tiles
Solving Problems by Factoring
Warm up #9 ch 6: Solve for x 1 (x – 3)(x + 5) = 0 2 (2x – 4)x = 0 3 x 2 + 4x + 3 = 0 4 X 2 + 6x + 9 = 0 5 9x 2 – 16 = 0 x = 3 or -5 x = 0 or 2 x = -1 or.
Notes 1.1.
3.3 The Characteristic function of the set  function from universal set to {0,1}  Definition 3.6: Let U be the universal set, and let A  U. The characteristic.
Consecutive Integer Problems. What is a consecutive integer? Integer: natural numbers and zero Integer: natural numbers and zero Consecutive: one after.
Formal languages and automata theory Li Fan. Pumping Lemma Let L be a regular set. Then there is a constant n such that if z is any word in L, and |z|>=n,
Test problems’ discussion. (1.1) A coin loaded to come up heads 2/3 of the time, is thrown until a head appears. What is the probability that the even.
1.7 Arrays academy.zariba.com 1. Lecture Content 1.Basic Operations with Arrays 2.Console Input & Output of Arrays 3.Iterating Over Arrays 4.List 5.Cloning.
Arithmetic Sequences and Partial Sums
Arithmetic Sequences & Partial Sums Pre-Calculus Lesson 9.2.
Mathematical Maxims and Minims, 1988
Introduction to sequences and series A sequence is a listing of numbers. For example, 2, 4, 6, 8,... or 1, 3, 5,... are the sequences of even positive.
Lecture 9. Arithmetic and geometric series and mathematical induction
1 © 2010 Pearson Education, Inc. All rights reserved © 2010 Pearson Education, Inc. All rights reserved Chapter 11 Further Topics in Algebra.
1 © 2010 Pearson Education, Inc. All rights reserved © 2010 Pearson Education, Inc. All rights reserved Chapter 10 Further Topics in Algebra.
Introduction to sequences and series
Aim: What is the arithmetic sequence? Do Now: Find the first four terms in the sequence whose n th term is 4n + 3. HW: p.256 # 4,5,6,8,10,12,16,18,19,20.
Mathematical Induction I Lecture 4: Sep 16. This Lecture Last time we have discussed different proof techniques. This time we will focus on probably the.
GEOMETRIC SEQUENCES These are sequences where the ratio of successive terms of a sequence is always the same number. This number is called the common.
Sequence – a function whose domain is positive integers. Section 9.1 – Sequences.
Lecture 4,5 Mathematical Induction and Fibonacci Sequences.
solve x + (-16) = -12 solve x + (-16) = X = 4.
Consecutive even/odd Integers
Pythagorean Theorem – Prove It! Converse of Pythagorean Theorem 1.) Is a triangle with side measures of 30, 40, and 50 units a right triangle? Prove it!
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.
Lecture 3 (More Useful Tools) The Extreme Principle.
4.8 Polynomial Word Problems. a) Define the variable, b) Write the equation, and c) Solve the problem. 1) The sum of a number and its square is 42. Find.
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 5 Number Theory and the Real Number System.
Quadratic Equations and Problem Solving. The square of a number minus twice the number is sixty three.
Sequences & Series. Sequence: A function whose domain is a set of consecutive integers. The domain gives the relative position of each term of the sequence:
8.4 Mathematical Induction Copyright © by Houghton Mifflin Company, Inc. All rights reserved. 2 Recursively defined sequences Write the first 5.
Solving Quadratic Equations Using the Quadratic Formula Part 2.
The length of a rectangle is twice the width. The perimeter is 72 inches. Find the length and the width of the rectangle.
March 25-26,  The student will find the GCF of numbers and terms.  The student will use basic addition and multiplication to identify the factors.
I Have…Who Has? for Algebra Classes J. Hill Card #1 I have 8 Who has the slope of the line whose equation is: y = 14x - 17?
160 as a product of its prime factors is 2 5 x 5 Use this information to show that 160 has 12 factors.
Beginning to understand PROOF. TBAT  prove something is not true by counter-example  prove something you know.... PLTS To get stuck and be ok with it!
CONSECUTIVE INTEGERS. CONSECUTIVE INTEGERS - Consecutive integers are integers that follow each other in order. They have a difference of 1 between each.
Warm Up: Find the following sums. Sequences Sometimes it is relatively easy to find the pattern of a sequence and sometimes it is a little more difficult.
9.3 Geometric Sequences and Series. 9.3 Geometric Sequences A sequence is geometric if the ratios of consecutive terms are the same. This common ratio.
Dr. Naveed Riaz Design and Analysis of Algorithms 1 1 Formal Methods in Software Engineering Lecture # 27.
Example: cost of bananas at $0.19 each 0.19b Objective.
Unit 9: Sequences and Series. Sequences A sequence is a list of #s in a particular order If the sequence of numbers does not end, then it is called an.
Sequences and Summation Notation. What you’ll learn Find particular terms of a sequence from the general term. Use recursion formulas. Use factorial notation.
Dr Nazir A. Zafar Advanced Algorithms Analysis and Design Advanced Algorithms Analysis and Design By Dr. Nazir Ahmad Zafar.
Fifteen Puzzle Move: can move a square adjacent to the empty square to the empty square.
Aim: What is the arithmetic sequence?
All you ever need to know about Sequences and Series
Arithmetic and Geometric Sequences
More Simple Recursive Problems
Consecutive Number Equations
Warm Up Solve each equation. 1. y – 4 = 3x – 8, for x
11.3 Geometric sequences; Geometric Series
Gray Code Can you find an ordering of all the n-bit strings in such a way that two consecutive n-bit strings differed by only one bit? This is called the.
Sequences and Series.
Consecutive Integers.
Sets and Logic…. Chapters 5 and 6
Factoring Review.
Section 11.1 Sequences.
Exercise Use mathematical induction to prove the following formula.
Sequences and Series.
Lecture 37 Section 7.2 Tue, Apr 3, 2007
Some Simple Tips and Reminders
Direct Proof and Counterexample I
One-to-One and Onto, Inverse Functions
One-to-One and Onto, Inverse Functions
Sullivan Algebra and Trigonometry: Section 13.1
Warm up Three consecutive even integers add up to 228. What are the three numbers? A rectangle has a width that is 4 more than its length. If the perimeter.
Presentation transcript:

Lecture 5 (More Useful Tools) Invariants

The Use of Invariants  Let f be a function from X to X with a fixed point a  X, i.e. f(a) = a.  Define the functions f n (x) recursively by: f 1 (x) = f(x), and f n+1 (x) = f(f n (x))  Then a is also a fixed point for f n, i.e. f n (a) = a

Problem 1 Let k and n be positive integers. Show that the sum of the k th power of 4n consecutive integers must be even.

Hint: When is a sum of n integers even? When is a product of k integers even? When is a power of an integer even?

Problem 2 Let a 1, a 2, …, a 2009, be an arrangement (permutation) of the numbers 1, 2, …, Show that (a 1  1)(a 2  2)…(a 2009  2009) is even.

Hint: When is a difference of two integers even? When is a product of n integers even?

Problem 3 Consider a set of 3074 integers with no prime factors larger than 30. Prove that there are 4 of these integers whose product is the 4 th power of an integer.

Hint: Any of these numbers must have the form: 2 a 1 3 a 2 5 a 3 7 a 4 11 a 5 13 a 6 17 a 7 19 a 8 23 a 9 29 a 10 What are the possible parities (even/odd) of the sequence a 1,…,a 10 ?

Problem 4 Is it possible to tile a 66  62 rectangles with 12  1 rectangles?

Hint: Color each of the small squares with one of six different colors.

Thank You for Coming Wafik Lotfallah