{"id":3733,"date":"2022-02-03T17:59:00","date_gmt":"2022-02-03T20:59:00","guid":{"rendered":"https:\/\/www.blogs.unicamp.br\/zero\/?p=3733"},"modified":"2022-05-23T17:59:16","modified_gmt":"2022-05-23T20:59:16","slug":"how-about-being-more-contrapositive","status":"publish","type":"post","link":"https:\/\/www.blogs.unicamp.br\/zero\/3733\/","title":{"rendered":"How about being more contrapositive?"},"content":{"rendered":"\n<p>Many people talk about the benefits of positivity, being more positive in our daily lives and how it can help us with our problems. But to solve some types of problems, it is more interesting to go in the opposite direction\u2026 this does not mean being negative, but contrapositive.<\/p>\n\n\n\n<p>Let&#8217;s understand then how we can be contrapositive.<\/p>\n\n\n\n<p>Let&#8217;s think about some common relationships first:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>If it&#8217;s sunny, I go to the beach;<\/li><li>If there&#8217;s zucchini on sale, I&#8217;ll buy zucchini;<\/li><li>If it&#8217;s hot, I&#8217;ll take a shower.<\/li><\/ul>\n\n\n\n<p>In these relationships, there is a condition (we&#8217;ll call it P) that needs to occur for the other action (we&#8217;ll call it Q) to be performed. So, in a slightly more general notation we have \u201cif P then Q\u201d.<\/p>\n\n\n\n<p>Note that ALWAYS when event P occurs, event Q must also occur. However, nothing prevents the event Q from occurring without P having occurred.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>It wasn&#8217;t sunny, but I went to the beach;<\/li><li>The zucchini wasn&#8217;t on sale, but I bought it anyway;<\/li><li>It wasn&#8217;t hot, but I took a shower.<\/li><\/ul>\n\n\n\n<p>Organizing what I explained in the form of a table (also known as a Truth Table) in which we analyze all the possibilities of P and Q occurring and how this results in our \u201cif P then Q\u201d relationship.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>P<\/strong><\/td><td><strong>Q<\/strong><\/td><td><strong>P \u2192 Q<\/strong><\/td><\/tr><tr><td>TRUE<\/td><td>TRUE<\/td><td>TRUE<\/td><\/tr><tr><td>TRUE<\/td><td>FALSE<\/td><td>FALSE<\/td><\/tr><tr><td>FALSE<\/td><td>TRUE<\/td><td>TRUE<\/td><\/tr><tr><td>FALSE<\/td><td>FALSE<\/td><td>TRUE<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>The idea of \u200b\u200bbeing contrapositive is to think about the negative of these events. That is, \u201cNO P\u201d and \u201cNO Q\u201d, but in this case, we also need to think about the negative relationship between them, which will be \u201cif NOT Q then NOT P\u201d.<\/p>\n\n\n\n<p>Oops, is it weird now? Why have I inverted what was once the condition to now be the consequence?<\/p>\n\n\n\n<p>Let&#8217;s look at the previous statements in their contrapositive forms to better understand why we made this inversion:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>If I don&#8217;t go to the beach, it&#8217;s because it wasn&#8217;t sunny;<\/li><li>If I don&#8217;t buy zucchini, it&#8217;s because they didn&#8217;t have zucchini on sale;<\/li><li>If I don&#8217;t shower, it&#8217;s because it wasn&#8217;t hot.<\/li><\/ul>\n\n\n\n<p>Organizing what I explained in the form of a Truth Table in which we analyze all the possibilities of NOT Q and NOT P occurring and how this results in our \u201cif NOT Q then NOT P\u201d relationship.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>NOT Q<\/strong><\/td><td><strong>NOT P<\/strong><\/td><td><strong>NOT Q \u2192 NOT P<\/strong><\/td><\/tr><tr><td>FALSE<\/td><td>FALSE<\/td><td>TRUE<\/td><\/tr><tr><td>TRUE<\/td><td>FALSE<\/td><td>FALSE<\/td><\/tr><tr><td>FALSE<\/td><td>TRUE<\/td><td>TRUE<\/td><\/tr><tr><td>TRUE<\/td><td>TRUE<\/td><td>TRUE<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Wow! We arrive in the same situations where one event occurs because of the other (but you already suspected that would happen, right?)<\/p>\n\n\n\n<p>An example of how being contrapositive can help us solve problems (especially in mathematics), let&#8217;s see the following statement:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>For x \u2208 \u2124, prove that if x\u00b2 is even, then x is even.<\/li><\/ul>\n\n\n\n<p>Proving this problem directly involves writing x\u00b2 in the form 2.n with n \u2208 \u2124, but then we would need to show that \u221a(2.n) is even, and particularly I wouldn&#8217;t want to tackle this square root if it&#8217;s not really necessary.<\/p>\n\n\n\n<p>An alternative is to think of the contrapositive of this statement, where<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Q: x\u00b2 is even<\/li><li>Q: x is even<\/li><li>P \u2192 Q: if x\u00b2 is even, then x is even<\/li><\/ul>\n\n\n\n<p>When writing the negation of P and Q, we have<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>NO P: x\u00b2 is not even<\/li><li>NO Q: x is not even<\/li><li>NO Q \u2192 NO P: if x is not even, x\u00b2 is not even<\/li><\/ul>\n\n\n\n<p>But since we are in the set of Integers, if a number is not even, then it is odd. That is, the contrapositive of that statement is:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>For x \u2208 \u2124, prove that if x is odd, then x\u00b2 is odd.<\/li><\/ul>\n\n\n\n<p class=\"has-text-align-center\">This proof has already appeared in the post <a href=\"https:\/\/www.blogs.unicamp.br\/zero\/2022\/01\/27\/show-prove-or-demonstrate-that-is-the-question\/\">Show, Prove or Demonstrate, that is the question<\/a>.<\/p>\n\n\n\n<p>See how curious, the two statements at first seem different, but when we are more \u201ccontrapositive\u201d, we can see that demonstrating one is equivalent to demonstrating the other. And particularly, demonstrating that if x is odd, then x\u00b2 is odd, is much smoother.<\/p>\n\n\n\n<p>See how changing the way we look at a problem can greatly reduce the difficulty of solving it?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Many people talk about the benefits of positivity, being more positive in our daily lives and how it can help<\/p>\n","protected":false},"author":434,"featured_media":3699,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"editor_plus_copied_stylings":"{}","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"pgc_sgb_lightbox_settings":"","_vp_format_video_url":"","_vp_image_focal_point":[],"footnotes":""},"categories":[1223],"tags":[],"class_list":["post-3733","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-v-7-ed-2"],"_links":{"self":[{"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/posts\/3733","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/users\/434"}],"replies":[{"embeddable":true,"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/comments?post=3733"}],"version-history":[{"count":1,"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/posts\/3733\/revisions"}],"predecessor-version":[{"id":3734,"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/posts\/3733\/revisions\/3734"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/media\/3699"}],"wp:attachment":[{"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/media?parent=3733"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/categories?post=3733"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/tags?post=3733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}