{"id":18495,"date":"2016-10-24T15:59:46","date_gmt":"2016-10-24T15:59:46","guid":{"rendered":"http:\/\/www.oracletutoring.ca\/blog\/?p=18495"},"modified":"2016-10-25T19:42:40","modified_gmt":"2016-10-25T19:42:40","slug":"math-symbolic-logic-meets-digital-circuits-p%e2%86%92q-means-%c2%aca-or-b","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/math-symbolic-logic-meets-digital-circuits-p%e2%86%92q-means-%c2%aca-or-b\/","title":{"rendered":"Math:  symbolic logic meets digital circuits:  p\u2192q means \u00acA or B"},"content":{"rendered":"<h1>The tutor translates p&#8594;q to the boolean expression &#172;A or B.<\/h1>\n<p>In my <a href=\"?p=14308\">beginning post about symbolic logic,<\/a> I mention that the statement p implies q, also stated p&#8594;q, has the following truth table:<\/p>\n<table style=\"width:45%;display:block;margin:auto;border:none\">\n<tr>\n<td style=\"border:none;text-align:center;width:3em;\">p<\/td>\n<td style=\"border:none;text-align:center;width:3em\">q<\/td>\n<td style=\"border:none;text-align:center\">p&#8594;q<\/td>\n<\/tr>\n<tr>\n<td style=\"border:none;text-align:center;width:3em\">0<\/td>\n<td style=\"border:none;text-align:center;width:3em\">0<\/td>\n<td style=\"border:none;text-align:center\">1<\/td>\n<\/tr>\n<tr>\n<td style=\"border:none;text-align:center;width:3em\">0<\/td>\n<td style=\"border:none;text-align:center;width:3em\">1<\/td>\n<td style=\"border:none;text-align:center\">1<\/td>\n<\/tr>\n<tr>\n<td style=\"border:none;text-align:center;width:3em\">1<\/td>\n<td style=\"border:none;text-align:center;width:3em\">0<\/td>\n<td style=\"border:none;text-align:center\">0<\/td>\n<\/tr>\n<tr>\n<td style=\"border:none;text-align:center;width:3em\">1<\/td>\n<td style=\"border:none;text-align:center;width:3em\">1<\/td>\n<td style=\"border:none;text-align:center\">1<\/td>\n<\/tr>\n<\/table>\n<p>(I also mention, in <a href=\"?p=14308\">that same post,<\/a> the symbols and so on needed to understand basic logical expressions such as the ones herein.)<\/p>\n<p>In digital logic (aka, digital circuits, boolean expressions, etc), &#172;A or B has the same truth table:<\/p>\n<table style=\"width:45%;display:block;margin:auto;border:none\">\n<tr>\n<td style=\"border:none;text-align:center;width:3em;\">A<\/td>\n<td style=\"border:none;text-align:center;width:3em\">B<\/td>\n<td style=\"border:none;text-align:center\">&#172;A or B<\/td>\n<\/tr>\n<tr>\n<td style=\"border:none;text-align:center;width:3em\">0<\/td>\n<td style=\"border:none;text-align:center;width:3em\">0<\/td>\n<td style=\"border:none;text-align:center\">1<\/td>\n<\/tr>\n<tr>\n<td style=\"border:none;text-align:center;width:3em\">0<\/td>\n<td style=\"border:none;text-align:center;width:3em\">1<\/td>\n<td style=\"border:none;text-align:center\">1<\/td>\n<\/tr>\n<tr>\n<td style=\"border:none;text-align:center;width:3em\">1<\/td>\n<td style=\"border:none;text-align:center;width:3em\">0<\/td>\n<td style=\"border:none;text-align:center\">0<\/td>\n<\/tr>\n<tr>\n<td style=\"border:none;text-align:center;width:3em\">1<\/td>\n<td style=\"border:none;text-align:center;width:3em\">1<\/td>\n<td style=\"border:none;text-align:center\">1<\/td>\n<\/tr>\n<\/table>\n<p>Neat, eh?<\/p>\n<p>Source:<\/p>\n<p>Grimaldi, Ralph P.  <u>Discrete and Combinatorial Mathematics<\/u>, 3rd ed.  Don Mills:  Addison-Wesley Publishing Company, 1994.<\/p>\n<p>Jack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The tutor translates p&#8594;q to the boolean expression &#172;A or B. In my beginning post about symbolic logic, I mention that the statement p implies q, also stated p&#8594;q, has the following truth table: p q p&#8594;q 0 0 1 &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/math-symbolic-logic-meets-digital-circuits-p%e2%86%92q-means-%c2%aca-or-b\/\"> <span class=\"screen-reader-text\">Math:  symbolic logic meets digital circuits:  p\u2192q means \u00acA or B<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[1987,1984,1986,1983,1985,1988,1430],"class_list":["post-18495","post","type-post","status-publish","format-standard","hentry","category-math","tag-binary-expression-for-p-implies-q","tag-boolean-expression-for-p-implies-q","tag-digital-circuit-for-p-implies-q","tag-digital-expression-for-p-implies-q","tag-equivalent-expression-for-p-implies-q","tag-switching-function-for-p-implies-q","tag-symbolic-logic"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/18495","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=18495"}],"version-history":[{"count":15,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/18495\/revisions"}],"predecessor-version":[{"id":18518,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/18495\/revisions\/18518"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=18495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=18495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=18495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}