Introduction to Decision Sciences Lecture 6

Similar documents
2.1 Sets. Definition 1 A set is an unordered collection of objects. Important sets: N, Z, Z +, Q, R.

Functions. Given a function f: A B:

ICS141: Discrete Mathematics for Computer Science I

Section Summary. Definition of a Function.

11.10a Taylor and Maclaurin Series

3 FUNCTIONS. 3.1 Definition and Basic Properties. c Dr Oksana Shatalov, Fall

Analysis II: Basic knowledge of real analysis: Part V, Power Series, Differentiation, and Taylor Series

9/21/2018. Properties of Functions. Properties of Functions. Properties of Functions. Properties of Functions. Properties of Functions

Functions. Definition 1 Let A and B be sets. A relation between A and B is any subset of A B.

Today s Topics. Methods of proof Relationships to logical equivalences. Important definitions Relationships to sets, relations Special functions

CS100: DISCRETE STRUCTURES

3 FUNCTIONS. 3.1 Definition and Basic Properties. c Dr Oksana Shatalov, Fall

1 The distributive law

Notes. Functions. Introduction. Notes. Notes. Definition Function. Definition. Slides by Christopher M. Bourke Instructor: Berthe Y.

MAT115A-21 COMPLETE LECTURE NOTES

3 FUNCTIONS. 3.1 Definition and Basic Properties. c Dr Oksana Shatalov, Spring

Section 4.4 Functions. CS 130 Discrete Structures

Countable and uncountable sets. Matrices.

QF101: Quantitative Finance August 22, Week 1: Functions. Facilitator: Christopher Ting AY 2017/2018

8.7 Taylor s Inequality Math 2300 Section 005 Calculus II. f(x) = ln(1 + x) f(0) = 0

General Notation. Exercises and Problems

Chapter 2 - Basics Structures MATH 213. Chapter 2: Basic Structures. Dr. Eric Bancroft. Fall Dr. Eric Bancroft MATH 213 Fall / 60

Introduction to Series and Sequences Math 121 Calculus II Spring 2015

Chapter 2 - Basics Structures

Propositional Logic, Predicates, and Equivalence

Countable and uncountable sets. Matrices.

MATH 3300 Test 1. Name: Student Id:

LESSON RELATIONS & FUNCTION THEORY

Section Summary. Sequences. Recurrence Relations. Summations. Examples: Geometric Progression, Arithmetic Progression. Example: Fibonacci Sequence

ADVANCED CALCULUS - MTH433 LECTURE 4 - FINITE AND INFINITE SETS

Review 1. Andreas Klappenecker

9/21/17. Functions. CS 220: Discrete Structures and their Applications. Functions. Chapter 5 in zybooks. definition. definition

Section Summary. Definition of a Function.

Linear Algebra March 16, 2019

Week Some Warm-up Questions

80 Wyner PreCalculus Spring 2017

Chapter 4 Sequences and Series

We could express the left side as a sum of vectors and obtain the Vector Form of a Linear System: a 12 a x n. a m2

0 Sets and Induction. Sets

Functions If (x, y 1 ), (x, y 2 ) S, then y 1 = y 2

Functions Functions and Modeling A UTeach/TNT Course

Functions as Relations

Announcements. CS243: Discrete Structures. Sequences, Summations, and Cardinality of Infinite Sets. More on Midterm. Midterm.

Definitions & Theorems

Func%ons. function f to the element a of A. Functions are sometimes called mappings or transformations.

CS 220: Discrete Structures and their Applications. Functions Chapter 5 in zybooks

MODULE 1: FOUNDATIONS OF MATHEMATICS

1. Decide for each of the following expressions: Is it a function? If so, f is a function. (i) Domain: R. Codomain: R. Range: R. (iii) Yes surjective.

Finite and Infinite Sets

AP Calculus Chapter 9: Infinite Series

Taylor and Maclaurin Series. Approximating functions using Polynomials.

Sec$on Summary. Definition of a Function.

5 FUNCTIONS. 5.1 Definition and Basic Properties. c Dr Oksana Shatalov, Fall

Introduction to Proofs in Analysis. updated December 5, By Edoh Y. Amiran Following the outline of notes by Donald Chalice INTRODUCTION

1 + lim. n n+1. f(x) = x + 1, x 1. and we check that f is increasing, instead. Using the quotient rule, we easily find that. 1 (x + 1) 1 x (x + 1) 2 =

PUTNAM PROBLEMS SEQUENCES, SERIES AND RECURRENCES. Notes

SCORE BOOSTER JAMB PREPARATION SERIES II

LECTURE 10: REVIEW OF POWER SERIES. 1. Motivation

MAT 570 REAL ANALYSIS LECTURE NOTES. Contents. 1. Sets Functions Countability Axiom of choice Equivalence relations 9

9 FUNCTIONS. 9.1 The Definition of Function. c Dr Oksana Shatalov, Fall

Let s Get Series(ous)

Sequences and Summations

Infinite Series - Section Can you add up an infinite number of values and get a finite sum? Yes! Here is a familiar example:

Math 0230 Calculus 2 Lectures

Taylor Series. richard/math230 These notes are taken from Calculus Vol I, by Tom M. Apostol,

Part IA. Numbers and Sets. Year

8.5 Taylor Polynomials and Taylor Series

CHAPTER 7 FUNCTIONS. Alessandro Artale UniBZ - artale/

MATH3283W LECTURE NOTES: WEEK 6 = 5 13, = 2 5, 1 13

Part IA Numbers and Sets

Matrix Arithmetic. j=1

A Library of Functions

Cartesian Products and Relations

Functional Equations

Functions. Paul Schrimpf. October 9, UBC Economics 526. Functions. Paul Schrimpf. Definition and examples. Special types of functions

INTRODUCTION TO REAL ANALYSIS II MATH 4332 BLECHER NOTES

Functions of Several Variables (Rudin)

MATHEMATICS. IMPORTANT FORMULAE AND CONCEPTS for. Final Revision CLASS XII CHAPTER WISE CONCEPTS, FORMULAS FOR QUICK REVISION.

5 Set Operations, Functions, and Counting

A Readable Introduction to Real Mathematics

Review of linear algebra

Sets. We discuss an informal (naive) set theory as needed in Computer Science. It was introduced by G. Cantor in the second half of the nineteenth

Ch1 Algebra and functions. Ch 2 Sine and Cosine rule. Ch 10 Integration. Ch 9. Ch 3 Exponentials and Logarithms. Trigonometric.

MT804 Analysis Homework II

214A HOMEWORK KIM, SUNGJIN

Convergence of sequences and series

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

1 Take-home exam and final exam study guide

Math 3450 Homework Solutions

MAS221 Analysis, Semester 1,

MATH 403 MIDTERM ANSWERS WINTER 2007

Math 1B, lecture 15: Taylor Series

Chapter 2: Functions, Limits and Continuity

1.5 The Nil and Jacobson Radicals

LECTURE NOTES DISCRETE MATHEMATICS. Eusebius Doedel

4.1 Real-valued functions of a real variable

Section 7.2: One-to-One, Onto and Inverse Functions

Taylor and Maclaurin Series. Approximating functions using Polynomials.

Economics 204 Summer/Fall 2011 Lecture 2 Tuesday July 26, 2011 N Now, on the main diagonal, change all the 0s to 1s and vice versa:

ELEMENTARY LINEAR ALGEBRA

Transcription:

Introduction to Decision Sciences Lecture 6 Andrew Nobel September 21, 2017

Functions

Functions Given: Sets A and B, possibly different Definition: A function f : A B is a rule that assigns every element a A to a unique element f(a) B. A called the domain of f B called the range of f In general range A, domain B can be finite or infinite, and need not be numerical changing the range A or domain B changes the function

Some Common Real-Valued Functions A. Defined for all real arguments 1. Constants f(x) = 1 2. Linear (affine) functions f(x) = ax + b 3. Polynomials f(x) = d k=0 a kx k 4. Exponential function f(x) = e ax 5. Sine function f(x) = sin(x) (also cosine, tangent) 6. Other f(x) = e x2 /2 B. Defined for non-negative/positive arguments 1. Square root f(x) = x (also cube roots, fourth roots, and so on). 2. Logarithm f(x) = log x (usually base 10) 3. Other f(x) = x log x

Image and Pre-Image Definition: Let f : A B be a function The image of S A under f is f(s) = {f(s) : s S} B (think pushforward) The pre-image of T B under f is f 1 (T ) = {a : f(a) T } A (think pullback) Note: pre-image f 1 (T ) is well defined even if f is not invertible in the usual sense answers the question when is f(a) in T?

One-to-One, Onto, Bijection Definition: Let f : A B be a function f is 1:1 (injective) if distinct points in A get mapped to distinct points in B a 1, a 2 A [a 1 a 2 f(a 1) f(a 2)] f is onto (surjective) if every point in B is the image of some point in A b B a A f(a) = b f is a bijection if it is 1:1 and onto

Inverse of a Function Fact: If f : A B is a bijection then for every b B there is a unique a A such that f(a) = b. Definition: If f : A B is a bijection, define the inverse f 1 : B A by f 1 (b) = unique a A s.t. f(a) = b Fact For each a A, f 1 (f(a)) = a For each b B, f(f 1 (b)) = b

Increasing and Decreasing Functions Given: Function f : A B with A, B R Definition f is increasing if for all x, y A, x y implies f(x) f(y). f is strictly increasing if for all x, y A, x < y implies f(x) < f(y). f is decreasing if for all x, y A, x y implies f(x) f(y). f is strictly decreasing if for all x, y A, x < y implies f(x) > f(y). Fact: If f is strictly increasing (or decreasing) then f is 1:1

Composition of Functions Definition: The composition of two functions g : A B and f : B C is the function f g : A C defined by (f g)(a) = f(g(a)) Definition: The identity function i A : A A is defined by i A(a) = a. Definition: Given f, g : A R define sum f + g : A R by (f + g)(a) = f(a) + g(a) product fg : A R by (fg)(a) = f(a) g(a)

Floor and Ceiling Functions Definition: For x R x = largest integer less than or equal to x x = smallest integer greater than or equal to x Fact x 1 < x x x < x + 1 x = x, x = x 2x = x + x + 1/2

Sequences

Sequences Informal: A sequence is an ordered list (finite or infinite) of objects. Formally: Given Index set A N, e.g., A = {0, 1,..., N}, {1, 2, 3,...} Set of objects S, e.g, numbers, names, sets, etc. A sequence of objects in S indexed by A is a function f : A S Notation/Terminology: For n A, let s n = f(n) Denote a generic sequence by (s n : n A) A numerical sequence often referred to as a series

Some Numerical Sequences Harmonic: Here s n = 1/n for n 1 1, 1/2, 1/3, 1/4,... Geometric: Here s n = ar n for n 0 with a, r R a, ar, ar 2, ar 3,... Arithmetic: Here s n = a + nd for 0 n N with a, d R a, a + d, a + 2d,... a + Nd Here a is the initial term, d is the common difference, and N + 1 is the length of the progression.

Extrapolation Given: First few terms of sequence {s n} Goal: Find a generating rule compatible with these terms Examples s 0,..., s 4 equal to 1, 4, 7, 10, 13 s 0,..., s 4 equal to 3, 6, 12, 24, 48 s 1,..., s 5 equal to 2, 8, 26, 80, 242

Summations

Summation Notation Given: Numerical sequence a 1, a 2, a 3,... R Definition: For 1 m n the sum of a i as i goes from m to n is n i=m a i = a m + a m+1 + + a n 1 + a n Terminology i is the index of summation m is the lower limit of summation n is the upper limit of summation Note: Choice of index i is not critical: n i=m ai = n r=m ar

Infinite sums Given: Numerical sequence a 1, a 2, a 3,... R Definition: Infinite sum of a i as i goes from 1 to infinity is defined as the limit of finite sums (if the limit exists). Formally a i := lim i=1 n a i n i=1

Change of Index Idea: Analogous to change of variables in integration. Example: Let f : {1,..., n} R be a sequence with sum s = n k=1 f(k) Consider new index j = k 1. Note that k = j + 1 k = 0 j = 0 k = n j = n 1 Thus we can write sum s equivalently as s = n 1 j=0 f(j + 1)

Some Sums Fact: For n 1 sum of first n positive numbers n k = 1 + 2 + + n = k=1 (n + 1)n 2 Harmonic series: The finite sum is approximately equal to log e n, and tends to infinity as n increases. n k=1 1 k

Geometric Series Fact: If x 1 then the nth term of the geometric series is n i=0 x i = xn+1 1 x 1 Corollary: 1 + 2 + 2 2 + + 2 n = 2 n+1 1 Corollary: If x < 1 then k=0 x k = 1 1 x Extension: If x < 1 then k x k 1 1 = (1 x) 2 k=1

Double Sums Given: Array of numbers M = {a ij} with m rows i = 1,..., m n columns j = 1,..., n a ij = entry in row i and column j Definition: The double sum of a ij is the sum of the mn entries of the array m n a ij = i=1 j=1 m n ( a ij) = i=1 j=1 m sum of entries in row i i=1

Properties of Double Sums Fact: Order of summation is not important m n a ij = i=1 j=1 n m j=1 i=1 a ij Fact: Sum of products equals product of sums ( m n m ) ( n ) a ib j = a i b j i=1 j=1 i=1 j=1 Corollary: Square of a sum 0 ( m ) 2 a i = i=1 m m a ia j i=1 j=1