Vector Spaces

Total Page:16

File Type:pdf, Size:1020Kb

Vector Spaces Vector spaces Brian Krummel January 25, 2020 In the previous lecture we introduced matrices and column vectors. Today we will discuss the basic algebraic properties of matrices and column vectors by introducing the general concept of a vector space. Matrices and column vectors will be examples of vector spaces, as will many other thing in mathematics including real-valued functions. The main reason we care about linear algebra is that the theory of vector spaces can be applied in a wide variety of situations, including solving systems of linear equations and differential equations. Finally, we will discuss linear combinations of vectors and introduce two important concepts, span and linear independence. Definition 1. A vector space is a set V together with operations • addition which assigns to each X; Y 2 V a unique sum X + Y • scalar multiplication which assigns to each X 2 V and scalar (or real number) r a unique scalar product rX such that for each X; Y; Z 2 V and scalars r; s (i) (Closed under addition) X + Y is a well-defined element of V. (ii) (Commutative property of addition) X + Y = Y + X (iii) (Associative property of addition) X + (Y + Z) = (X + Y ) + Z (iv) (Additive identity) There exists an element 0 in V such that X + 0 = X for every X 2 V. (v) (Additive inverse) For each X 2 V there exists an element −X 2 V such that X +(−X) = 0. (vi) (Closed under scalar multiplication) rX is a well-defined element of V. (vii) (Associative property of scalar multiplication) r(sX) = (rs)X (viii) (Distributive property) r(X + Y ) = (rX) + (rY ) (ix) (Distributive property) (r + s)X = (rX) + (sX) (x) (Scalar multiplicative identity) 1 X = X Remark 1. \X 2 V" means that X is an element of the set V. 1 A good way to \memorize" all 10 properties is to think of them in groups. (i){(v) are properties of vector addition, and are a lot like properties of addition for real numbers. (xi), (xii), and (x) are properties of scalar multiplication. (viii) and (ix) are distributive properties for vector addition and scalar multiplication. Example 1. The n × 1 column vectors Rn and the m × n matrices M(m; n) are vector spaces. In particular, the m × n matrices M(m; n) satisfy properties (i){(x) by the definition of matrix addition and scalar multiplication and the algebraic properties of the real numbers. For instance, if X = [xij], Y = [yij], and Z = [zij] are m × n matrices, then property (iii) holds true since X + (Y + Z) = [xij] + ([yij] + [zij]) = [xij] + [yij + zij] = [xij + (yij + zij)] = [(xij + yij) + zij] = [xij + yij] + [zij] = ([xij] + [yij]) + [zij] = (X + Y ) + Z: 0 as in property (iv) is the m × n zero matrix for which each entry is zero. For example, the 2 × 3 zero matrix is 0 0 0 0 0 0 Example 2. F(R) denotes the space of all real-valued functions f(x) which are defined for each real number x 2 R. Given f; g 2 F(R) and a scalar (or constant real number) c, we define addition and scalar multiplication by adding and multiplying the values of the functions at each point: (f + g)(x) = f(x) + g(x) (cf)(x) = c f(x) for each x 2 R. We define the zero function 0 to be the function which takes value zero 0(x) = 0 at each x 2 R. Using these definitions of addition and scalar multiplication and the algebraic properties of the real numbers, one can check that the vector space properties are satisfied by V = F(R). Vector spaces are an abstract mathematical structure. The spaces of column vectors Rn, matrices M(m; n), and functions F(R) are all examples of vector spaces. Often when stating definitions and theorems, we will often say \let V be a vector space". Then everything we say about vector spaces will apply to column vectors Rn, matrices M(m; n), and functions F(R). One reason we care about vector spaces is that when we prove algebraic facts using properties (i){(x), then they will apply to not only column vectors and matrices but also to real-valued functions and many other mathematical objects. This allows us to build up mathematical theory that applies in a wide variety of contexts. To illustrate this, let's prove the following theorem: Theorem 1. For each m × n matrix A, 0A = 0. Proof 1. Let A = [aij] be an m × n matrix. Then 0A = 0 [aij] = [0 · aij] = [0] = 0 (where [0] means the m × n matrix with all zero entries, i.e. the zero matrix 0). 2 Proof 2. We have 0A + 0A = (0 + 0) A (by vector space property (ix)) = 0A: Let −0A denote the additive inverse of 0A as in vector space property (v). By adding −0A to both sides we can cancel 0A: (−0A) + (0A + 0A) = (−0A) + 0A ((−0A) + 0A) + 0A = (−0A) + 0A (by vector space property (iii)) 0 + 0A = 0 (by vector space property (v)) 0A = 0 (by vector space property (iv)). Proof 1 is very simple but is specific to matrices. Proof 2 uses the vector space properties (i){(x) and in fact shows that 0A = 0 in any vector space, not just M(m; n). For instance, Proof 2 also shows that 0 f = 0 for each real-valued function f 2 F(R). Since Proof 2 proves 0A = 0 in such generality, Proof 2 is preferable. Of course, 0 A = 0 is a very simple algebraic property. Nonetheless, this illustrates is a very important principle: Anything we prove about matrices using only the vector space properties (i){(x) will be true in any context for which these properties hold true. This principle will allow use to apply linear algebra in a variety of context, including solving systems of linear equations and solving differential equation. Naturally, when mathematician notice that certain properties hold true in a wide variety of context, they give it a name and develop a general theory of that object. In this case, we defined the concept of a vector space. One important thing we can do with vectors is take linear combinations of vectors. Definition 2. Let V be a vector space. Let S = fX1;X2;:::;Xkg be a finite set of vectors in V and let c1; c2; : : : ; ck be scalars. The vector Y = c1X1 + c2X2 + ··· + ckXk is the linear combination of X1;X2;:::;Xk with weights c1; c2; : : : ; ck. Example 3. We have 6 3 1 0 1 1 0 1 = 2 + 4 − 0 1 0 2 0 0 0 3 where the matrix on the left-hand side is a linear combination of the three matrices on the right- hand side with weights 2, 4, and −1. 3 Example 4. Suppose that X; Y 2 R2 are a pair of nonzero, non-parallel vectors. We can visualize each linear combination of X; Y as lying on a grid: 3X+2Y x2 X Y x1 We can visualize the set of all linear combinations of X; Y as a grid: x2 x2 3X X Y x1 X x1 -X The lines of the grid represent linear combinations of X; Y where one of the weights is an integer. x3 We can visualize X and Y as directions to travel in the plane 2. We can travel to each point in -3X R the plane by traveling in the X direction, and then traveling in the Y direction, in exactly one way. If I regard the plane as the x x -plane in 2, then any point lying off the plane (i.e. lying off 1 2 Y R the page) would not be a linear combination of X; Y . I could also add a third vector Z = X + Y to the grid, in which case there is moreX than one way to travel in X; Y; Z directions to reach a point in the plane; for instance, the vector Z is both X + Y and Z xand1 the vector 2X + Y is both 2X + Y and X + Z. x2 Main questions about linear combinations. Let V be a vector space. Given X1;X2;:::;Xk 2 V and Y 2 V, consider the equation c1X1 + c2X2 + ··· + ckXk = Y: (?) (i) Existence: Can we express Y as a linear combination as in (?) for some scalars c1; c2; : : : ; ck? (ii) Uniqueness: Is there a unique choice of scalars c1; c2; : : : ; ck for which (?) holds true? The answer to the first question is called the span and the answer to the second question is called linear independence. First let's look at the span. 4 Definition 3. Let V be a vector space and let S = fX1;X2;:::;Xkg be a finite set of vectors in V. The span of S is the set of all linear combinations Y = c1X1 + c2X2 + ··· + ckXk of X1;X2;:::;Xk, where c1; c2; : : : ; ck is any possible choice of scalars. We denote the span of S by Span S. Remark 2. Notice definitions often take the following format: A <term> is a <object> satisfying <property>. In this case, the span of S is a set which consists of all linear combinations of X1;X2;:::;Xk. Example 3 continued. We have that 6 3 1 0 1 1 0 1 2 Span ; ; 0 1 0 2 0 0 0 3 since we showed above that 6 3 1 0 1 1 0 1 = 2 + 4 − : 0 1 0 2 0 0 0 3 One might correctly infer that the overall span is the set of all upper triangular matrices with (2; 1)-entry zero: 1 0 1 1 0 1 a b Span ; ; = : a; b; c 2 : 0 2 0 0 0 3 0 c R How to carefully verify this is a good question for another time.
Recommended publications
  • Algebraic Structure of Genetic Inheritance 109
    BULLETIN (New Series) OF THE AMERICAN MATHEMATICAL SOCIETY Volume 34, Number 2, April 1997, Pages 107{130 S 0273-0979(97)00712-X ALGEBRAIC STRUCTURE OF GENETIC INHERITANCE MARY LYNN REED Abstract. In this paper we will explore the nonassociative algebraic struc- ture that naturally occurs as genetic information gets passed down through the generations. While modern understanding of genetic inheritance initiated with the theories of Charles Darwin, it was the Augustinian monk Gregor Mendel who began to uncover the mathematical nature of the subject. In fact, the symbolism Mendel used to describe his first results (e.g., see his 1866 pa- per Experiments in Plant-Hybridization [30]) is quite algebraically suggestive. Seventy four years later, I.M.H. Etherington introduced the formal language of abstract algebra to the study of genetics in his series of seminal papers [9], [10], [11]. In this paper we will discuss the concepts of genetics that suggest the underlying algebraic structure of inheritance, and we will give a brief overview of the algebras which arise in genetics and some of their basic properties and relationships. With the popularity of biologically motivated mathematics continuing to rise, we offer this survey article as another example of the breadth of mathematics that has biological significance. The most com- prehensive reference for the mathematical research done in this area (through 1980) is W¨orz-Busekros [36]. 1. Genetic motivation Before we discuss the mathematics of genetics, we need to acquaint ourselves with the necessary language from biology. A vague, but nevertheless informative, definition of a gene is simply a unit of hereditary information.
    [Show full text]
  • MGF 1106 Learning Objectives
    Learning Objectives L01 Set Concepts and Subsets (2.1, 2.2) 1. Indicate sets by the description method, roster method, and by using set builder notation. 2. Determine if a set is well defined. 3. Determine if a set is finite or infinite. 4. Determine if sets are equal, equivalent, or neither. 5. Find the cardinal number of a set. 6. Determine if a set is equal to the empty set. 7. Use the proper notation for the empty set. 8. Give an example of a universal set and list all of its subsets and all of its proper subsets. 9. Properly use notation for element, subset, and proper subset. 10. Determine if a number represents a cardinal number or an ordinal number. 11. Be able to determine the number of subsets and proper subsets that can be formed from a universal set without listing them. L02 Venn Diagrams and Set Operations (2.3, 2.4) 1. Determine if sets are disjoint. 2. Find the complement of a set 3. Find the intersection of two sets. 4. Find the union of two sets. 5. Find the difference of two sets. 6. Apply several set operations involved in a statement. 7. Determine sets from a Venn diagram. 8. Use the formula that yields the cardinal number of a union. 9. Construct a Venn diagram given two sets. 10. Construct a Venn diagram given three sets. L03 Equality of Sets; Applications of Sets (2.4, 2.5) 1. Determine if set statements are equal by using Venn diagrams or DeMorgan's laws.
    [Show full text]
  • Instructional Guide for Basic Mathematics 1, Grades 10 To
    REPORT RESUMES ED 016623 SE 003 950 INSTRUCTIONAL GUIDE FOR BASIC MATHEMATICS 1,GRADES 10 TO 12. BY- RICHMOND, RUTH KUSSMANN LOS ANGELES CITY SCHOOLS, CALIF. REPORT NUMBER X58 PUB DATE 66 EDRS PRICE MF -$0.25 HC-61.44 34P. DESCRIPTORS- *CURRICULUM DEVELOPMENT,*MATHEMATICS, *SECONDARY SCHOOL MATHEMATICS, *TEACHING GUIDES,ARITHMETIC, COURSE CONTENT, GRADE 10, GRADE 11, GRADE 12,GEOMETRY, LOW ABILITY STUDENTS, SLOW LEARNERS, STUDENTCHARACTERISTICS, LOS ANGELES, CALIFORNIA, THIS INSTRUCTIONAL GUIDE FORMATHEMATICS 1 OUTLINES CONTENT AND PROVIDES TEACHINGSUGGESTIONS FOR A FOUNDATION COURSE FOR THE SLOW LEARNER IN THESENIOR HIGH SCHOOL. CONSIDERATION HAS BEEN GIVEN IN THEPREPARATION OF THIS DOCUMENT TO THE STUDENT'S INTERESTLEVELS AND HIS ABILITY TO LEARN. THE GUIDE'S PURPOSE IS TOENABLE THE STUDENTS TO UNDERSTAND AND APPLY THE FUNDAMENTALMATHEMATICAL ALGORITHMS AND TO ACHIEVE SUCCESS ANDENJOYMENT IN WORKING WITH MATHEMATICS. THE CONTENT OF EACH UNITINCLUDES (1) DEVELOPMENT OF THE UNIT, (2)SUGGESTED TEACHING PROCEDURES, AND (3) STUDENT EVALUATION.THE MAJOR PORTION OF THE MATERIAL IS DEVOTED TO THE FUNDAMENTALOPERATIONS WITH WHOLE NUMBERS. IDENTIFYING AND CLASSIFYING ELEMENTARYGEOMETRIC FIGURES ARE ALSO INCLUDED. (RP) WELFARE U.S. DEPARTMENT OFHEALTH, EDUCATION & OFFICE OF EDUCATION RECEIVED FROM THE THIS DOCUMENT HAS BEENREPRODUCED EXACTLY AS POINTS OF VIEW OROPINIONS PERSON OR ORGANIZATIONORIGINATING IT. OF EDUCATION STATED DO NOT NECESSARILYREPRESENT OFFICIAL OFFICE POSITION OR POLICY. INSTRUCTIONAL GUIDE BASICMATHEMATICS I GRADES 10 to 12 LOS ANGELES CITY SCHOOLS Division of Instructional Services Curriculum Branch Publication No. X-58 1966 FOREWORD This Instructional Guide for Basic Mathematics 1 outlines content and provides teaching suggestions for a foundation course for the slow learner in the senior high school.
    [Show full text]
  • Advanced Discrete Mathematics Mm-504 &
    1 ADVANCED DISCRETE MATHEMATICS M.A./M.Sc. Mathematics (Final) MM-504 & 505 (Option-P3) Directorate of Distance Education Maharshi Dayanand University ROHTAK – 124 001 2 Copyright © 2004, Maharshi Dayanand University, ROHTAK All Rights Reserved. No part of this publication may be reproduced or stored in a retrieval system or transmitted in any form or by any means; electronic, mechanical, photocopying, recording or otherwise, without the written permission of the copyright holder. Maharshi Dayanand University ROHTAK – 124 001 Developed & Produced by EXCEL BOOKS PVT. LTD., A-45 Naraina, Phase 1, New Delhi-110 028 3 Contents UNIT 1: Logic, Semigroups & Monoids and Lattices 5 Part A: Logic Part B: Semigroups & Monoids Part C: Lattices UNIT 2: Boolean Algebra 84 UNIT 3: Graph Theory 119 UNIT 4: Computability Theory 202 UNIT 5: Languages and Grammars 231 4 M.A./M.Sc. Mathematics (Final) ADVANCED DISCRETE MATHEMATICS MM- 504 & 505 (P3) Max. Marks : 100 Time : 3 Hours Note: Question paper will consist of three sections. Section I consisting of one question with ten parts covering whole of the syllabus of 2 marks each shall be compulsory. From Section II, 10 questions to be set selecting two questions from each unit. The candidate will be required to attempt any seven questions each of five marks. Section III, five questions to be set, one from each unit. The candidate will be required to attempt any three questions each of fifteen marks. Unit I Formal Logic: Statement, Symbolic representation, totologies, quantifiers, pradicates and validity, propositional logic. Semigroups and Monoids: Definitions and examples of semigroups and monoids (including those pertaining to concentration operations).
    [Show full text]
  • An Elementary Approach to Boolean Algebra
    Eastern Illinois University The Keep Plan B Papers Student Theses & Publications 6-1-1961 An Elementary Approach to Boolean Algebra Ruth Queary Follow this and additional works at: https://thekeep.eiu.edu/plan_b Recommended Citation Queary, Ruth, "An Elementary Approach to Boolean Algebra" (1961). Plan B Papers. 142. https://thekeep.eiu.edu/plan_b/142 This Dissertation/Thesis is brought to you for free and open access by the Student Theses & Publications at The Keep. It has been accepted for inclusion in Plan B Papers by an authorized administrator of The Keep. For more information, please contact [email protected]. r AN ELEr.:ENTARY APPRCACH TC BCCLF.AN ALGEBRA RUTH QUEAHY L _J AN ELE1~1ENTARY APPRCACH TC BC CLEAN ALGEBRA Submitted to the I<:athematics Department of EASTERN ILLINCIS UNIVERSITY as partial fulfillment for the degree of !•:ASTER CF SCIENCE IN EJUCATION. Date :---"'f~~-----/_,_ffo--..i.-/ _ RUTH QUEARY JUNE 1961 PURPOSE AND PLAN The purpose of this paper is to provide an elementary approach to Boolean algebra. It is designed to give an idea of what is meant by a Boclean algebra and to supply the necessary background material. The only prerequisite for this unit is one year of high school algebra and an open mind so that new concepts will be considered reason­ able even though they nay conflict with preconceived ideas. A mathematical science when put in final form consists of a set of undefined terms and unproved propositions called postulates, in terrrs of which all other concepts are defined, and from which all other propositions are proved.
    [Show full text]
  • Abstract Algebra: Monoids, Groups, Rings
    Notes on Abstract Algebra John Perry University of Southern Mississippi [email protected] http://www.math.usm.edu/perry/ Copyright 2009 John Perry www.math.usm.edu/perry/ Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States You are free: to Share—to copy, distribute and transmit the work • to Remix—to adapt the work Under• the following conditions: Attribution—You must attribute the work in the manner specified by the author or licen- • sor (but not in any way that suggests that they endorse you or your use of the work). Noncommercial—You may not use this work for commercial purposes. • Share Alike—If you alter, transform, or build upon this work, you may distribute the • resulting work only under the same or similar license to this one. With the understanding that: Waiver—Any of the above conditions can be waived if you get permission from the copy- • right holder. Other Rights—In no way are any of the following rights affected by the license: • Your fair dealing or fair use rights; ◦ Apart from the remix rights granted under this license, the author’s moral rights; ◦ Rights other persons may have either in the work itself or in how the work is used, ◦ such as publicity or privacy rights. Notice—For any reuse or distribution, you must make clear to others the license terms of • this work. The best way to do this is with a link to this web page: http://creativecommons.org/licenses/by-nc-sa/3.0/us/legalcode Table of Contents Reference sheet for notation...........................................................iv A few acknowledgements..............................................................vi Preface ...............................................................................vii Overview ...........................................................................vii Three interesting problems ............................................................1 Part .
    [Show full text]
  • Properties & Multiplying a Polynomial by a Monomial Date
    Algebra I Block Name Unit #1: Linear Equations & Inequalities Period Lesson #2: Properties & Multiplying a Polynomial by a Monomial Date Properties In algebra, it is important to know certain properties. These properties are basically rules that allow us to manipulate and work with equations in order to solve for a given variable. We will be dealing with them all year, and you’ve probably actually been using them for awhile without even realizing it! The Commutative Property deals with the order of things. In other words, if I switch the order of two or more items, will my answer be the same? The Commutative Property of Addition states that when it comes to adding two different numbers, the order does . The Commutative Property of Multiplication states that when it comes to multiplying two different numbers, the order does . When it comes to subtracting and dividing numbers, the order matter, so there are no commutative properties for subtraction or division. The Associative Property deals with how things are grouped together. In other words, if I regroup two or more numbers, will my answer still be the same? Just like the commutative property, the associative property applies to addition and multiplication only. There are Identity Properties that apply all four basic operations. When it comes to identity properties, just ask yourself “What can I do to keep the answer the same?” The identity property of addition states that if I add to anything, it will stay the same. The same is true for subtraction. The identity property of multiplication states that if I multiply anything by _______, it will stay the same.
    [Show full text]
  • Vector Spaces
    Chapter 1 Vector Spaces Linear algebra is the study of linear maps on finite-dimensional vec- tor spaces. Eventually we will learn what all these terms mean. In this chapter we will define vector spaces and discuss their elementary prop- erties. In some areas of mathematics, including linear algebra, better the- orems and more insight emerge if complex numbers are investigated along with real numbers. Thus we begin by introducing the complex numbers and their basic✽ properties. 1 2 Chapter 1. Vector Spaces Complex Numbers You should already be familiar with the basic properties of the set R of real numbers. Complex numbers were invented so that we can take square roots of negative numbers. The key idea is to assume we have i − i The symbol was√ first a square root of 1, denoted , and manipulate it using the usual rules used to denote −1 by of arithmetic. Formally, a complex number is an ordered pair (a, b), the Swiss where a, b ∈ R, but we will write this as a + bi. The set of all complex mathematician numbers is denoted by C: Leonhard Euler in 1777. C ={a + bi : a, b ∈ R}. If a ∈ R, we identify a + 0i with the real number a. Thus we can think of R as a subset of C. Addition and multiplication on C are defined by (a + bi) + (c + di) = (a + c) + (b + d)i, (a + bi)(c + di) = (ac − bd) + (ad + bc)i; here a, b, c, d ∈ R. Using multiplication as defined above, you should verify that i2 =−1.
    [Show full text]
  • Associative Property of Multiplication to find Products?
    8.2 Associative Property ALGEBRA of Multiplication ? Essential Question How can you use the Associative Property of Multiplication to find products? Texas Essential Knowledge and Skills Number and Operations—3.4.F Recall facts to multiply up to 10 by 10 with automaticity and recall the corresponding division facts; 3.4.K Solve one-step and two-step problems involving multiplication and division within 100 How can you use the Associative Property of Algebraic Reasoning—3.5.B Represent and solve one- Multiplication to find and two-step multiplication and division problems within 100 products? Also 3.4.D, 3.4.G, 3.5.D MATHEMATICAL PROCESSES 3.1.E Create and use representations 3.1.G Display, explain, and justify mathematical ideas and arguments Are You Ready? Access Prior Knowledge Use the Are You Ready? 8.2 in the Assessment Guide to assess students’ Lesson Opener understanding of the prerequisite skills Making Connections for this lesson. Invite students to tell you what they know about different modes of transportation. Explain to students that the Mole Mountain Express described in the problem is like a Vocabulary taxi, shuttle, or bus. Associative Property of Multiplication Have you ever taken a taxi, a shuttle, or a bus? What was it like? Have you ever taken Go to Multimedia eGlossary at bags with you on a trip? How many? thinkcentral.com Using the Digital Lesson You may wish to model the stated problem with students using pictures or manipulatives, such as counters. Learning Task What is the problem the students are trying to solve? Connect the story to the problem.
    [Show full text]
  • Definition of Closure Property of Addition
    Definition Of Closure Property Of Addition Lakier Kurt predominate, his protozoology operates rekindle beauteously. Constantin is badly saphenous after polytypic Avraham detribalizing his Monterrey flip-flap. Renault prawn loutishly. Washing and multiplication also visit the addition property of the comments that product of doing this property throughout book For simplicity, the product is acknowledge the same regardless of their grouping. The Commutative property states that edge does grit matter. To avoid losing your memory, we finally look these other operations and theorems that are defined for numbers and absent if there some useful analogs in the matrix domain. The sum absent any kid and zero is giving original number. Washing and drying clothes resembles a noncommutative operation; washing and then drying produces a markedly different result to drying and then washing. These cookies will be stored in your browser only with someone consent. Nine problems are provided. The commutativity of slut is observed when paying for maintain item no cash. Closure Property that Addition. Request forbidden by administrative rules. Too Many Requests The client has sent him many requests to the server. We think otherwise have liked this presentation. Lyle asked if the operation of subtraction is associative. Mathematics conducted annually for school students. Georg Waldemar Cantor, copy and paste the text field your bibliography or works cited list. You cannot select hint question if not current study step is not that question. Mometrix Test Preparation provides unofficial test preparation products for a beyond of examinations. Thus, the geometrical and numerical approaches reinforce each chamber in finding area and multiplying numbers.
    [Show full text]
  • De Morgan's Laws Revisited: to Be AND/OR NOT to Be
    Paper PO25 De Morgan’s Laws Revisited: To Be AND/OR NOT To Be Raoul A. Bernal, Amgen, Inc., Thousand Oaks, CA ABSTRACT De Morgan's Laws, named for the nineteenth century British mathematician and logician Augustus De Morgan (1806- 1871), are powerful rules of Boolean algebra and set theory that relate the three basic set operations (union, intersection and complement) to each other. If A and B are subsets of a universal set U, de Morgan’s laws state that (A ∪ B) ' = A' ∩ B' (A ∩ B) ' = A' ∪ B' where ∪ denotes the union (OR), ∩ denotes the intersection (AND) and A' denotes the set complement (NOT) of A in U, i.e., A' = U\A. The first law simply states that an element not in A ∪ B is not in A' and not in B'. Conversely, it also states that an element not in A' and not in B' is not in A ∪ B. The second law simply states that an element not in A ∩ B is not in A' or not in B'. Conversely, it also states that an element not in A' or not in B' is not in A ∩ B. This paper will demonstrate how the de Morgan’s Laws can be used to simplify complicated Boolean IF and WHERE expressions in SAS code. Using a specific example, the correctness of the simplified SAS code is verified using direct proof and tautology table. An actual SAS example with simple clinical data will be executed to show the equivalence and correctness of the results. INTRODUCTION In general, for any collection of subsets, de Morgan’s Laws are as follows: Theorem.
    [Show full text]
  • 1.3 Properties of Addition and Multiplication 15 1.3 Lesson Lesson Tutorials
    Properties of Addition 1.3 and Multiplication Does the order in which you perform an operation matter? 1 ACTIVITY: Does Order Matter? Work with a partner. Place each statement in the correct oval. a. Fasten 5 shirt buttons. b. Put on a shirt and tie. c. Fill and seal an envelope. d. Floss your teeth. e. Put on your shoes. f. Chew and swallow. Order Matters Order Doesn’t Matter Think of some math problems using the four operations where order matters and some where order doesn’t matter. Commute When you commute the positions you switch their positions. of two stuffed animals on a shelf, 2 ACTIVITY: Commutative Properties Work with a partner. a. Which of the following are true? ? ? 3 + 5 = 5 + 3 3 − 5 = 5 − 3 ? ? 9 × 3 = 3 × 9 9 ÷ 3 = 3 ÷ 9 b. The true equations show the Commutative Properties of Addition and Multiplication. Why are they called “commutative?” Write the properties. 14 Chapter 1 Expressions and Number Properties Associate You have two best friends. Sometimes And sometimes you associate you associate with one of them. with the other. 3 ACTIVITY: Associative Properties Work with a partner. a. Which of the following are true? ? ? 8 + (3 + 1) = (8 + 3) + 1 8 − (3 − 1) = (8 − 3) − 1 ? ? 12 × (6 × 2) = (12 × 6) × 2 12 ÷ (6 ÷ 2) = (12 ÷ 6) ÷ 2 b. The true equations show the Associative Properties of Addition and Multiplication. Why are they called “associative?” Write the properties. 4. IN YOUR OWN WORDS Does the order in which you perform an operation matter? 5. MENTAL MATH Explain how you can use the Commutative and Associative Properties of Addition to add the sum in your head.
    [Show full text]