hard a problem o hard help e help problem, p help o problem a f hard g e f help help g please g o f problem g

Size: px
Start display at page:

Download "hard a problem o hard help e help problem, p help o problem a f hard g e f help help g please g o f problem g"

Transcription

1 MATH2440 / SOLUTIONS FOR MIDTERM 2 (1) Let L := {a, b, d, e, p, r, o} and A := {hard, help, please, problem}. Consider the map f : L A sending a letter to the alphabetically first word in A in which it appears. Is f surjective? Let g : A L be the map sending a word to the first vowel occurring in it. The map f is given by a hard b problem d hard e help p help r hard o problem Is f g the identity map? Since please is not an output, f is not surjective. The map g is given by hard a help e please e problem o and hence for the composition f g : A A, we have hard g a f hard help g e f help please g e f help problem g o f problem, which is not the identity map, since it sends please to help. (2) The seven colors of the rainbow in order are Red, Orange, Yellow, Green, Blue, Indigo, Violet. What is the code of the subset of colors having an o in their name? What colors are represented by the code ? What set does the code represent if the colors are listed instead alphabetically? Red Orange Yellow Green Blue Indigo Violet with o: decode:

2 2 From the last line, we see that represents {Orange, Yellow, Blue}. To decode in the alphabetical listing, we have Blue Green Indigo Orange Red Violet Yellow decode: so that it represents {Orange, Violet}. (3) In the elevator, of the nine students that take Calculus, three also take Discrete Math. Math, three also take World History. Moreover, of the seven students that take Discrete How many students in this elevator are taking a math class? Let C and D be the subsets of students taking respectively Calculus and Discrete Math. We get the following information C = 9, C D = 3 and D = 7 (we do not need the information on World History). By the inclusion/exclusion principle, we get C D = = 13 students taking a math class. (4) Let D be the set of all words in the sentence A leaf is falling off a branch. Consider the map f : D N sending a word to its length. Is f injective? What is f 1 ({3, 5})? The map f is given by a 1 leaf 4 is 2 falling 7 off 3 branch 6 (note that the word a only appears once in the set, although it appears twice in the sentence!) Since all outputs are different, we get an injective map. Since no word has length 5, we get f 1 ({3, 5}) = {off}. (5) Let H be the set of letters in the word head, E those in endear, and D those in deer. Draw a Venn diagram containing these three sets. Note that there are six letters: h, e, a, d, n, r. Each of these letters has to be put in the right region: for instance, h lies in H only, whereas e lies in H E D, etc. Filling in, we get

3 3 H E h a e d r n D (6) Show that (B A) (C A) = (B C) A, using a membership table. A B C B A C A (B A) (C A) B C (B C) A Both columns are indeed equal. (7) Calculate 2 3 j=1 i2 j. We make a table with the first two columns the values of the counters and the last the cumulative sum i j i 2 j Sum (8) Calculate 11 i=5 i2 using the table below.

4 4 We calculate the sum of squares up to n = 11 and subtract the sum up to n = 4 to get the given sum: 4 i=5 i 2 = i 2 = i 2 = i 2 = 30 = i 2 = = 476 (9) Describe an algorithm that checks if two given lists are disjoint (meaning that they have no element in common); write the pseudo-code for your algorithm by calling it disjoint(a 1,..., a n, b 1,..., b m : elements) (note that the lists can have different size). Description of the algorithm: take the first element of the first list, and compare it with each element in the second list; if no match is found, do the same with the second element of the first list, etc. If there was never a match, output answer=true. Here is the pseudo-code: Procedure disjoint(a 1,..., a n, b 1,..., b m : elements) answer:=true for i := 1 to n for j := 1 to m if a i = b j, then answer:=false return answer. This is not the most efficient program, as it makes all possible checks, even if a match was already found, at which point we could have exited the loops. This can be remedied by using while loops instead, but this is not important at this point. (10) Use the bubble sort to sort the list (W, O, R, D); do the same for the insertion sort (show all lists as you go through the algorithms). bubble: In the first run, we get WORD, OWRD, ORWD, ORDW note that we now know that the last letter is on the right spot. Starting anew, for the second run, we get ORDW, ODRW at this point, we are sure that the last two letters are RW; for the third, we get ODRW, DORW so that ORW is in order whence so is the whole list DORW. insertion: we start with the list split as W ORD and insert O in the right spot, giving OW RD; next we insert R as ORW D and finally we put D on its proper place, yielding DORW.

5 5 (11) Let f : R R: x 3x+1 and g : R R: x 2x 2. Calculate g f and f g and decide whether there equal or not. Since (g f)(x) = g(f(x)) = 2(f(x)) 2 = 2(3x + 1) 2 = 6x (f g)(x) = f(g(x)) = 3(g(x)) + 1 = 3(2x 2) + 1 = 6x 5 these compositions are not the same.

f(x) x

f(x) x 2 Function 2.1 Function notation The equation f(x) = x 2 + 3 defines a function f from the set R of real numbers to itself (written f : R R). This function accepts an input value x and returns an output

More information

additionalmathematicsadditionalmath ematicsadditionalmathematicsadditio nalmathematicsadditionalmathematic sadditionalmathematicsadditionalmat

additionalmathematicsadditionalmath ematicsadditionalmathematicsadditio nalmathematicsadditionalmathematic sadditionalmathematicsadditionalmat additionalmathematicsadditionalmath ematicsadditionalmathematicsadditio nalmathematicsadditionalmathematic sadditionalmathematicsadditionalmat FUNCTIONS hematicsadditionalmathematicsadditi Name onalmathematicsadditionalmathemati...

More information

Chapter Summary. Sets (2.1) Set Operations (2.2) Functions (2.3) Sequences and Summations (2.4) Cardinality of Sets (2.5) Matrices (2.

Chapter Summary. Sets (2.1) Set Operations (2.2) Functions (2.3) Sequences and Summations (2.4) Cardinality of Sets (2.5) Matrices (2. Chapter 2 Chapter Summary Sets (2.1) Set Operations (2.2) Functions (2.3) Sequences and Summations (2.4) Cardinality of Sets (2.5) Matrices (2.6) Section 2.1 Section Summary Definition of sets Describing

More information

Solutions to Homework Problems

Solutions to Homework Problems Solutions to Homework Problems November 11, 2017 1 Problems II: Sets and Functions (Page 117-118) 11. Give a proof or a counterexample of the following statements: (vi) x R, y R, xy 0; (x) ( x R, y R,

More information

1.1 Introduction to Sets

1.1 Introduction to Sets Math 166 Lecture Notes - S. Nite 8/29/2012 Page 1 of 5 1.1 Introduction to Sets Set Terminology and Notation A set is a well-defined collection of objects. The objects are called the elements and are usually

More information

8 Building New Functions from Old Ones

8 Building New Functions from Old Ones Arkansas Tech University MATH 2243: Business Calculus Dr. Marcel B. Finan 8 Building New Functions from Old Ones In this section we discuss various ways for building new functions from old ones. New functions

More information

Chapter Summary. Sets The Language of Sets Set Operations Set Identities Functions Types of Functions Operations on Functions Computability

Chapter Summary. Sets The Language of Sets Set Operations Set Identities Functions Types of Functions Operations on Functions Computability Chapter 2 1 Chapter Summary Sets The Language of Sets Set Operations Set Identities Functions Types of Functions Operations on Functions Computability Sequences and Summations Types of Sequences Summation

More information

CISC 1100: Structures of Computer Science

CISC 1100: Structures of Computer Science CISC 1100: Structures of Computer Science Chapter 2 Sets and Sequences Fordham University Department of Computer and Information Sciences Fall, 2010 CISC 1100/Fall, 2010/Chapter 2 1 / 49 Outline Sets Basic

More information

Name. Use Two-Color Counters to model each addition problem. Make pairs of red and yellow counters. Find the sum.

Name. Use Two-Color Counters to model each addition problem. Make pairs of red and yellow counters. Find the sum. Lesson 1 The Number System Name Use Two-Color Counters to model each addition problem. Make pairs of red and yellow counters. Find the sum. 1. 2. 9 + ( 10) 18 + 9 Using Two-Color Counters, model each addition

More information

Sets and Functions. MATH 464/506, Real Analysis. J. Robert Buchanan. Summer Department of Mathematics. J. Robert Buchanan Sets and Functions

Sets and Functions. MATH 464/506, Real Analysis. J. Robert Buchanan. Summer Department of Mathematics. J. Robert Buchanan Sets and Functions Sets and Functions MATH 464/506, Real Analysis J. Robert Buchanan Department of Mathematics Summer 2007 Notation x A means that element x is a member of set A. x / A means that x is not a member of A.

More information

Sets and Functions. (As we will see, in describing a set the order in which elements are listed is irrelevant).

Sets and Functions. (As we will see, in describing a set the order in which elements are listed is irrelevant). Sets and Functions 1. The language of sets Informally, a set is any collection of objects. The objects may be mathematical objects such as numbers, functions and even sets, or letters or symbols of any

More information

Discrete Basic Structure: Sets

Discrete Basic Structure: Sets KS091201 MATEMATIKA DISKRIT (DISCRETE MATHEMATICS ) Discrete Basic Structure: Sets Discrete Math Team 2 -- KS091201 MD W-07 Outline What is a set? Set properties Specifying a set Often used sets The universal

More information

1. SET 10/9/2013. Discrete Mathematics Fajrian Nur Adnan, M.CS

1. SET 10/9/2013. Discrete Mathematics Fajrian Nur Adnan, M.CS 1. SET 10/9/2013 Discrete Mathematics Fajrian Nur Adnan, M.CS 1 Discrete Mathematics 1. Set and Logic 2. Relation 3. Function 4. Induction 5. Boolean Algebra and Number Theory MID 6. Graf dan Tree/Pohon

More information

Midterm Exam. There are 6 problems. Your 5 best answers count. Please pay attention to the presentation of your work! Best 5

Midterm Exam. There are 6 problems. Your 5 best answers count. Please pay attention to the presentation of your work! Best 5 Department of Mathematical Sciences Instructor: Daiva Pucinskaite Modern Algebra June 22, 2017 Midterm Exam There are 6 problems. Your 5 best answers count. Please pay attention to the presentation of

More information

Math 308 Midterm, Feb 11th 2015 Winter Form Bonus. Possible (6) 63

Math 308 Midterm, Feb 11th 2015 Winter Form Bonus. Possible (6) 63 Math 38 Midterm, Feb th 5 Winter 5 Your Name Your Signature Student ID # Points.. 3. 4. 5. Form Bonus Possible 6 6 6 3 (6) 63 No books are allowed. You may use a calculator. Place a box around your final

More information

Pre-Calculus Summer Math Packet 2018 Multiple Choice

Pre-Calculus Summer Math Packet 2018 Multiple Choice Pre-Calculus Summer Math Packet 208 Multiple Choice Page A Complete all work on separate loose-leaf or graph paper. Solve problems without using a calculator. Write the answers to multiple choice questions

More information

You will be writing code in the Python programming language, which you may have learnt in the Python module.

You will be writing code in the Python programming language, which you may have learnt in the Python module. Rainbow Predictor Introduction: In this project you will use the temperature and humidity sensors on the Sense HAT to predict when there s a good chance of spotting a rainbow. When the right conditions

More information

4.1 Real-valued functions of a real variable

4.1 Real-valued functions of a real variable Chapter 4 Functions When introducing relations from a set A to a set B we drew an analogy with co-ordinates in the x-y plane. Instead of coming from R, the first component of an ordered pair comes from

More information

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

Chapter 2 - Basics Structures MATH 213. Chapter 2: Basic Structures. Dr. Eric Bancroft. Fall Dr. Eric Bancroft MATH 213 Fall / 60 MATH 213 Chapter 2: Basic Structures Dr. Eric Bancroft Fall 2013 Dr. Eric Bancroft MATH 213 Fall 2013 1 / 60 Chapter 2 - Basics Structures 2.1 - Sets 2.2 - Set Operations 2.3 - Functions 2.4 - Sequences

More information

Selected problems from past exams

Selected problems from past exams Discrete Structures CS2800 Prelim 1 s Selected problems from past exams 1. True/false. For each of the following statements, indicate whether the statement is true or false. Give a one or two sentence

More information

Operations with Polynomials

Operations with Polynomials GSE Advanced Algebra Operations with Polynomials Operations with Polynomials Operations and Composition of Functions Operations can be done with functions just like with expressions. Here is the notation

More information

Examples 2: Composite Functions, Piecewise Functions, Partial Fractions

Examples 2: Composite Functions, Piecewise Functions, Partial Fractions Examples 2: Composite Functions, Piecewise Functions, Partial Fractions September 26, 206 The following are a set of examples to designed to complement a first-year calculus course. objectives are listed

More information

Review Problems for Midterm Exam II MTH 299 Spring n(n + 1) 2. = 1. So assume there is some k 1 for which

Review Problems for Midterm Exam II MTH 299 Spring n(n + 1) 2. = 1. So assume there is some k 1 for which Review Problems for Midterm Exam II MTH 99 Spring 014 1. Use induction to prove that for all n N. 1 + 3 + + + n(n + 1) = n(n + 1)(n + ) Solution: This statement is obviously true for n = 1 since 1()(3)

More information

Math 2 Variable Manipulation Part 6 System of Equations

Math 2 Variable Manipulation Part 6 System of Equations Name: Date: 1 Math 2 Variable Manipulation Part 6 System of Equations SYSTEM OF EQUATIONS INTRODUCTION A "system" of equations is a set or collection of equations that you deal with all together at once.

More information

St Patrick's Day Math & Language

St Patrick's Day Math & Language St Patrick's Day Math & Language These printables are provided FREE of charge from Free Homeschool Deals. Please remember that all of my printables are for personal use or classroom use only. You cannot

More information

Mathematics 2018 Practice Paper Paper 2 (Calculator) Higher Tier

Mathematics 2018 Practice Paper Paper 2 (Calculator) Higher Tier Write your name here Surname Other Names Mathematics 2018 Practice Paper Paper 2 (Calculator) Higher Tier Time: 1 hour 30 minutes You must have: Ruler graduated in centimetres and millimetres, protractor,

More information

All numbered readings are from Beck and Geoghegan s The art of proof.

All numbered readings are from Beck and Geoghegan s The art of proof. MATH 301. Assigned readings and homework All numbered readings are from Beck and Geoghegan s The art of proof. Reading Jan 30, Feb 1: Chapters 1.1 1.2 Feb 6, 8: Chapters 1.3 2.1 Feb 13, 15: Chapters 2.2

More information

MATH 215 Sets (S) Definition 1 A set is a collection of objects. The objects in a set X are called elements of X.

MATH 215 Sets (S) Definition 1 A set is a collection of objects. The objects in a set X are called elements of X. MATH 215 Sets (S) Definition 1 A set is a collection of objects. The objects in a set X are called elements of X. Notation 2 A set can be described using set-builder notation. That is, a set can be described

More information

1' ' -r---c.- --" , -,-::'=,--,-::'=, ,,, F "", I. Teach WithMe.com , \, L -= I " r'" I : ,...1- \. '

1' ' -r---c.- -- , -,-::'=,--,-::'=, ,,, F , I. Teach WithMe.com , \, L -= I  r' I : ,...1- \. ' ~ ' \ ' \. -1-------'-1---..-- 7 -- - - - -...--- - -...--- - -~ - --- ~_.......-. -...1- --- --::'=---::'= \ \ ; \ ; ~ \.;. _......... " './''';'''; ".' F "" 1 \. ' "T'---- ~t-"'1"1"---- ~- '\ ~ : \ 1

More information

Week Some Warm-up Questions

Week Some Warm-up Questions 1 Some Warm-up Questions Week 1-2 Abstraction: The process going from specific cases to general problem. Proof: A sequence of arguments to show certain conclusion to be true. If... then... : The part after

More information

Math 1: Calculus with Algebra Midterm 2 Thursday, October 29. Circle your section number: 1 Freund 2 DeFord

Math 1: Calculus with Algebra Midterm 2 Thursday, October 29. Circle your section number: 1 Freund 2 DeFord Math 1: Calculus with Algebra Midterm 2 Thursday, October 29 Name: Circle your section number: 1 Freund 2 DeFord Please read the following instructions before starting the exam: This exam is closed book,

More information

Chapter 7. Functions and onto. 7.1 Functions

Chapter 7. Functions and onto. 7.1 Functions Chapter 7 Functions and onto This chapter covers functions, including function composition and what it means for a function to be onto. In the process, we ll see what happens when two dissimilar quantifiers

More information

With Question/Answer Animations. Chapter 2

With Question/Answer Animations. Chapter 2 With Question/Answer Animations Chapter 2 Chapter Summary Sets The Language of Sets Set Operations Set Identities Functions Types of Functions Operations on Functions Sequences and Summations Types of

More information

Math 3201 Unit 1 Set Theory

Math 3201 Unit 1 Set Theory Math 3201 Unit 1 Set Theory Overview In this unit, we will organize information into. We will use diagrams to illustrate between sets and subsets and use to describe sets. We will determine the in each

More information

More on functions. Composition

More on functions. Composition More on functions Suppose f : R! R is the function defined by f(x) =x. The letter x in the previous equation is just a placeholder. You are allowed to replace the x with any number, symbol, or combination

More information

(a) We need to prove that is reflexive, symmetric and transitive. 2b + a = 3a + 3b (2a + b) = 3a + 3b 3k = 3(a + b k)

(a) We need to prove that is reflexive, symmetric and transitive. 2b + a = 3a + 3b (2a + b) = 3a + 3b 3k = 3(a + b k) MATH 111 Optional Exam 3 lutions 1. (0 pts) We define a relation on Z as follows: a b if a + b is divisible by 3. (a) (1 pts) Prove that is an equivalence relation. (b) (8 pts) Determine all equivalence

More information

9 < Ways to place n distinguishable objects= S(n, k) = into k indistinguishable boxes so that no box is left empty We stated in section 6.

9 < Ways to place n distinguishable objects= S(n, k) = into k indistinguishable boxes so that no box is left empty We stated in section 6. Math 365 Monday 4/1/19 8.5 (inclusion/exclusion) and 9.1 & 9.5 (equivalence relations) Exercise 41. Use inclusion/exclusion to answer the following questions. (a) How many elements are in A 1 [ A 2 if

More information

Math 113 Winter 2013 Prof. Church Midterm Solutions

Math 113 Winter 2013 Prof. Church Midterm Solutions Math 113 Winter 2013 Prof. Church Midterm Solutions Name: Student ID: Signature: Question 1 (20 points). Let V be a finite-dimensional vector space, and let T L(V, W ). Assume that v 1,..., v n is a basis

More information

MATH 215 DISCRETE MATHEMATICS INSTRUCTOR: P. WENG

MATH 215 DISCRETE MATHEMATICS INSTRUCTOR: P. WENG MATH 215 DISCRETE MATHEMATICS INSTRUCTOR: P. WENG Suggested Problems for Sets and Functions The following problems are from Discrete Mathematics and Its Applications by Kenneth H. Rosen. 1. Define the

More information

Two-Color Counters. KEY TERM additive inverses

Two-Color Counters. KEY TERM additive inverses Two-Color Counters Adding Integers, Part II 3 WARM UP Use a number line to determine each sum. Then write a sentence to describe the movement you used on the number line to compute the sum of the two integers.

More information

Chap 4 Probability p227 The probability of any outcome in a random phenomenon is the proportion of times the outcome would occur in a long series of

Chap 4 Probability p227 The probability of any outcome in a random phenomenon is the proportion of times the outcome would occur in a long series of Chap 4 Probability p227 The probability of any outcome in a random phenomenon is the proportion of times the outcome would occur in a long series of repetitions. (p229) That is, probability is a long-term

More information

Math 230 Final Exam, Spring 2009

Math 230 Final Exam, Spring 2009 IIT Dept. Applied Mathematics, May 13, 2009 1 PRINT Last name: Signature: First name: Student ID: Math 230 Final Exam, Spring 2009 Conditions. 2 hours. No book, notes, calculator, cell phones, etc. Part

More information

MATH 3C: MIDTERM 1 REVIEW. 1. Counting

MATH 3C: MIDTERM 1 REVIEW. 1. Counting MATH 3C: MIDTERM REVIEW JOE HUGHES. Counting. Imagine that a sports betting pool is run in the following way: there are 20 teams, 2 weeks, and each week you pick a team to win. However, you can t pick

More information

Laboratory Atomic Emission Spectrum

Laboratory Atomic Emission Spectrum Laboratory Atomic Emission Spectrum Pre-Lab Questions: Answer the following questions in complete sentences by reading through the Overview and Background sections below. 1. What is the purpose of the

More information

MATH 363: Discrete Mathematics

MATH 363: Discrete Mathematics MATH 363: Discrete Mathematics Learning Objectives by topic The levels of learning for this class are classified as follows. 1. Basic Knowledge: To recall and memorize - Assess by direct questions. The

More information

Theorem. For every positive integer n, the sum of the positive integers from 1 to n is n(n+1)

Theorem. For every positive integer n, the sum of the positive integers from 1 to n is n(n+1) Week 1: Logic Lecture 1, 8/1 (Sections 1.1 and 1.3) Examples of theorems and proofs Theorem (Pythagoras). Let ABC be a right triangle, with legs of lengths a and b, and hypotenuse of length c. Then a +

More information

Inverse Functions. One-to-one. Horizontal line test. Onto

Inverse Functions. One-to-one. Horizontal line test. Onto Inverse Functions One-to-one Suppose f : A B is a function. We call f one-to-one if every distinct pair of objects in A is assigned to a distinct pair of objects in B. In other words, each object of the

More information

Spring /11/2009

Spring /11/2009 MA 123 Elementary Calculus SECOND MIDTERM Spring 2009 03/11/2009 Name: Sec.: Do not remove this answer page you will return the whole exam. You will be allowed two hours to complete this test. No books

More information

REVIEW FOR THIRD 3200 MIDTERM

REVIEW FOR THIRD 3200 MIDTERM REVIEW FOR THIRD 3200 MIDTERM PETE L. CLARK 1) Show that for all integers n 2 we have 1 3 +... + (n 1) 3 < 1 n < 1 3 +... + n 3. Solution: We go by induction on n. Base Case (n = 2): We have (2 1) 3 =

More information

1) Find the equations of lines (in point-slope form) passing through (-1,4) having the given characteristics:

1) Find the equations of lines (in point-slope form) passing through (-1,4) having the given characteristics: AP Calculus AB Summer Worksheet Name 10 This worksheet is due at the beginning of class on the first day of school. It will be graded on accuracy. You must show all work to earn credit. You may work together

More information

Math 421, Homework #9 Solutions

Math 421, Homework #9 Solutions Math 41, Homework #9 Solutions (1) (a) A set E R n is said to be path connected if for any pair of points x E and y E there exists a continuous function γ : [0, 1] R n satisfying γ(0) = x, γ(1) = y, and

More information

Name: Block: Unit 2 Inequalities

Name: Block: Unit 2 Inequalities Name: Block: Unit 2 Inequalities 2.1 Graphing and Writing Inequalities 2.2 Solving by Adding and Subtracting 2.3 Solving by Multiplying and Dividing 2.4 Solving Two Step and Multi Step Inequalities 2.5

More information

Implication (6A) Young Won Lim 3/17/18

Implication (6A) Young Won Lim 3/17/18 Implication (6A) 3/17/18 Copyright (c) 2015 2018 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or

More information

A constant is a value that is always the same. (This means that the value is constant / unchanging). o

A constant is a value that is always the same. (This means that the value is constant / unchanging). o Math 8 Unit 7 Algebra and Graphing Relations Solving Equations Using Models We will be using algebra tiles to help us solve equations. We will practice showing work appropriately symbolically and pictorially

More information

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

Func%ons. function f to the element a of A. Functions are sometimes called mappings or transformations. Section 2.3 Func%ons Definition: Let A and B be nonempty sets. A function f from A to B, denoted f: A B is an assignment of each element of A to exactly one element of B. We write f(a) = b if b is the

More information

Evaluate and simplify.

Evaluate and simplify. Math 52 Midterm Practice Exam The following exercises are taken from the book s end-of-chapter Practice Tests. The exercise numbers here correspond to the numbers in those tests. The answers to these exercises

More information

Section 4.4 Functions. CS 130 Discrete Structures

Section 4.4 Functions. CS 130 Discrete Structures Section 4.4 Functions CS 130 Discrete Structures Function Definitions Let S and T be sets. A function f from S to T, f: S T, is a subset of S x T where each member of S appears exactly once as the first

More information

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

Notes. Functions. Introduction. Notes. Notes. Definition Function. Definition. Slides by Christopher M. Bourke Instructor: Berthe Y. Functions Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry Fall 2007 Computer Science & Engineering 235 Introduction to Discrete Mathematics Section 2.3 of Rosen cse235@cse.unl.edu Introduction

More information

This exam is closed book and closed notes. (You will have access to a copy of the Table of Common Distributions given in the back of the text.

This exam is closed book and closed notes. (You will have access to a copy of the Table of Common Distributions given in the back of the text. TEST #1 STA 5326 September 25, 2014 Name: Please read the following directions. DO NOT TURN THE PAGE UNTIL INSTRUCTED TO DO SO Directions This exam is closed book and closed notes. (You will have access

More information

Chapter 2 - Basics Structures

Chapter 2 - Basics Structures Chapter 2 - Basics Structures 2.1 - Sets Definitions and Notation Definition 1 (Set). A set is an of. These are called the or of the set. We ll typically use uppercase letters to denote sets: S, A, B,...

More information

Math Level 2. Mathematics Level 2

Math Level 2. Mathematics Level 2 Math Reference Information THE FOLLOWING INFORMATION IS FOR YOUR REFERENCE IN ANSWERING SOME OF THE SAMPLE QUESTIONS. THIS INFORMATION IS ALSO PROVIDED ON THE ACTUAL SUBJECT TEST IN MATHEMATICS LEVEL.

More information

CS100: DISCRETE STRUCTURES

CS100: DISCRETE STRUCTURES 1 CS100: DISCRETE STRUCTURES Computer Science Department Lecture 2: Functions, Sequences, and Sums Ch2.3, Ch2.4 2.3 Function introduction : 2 v Function: task, subroutine, procedure, method, mapping, v

More information

Materials and Handouts - Warm-Up - Answers to homework #1 - Keynote and notes template - Tic Tac Toe grids - Homework #2

Materials and Handouts - Warm-Up - Answers to homework #1 - Keynote and notes template - Tic Tac Toe grids - Homework #2 Calculus Unit 1, Lesson 2: Composite Functions DATE: Objectives The students will be able to: - Evaluate composite functions using all representations Simplify composite functions Materials and Handouts

More information

Math 180 Written Homework Assignment #10 Due Tuesday, December 2nd at the beginning of your discussion class.

Math 180 Written Homework Assignment #10 Due Tuesday, December 2nd at the beginning of your discussion class. Math 18 Written Homework Assignment #1 Due Tuesday, December 2nd at the beginning of your discussion class. Directions. You are welcome to work on the following problems with other MATH 18 students, but

More information

Algebra 2 CP Semester 1 PRACTICE Exam

Algebra 2 CP Semester 1 PRACTICE Exam Algebra 2 CP Semester 1 PRACTICE Exam NAME DATE HR You may use a calculator. Please show all work directly on this test. You may write on the test. GOOD LUCK! THIS IS JUST PRACTICE GIVE YOURSELF 45 MINUTES

More information

Sets are one of the basic building blocks for the types of objects considered in discrete mathematics.

Sets are one of the basic building blocks for the types of objects considered in discrete mathematics. Section 2.1 Introduction Sets are one of the basic building blocks for the types of objects considered in discrete mathematics. Important for counting. Programming languages have set operations. Set theory

More information

Math Fall 2014 Final Exam Solutions

Math Fall 2014 Final Exam Solutions Math 2001-003 Fall 2014 Final Exam Solutions Wednesday, December 17, 2014 Definition 1. The union of two sets X and Y is the set X Y consisting of all objects that are elements of X or of Y. The intersection

More information

MATH 2001 MIDTERM EXAM 1 SOLUTION

MATH 2001 MIDTERM EXAM 1 SOLUTION MATH 2001 MIDTERM EXAM 1 SOLUTION FALL 2015 - MOON Do not abbreviate your answer. Write everything in full sentences. Except calculators, any electronic devices including laptops and cell phones are not

More information

Ch 14 Randomness and Probability

Ch 14 Randomness and Probability Ch 14 Randomness and Probability We ll begin a new part: randomness and probability. This part contain 4 chapters: 14-17. Why we need to learn this part? Probability is not a portion of statistics. Instead

More information

Example A. Try These A ACTIVITY 8. Learning Targets: 100 SpringBoard Mathematics Course 1, Unit 2 Integers. Subtracting Integers

Example A. Try These A ACTIVITY 8. Learning Targets: 100 SpringBoard Mathematics Course 1, Unit 2 Integers. Subtracting Integers Learning Targets: Use models to subtract one integer with absolute value less than 10 from another. Subtract integers. Solve real-world problems by subtracting integers. SUGGESTED LEARNING STRATEGIES:

More information

Sec$on Summary. Definition of a Function.

Sec$on Summary. Definition of a Function. Section 2.3 Sec$on Summary Definition of a Function. Domain, Codomain Image, Preimage Injection, Surjection, Bijection Inverse Function Function Composition Graphing Functions Floor, Ceiling, Factorial

More information

Math 12 Final Exam Review 1

Math 12 Final Exam Review 1 Math 12 Final Exam Review 1 Part One Calculators are NOT PERMITTED for this part of the exam. 1. a) The sine of angle θ is 1 What are the 2 possible values of θ in the domain 0 θ 2π? 2 b) Draw these angles

More information

Section Summary. Definition of a Function.

Section Summary. Definition of a Function. Section 2.3 Section Summary Definition of a Function. Domain, Cdomain Image, Preimage Injection, Surjection, Bijection Inverse Function Function Composition Graphing Functions Floor, Ceiling, Factorial

More information

Grade 7. Critical concept: Integers. Curricular content. Examples and Strategies

Grade 7. Critical concept: Integers. Curricular content. Examples and Strategies Grade 7 Critical concept: Integers Curricular content Operations with integers Addition, subtraction, multiplication, division AND order of operations Examples and Strategies Always start with manipulatives.

More information

CMSC 250 Spring 2016: Final Exam Review Questions Key

CMSC 250 Spring 2016: Final Exam Review Questions Key CMSC 250 Spring 2016: Final Exam Review Questions Key 1 Description and disclaimer Use these questions to help review for the upcoming final exam. Note, these questions are not necessarily representative

More information

MATH 13 SAMPLE FINAL EXAM SOLUTIONS

MATH 13 SAMPLE FINAL EXAM SOLUTIONS MATH 13 SAMPLE FINAL EXAM SOLUTIONS WINTER 2014 Problem 1 (15 points). For each statement below, circle T or F according to whether the statement is true or false. You do NOT need to justify your answers.

More information

CP Pre-Calculus Summer Packet

CP Pre-Calculus Summer Packet Page CP Pre-Calculus Summer Packet Name: Ø Do all work on a separate sheet of paper. Number your problems and show your work when appropriate. Ø This packet will count as your first homework assignment

More information

Introduction to Proofs

Introduction to Proofs Introduction to Proofs Notes by Dr. Lynne H. Walling and Dr. Steffi Zegowitz September 018 The Introduction to Proofs course is organised into the following nine sections. 1. Introduction: sets and functions

More information

RELATIONS AND FUNCTIONS

RELATIONS AND FUNCTIONS For more important questions visit : www.4ono.com CHAPTER 1 RELATIONS AND FUNCTIONS IMPORTANT POINTS TO REMEMBER Relation R from a set A to a set B is subset of A B. A B = {(a, b) : a A, b B}. If n(a)

More information

MATH1215: Mathematical Thinking Sec. 08 Spring Worksheet 3: Solution

MATH1215: Mathematical Thinking Sec. 08 Spring Worksheet 3: Solution N. Name: Some useful notations: MTH121: Mathematical Thinking Sec. 08 Spring 2011 Worksheet 3: Solution (i) Difference of sets. Given and, define the set The corresponding region in the Venn diagram is:

More information

AMB111F Notes 1: Sets and Real Numbers

AMB111F Notes 1: Sets and Real Numbers AMB111F Notes 1: Sets and Real Numbers A set is a collection of clearly defined objects called elements (members) of the set. Traditionally we use upper case letters to denote sets. For example the set

More information

Math 300: Final Exam Practice Solutions

Math 300: Final Exam Practice Solutions Math 300: Final Exam Practice Solutions 1 Let A be the set of all real numbers which are zeros of polynomials with integer coefficients: A := {α R there exists p(x) = a n x n + + a 1 x + a 0 with all a

More information

By Dr. Hany Farid, Dartmouth College

By Dr. Hany Farid, Dartmouth College Why Is the Sky Blue? Why Is the Sky Blue? By Dr. Hany Farid, Dartmouth College Gas molecules in the atmosphere scatter, in all directions, the short wavelength light that appears blue to us. Longer wavelength

More information

A Level Maths summer preparation work

A Level Maths summer preparation work A Level Maths summer preparation work Welcome to A Level Maths! We hope you are looking forward to two years of challenging and rewarding learning. You must make sure that you are prepared to study A Level

More information

Math 100 Sections E/F Fundamental Theorem of Algebra Extra Credit Due Monday, April 23

Math 100 Sections E/F Fundamental Theorem of Algebra Extra Credit Due Monday, April 23 Math 100 Sections E/F Fundamental Theorem of Algebra Extra Credit Due Monday, April 3 The fundamental theorem of algebra is given on p. 417 of the text. It says any polynomial has at least one complex

More information

Math 116 First Midterm October 17, 2014

Math 116 First Midterm October 17, 2014 Math 116 First Midterm October 17, 2014 Name: Instructor: Section: 1. Do not open this exam until you are told to do so. 2. This exam has 9 pages including this cover AND IS DOUBLE SIDED. There are 9 problems.

More information

1 Functions, relations, and infinite cardinality

1 Functions, relations, and infinite cardinality Discrete Structures Prelim 2 sample questions s CS2800 Questions selected for fall 2017 1 Functions, relations, and infinite cardinality 1. True/false. For each of the following statements, indicate whether

More information

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

CS 220: Discrete Structures and their Applications. Functions Chapter 5 in zybooks CS 220: Discrete Structures and their Applications Functions Chapter 5 in zybooks Functions A function maps elements from one set X to elements of another set Y. A Brian Drew Alan Ben B C D F range: {A,

More information

MIDTERM I LINEAR ALGEBRA. Friday February 16, Name PRACTICE EXAM SOLUTIONS

MIDTERM I LINEAR ALGEBRA. Friday February 16, Name PRACTICE EXAM SOLUTIONS MIDTERM I LIEAR ALGEBRA MATH 215 Friday February 16, 2018. ame PRACTICE EXAM SOLUTIOS Please answer the all of the questions, and show your work. You must explain your answers to get credit. You will be

More information

= A. Example 2. Let U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, A = {4, 6, 7, 9, 10}, and B = {2, 6, 8, 9}. Draw the sets on a Venn diagram.

= A. Example 2. Let U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, A = {4, 6, 7, 9, 10}, and B = {2, 6, 8, 9}. Draw the sets on a Venn diagram. MATH 109 Sets A mathematical set is a well-defined collection of objects A for which we can determine precisely whether or not any object belongs to A. Objects in a set are formally called elements of

More information

Foundations of Mathematics

Foundations of Mathematics Foundations of Mathematics Andrew Monnot 1 Construction of the Language Loop We must yield to a cyclic approach in the foundations of mathematics. In this respect we begin with some assumptions of language

More information

Mini Lecture 1.1 Introduction to Algebra: Variables and Mathematical Models

Mini Lecture 1.1 Introduction to Algebra: Variables and Mathematical Models Mini Lecture. Introduction to Algebra: Variables and Mathematical Models. Evaluate algebraic expressions.. Translate English phrases into algebraic expressions.. Determine whether a number is a solution

More information

INTRODUCING LINEAR EQUATIONS IN ONE UNKNOWN

INTRODUCING LINEAR EQUATIONS IN ONE UNKNOWN LESSON 1: INTRODUCING LINEAR EQUATIONS IN ONE UNKNOWN A linear equations in one unknown consists of two expressions that are linked by an = sign. An equation states that two expressions represent the same

More information

O NOW I GET IT EXAMINATION

O NOW I GET IT EXAMINATION TEST CODE 000002 PRACTICE PAPER 2017 O NOW I GET IT EXAMINATION MATHEMATICS Paper 02 General Proficiency 2 hours 40 minutes INSTRUCTIONS TO CANDIDATES 1. Answer ALL questions in Section I, and any TWO

More information

Review of Functions. Functions. Philippe B. Laval. Current Semester KSU. Philippe B. Laval (KSU) Functions Current Semester 1 / 12

Review of Functions. Functions. Philippe B. Laval. Current Semester KSU. Philippe B. Laval (KSU) Functions Current Semester 1 / 12 Review of Functions Functions Philippe B. Laval KSU Current Semester Philippe B. Laval (KSU) Functions Current Semester 1 / 12 Introduction Students are expected to know the following concepts about functions:

More information

Chapter 7. Inclusion-Exclusion a.k.a. The Sieve Formula

Chapter 7. Inclusion-Exclusion a.k.a. The Sieve Formula Chapter 7. Inclusion-Exclusion a.k.a. The Sieve Formula Prof. Tesler Math 184A Fall 2019 Prof. Tesler Ch. 7. Inclusion-Exclusion Math 184A / Fall 2019 1 / 25 Venn diagram and set sizes A = {1, 2, 3, 4,

More information

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

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 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 century. Most students have seen sets before. This is intended

More information

Notes: Piecewise Functions

Notes: Piecewise Functions Objective: Students will be able to write evaluate piecewise defined functions, graph piecewise defined functions, evaluate the domain and range for piecewise defined functions, and solve application problems.

More information

Math 260 Lecture Notes Ch Solving Equations Using Addition and Subtraction Properties of Equality

Math 260 Lecture Notes Ch Solving Equations Using Addition and Subtraction Properties of Equality 2.3 Solving Equations Using Addition and Subtraction Properties of Equality Let s play a game of are in the envelope? Here are the rules: 1. The same number of counters are placed on the left side and

More information

MAT 271E Probability and Statistics

MAT 271E Probability and Statistics MAT 71E Probability and Statistics Spring 013 Instructor : Class Meets : Office Hours : Textbook : Supp. Text : İlker Bayram EEB 1103 ibayram@itu.edu.tr 13.30 1.30, Wednesday EEB 5303 10.00 1.00, Wednesday

More information