Sets and Logic Alex Karassev. Elements of a set  a ∊ A means that element a is in the set A  Example: A = the set of all odd integers bigger than 2.

Slides:



Advertisements
Similar presentations
Sets of Real Numbers The language of set notation.
Advertisements

Set and Set Operations Section 2.1.
1.6 Limits involving infinity. Infinite limits Definition: The notation (read as “the limit of of f(x), as x approaches a, is infinity”) means that the.
EE1J2 – Discrete Maths Lecture 7
Ch 9 Inequalities and Absolute Value
1 Set Theory. Notation S={a, b, c} refers to the set whose elements are a, b and c. a  S means “a is an element of set S”. d  S means “d is not an element.
Discrete Math 6A Max Welling. Recap 1. Proposition: statement that is true or false. 2. Logical operators: NOT, AND, OR, XOR, ,  3. Compound proposition:
Hawkes Learning Systems: College Algebra
This section will discuss the symbolism and concepts of set theory
Math 021. * Interval Notation is a way to write a set of real numbers. The following are examples of how sets of numbers can be written in interval notation:
Methods of Proof Lecture 3: Sep 9. This Lecture Now we have learnt the basics in logic. We are going to apply the logical rules in proving mathematical.
Sets --- A set is a collection of objects. Sets are denoted by A, B, C, … --- The objects in the set are called the elements of the set. The elements are.
Copyright © 2014 Curt Hill Set Operations Now it gets fun.
Chapter P Prerequisites: Fundamental Concepts of Algebra 1 Copyright © 2014, 2010, 2007 Pearson Education, Inc. 1 P.9 Linear Inequalities and Absolute.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Chapter 7 Review Important Terms, Symbols, Concepts 7.1. Logic A proposition is a statement (not a question.
Conditional Statements Conditional Statement: “If, then” format. Converse: “Flipping the Logic” –Still “if, then” format, but we switch the hypothesis.
The Real Number System Section P.1. Set, Unions, and Intersections Part 1.
Mathematical Proofs. Chapter 1 Sets 1.1 Describing a Set 1.2 Subsets 1.3 Set Operations 1.4 Indexed Collections of Sets 1.5 Partitions of Sets.
January 30, 2002Applied Discrete Mathematics Week 1: Logic and Sets 1 Let’s Talk About Logic Logic is a system based on propositions.Logic is a system.
1. Set Theory Set: Collection of objects (“elements”) a  A “a is an element of A” “a is a member of A” a  A “a is not an element of A” A = {a 1, a 2,
Real Number System You will be able to represent subsets of the real number system using set-builder and interval notation. HW: Set and Interval Notation.
2.1 Symbols and Terminology. Designating Sets A set is a collection of objects (in math, usually numbers). The objects belonging to the set are called.
SAT MATH Lesson 10.
AGENDA KID PRESIDENT VIDEO OBJECTIVES WARM-UP LESSON 1 EXIT CARD.
9.1 Sets, Intersections, and Unions  Standard 1.0  8 Key Terms.
Rosen 1.6, 1.7. Basic Definitions Set - Collection of objects, usually denoted by capital letter Member, element - Object in a set, usually denoted by.
Sets.
12/19/20151 … and now for something completely different… Set Theory Actually, you will see that logic and set theory are very closely related.
Lesson 61 Subsets Subsets of the Set of Real Numbers.
P1 Review of Real Numbers and Their Properties
2.4: linear inequalities September 26, Objectives Understand basic vocabulary related to inequalities Use interval notation Solve linear inequalities.
Can a and b both be whole numbers? similar triangles so.
5-3(D) Real Numbers.
Module #3 - Sets 3/2/2016(c) , Michael P. Frank 2. Sets and Set Operations.
Sets and Basic Operations on Sets Notation A set will usually be denoted by a capital letter, such as, A,B,X, Y,..., whereas lower-case letters, a, b,
Fr: Discrete Mathematics by Washburn, Marlowe, and Ryan.
Numbers and Sets. A set is a collection of objects. So, any collection of things, such as numbers, can be called a set. To show that we have a set, we.
1.1 – SETS AND SYMBOLS. Goals SWBAT understand basic set notation and set symbols SWBAT solve simple sentences with a given domain SWBAT graph sets of.
Set Builder Notation. If you recall, a set is a collection of objects which we write using brackets and name using a capital letter. Remember also that:
1.1 REAL NUMBERS Mrs. Miller Pre-calculus. Classifying Numbers Natural Numbers Whole Numbers Integers Rational Numbers Irrational Numbers Real Numbers.
Applied Discrete Mathematics Week 1: Logic and Sets
Set & Interval Notation
Sets Page 746.
Sets Finite 7-1.
1.1 Subsets of Real Numbers
Real Numbers Terms: Natural numbers: 1,2,3,4,…
Direct Proof by Contraposition Direct Proof by Contradiction
… and now for something completely different…
Exercises Show that (P  Q)  (P)  (Q)
Set and Set Operations Grab a sheet from front.
        { } Sets and Venn Diagrams Prime Numbers Even Numbers
Algebra 1 Section 1.1.
CHAPTER 1 - Sets and Intervals
Applied Discrete Mathematics Week 2: Proofs
CHAPTER 1 - Sets and Intervals
Set Notation and Set Operations
Real Numbers and their Properties
Statements joined by “And” (Conjunctions)
Copyright © Cengage Learning. All rights reserved.
… and now for something completely different…
Which sets are equal? Which sets are equivalent?
Set Notation and Set Operations
2.1 – Symbols and Terminology
Integrated Math Section 1.2 Real Numbers.
Lecture Sets 2.2 Set Operations.
Introduction A set is a collection of objects.
books WARM-uP Lesson 1 Independent work Exit card
Set – collection of objects
Sets, Unions, Intersections, and Complements
3-5 Working with Sets.
Presentation transcript:

Sets and Logic Alex Karassev

Elements of a set  a ∊ A means that element a is in the set A  Example: A = the set of all odd integers bigger than 2 but less than or equal to 11 3 ∊ A 4 ∉ A 15 ∉ A

Set builder notation  Example: A = the set of all odd integers bigger than 2 but less than or equal to 11 A = {3, 5, 7, 9, 11}  Example: A = the set of all irrational numbers between 1 and 2 A = {x| x is irrational and 1<x<2} Reads as A is the set of all x such that x is irrational and 1<x<2

Interval notations  Closed interval: [a,b] is the set of all numbers not smaller than a and not bigger than b [a,b] = {x | a≤x≤b}  Example: [-1,3] x 3

Interval notations  Open intervals: (a,b) is the set of all numbers bigger than a and smaller than b (a,b) = {x | a<x<b}  Example: (-1,3) x 3

Interval notations  Half-Open (half-closed) intervals: (a,b] is the set of all numbers bigger than a and smaller than or equal to b (a,b] = {x | a<x≤b}  Example: (-1,3]  The interval [a,b) is defined similarly x 3

Infinite intervals  [a,∞) = {x | a≤x}  (a, ∞) = {x | a<x}  (-∞,a] = {x | x≤a}  (-∞,a) = {x | x<a}  The whole real line R = (-∞, ∞) a a a a Note: ∞ is not a number!

Subsets  Set B is called a subset of the set A if any element of B is also an element of A  B ⊂A  Example If A = [0,10] and B={1,3,5} then B ⊂A If A = [0,10] and C = [-1,3), C is not a subset of A B A

Union  The union of two sets A and B is the set of all elements x such that x is in A OR x is in B  Notation: A ∪ B = { x | x ∊ A or x ∊ B} A B A ∪ B

Union  Examples If A = (-1,1) and B=[0,2] then A ∪ B = (-1,2] If A = (- ∞,1] and B= (1, ∞) then A ∪ B = (- ∞, ∞) = R

Intersection  The intersection of two sets A and B is the set of all elements x such that x is in A AND x is in B  Notation: A ∩ B = { x | x ∊ A and x ∊ B} A B A ∩ B

Intersection  Example s If A = (-1,1) ∪ [2, 4] and B=(0,3] then A ∩ B = ( 0, 1) ∪ [2, 3] If A = (- ∞,1] and B= (1, ∞) then A ∩ B = empty set = ∅

Logic: implications  P⇒ Q reads: “P implies Q” or if “P then Q” Example: a (true) statement “All cats need food” can be stated as x is a cat ⇒ x needs food  Implications can be true or false. For example, x 2 = x ⇒ x = 1 is false  “⇒” is not the same as “=” ! P Q

Logic: converse  A converse of P ⇒ Q is Q ⇒ P  Warning: if a statement is true it does not mean that its converse is true  i.e. if P ⇒ Q is true it does not mean that Q ⇒ P is true  Example: “All cats need food” is true, so x is a cat ⇒ x needs food is true x needs food ⇒ x is a cat (if x needs food then x is a cat) is false!

Logic: equivalence  Two statements P and Q are called equivalent if both implications P ⇒ Q and Q ⇒ P hold  Notation: Q ⇔ P (reads “Q is equivalent to P” or “Q if and only if P”)  Examples x 2 = 4 ⇔ x = 2 or x = -2 a 2 + b 2 = 0 ⇔ a = b = 0 A triangle is equilateral ⇔ All its angles are equal

Logic: negation  Notation: NOT P, also ⌉ P and P  Negation and implication P ⇒ Q is true if and only if NOT Q ⇒ NOT P is true!  Example: x is a cat ⇒ x needs food NOT (x needs food) ⇒ NOT (x is a cat) x does not need food ⇒ x is not a cat