Week #3 – 9/11/13 September 2002 Prof. Marie desJardins

Slides:



Advertisements
Similar presentations
1.6 Functions. Chapter 1, section 6 Functions notation: f: A B x in A, y in B, f(x) = y. concepts: –domain of f, –codomain of f, –range of f, –f maps.
Advertisements

Chapter 8 Vocabulary. Section 8.1 Vocabulary Sequences An infinite sequence is a function whose domain is the set of positive integers. The function.
Week #10 – 28/30 October and 1 November 2002 Prof. Marie desJardins
The sum of the infinite and finite geometric sequence
CSE115/ENGR160 Discrete Mathematics 02/22/11 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 02/21/12
1 Discrete Math CS 2800 Prof. Bart Selman Module Basic Structures: Functions and Sequences.
 This Slideshow was developed to accompany the textbook  Larson Algebra 2  By Larson, R., Boswell, L., Kanold, T. D., & Stiff, L.  2011 Holt McDougal.
1 Section 1.8 Functions. 2 Loose Definition Mapping of each element of one set onto some element of another set –each element of 1st set must map to something,
Geometric Sequences and Series
Arithmetic Sequences and Series
Chapter 7 Functions Dr. Curry Guinn. Outline of Today Section 7.1: Functions Defined on General Sets Section 7.2: One-to-One and Onto Section 7.3: The.
1 CMSC 250 Chapter 7, Functions. 2 CMSC 250 Function terminology l A relationship between elements of two sets such that no element of the first set is.
Functions, Sequences, and Sums
9.2 Arithmetic Sequence and Partial Sum Common Difference Finite Sum.
GPS – Sequences and Series  MA3A9. Students will use sequences and series  a. Use and find recursive and explicit formulae for the terms of sequences.
Sequences & Summations CS 1050 Rosen 3.2. Sequence A sequence is a discrete structure used to represent an ordered list. A sequence is a function from.
Warm Up Section 3.6B (1). Show that f(x) = 3x + 5 and g(x) =
Sequences and Summations
2.1 Sets 2.2 Set Operations 2.3 Functions ‒Functions ‒ Injections, Surjections and Bijections ‒ Inverse Functions ‒Composition 2.4 Sequences and Summations.
2.3 Functions A function is an assignment of each element of one set to a specific element of some other set. Synonymous terms: function, assignment, map.
Foundations of Discrete Mathematics Chapter 3 By Dr. Dalia M. Gil, Ph.D.
February 12, 2015Applied Discrete Mathematics Week 2: Functions and Sequences 1Exercises Question 1: Given a set A = {x, y, z} and a set B = {1, 2, 3,
Week #7 – 7/9/11 October 2002 Prof. Marie desJardins
Section 2.4. Section Summary Sequences. Examples: Geometric Progression, Arithmetic Progression Recurrence Relations Example: Fibonacci Sequence Summations.
ICS 253: Discrete Structures I
Week 7 - Friday.  What did we talk about last time?  Set disproofs  Russell’s paradox  Function basics.
September1999 CMSC 203 / 0201 Fall 2002 Week #8 – 14/16 October 2002 Prof. Marie desJardins.
Fall 2002CMSC Discrete Structures1 … and now for… Sequences.
Discrete Mathematics and Its Applications Sixth Edition By Kenneth Rosen Copyright  The McGraw-Hill Companies, Inc. Permission required for reproduction.
Fall 2002CMSC Discrete Structures1 … and the following mathematical appetizer is about… Functions.
Geometric Sequences and Series Section Objectives Recognize, write, and find nth terms of geometric sequences Find the nth partial sums of geometric.
4.7 Define & Use Sequences & Series. Vocabulary  A sequence is a function whose domain is a set of consecutive integers. If not specified, the domain.
Arithmetic and Geometric Series: Lesson 43. LESSON OBJECTIVE: 1.Find sums of arithmetic and geometric series. 2.Use Sigma Notation. 3.Find specific terms.
Example Prove that: “IF 3n + 2 is odd, then n is odd” Proof by Contradiction: -p = 3n + 2 is odd, q = n is odd. -Assume that ~(p  q) is true OR -(p 
CompSci 102 Discrete Math for Computer Science January 31, 2012 Prof. Rodger Slides modified from Rosen AB a b c d x y z.
Functions Section 2.3. Section Summary Definition of a Function. – Domain, Cdomain – Image, Preimage Injection, Surjection, Bijection Inverse Function.
Warm up 1. Find the sum of : 2. Find the tenth term of the sequence if an = n2 +1: =
Arithmetic Series 19 May Summations Summation – the sum of the terms in a sequence {2, 4, 6, 8} → = 20 Represented by a capital Sigma.
Chapter Four Functions. Section 4.1 A function from a set D to set R (f: D  R) is a relation from D to R such that each x in D is related to one and.
Basic Structures: Sets, Functions, Sequences, and Sums.
Math 51/COEN 19. Sequences and Summations - vocab An arithmetic progression is a sequence of the form a, a+d, a+2d, …, a+nd, … with fixed a, d in R and.
Section 3.2: Sequences and Summations. Def: A sequence is a function from a subset of the set of integers (usually the set of natural numbers) to a set.
Fall 2008/2009 I. Arwa Linjawi & I. Asma’a Ashenkity 11 Basic Structure : Sets, Functions, Sequences, and Sums Sequences and Summations.
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.
Week 8 - Wednesday.  What did we talk about last time?  Relations  Properties of relations  Reflexive  Symmetric  Transitive.
Arithmetic Sequences and Series
Discrete Mathematics Lecture 6
Discrete Mathematics Lecture 7
The sum of the infinite and finite geometric sequence
Sect.R10 Geometric Sequences and Series
Sequences and Summations
The Growth of Functions
Discrete Math (2) Haiming Chen Associate Professor, PhD
Lecture 7 Functions.
Quiz
Discrete Structures for Computer Science
CSE15 Discrete Mathematics 02/27/17
CS100: Discrete structures
Finite Differences.
Week #5 – 23/25/27 September 2002 Prof. Marie desJardins
ICS 253: Discrete Structures I
CMSC Discrete Structures
CMSC 203, Section 0401 Discrete Structures Fall 2004 Matt Gaston
Discrete Mathematics CS 2610
Functions Rosen 2.3, 2.5 f( ) = A B Lecture 5: Oct 1, 2.
Properties of Functions
Miniconference on the Mathematics of Computation
Series.
Presentation transcript:

Week #3 – 9/11/13 September 2002 Prof. Marie desJardins CMSC 203 / 0201 Fall 2002 Week #3 – 9/11/13 September 2002 Prof. Marie desJardins

TOPICS Functions Sequences and summations Growth of functions; big-O notation

MON 9/9 FUNCTIONS (1.6)

CONCEPTS / VOCABULARY Function/mapping Domain, codomain, image, pre-image One-to-one/injective, onto/surjective, one-to-one correspondence/bijective Inverse/invertible functions, compositions, graphs Floor, ceiling

Examples Exercise 1.6.15: Determine whether each of the following functions is a bijection from R to R. (a) f(x) = 2x + 1 (b) f(x) = x2 + 1 (c) f(x) = x3 (d) f(x) = (x2 + 1) / (x2 + 2) Exercise 1.6.33: Show that x - ½ is the closest integer to the [real] x, except when x is midway between two integers, when it is the smaller of these two integers.

Examples II Exercise 1.6.55: Find the inverse function of f(x) = x3 + 1. Exercise 1.6.58: Suppose that f is a function from A to B, where A and B are finite sets with |A| = |B|. Show that f is one-to-one if and only if it is onto.

WED 9/11 SEQUENCES AND SUMMATIONS (1.7) ** Homework #1 due today! ** ** (Ungraded) quiz today! **

CONCEPTS / VOCABULARY Sequences, terms, strings Arithmetic progressions, geometric progressions, geometric series Summation , index of summation, lower and upper limit Standard summation formulas: Table 1.6.2 Cardinality, countability

Examples Exercise 1.7.19: Show that j=1n (aj – aj-1) = an – a0 where a0, a1, …, an is a sequence of real numbers. This type of sum is called telescoping. Exercise 1.7.25: Find a formula for k=0m k, when m is a positive integer. (Hint: use the formula for k=1n k3.)

Examples II Exercise 1.7.31: Determine whether each of the following sets is countable or uncountable. For those that are countable, exhibit a one-to-one correspondence between the set of natural numbers and that set. (a) the negative integers (b) the even integers (c) the real numbers between 0 and ½ (d) integers that are multiples of 7

FRI 9/13 THE GROWTH OF FUNCTIONS (1.8)

CONCEPTS / VOCABULARY Big-O notation (upper bound on growth of f(x)) f(x) is O(g(x)) if there exist constants C and k such that |f(x)|  C |g(x)| whenever x  k Triangle inequality Growth of (f1 + f2)(x), (f1 f2)(x) Big-Omega  (lower bound on growth of f(x)) Big-Theta  (upper and lower bound)

Examples Exercise 1.8.7(a): Find the least integer n such that f(x) = 2 x3 + x2 log x is O(xn). Exercise 1.8.25: Show that f(x) is (g(x)) iff f(x) is O(g(x)) and g(x) is O(f(x)). Exercise 1.8.39: If f1(x) and f2(x) are functions from the set of positive integers to the set of positive real numbers, and f1(x) and f2(x) are both (g(x)), is (f1- f2)(x) also (g(x))? Either prove that it is or give a counterexample.