Math.3336: Discrete Mathematics. Advanced Counting Techniques

Size: px
Start display at page:

Download "Math.3336: Discrete Mathematics. Advanced Counting Techniques"

Transcription

1 Math.3336: Discrete Mathematics Advanced Counting Techniques Instructor: Dr. Blerina Xhabli Department of Mathematics, University of Houston blerina Spring 2019 Instructor: Dr. Blerina Xhabli, University of Houston Math.3336: Discrete Mathematics Advanced Counting Techniques 1/18

2 Course Information/Office Hours Instructor: Dr. Blerina Xhabli Office hours: TuTh 10:30am 12:00pm (PGH 202) Tutor/Grader: An Vu Office hours: MonWed 2:30pm 4:00pm (Fleming #11) Class meets every TuTh 1:00 pm - 2:30 pm Course webpage: blerina/ The class webpage contains contact info, office hours, slides from lectures, and important announcements. Instructor: Dr. Blerina Xhabli, University of Houston Math.3336: Discrete Mathematics Advanced Counting Techniques 2/18

3 Assignments to work on Homework #10 due Thursday, 4/25, 11:59pm No credit unless turned in by 11:59pm on due date Late submissions not allowed, but lowest homework score dropped when calculating grades Homework will be submitted online in your CASA accounts. You can find the instructions on how to upload your homework in our class webpage. Instructor: Dr. Blerina Xhabli, University of Houston Math.3336: Discrete Mathematics Advanced Counting Techniques 3/18

4 Chapter 8 Advanced Counting Techniques Chapter 8 Overview Applications of Recurrence Relations Section 8.1 Solving Linear Recurrence Relations Section 8.2 Homogeneous Recurrence Relations Nonhomogeneous Recurrence Relations Divide-and-Conquer Algorithms and Recurrence Relations Section 8.3 Generating Functions Section 8.4 Inclusion-Exclusion Section 8.5 Applications of Inclusion-Exclusion Section 8.6 Instructor: Dr. Blerina Xhabli, University of Houston Math.3336: Discrete Mathematics Advanced Counting Techniques 4/18

5 Section 8.1 Applications of Recurrence Relations Recall the Recursively Defined Sequences: In previous lectures, we looked at recursively-defined sequences Example: What sequence is this? 1, 2, 3, 4, 5, 6, 7, 8,... a 0 = 1 a n = a n Another example: Fibonacci numbers 1, 1, 2, 3, 5, 8, 13, 21, 34, 55,... f 0 = 1 f 1 = 1 f n = f n 1 + f n 2 Instructor: Dr. Blerina Xhabli, University of Houston Math.3336: Discrete Mathematics Advanced Counting Techniques 5/18

6 Recurrence Relations Recursively defined sequences are often referred to as recurrence relations The base cases in the recursive definition are called initial values of the recurrence relation Example: Write recurrence relation representing number of bacteria in n th hour if colony starts with 5 bacteria and doubles every hour? a 0 = 5 a n = 2 a n 1 Instructor: Dr. Blerina Xhabli, University of Houston Math.3336: Discrete Mathematics Advanced Counting Techniques 6/18

7 Closed Form Solutions Recurrence relations are often very natural to define, but we usually need to find closed form solution. Closed form solution defines n th number in the sequence as a function of n What is closed form solution to the following recurrence? a 0 = 0 a n = a n 1 + n Instructor: Dr. Blerina Xhabli, University of Houston Math.3336: Discrete Mathematics Advanced Counting Techniques 7/18

8 Closed Form Solutions of Recurrence Relations Given an arbitrary recurrence relation, is there a mechanical way to obtain the closed form solution? Not for arbitrary, but for a subclass of recurrence relations A linear homogeneous recurrence relation with constant coefficients is a recurrence relation of the form: a n = c 1 a n 1 + c 2 a n c k a n k where each c i is a constant and c k is non-zero The value of k is called the degree of the recurrence relation The recurrence relation for Fibonacci numbers is a degree 2 linear homogeneous recurrence Instructor: Dr. Blerina Xhabli, University of Houston Math.3336: Discrete Mathematics Advanced Counting Techniques 8/18

9 Examples and Non-Examples Which of these are linear homogenous recurrence relations with constant coefficients? a n = a n 1 + 2a n 5 yes a n = 2a n no, not homogeneous a n = a n 1 + n no, not homogeneous a n = a n 1 a n 2 no, non-linear a n = n a n 1 linear homogenous but not constant coeff. Instructor: Dr. Blerina Xhabli, University of Houston Math.3336: Discrete Mathematics Advanced Counting Techniques 9/18

10 Characteristic Polynomial Cook-book recipe for solving linear homogenous recurrence relations with constant coefficients Definition: The characteristic equation of a recurrence relation of the form a n = c 1 a n 1 + c 2 a n c k a n k is r k = c 1 r k 1 + c 2 r k c k i.e., Replace a n i with r n i (n k) Instructor: Dr. Blerina Xhabli, University of Houston Math.3336: Discrete Mathematics Advanced Counting Techniques 10/18

11 Characteristic Equation Examples What are the characteristic equations for the following recurrence relations? f n = f n 1 + f n 2 r 2 = r + 1 a n = 2a n 1 r = 2 a n = 2a n 1 + 5a n 3 r 3 = 2r Instructor: Dr. Blerina Xhabli, University of Houston Math.3336: Discrete Mathematics Advanced Counting Techniques 11/18

12 Characteristic Roots The characteristic roots of a linear homogeneous recurrence relation are the roots of its characteristic equation. What are the characteristic roots of the following recurrence relations? a n = 2a n 1 + 3a n 2 r 1 = 3, r 2 = 1 f n = f n 1 + f n 2 r 1 = , r 2 = Instructor: Dr. Blerina Xhabli, University of Houston Math.3336: Discrete Mathematics Advanced Counting Techniques 12/18

13 Theorem I: Solving Linear Homogenous Recurrence Relations Let a n = c 1 a n 1 + c 2 a n c k a n k be a recurrence relation with k distinct characteristic roots r 1,..., r k. Then the closed form solution for a n is of the form: a n = α 1 r n 1 + α 2 r n α k r n k Furthermore, given k initial conditions, the constants α 1,..., α k are uniquely determined Note: Won t do the formal proof because requires a good amount of linear algebra. In class, we demonstrated the basic needed tools behind the proof. Instructor: Dr. Blerina Xhabli, University of Houston Math.3336: Discrete Mathematics Advanced Counting Techniques 13/18

14 Example I Find a closed form solution for the recurrence a n = a n 1 + 2a n 2 with initial conditions a 0 = 2 and a 1 = 7 Characteristic equation: r 2 r 2 = 0 Characteristic roots: r 1 = 2, r 2 = 1 Thus, the general solution is a n = α 1 2 n + α 2 ( 1) n. Coefficients: α 1 = 3, α 2 = 1 { a0 = α α 2 ( 1) 0 { = 2 a 1 = α α 2 ( 1) 1 = 7 α1 + α 2 = 2 2α 1 α 2 = 7 Closed-form solution: a n = 3 2 n ( 1) n Instructor: Dr. Blerina Xhabli, University of Houston Math.3336: Discrete Mathematics Advanced Counting Techniques 14/18

15 Example II Derive the closed form solution for the Fibonacci sequence f n = f n 1 + f n 2 with initial conditions f 0 = 0 and f 1 = 1 From earlier, characteristic equation has two distinct roots at r 1 = , r 2 = Hence, solution is of the form: ( 1 + ) n ( 5 1 ) n 5 f n = α 1 + α Compute α 1, α 2 using initial conditions f 0 = 0 and f 1 = 1 in the general solution above: α 1 = 1 5, α 2 = 1 5 Instructor: Dr. Blerina Xhabli, University of Houston Math.3336: Discrete Mathematics Advanced Counting Techniques 15/18

16 Towers of Hanoi Given 3 pegs where first peg contains n disks Goal: Move all the disks to a different peg (e.g., second one) Rule 1: Larger disks cannot rest on top of smaller disks Rule 2: Can only move the top-most disk at a time Question: How many steps does it take to move all n disks? Instructor: Dr. Blerina Xhabli, University of Houston Math.3336: Discrete Mathematics Advanced Counting Techniques 16/18

17 A Recursive Solution Solve recursively T n is number of steps to move n disks Base case: n = 1, move disk from first peg to second: T 1 = 1 Induction: Suppose we can move n 1 disks in T n 1 steps; how many steps does it take to move T n disks? Idea: First move the topmost n 1 disks to peg 3; can be done in T n 1 steps Now, move bottom-most disk to peg 2 takes just 1 step Finally, recursively move n 1 disks in peg 3 to peg 2 can be done in T n 1 steps Instructor: Dr. Blerina Xhabli, University of Houston Math.3336: Discrete Mathematics Advanced Counting Techniques 17/18

18 Towers of Hanoi, cont. Initial condition: T 1 = 1 Recurrence relation: T n = 2T n Now we will find closed form solution for T n : We can use an iterative approach to solve this recurrence relation by repeatedly expressing T n in terms of the previous terms of the sequence: T n = 2T n = 2(2T n 2 + 1) + 1 = 2 2 T n = 2 2 (2T n 3 + 1) = 2 3 T n = 2 n 1 T n n substitute T 1 = 1 = 2 n n n geometric series = 2 n 1 Instructor: Dr. Blerina Xhabli, University of Houston Math.3336: Discrete Mathematics Advanced Counting Techniques 18/18

Math.3336: Discrete Mathematics. Primes and Greatest Common Divisors

Math.3336: Discrete Mathematics. Primes and Greatest Common Divisors Math.3336: Discrete Mathematics Primes and Greatest Common Divisors Instructor: Dr. Blerina Xhabli Department of Mathematics, University of Houston https://www.math.uh.edu/ blerina Email: blerina@math.uh.edu

More information

Math.3336: Discrete Mathematics. Chapter 9 Relations

Math.3336: Discrete Mathematics. Chapter 9 Relations Math.3336: Discrete Mathematics Chapter 9 Relations Instructor: Dr. Blerina Xhabli Department of Mathematics, University of Houston https://www.math.uh.edu/ blerina Email: blerina@math.uh.edu Fall 2018

More information

Math.3336: Discrete Mathematics. Combinatorics: Basics of Counting

Math.3336: Discrete Mathematics. Combinatorics: Basics of Counting Math.3336: Discrete Mathematics Combinatorics: Basics of Counting Instructor: Dr. Blerina Xhabli Department of Mathematics, University of Houston https://www.math.uh.edu/ blerina Email: blerina@math.uh.edu

More information

Math.3336: Discrete Mathematics. Cardinality of Sets

Math.3336: Discrete Mathematics. Cardinality of Sets Math.3336: Discrete Mathematics Cardinality of Sets Instructor: Dr. Blerina Xhabli Department of Mathematics, University of Houston https://www.math.uh.edu/ blerina Email: blerina@math.uh.edu Fall 2018

More information

Math.3336: Discrete Mathematics. Propositional Equivalences

Math.3336: Discrete Mathematics. Propositional Equivalences Math.3336: Discrete Mathematics Propositional Equivalences Instructor: Dr. Blerina Xhabli Department of Mathematics, University of Houston https://www.math.uh.edu/ blerina Email: blerina@math.uh.edu Fall

More information

Math.3336: Discrete Mathematics. Applications of Propositional Logic

Math.3336: Discrete Mathematics. Applications of Propositional Logic Math.3336: Discrete Mathematics Applications of Propositional Logic Instructor: Dr. Blerina Xhabli Department of Mathematics, University of Houston https://www.math.uh.edu/ blerina Email: blerina@math.uh.edu

More information

Math.3336: Discrete Mathematics. Primes and Greatest Common Divisors

Math.3336: Discrete Mathematics. Primes and Greatest Common Divisors Math.3336: Discrete Mathematics Primes and Greatest Common Divisors Instructor: Dr. Blerina Xhabli Department of Mathematics, University of Houston https://www.math.uh.edu/ blerina Email: blerina@math.uh.edu

More information

Math.3336: Discrete Mathematics. Mathematical Induction

Math.3336: Discrete Mathematics. Mathematical Induction Math.3336: Discrete Mathematics Mathematical Induction Instructor: Dr. Blerina Xhabli Department of Mathematics, University of Houston https://www.math.uh.edu/ blerina Email: blerina@math.uh.edu Fall 2018

More information

Math.3336: Discrete Mathematics. Nested Quantifiers/Rules of Inference

Math.3336: Discrete Mathematics. Nested Quantifiers/Rules of Inference Math.3336: Discrete Mathematics Nested Quantifiers/Rules of Inference Instructor: Dr. Blerina Xhabli Department of Mathematics, University of Houston https://www.math.uh.edu/ blerina Email: blerina@math.uh.edu

More information

Math.3336: Discrete Mathematics. Nested Quantifiers

Math.3336: Discrete Mathematics. Nested Quantifiers Math.3336: Discrete Mathematics Nested Quantifiers Instructor: Dr. Blerina Xhabli Department of Mathematics, University of Houston https://www.math.uh.edu/ blerina Email: blerina@math.uh.edu Fall 2018

More information

Math.3336: Discrete Mathematics. Proof Methods and Strategy

Math.3336: Discrete Mathematics. Proof Methods and Strategy Math.3336: Discrete Mathematics Proof Methods and Strategy Instructor: Dr. Blerina Xhabli Department of Mathematics, University of Houston https://www.math.uh.edu/ blerina Email: blerina@math.uh.edu Fall

More information

Learning Objectives

Learning Objectives Learning Objectives Learn about recurrence relations Learn the relationship between sequences and recurrence relations Explore how to solve recurrence relations by iteration Learn about linear homogeneous

More information

Advanced Counting Techniques. Chapter 8

Advanced Counting Techniques. Chapter 8 Advanced Counting Techniques Chapter 8 Chapter Summary Applications of Recurrence Relations Solving Linear Recurrence Relations Homogeneous Recurrence Relations Nonhomogeneous Recurrence Relations Divide-and-Conquer

More information

Recurrence Relations

Recurrence Relations Recurrence Relations Recurrence Relations Reading (Epp s textbook) 5.6 5.8 1 Recurrence Relations A recurrence relation for a sequence aa 0, aa 1, aa 2, ({a n }) is a formula that relates each term a k

More information

Advanced Counting Techniques

Advanced Counting Techniques . All rights reserved. Authorized only for instructor use in the classroom. No reproduction or further distribution permitted without the prior written consent of McGraw-Hill Education. Advanced Counting

More information

Linear Recurrence Relations

Linear Recurrence Relations Linear Recurrence Relations Linear Homogeneous Recurrence Relations The Towers of Hanoi According to legend, there is a temple in Hanoi with three posts and 64 gold disks of different sizes. Each disk

More information

CS483 Design and Analysis of Algorithms

CS483 Design and Analysis of Algorithms CS483 Design and Analysis of Algorithms Chapter 2 Divide and Conquer Algorithms Instructor: Fei Li lifei@cs.gmu.edu with subject: CS483 Office hours: Room 5326, Engineering Building, Thursday 4:30pm -

More information

CS 2210 Discrete Structures Advanced Counting. Fall 2017 Sukumar Ghosh

CS 2210 Discrete Structures Advanced Counting. Fall 2017 Sukumar Ghosh CS 2210 Discrete Structures Advanced Counting Fall 2017 Sukumar Ghosh Compound Interest A person deposits $10,000 in a savings account that yields 10% interest annually. How much will be there in the account

More information

2.1 Differential Equations and Solutions. Blerina Xhabli

2.1 Differential Equations and Solutions. Blerina Xhabli 2.1 Math 3331 Differential Equations 2.1 Differential Equations and Solutions Blerina Xhabli Department of Mathematics, University of Houston blerina@math.uh.edu math.uh.edu/ blerina/teaching.html Blerina

More information

SOLVING LINEAR RECURRENCE RELATIONS

SOLVING LINEAR RECURRENCE RELATIONS SOLVING LINEAR RECURRENCE RELATIONS Schaum's outline Sec. 6.6 6.9 Rosen Sec. 8.1 8. November 9, 017 margarita.spitsakova@ttu.ee ICY0001: Lecture 8 November 9, 017 1 / 47 Contents 1 Motivation examples

More information

Divide and Conquer. Recurrence Relations

Divide and Conquer. Recurrence Relations Divide and Conquer Recurrence Relations Divide-and-Conquer Strategy: Break up problem into parts. Solve each part recursively. Combine solutions to sub-problems into overall solution. 2 MergeSort Mergesort.

More information

Course Staff. Textbook

Course Staff. Textbook Course Staff CS311H: Discrete Mathematics Intro and Propositional Logic Instructor: Işıl Dillig Instructor: Prof. Işıl Dillig TAs: Jacob Van Geffen, Varun Adiga, Akshay Gupta Class meets every Monday,

More information

Handout 7: Recurrences (Cont d)

Handout 7: Recurrences (Cont d) ENGG 2440B: Discrete Mathematics for Engineers Handout 7: Recurrences (Cont d) 2018 19 First Term Instructor: Anthony Man Cho So October 8, 2018 In the last handout, we studied techniques for solving linear

More information

Algorithm Analysis Recurrence Relation. Chung-Ang University, Jaesung Lee

Algorithm Analysis Recurrence Relation. Chung-Ang University, Jaesung Lee Algorithm Analysis Recurrence Relation Chung-Ang University, Jaesung Lee Recursion 2 Recursion 3 Recursion in Real-world Fibonacci sequence = + Initial conditions: = 0 and = 1. = + = + = + 0, 1, 1, 2,

More information

MATH 137 : Calculus 1 for Honours Mathematics. Online Assignment #2. Introduction to Sequences

MATH 137 : Calculus 1 for Honours Mathematics. Online Assignment #2. Introduction to Sequences 1 MATH 137 : Calculus 1 for Honours Mathematics Online Assignment #2 Introduction to Sequences Due by 9:00 pm on WEDNESDAY, September 19, 2018 Instructions: Weight: 2% This assignment covers the topics

More information

EECS 1028 M: Discrete Mathematics for Engineers

EECS 1028 M: Discrete Mathematics for Engineers EECS 1028 M: Discrete Mathematics for Engineers Suprakash Datta Office: LAS 3043 Course page: http://www.eecs.yorku.ca/course/1028 Also on Moodle S. Datta (York Univ.) EECS 1028 W 18 1 / 24 Course policies

More information

Recursion and Induction

Recursion and Induction Recursion and Induction Themes Recursion Recurrence Definitions Recursive Relations Induction (prove properties of recursive programs and objects defined recursively) Examples Tower of Hanoi Gray Codes

More information

Part III, Sequences and Series CS131 Mathematics for Computer Scientists II Note 16 RECURRENCES

Part III, Sequences and Series CS131 Mathematics for Computer Scientists II Note 16 RECURRENCES CS131 Part III, Sequences and Series CS131 Mathematics for Computer Scientists II Note 16 RECURRENCES A recurrence is a rule which defines each term of a sequence using the preceding terms. The Fibonacci

More information

V. Adamchik 1. Recurrences. Victor Adamchik Fall of 2005

V. Adamchik 1. Recurrences. Victor Adamchik Fall of 2005 V. Adamchi Recurrences Victor Adamchi Fall of 00 Plan Multiple roots. More on multiple roots. Inhomogeneous equations 3. Divide-and-conquer recurrences In the previous lecture we have showed that if the

More information

CS483 Design and Analysis of Algorithms

CS483 Design and Analysis of Algorithms CS483 Design and Analysis of Algorithms Lecture 6-8 Divide and Conquer Algorithms Instructor: Fei Li lifei@cs.gmu.edu with subject: CS483 Office hours: STII, Room 443, Friday 4:00pm - 6:00pm or by appointments

More information

CS 4104 Data and Algorithm Analysis. Recurrence Relations. Modeling Recursive Function Cost. Solving Recurrences. Clifford A. Shaffer.

CS 4104 Data and Algorithm Analysis. Recurrence Relations. Modeling Recursive Function Cost. Solving Recurrences. Clifford A. Shaffer. Department of Computer Science Virginia Tech Blacksburg, Virginia Copyright c 2010,2017 by Clifford A. Shaffer Data and Algorithm Analysis Title page Data and Algorithm Analysis Clifford A. Shaffer Spring

More information

Welcome to Physics 161 Elements of Physics Fall 2018, Sept 4. Wim Kloet

Welcome to Physics 161 Elements of Physics Fall 2018, Sept 4. Wim Kloet Welcome to Physics 161 Elements of Physics Fall 2018, Sept 4 Wim Kloet 1 Lecture 1 TOPICS Administration - course web page - contact details Course materials - text book - iclicker - syllabus Course Components

More information

CS Non-recursive and Recursive Algorithm Analysis

CS Non-recursive and Recursive Algorithm Analysis CS483-04 Non-recursive and Recursive Algorithm Analysis Instructor: Fei Li Room 443 ST II Office hours: Tue. & Thur. 4:30pm - 5:30pm or by appointments lifei@cs.gmu.edu with subject: CS483 http://www.cs.gmu.edu/

More information

Lecture 12 : Recurrences DRAFT

Lecture 12 : Recurrences DRAFT CS/Math 240: Introduction to Discrete Mathematics 3/1/2011 Lecture 12 : Recurrences Instructor: Dieter van Melkebeek Scribe: Dalibor Zelený DRAFT Last few classes we talked about program correctness. We

More information

Math Section Bekki George: 01/16/19. University of Houston. Bekki George (UH) Math /16/19 1 / 31

Math Section Bekki George: 01/16/19. University of Houston. Bekki George (UH) Math /16/19 1 / 31 Math 1431 Section 12200 Bekki George: bekki@math.uh.edu University of Houston 01/16/19 Bekki George (UH) Math 1431 01/16/19 1 / 31 Office Hours: Mondays 1-2pm, Tuesdays 2:45-3:30pm (also available by appointment)

More information

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis Lecture 14 Class URL: http://vlsicad.ucsd.edu/courses/cse21-s14/ Lecture 14 Notes Goals for this week Big-O complexity

More information

MATH 243E Test #3 Solutions

MATH 243E Test #3 Solutions MATH 4E Test # Solutions () Find a recurrence relation for the number of bit strings of length n that contain a pair of consecutive 0s. You do not need to solve this recurrence relation. (Hint: Consider

More information

Recurrences COMP 215

Recurrences COMP 215 Recurrences COMP 215 Analysis of Iterative Algorithms //return the location of the item matching x, or 0 if //no such item is found. index SequentialSearch(keytype[] S, in, keytype x) { index location

More information

MA/OR/ST 706: Nonlinear Programming Midterm Exam Instructor: Dr. Kartik Sivaramakrishnan INSTRUCTIONS

MA/OR/ST 706: Nonlinear Programming Midterm Exam Instructor: Dr. Kartik Sivaramakrishnan INSTRUCTIONS MA/OR/ST 706: Nonlinear Programming Midterm Exam Instructor: Dr. Kartik Sivaramakrishnan INSTRUCTIONS 1. Please write your name and student number clearly on the front page of the exam. 2. The exam is

More information

1 Recursive Algorithms

1 Recursive Algorithms 400 lecture note #8 [ 5.6-5.8] Recurrence Relations 1 Recursive Algorithms A recursive algorithm is an algorithm which invokes itself. A recursive algorithm looks at a problem backward -- the solution

More information

Recursion and Induction

Recursion and Induction Recursion and Induction Themes Recursion Recursive Definitions Recurrence Relations Induction (prove properties of recursive programs and objects defined recursively) Examples Tower of Hanoi Gray Codes

More information

Recursion and Induction

Recursion and Induction Recursion and Induction Themes Recursion Recursive Definitions Recurrence Relations Induction (prove properties of recursive programs and objects defined recursively) Examples Tower of Hanoi Gray Codes

More information

6.2 SOLVING EASY RECURRENCES

6.2 SOLVING EASY RECURRENCES Section 6.2 Solving Easy Recurrences 6.2.1 6.2 SOLVING EASY RECURRENCES We identify a type of recurrence that can be solved by special methods. def: A recurrence relation a n = f(a 0,..., a n 1 ) has degree

More information

CSC2100B Data Structures Analysis

CSC2100B Data Structures Analysis CSC2100B Data Structures Analysis Irwin King king@cse.cuhk.edu.hk http://www.cse.cuhk.edu.hk/~king Department of Computer Science & Engineering The Chinese University of Hong Kong Algorithm An algorithm

More information

Introduction. Outline. EE3321 Electromagnetic Field Theory. Welcome! About this class Rules and syllabus Let s get started! 9/19/2018. E t.

Introduction. Outline. EE3321 Electromagnetic Field Theory. Welcome! About this class Rules and syllabus Let s get started! 9/19/2018. E t. D v B 0 B E t D H J t D B E H Introduction EE3321 Electromagnetic Field Theory Outline Welcome! About this class Rules and syllabus Let s get started! Slide 2 1 Welcome Course Information http://emlab.utep.edu/ee3321emf.htm

More information

Announcements Monday, September 18

Announcements Monday, September 18 Announcements Monday, September 18 WeBWorK 1.4, 1.5 are due on Wednesday at 11:59pm. The first midterm is on this Friday, September 22. Midterms happen during recitation. The exam covers through 1.5. About

More information

Math 152: Applicable Mathematics and Computing

Math 152: Applicable Mathematics and Computing Math 152: Applicable Mathematics and Computing June 5, 2017 June 5, 2017 1 / 19 Announcements Dun s office hours on Thursday are extended, from 12.30 3.30pm (in SDSC East 294). My office hours on Wednesday

More information

COE428 Notes Week 4 (Week of Jan 30, 2017)

COE428 Notes Week 4 (Week of Jan 30, 2017) COE428 Lecture Notes: Week 4 1 of 9 COE428 Notes Week 4 (Week of Jan 30, 2017) Table of Contents Announcements...2 Answers to last week's questions...2 Review...3 Big-O, Big-Omega and Big-Theta analysis

More information

Math 410 Linear Algebra Summer Session American River College

Math 410 Linear Algebra Summer Session American River College Course Information Instructor: Kristin Lui Email: luik@arc.losrios.edu Office Hours: By appointment Location: Liberal Arts 163 ARC Main Campus Meet Times: Tuesday/Thursday 6:30 pm 9:40 pm Dates: June 16,

More information

School of Mathematics and Science MATH 163 College Algebra Section: EFA

School of Mathematics and Science MATH 163 College Algebra Section: EFA CCBC Essex School of Mathematics and Science MATH 163 College Algebra Section: EFA CLASSROOM LOCATION: L311 SEMESTER: Spring 2012 CLASS MEETING DAYS: MWF CLASS MEETING TIMES:12:20-1:15 INSTRUCTOR: D. TRUSZKOWSKI

More information

1.1 Administrative Stuff

1.1 Administrative Stuff 601.433 / 601.633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Introduction, Karatsuba/Strassen Date: 9/4/18 1.1 Administrative Stuff Welcome to Algorithms! In this class you will learn the

More information

CS173 Lecture B, November 3, 2015

CS173 Lecture B, November 3, 2015 CS173 Lecture B, November 3, 2015 Tandy Warnow November 3, 2015 CS 173, Lecture B November 3, 2015 Tandy Warnow Announcements Examlet 7 is a take-home exam, and is due November 10, 11:05 AM, in class.

More information

Homework 1 Submission

Homework 1 Submission Homework Submission Sample Solution; Due Date: Thursday, May 4, :59 pm Directions: Your solutions should be typed and submitted as a single pdf on Gradescope by the due date. L A TEX is preferred but not

More information

SPRING 2014 Department of Physics & Astronomy, UGA PHYS 4202/6202 Electricity and Magnetism II (as of Jan. 07/2014)

SPRING 2014 Department of Physics & Astronomy, UGA PHYS 4202/6202 Electricity and Magnetism II (as of Jan. 07/2014) SPRING 2014 Department of Physics & Astronomy, UGA PHYS 4202/6202 Electricity and Magnetism II (as of Jan. 07/2014) The course syllabus is a general plan for the course; deviations announced to the class

More information

MAT 211, Spring 2015, Introduction to Linear Algebra.

MAT 211, Spring 2015, Introduction to Linear Algebra. MAT 211, Spring 2015, Introduction to Linear Algebra. Lecture 04, 53103: MWF 10-10:53 AM. Location: Library W4535 Contact: mtehrani@scgp.stonybrook.edu Final Exam: Monday 5/18/15 8:00 AM-10:45 AM The aim

More information

Differential Equations MTH 205

Differential Equations MTH 205 A Course Title & Number MTH 205 B Pre/Co requisite(s) MTH 104 C Number of credits 3 0 3 D Faculty Name Ayman Badawi E Term/ Year Fall 2014 F Sections CRN Days Time Location UTR 11:00 11:50 Office Hours:

More information

Section 5.2 Solving Recurrence Relations

Section 5.2 Solving Recurrence Relations Section 5.2 Solving Recurrence Relations If a g(n) = f (a g(0),a g(1),..., a g(n 1) ) find a closed form or an expression for a g(n). Recall: nth degree polynomials have n roots: a n x n + a n 1 x n 1

More information

CS Analysis of Recursive Algorithms and Brute Force

CS Analysis of Recursive Algorithms and Brute Force CS483-05 Analysis of Recursive Algorithms and Brute Force Instructor: Fei Li Room 443 ST II Office hours: Tue. & Thur. 4:30pm - 5:30pm or by appointments lifei@cs.gmu.edu with subject: CS483 http://www.cs.gmu.edu/

More information

cse547, math547 DISCRETE MATHEMATICS Professor Anita Wasilewska

cse547, math547 DISCRETE MATHEMATICS Professor Anita Wasilewska cse547, math547 DISCRETE MATHEMATICS Professor Anita Wasilewska LECTURE 1 INTRODUCTION Course Web Page www.cs.stonybrook.edu/ cse547 The webpage contains: detailed lectures notes slides; very detailed

More information

Row Space, Column Space, and Nullspace

Row Space, Column Space, and Nullspace Row Space, Column Space, and Nullspace MATH 322, Linear Algebra I J. Robert Buchanan Department of Mathematics Spring 2015 Introduction Every matrix has associated with it three vector spaces: row space

More information

Section Instructors: by now you should be scheduled into one of the following Sections:

Section Instructors: by now you should be scheduled into one of the following Sections: MAT188H1F LINEAR ALGEBRA: Syllabus for Fall 2018 as of October 26, 2018 2018-2019 Calendar Description: This course covers systems of linear equations and Gaussian elimination, applications; vectors in

More information

1 Examples of Weak Induction

1 Examples of Weak Induction More About Mathematical Induction Mathematical induction is designed for proving that a statement holds for all nonnegative integers (or integers beyond an initial one). Here are some extra examples of

More information

NEW RIVER COMMUNITY COLLEGE DUBLIN, VIRGINIA COURSE PLAN

NEW RIVER COMMUNITY COLLEGE DUBLIN, VIRGINIA COURSE PLAN NEW RIVER COMMUNITY COLLEGE DUBLIN, VIRGINIA COURSE PLAN Course Number and Title: MTH 279 Ordinary Differential Equations Prepared by: Mathematics Department (Date) Approved by: (Dean) (Date) I. Course

More information

CS483 Design and Analysis of Algorithms

CS483 Design and Analysis of Algorithms CS483 Design and Analysis of Algorithms Lecture 1 Introduction and Prologue Instructor: Fei Li lifei@cs.gmu.edu with subject: CS483 Office hours: Room 5326, Engineering Building, Thursday 4:30pm - 6:30pm

More information

Math 1553 Introduction to Linear Algebra. School of Mathematics Georgia Institute of Technology

Math 1553 Introduction to Linear Algebra. School of Mathematics Georgia Institute of Technology Math 1553 Introduction to Linear Algebra School of Mathematics Georgia Institute of Technology Chapter 1 Overview Linear. Algebra. What is Linear Algebra? Linear having to do with lines/planes/etc. For

More information

Math/EECS 1028M: Discrete Mathematics for Engineers Winter Suprakash Datta

Math/EECS 1028M: Discrete Mathematics for Engineers Winter Suprakash Datta Math/EECS 1028M: Discrete Mathematics for Engineers Winter 2017 Suprakash Datta datta@cse.yorku.ca Office: CSEB 3043 Phone: 416-736-2100 ext 77875 Course page: http://www.eecs.yorku.ca/course/1028 Administrivia

More information

AS 101: The Solar System (Spring 2017) Course Syllabus

AS 101: The Solar System (Spring 2017) Course Syllabus AS 101: The Solar System (Spring 2017) Course Syllabus Instructor: Professor Wen Li Office: CAS 501 Phone: 617-353-7439 Email: wenli77@bu.edu Office hours: Mondays 3:30 5:00 pm, Wednesdays 3:30 5:00 pm,

More information

San José State University Aerospace Engineering Department AE138: Vector Based Dynamics for Aerospace Applications Fall 2018

San José State University Aerospace Engineering Department AE138: Vector Based Dynamics for Aerospace Applications Fall 2018 San José State University Aerospace Engineering Department AE138: Vector Based Dynamics for Aerospace Applications Fall 2018 Instructor: Office Location: Email: Office Hours: Class Days/Time: Prerequisite:

More information

CHEM 4725/8725 Organometallic Chemistry. Spring 2016

CHEM 4725/8725 Organometallic Chemistry. Spring 2016 Lecture Time and Location: CHEM 4725/8725 Organometallic Chemistry Spring 2016 11:15 am - 12:30 pm Tuesdays and Thursdays 111 Smith Hall Instructor: Prof. Ian A. Tonks 568A Kolthoff Hall Phone: 612.624.4705

More information

CS261: Problem Set #3

CS261: Problem Set #3 CS261: Problem Set #3 Due by 11:59 PM on Tuesday, February 23, 2016 Instructions: (1) Form a group of 1-3 students. You should turn in only one write-up for your entire group. (2) Submission instructions:

More information

Exam 2 Solutions. x 1 x. x 4 The generating function for the problem is the fourth power of this, (1 x). 4

Exam 2 Solutions. x 1 x. x 4 The generating function for the problem is the fourth power of this, (1 x). 4 Math 5366 Fall 015 Exam Solutions 1. (0 points) Find the appropriate generating function (in closed form) for each of the following problems. Do not find the coefficient of x n. (a) In how many ways can

More information

COS 341: Discrete Mathematics

COS 341: Discrete Mathematics COS 341: Discrete Mathematics Midterm Exam Fall 2006 Print your name General directions: This exam is due on Monday, November 13 at 4:30pm. Late exams will not be accepted. Exams must be submitted in hard

More information

MATH 345 Differential Equations

MATH 345 Differential Equations MATH 345 Differential Equations Spring 2018 Instructor: Time: Dr. Manuela Girotti; office: Weber 223C email: manuela.girotti@colostate.edu Mon-Tue-Wed-Fri 1:00pm-1:50pm Location: Engineering E 206 Office

More information

Math 211 Lecture Notes: Sections

Math 211 Lecture Notes: Sections Math 211 Lecture Notes: Sections 1.1-1.3 Richard Blecksmith 1. Math 211 Business Calculus Section 1 Summer, 2009 Mon, Tues, Wed, Thurs 8:00-9:15 a.m. Reavis Hall 201 Independence Day Holiday is Wednesday,

More information

Math Section Bekki George: 08/28/18. University of Houston. Bekki George (UH) Math /28/18 1 / 37

Math Section Bekki George: 08/28/18. University of Houston. Bekki George (UH) Math /28/18 1 / 37 Math 1431 Section 14616 Bekki George: bekki@math.uh.edu University of Houston 08/28/18 Bekki George (UH) Math 1431 08/28/18 1 / 37 Office Hours: Tuesdays and Thursdays 12:30-2pm (also available by appointment)

More information

IS 709/809: Computational Methods in IS Research Fall Exam Review

IS 709/809: Computational Methods in IS Research Fall Exam Review IS 709/809: Computational Methods in IS Research Fall 2017 Exam Review Nirmalya Roy Department of Information Systems University of Maryland Baltimore County www.umbc.edu Exam When: Tuesday (11/28) 7:10pm

More information

Advanced Counting Techniques. 7.1 Recurrence Relations

Advanced Counting Techniques. 7.1 Recurrence Relations Chapter 7 Advanced Counting Techniques 71 Recurrence Relations We have seen that a recursive definition of a sequence specifies one or more initial terms and a rule for determining subsequent terms from

More information

Welcome to Physics 211! General Physics I

Welcome to Physics 211! General Physics I Welcome to Physics 211! General Physics I Physics 211 Fall 2015 Lecture 01-1 1 Physics 215 Honors & Majors Are you interested in becoming a physics major? Do you have a strong background in physics and

More information

Math 4377/6308 Advanced Linear Algebra I Dr. Vaughn Climenhaga, PGH 651A HOMEWORK 3

Math 4377/6308 Advanced Linear Algebra I Dr. Vaughn Climenhaga, PGH 651A HOMEWORK 3 Math 4377/6308 Advanced Linear Algebra I Dr. Vaughn Climenhaga, PGH 651A Fall 2013 HOMEWORK 3 Due 4pm Wednesday, September 11. You will be graded not only on the correctness of your answers but also on

More information

MATH 0409: Foundations of Mathematics COURSE OUTLINE

MATH 0409: Foundations of Mathematics COURSE OUTLINE MATH 0409: Foundations of Mathematics COURSE OUTLINE Spring 2016 CRN91085 MW 5:30-7:30pm AM209 Professor Sherri Escobar sherri.escobar@hccs.edu 281-620-1115 Catalog Description: Foundations of Mathematics.

More information

MATH 580, exam II SOLUTIONS

MATH 580, exam II SOLUTIONS MATH 580, exam II SOLUTIONS Solve the problems in the spaces provided on the question sheets. If you run out of room for an answer, continue on the back of the page or use the Extra space empty page at

More information

Section 7.2 Solving Linear Recurrence Relations

Section 7.2 Solving Linear Recurrence Relations Section 7.2 Solving Linear Recurrence Relations If a g(n) = f (a g(0),a g(1),..., a g(n 1) ) find a closed form or an expression for a g(n). Recall: nth degree polynomials have n roots: a n x n + a n 1

More information

Exam is: Math Dr. Smithies Spring 2018 Review and Practice Test 3

Exam is: Math Dr. Smithies Spring 2018 Review and Practice Test 3 Math 11022-003 Dr. Smithies Spring 2018 Review and Practice Test 3 Test 3 is Tuesday March 24 th. Unless you have documentation of a University Approved Excuse, you may not be able to take a make-up exam

More information

CHAPTER 8 Advanced Counting Techniques

CHAPTER 8 Advanced Counting Techniques 96 Chapter 8 Advanced Counting Techniques CHAPTER 8 Advanced Counting Techniques SECTION 8. Applications of Recurrence Relations 2. a) A permutation of a set with n elements consists of a choice of a first

More information

CMSC 132, Object-Oriented Programming II Summer Lecture 10:

CMSC 132, Object-Oriented Programming II Summer Lecture 10: CMSC 132, Object-Oriented Programming II Summer 2016 Lecturer: Anwar Mamat Lecture 10: Disclaimer: These notes may be distributed outside this class only with the permission of the Instructor. 10.1 RECURSION

More information

Discrete Mathematics. Kishore Kothapalli

Discrete Mathematics. Kishore Kothapalli Discrete Mathematics Kishore Kothapalli 2 Chapter 4 Advanced Counting Techniques In the previous chapter we studied various techniques for counting and enumeration. However, there are several interesting

More information

Recursion: Introduction and Correctness

Recursion: Introduction and Correctness Recursion: Introduction and Correctness CSE21 Winter 2017, Day 7 (B00), Day 4-5 (A00) January 25, 2017 http://vlsicad.ucsd.edu/courses/cse21-w17 Today s Plan From last time: intersecting sorted lists and

More information

5. Sequences & Recursion

5. Sequences & Recursion 5. Sequences & Recursion Terence Sim 1 / 42 A mathematician, like a painter or poet, is a maker of patterns. Reading Sections 5.1 5.4, 5.6 5.8 of Epp. Section 2.10 of Campbell. Godfrey Harold Hardy, 1877

More information

Announcements Tuesday, April 17

Announcements Tuesday, April 17 Announcements Tuesday, April 17 Please fill out the CIOS form online. It is important for me to get responses from most of the class: I use these for preparing future iterations of this course. If we get

More information

Course Information Course Overview Study Skills Background Material. Introduction. CS 205A: Mathematical Methods for Robotics, Vision, and Graphics

Course Information Course Overview Study Skills Background Material. Introduction. CS 205A: Mathematical Methods for Robotics, Vision, and Graphics Introduction CS 205A: Mathematical Methods for Robotics, Vision, and Graphics Doug James CS 205A: Mathematical Methods Introduction 1 / 16 Instructor Prof. Doug James Office: Gates 363 Telephone: (650)

More information

AS The Astronomical Universe. Prof. Merav Opher - Fall 2013

AS The Astronomical Universe. Prof. Merav Opher - Fall 2013 SYLLABUS AS 102 - The Astronomical Universe Prof. Merav Opher - Fall 2013 Course Catalog Summary: The birth and death of stars; red giants, white dwarfs, black holes; our galaxy, the Milky Way, and other

More information

Cpt S 223. School of EECS, WSU

Cpt S 223. School of EECS, WSU Math Review 1 Why do we need math in a data structures course? To nalyze data structures and algorithms Deriving formulae for time and memory requirements Will the solution scale? Quantify the results

More information

Important Dates. Non-instructional days. No classes. College offices closed.

Important Dates. Non-instructional days. No classes. College offices closed. Instructor: Dr. Alexander Krantsberg Email: akrantsberg@nvcc.edu Phone: 703-845-6548 Office: Bisdorf, Room AA 352 Class Time: Tuesdays and Thursdays 7:30 PM - 9:20 PM. Classroom: Bisdorf / AA 467 Office

More information

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis Lecture 15 Class URL: http://vlsicad.ucsd.edu/courses/cse21-s14/ Lecture 15 Notes Goals for this week Big-O complexity

More information

Physics 101 covers. Forces Kinematics Energy/Momentum Rotations Fluids Waves/Sound Thermodynamics. Physics 101: Lecture 1, Pg 1

Physics 101 covers. Forces Kinematics Energy/Momentum Rotations Fluids Waves/Sound Thermodynamics. Physics 101: Lecture 1, Pg 1 Physics 101 covers Forces Kinematics Energy/Momentum Rotations Fluids Waves/Sound Thermodynamics Physics 101: Lecture 1, Pg 1 Meet the Lecturer Professor Tom Kuhlman tkuhlman@illinois.edu Office Hours

More information

FINAL (CHAPTERS 7-9) MATH 141 SPRING 2018 KUNIYUKI 250 POINTS TOTAL

FINAL (CHAPTERS 7-9) MATH 141 SPRING 2018 KUNIYUKI 250 POINTS TOTAL Math 141 Name: FINAL (CHAPTERS 7-9) MATH 141 SPRING 2018 KUNIYUKI 250 POINTS TOTAL Show all work, simplify as appropriate, and use good form and procedure (as in class). Box in your final answers! No notes

More information

Important Dates. Non-instructional days. No classes. College offices closed.

Important Dates. Non-instructional days. No classes. College offices closed. Instructor: Dr. Alexander Krantsberg Email: akrantsberg@nvcc.edu Phone: 703-845-6548 Office: Bisdorf, Room AA 352 Class Time: Mondays and Wednesdays 12:30 PM - 1:45 PM. Classroom: Bisdorf / AA 354 Office

More information

Lake-Sumter State College Course Syllabus. South Lake Building 2 Room 339

Lake-Sumter State College Course Syllabus. South Lake Building 2 Room 339 Lake-Sumter State College Course Syllabus Course / Prefix Number MAC 2313 Course Title: Calculus with Analytic Geometry III CRN: 20110 20110 Credit: 4 Term: Spring 2015 Course Catalog Description: Instructor:

More information

Math Section TTH 5:30-7:00pm SR 116. James West 620 PGH

Math Section TTH 5:30-7:00pm SR 116. James West 620 PGH Math 1431 Section 15241 TTH 5:30-7:00pm SR 116 James West jdwest@math.uh.edu 620 PGH Office Hours: 2:30 4:30pm TTH in the CASA Tutoring Center or by appointment Class webpage: http://math.uh.edu/~jdwest/teaching/fa14/1431/calendar.html

More information

Recursion. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Fall 2007

Recursion. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Fall 2007 Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry Fall 2007 1 / 47 Computer Science & Engineering 235 to Discrete Mathematics Sections 7.1-7.2 of Rosen Recursive Algorithms 2 / 47 A recursive

More information