Words Symbols Diagram. abcde. a + b + c + d + e



Similar documents
CS99S Laboratory 2 Preparation Copyright W. J. Dally 2001 October 1, 2001

1. Definition, Basic concepts, Types 2. Addition and Subtraction of Matrices 3. Scalar Multiplication 4. Assignment and answer key 5.

Homework 3 Solutions

Algebra Review. How well do you remember your algebra?

Learning Outcomes. Computer Systems - Architecture Lecture 4 - Boolean Logic. What is Logic? Boolean Logic 10/28/2010

Quick Guide to Lisp Implementation

Example 27.1 Draw a Venn diagram to show the relationship between counting numbers, whole numbers, integers, and rational numbers.

1 Fractions from an advanced point of view

Chapter. Contents: A Constructing decimal numbers

0.1 Basic Set Theory and Interval Notation

Bayesian Updating with Continuous Priors Class 13, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom

Reasoning to Solve Equations and Inequalities

1.2 The Integers and Rational Numbers

c b N/m 2 (0.120 m m 3 ), = J. W total = W a b + W b c 2.00

Ratio and Proportion

Polynomial Functions. Polynomial functions in one variable can be written in expanded form as ( )

LINEAR TRANSFORMATIONS AND THEIR REPRESENTING MATRICES

9.3. The Scalar Product. Introduction. Prerequisites. Learning Outcomes

Regular Sets and Expressions

Or more simply put, when adding or subtracting quantities, their uncertainties add.

SOLVING EQUATIONS BY FACTORING

Appendix D: Completing the Square and the Quadratic Formula. In Appendix A, two special cases of expanding brackets were considered:

CS 316: Gates and Logic

Math Review for Algebra and Precalculus

OUTLINE SYSTEM-ON-CHIP DESIGN. GETTING STARTED WITH VHDL August 31, 2015 GAJSKI S Y-CHART (1983) TOP-DOWN DESIGN (1)

Factoring Polynomials

SECTION 7-2 Law of Cosines

EQUATIONS OF LINES AND PLANES

PROF. BOYAN KOSTADINOV NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY

50 MATHCOUNTS LECTURES (10) RATIOS, RATES, AND PROPORTIONS

Module 5. Three-phase AC Circuits. Version 2 EE IIT, Kharagpur

End of term: TEST A. Year 4. Name Class Date. Complete the missing numbers in the sequences below.

1 GSW IPv4 Addressing

The remaining two sides of the right triangle are called the legs of the right triangle.

Arc-Consistency for Non-Binary Dynamic CSPs

A.7.1 Trigonometric interpretation of dot product A.7.2 Geometric interpretation of dot product

Experiment 6: Friction

Maximum area of polygon

Angles 2.1. Exercise Find the size of the lettered angles. Give reasons for your answers. a) b) c) Example

The Cat in the Hat. by Dr. Seuss. A a. B b. A a. Rich Vocabulary. Learning Ab Rhyming

and thus, they are similar. If k = 3 then the Jordan form of both matrices is

DATABASDESIGN FÖR INGENJÖRER F

The art of Paperarchitecture (PA). MANUAL

Lesson 2.1 Inductive Reasoning

Treatment Spring Late Summer Fall Mean = 1.33 Mean = 4.88 Mean = 3.

5.6 POSITIVE INTEGRAL EXPONENTS

LISTENING COMPREHENSION

P.3 Polynomials and Factoring. P.3 an 1. Polynomial STUDY TIP. Example 1 Writing Polynomials in Standard Form. What you should learn

- DAY 1 - Website Design and Project Planning

Data Security 1. 1 What is the function of the Jump instruction? 2 What are the main parts of the virus code? 3 What is the last act of the virus?

Lec 2: Gates and Logic

Practice Test 2. a. 12 kn b. 17 kn c. 13 kn d. 5.0 kn e. 49 kn

Integration by Substitution

Math 135 Circles and Completing the Square Examples

Equivalence Checking. Sean Weaver

Seeking Equilibrium: Demand and Supply

Chapter. Fractions. Contents: A Representing fractions

FUNCTIONS AND EQUATIONS. xεs. The simplest way to represent a set is by listing its members. We use the notation

Object Semantics Lecture 2

Section 5-4 Trigonometric Functions

Repeated multiplication is represented using exponential notation, for example:

Use Geometry Expressions to create a more complex locus of points. Find evidence for equivalence using Geometry Expressions.

Clause Trees: a Tool for Understanding and Implementing Resolution in Automated Reasoning

Two hours UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE. Date: Friday 16 th May Time: 14:00 16:00

MATH 150 HOMEWORK 4 SOLUTIONS

RIGHT TRIANGLES AND THE PYTHAGOREAN TRIPLETS

Graphs on Logarithmic and Semilogarithmic Paper

KEY SKILLS INFORMATION TECHNOLOGY Level 3. Question Paper. 29 January 9 February 2001

SPECIAL PRODUCTS AND FACTORIZATION

4.11 Inner Product Spaces

Geometry 7-1 Geometric Mean and the Pythagorean Theorem

Lecture 5. Inner Product

MATH PLACEMENT REVIEW GUIDE

If two triangles are perspective from a point, then they are also perspective from a line.

One Minute To Learn Programming: Finite Automata

Helicopter Theme and Variations

5.2. LINE INTEGRALS 265. Let us quickly review the kind of integrals we have studied so far before we introduce a new one.

Mathematics. Vectors. hsn.uk.net. Higher. Contents. Vectors 128 HSN23100

Student Access to Virtual Desktops from personally owned Windows computers

Lecture 3: orientation. Computer Animation

Physics 43 Homework Set 9 Chapter 40 Key

5 a LAN 6 a gateway 7 a modem

COMPLEX FRACTIONS. section. Simplifying Complex Fractions

Review guide for the final exam in Math 233

New combinatorial features for knots and virtual knots. Arnaud MORTIER

Operations with Polynomials

Rotational Equilibrium: A Question of Balance

Pentominoes. Pentominoes. Bruce Baguley Cascade Math Systems, LLC. The pentominoes are a simple-looking set of objects through which some powerful

Vectors Recap of vectors

MODULE 3. 0, y = 0 for all y

How To Network A Smll Business

2 DIODE CLIPPING and CLAMPING CIRCUITS

Small Business Networking

INSTALLATION, OPERATION & MAINTENANCE

Novel Methods of Generating Self-Invertible Matrix for Hill Cipher Algorithm

Lecture 3 Gaussian Probability Distribution

Cypress Creek High School IB Physics SL/AP Physics B MP2 Test 1 Newton s Laws. Name: SOLUTIONS Date: Period:

DiaGen: A Generator for Diagram Editors Based on a Hypergraph Model

Warm-up for Differential Calculus

WHAT HAPPENS WHEN YOU MIX COMPLEX NUMBERS WITH PRIME NUMBERS?

Transcription:

Logi Gtes nd Properties We will e using logil opertions to uild mhines tht n do rithmeti lultions. It s useful to think of these opertions s si omponents tht n e hooked together into omplex networks. To help visulize these networks, we ll use digrms to represent eh opertion. For the logil opertion AND, we ll use the following digrm, lled n AND gte: For the logil opertion OR, we use n OR gte: + Finlly, for the logil opertion NOT, we use NOT gte: Now we n digrm omplited logil expressions s logi networks. For exmple, the logil expression + n e digrmmed like so: + This logi network indites tht we tke AND, then NOT the result nd omine with using n OR. Here re some more exmples

Logil expression Logi network + d d To uild omplited logi network we hook the outputs of some logi gtes to the inputs of other logi gtes. We n extend this digrmmti nottion y llowing more inputs for AND nd OR: Words Symols Digrm AND AND AND d AND e de d e OR OR OR d OR e + + + d + e d e

We n now exmine some si properties of logil opertions nd how these properties pper when digrmmed. First, rell the tle of omintions for AND: AND 0 1 0 0 0 1 0 1 From this tle we see tht 0 AND 1 gives the sme truth vlue s 1 AND 0, so the order in whih we write the piees of the omintion doesn t mtter. Tht is, for sttements nd the truth vlue of AND will e the sme s the truth vlue for AND. In symols, this is Lw of Commuttivity for AND: Similrly, the tle of omintions for OR: OR 0 1 0 0 1 1 1 1 Indites tht 0 OR 1 hs the sme truth vlue s 1 OR 0, so generlly for sttements nd we hve the Lw of Commuttivity for OR:. + + For logi gtes, these Lws of Commuttivity sy tht it doesn t mtter wht order we use to drw the inputs into the AND nd OR gtes:

These properties re similr to wht we hve seen for numers. For numers, we lso hd Lw of Identity whih sid tht multiplition y 1 doesn t hnge numer. In logi, there is lso n identity for AND: Lw of Identity for AND: 1 Even though this Lw looks fmilir from numers, we hve to e reful to hek tht it is still true for logi (where is sttement nd 1 mens AND 1 ). To see tht the Lw of Identity holds for AND, look t the truth tle for AND 1. Here 1 mens vrile tht is lwys true, so to nlyze 1 we only need to see wht hppens when we hnge. With only one vrile, the truth tle for 1 hs 2 1 2 rows: 1 0 0 1 1 Sine the two olumns re the sme, 1. Digrmmtilly, we drw 1 this wy 1 Another wy to think of this is tht if we hve logi network with gte tht looks like the one ove, we n remove tht gte. We lso hve the Lw of Identity for OR: + 0 This follows from the truth tle for + 0 (here 0 mens vrile tht is lwys flse). Anlyzing OR FALSE, we hve + 0 0 0 1 1 And gin the two olumns re the sme, so + 0.

We lso hve nother property tht is similr to wht we hd for numers: Distriutive Lw for AND nd OR: ( + ) + To see tht the Distriutive Lw holds, we ompre the lst olumns of the following truth tles; noting tht the truth vlues of the lst two olumns re the sme. + (+) + 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1 0 0 0 0 1 0 1 0 0 1 0 0 0 0 0 1 1 1 0 0 1 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 1 1 1 0 1 0 1 1 1 1 0 1 1 1 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 Digrmmtilly, this looks like So fr we hve seen lws tht re similr to wht we hd for numers. Even though our ojets re not numers ut rther sttements, this similrity is helpful when mnipulting logil expressions; we n use our intuition for the lger of numers to work with the lger of sttements. This is the gret power of Boole s nottion. But there re other properties of logi whih not like the properties of numers. For exmple, in logi 1 + 1 1 (this sys tht two true sttements ORed together mke true sttement). We lso hve the following property: Lw of Doule Negtion for NOT:

Whih sys tht doing two NOTs in row is the sme s doing nothing. This should e ler euse if the first NOT hnges 0 to 1 then the seond NOT will hnge tht 1 k to 0 (nd vie vers). Digrmmtilly, this sys We hve different sort of nelltion for AND. Cnelltion Lw for AND: 0 This sys tht AND NOT is flse, whih is intuitively ler (you n t elieve sttement nd its negtion t the sme time!) nd whih we n lso hek using the truth tle 0 1 0 1 0 0 Finlly, we hve property whih we will soon find to e very useful when simplifying logi networks: Cnelltion Lw for OR: + 1 Intuitively, this just sys tht either sttement is true or its negtion is true; tht is, either or NOT hs to e true, so when we OR these two piees together to get + it hs to e true. We n write this out with truth tle + 0 1 1 1 0 1

Digrmmtilly this sys 1 This mens tht if we hve logi network tht hs portion like the little network on the left, we n remove the little network, repling the vrile with onstnt vlue of 1.