{"id":23257,"date":"2023-03-28T01:47:14","date_gmt":"2023-03-28T01:47:14","guid":{"rendered":"https:\/\/www.booksofall.com\/vi\/?post_type=product&#038;p=23257"},"modified":"2023-03-28T01:55:20","modified_gmt":"2023-03-28T01:55:20","slug":"mathematics-for-computer-science","status":"publish","type":"product","link":"https:\/\/www.booksofall.com\/vi\/mathematics-for-computer-science\/","title":{"rendered":"Mathematics for Computer Science"},"content":{"rendered":"<h2>1 What is a Proof?<\/h2>\n<h3>1.1 Propositions<\/h3>\n<p><strong>Definition<\/strong>. A <a href=\"https:\/\/www.tutorialspoint.com\/discrete_mathematics\/discrete_mathematics_propositional_logic.htm\">proposition<\/a> is a statement (communication) that is either true or false.<\/p>\n<p>For example, both of the following statements are propositions. The first is true, and the second is false.<\/p>\n<p><strong>Proposition 1.1.1.<\/strong> 2 + 3 = 5.<\/p>\n<p><strong>Proposition 1.1.2.<\/strong> 1 + 1 = 3.<\/p>\n<p>Being true or false doesn\u2019t sound like much of a limitation, but it does exclude statements such as \u201cWherefore art thou Romeo?\u201d and \u201cGive me an A!\u201d It also excludes statements whose truth varies with circumstance such as, \u201cIt\u2019s five o\u2019clock,\u201d or \u201cthe stock market will rise tomorrow.\u201d<\/p>\n<p>Unfortunately it is not always easy to decide if a claimed proposition is true or false:<\/p>\n<p><strong>Claim 1.1.3.<\/strong> For every nonnegative integer n the value of n2 C nC 41 is <a href=\"https:\/\/en.wikipedia.org\/wiki\/Prime_number\">prime<\/a>.<\/p>\n<p>(A prime is an integer greater than 1 that is not divisible by any other integer greater than 1. For example, 2, 3, 5, 7, 11, are the first five primes.) Let\u2019s try some numerical experimentation to check this proposition. Let<\/p>\n<p id=\"qMKcGaa\"><img loading=\"lazy\" decoding=\"async\" width=\"388\" height=\"36\" class=\"alignnone size-full wp-image-23261 \" src=\"https:\/\/www.booksofall.com\/vi\/wp-content\/uploads\/sites\/10\/2023\/03\/img_6422445d08d4f.png\" alt=\"\" \/><\/p>\n<p>We begin with p.0\/ D 41, which is prime; then<\/p>\n<p id=\"MNcBWmT\"><img loading=\"lazy\" decoding=\"async\" width=\"368\" height=\"28\" class=\"alignnone size-full wp-image-23262 \" src=\"https:\/\/www.booksofall.com\/vi\/wp-content\/uploads\/sites\/10\/2023\/03\/img_642244644ece4.png\" alt=\"\" \/><\/p>\n<p>are each prime. Hmmm, starts to look like a plausible claim. In fact we can keep checking through n D 39 and confirm that p.39\/ D 1601 is prime.<\/p>\n<p>But <img loading=\"lazy\" decoding=\"async\" width=\"248\" height=\"18\" class=\"alignnone size-full wp-image-23263 \" src=\"https:\/\/www.booksofall.com\/vi\/wp-content\/uploads\/sites\/10\/2023\/03\/img_642244782550d.png\" alt=\"\" \/> , which is not prime. So Claim 1.1.3 is false since it\u2019s not true that <img loading=\"lazy\" decoding=\"async\" width=\"33\" height=\"19\" class=\"alignnone size-full wp-image-23264 \" src=\"https:\/\/www.booksofall.com\/vi\/wp-content\/uploads\/sites\/10\/2023\/03\/img_6422448497afb.png\" alt=\"\" \/> is prime for all nonnegative integers n. In fact, it\u2019s not hard to show that no polynomial with integer coefficients can map all nonnegative numbers into prime numbers, unless it\u2019s a constant (see Problem 1.25). But this example highlights the point that, in general, you can\u2019t check a claim about an infinite set by checking a finite sample of its elements, no matter how large the sample.<\/p>\n<p>By the way, propositions like this about all numbers or all items of some kind are so common that there is a special notation for them. With this notation, Claim 1.1.3 would be<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"355\" height=\"22\" class=\"alignnone size-full wp-image-23265 \" src=\"https:\/\/www.booksofall.com\/vi\/wp-content\/uploads\/sites\/10\/2023\/03\/img_642244b3b7030.png\" alt=\"\" \/><\/p>\n<p>Here the symbol 8 is read \u201cfor all.\u201d The symbol N stands for the set of <a href=\"https:\/\/www.statisticshowto.com\/non-negative-integer\/\">nonnegative integers<\/a>: 0, 1, 2, 3, . . . (ask your instructor for the complete list). The symbol \u201c2\u201d is read as \u201cis a member of,\u201d or \u201cbelongs to,\u201d or simply as \u201cis in.\u201d The period after the N is just a separator between phrases.<\/p>\n<p>Here are two even more extreme examples:<\/p>\n<p><strong>Conjecture.<\/strong> [Euler] The equation<\/p>\n<p id=\"xFzbMaL\"><img loading=\"lazy\" decoding=\"async\" width=\"153\" height=\"29\" class=\"alignnone size-full wp-image-23266 \" src=\"https:\/\/www.booksofall.com\/vi\/wp-content\/uploads\/sites\/10\/2023\/03\/img_642244d98fd18.png\" alt=\"\" \/><\/p>\n<p>has no solution when a; b; c; d are <a href=\"https:\/\/www.cuemath.com\/numbers\/positive-integers\/\">positive integers<\/a>. Euler (pronounced \u201coiler\u201d) conjectured this in 1769. But the conjecture was proved false 218 years later by <a href=\"https:\/\/en.wikipedia.org\/wiki\/Noam_Elkies\">Noam Elkies<\/a> at a liberal arts school up Mass Ave. The solution he found was a D 95800; b D 217519; c D 414560; d D 422481.<\/p>\n<p>In logical notation, Euler\u2019s Conjecture could be written,<\/p>\n<p id=\"MlTSSFv\"><img loading=\"lazy\" decoding=\"async\" width=\"418\" height=\"31\" class=\"alignnone size-full wp-image-23267 \" src=\"https:\/\/www.booksofall.com\/vi\/wp-content\/uploads\/sites\/10\/2023\/03\/img_642244e95e3fa.png\" alt=\"\" \/><\/p>\n<p>Here, ZC is a symbol for the positive integers. Strings of 8\u2019s like this are usually abbreviated for easier reading:<\/p>\n<p id=\"RHEZzqJ\"><img loading=\"lazy\" decoding=\"async\" width=\"265\" height=\"26\" class=\"alignnone size-full wp-image-23268 \" src=\"https:\/\/www.booksofall.com\/vi\/wp-content\/uploads\/sites\/10\/2023\/03\/img_642244f6a5a42.png\" alt=\"\" \/><\/p>\n<p>Here\u2019s another claim which would be hard to falsify by sampling: the smallest<\/p>\n<p>possible x; y; z that satisfy the equality each have more than 1000 digits!<\/p>\n<p><strong>False Claim.<\/strong> <img loading=\"lazy\" decoding=\"async\" width=\"137\" height=\"25\" class=\"alignnone size-full wp-image-23269 \" src=\"https:\/\/www.booksofall.com\/vi\/wp-content\/uploads\/sites\/10\/2023\/03\/img_642245013f92b.png\" alt=\"\" \/> has no solution when <img loading=\"lazy\" decoding=\"async\" width=\"86\" height=\"25\" class=\"alignnone size-full wp-image-23270 \" src=\"https:\/\/www.booksofall.com\/vi\/wp-content\/uploads\/sites\/10\/2023\/03\/img_6422450a1dce3.png\" alt=\"\" \/>.<\/p>\n<p>It\u2019s worth mentioning a couple of further famous propositions whose proofs were sought for centuries before finally being discovered:<\/p>\n<p><strong>Proposition 1.1.4<\/strong> (Four Color Theorem). Every map can be colored with 4 colors so that adjacent2 regions have different colors.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><iframe frameborder=\"0\" allowtransparency=\"true\" allowFullscreen=\"true\" style=\"width: 100%; height: 750px; border: none;\" src=\"https:\/\/online.visual-paradigm.com\/share\/book\/mathematics-for-computer-science-1amjrqmryc?p=1\"><\/iframe><\/p>\n","protected":false},"featured_media":23271,"template":"","meta":{"_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"Mathematics for computer science means applying mathematical concepts and tools to solve problems in computer science. Learn more in this book!"},"product_brand":[],"product_cat":[373],"product_tag":[],"class_list":{"0":"post-23257","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-mathematics-for-computer-science","8":"first","9":"instock","10":"shipping-taxable","11":"product-type-simple"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Mathematics for Computer Science - BooksOfAll Vietnamese<\/title>\n<meta name=\"description\" content=\"Mathematics for computer science means applying mathematical concepts and tools to solve problems in computer science. Learn more in this book!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.booksofall.com\/vi\/mathematics-for-computer-science\/\" \/>\n<meta property=\"og:locale\" content=\"vi_VN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Mathematics for Computer Science - BooksOfAll Vietnamese\" \/>\n<meta property=\"og:description\" content=\"Mathematics for computer science means applying mathematical concepts and tools to solve problems in computer science. Learn more in this book!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.booksofall.com\/vi\/mathematics-for-computer-science\/\" \/>\n<meta property=\"og:site_name\" content=\"BooksOfAll Vietnamese\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-28T01:55:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.booksofall.com\/vi\/wp-content\/uploads\/sites\/10\/2023\/03\/Mathematics-for-Computer-Science.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.booksofall.com\/vi\/wp-content\/uploads\/sites\/10\/2023\/03\/Mathematics-for-Computer-Science.jpg\" \/>\n<meta name=\"twitter:label1\" content=\"\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 ph\u00fat\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.booksofall.com\/vi\/mathematics-for-computer-science\/\",\"url\":\"https:\/\/www.booksofall.com\/vi\/mathematics-for-computer-science\/\",\"name\":\"Mathematics for Computer Science - BooksOfAll Vietnamese\",\"isPartOf\":{\"@id\":\"https:\/\/www.booksofall.com\/vi\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.booksofall.com\/vi\/mathematics-for-computer-science\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/vi\/mathematics-for-computer-science\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.booksofall.com\/vi\/wp-content\/uploads\/sites\/10\/2023\/03\/Mathematics-for-Computer-Science.jpg\",\"datePublished\":\"2023-03-28T01:47:14+00:00\",\"dateModified\":\"2023-03-28T01:55:20+00:00\",\"description\":\"Mathematics for computer science means applying mathematical concepts and tools to solve problems in computer science. Learn more in this book!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.booksofall.com\/vi\/mathematics-for-computer-science\/#breadcrumb\"},\"inLanguage\":\"vi\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.booksofall.com\/vi\/mathematics-for-computer-science\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\/\/www.booksofall.com\/vi\/mathematics-for-computer-science\/#primaryimage\",\"url\":\"https:\/\/www.booksofall.com\/vi\/wp-content\/uploads\/sites\/10\/2023\/03\/Mathematics-for-Computer-Science.jpg\",\"contentUrl\":\"https:\/\/www.booksofall.com\/vi\/wp-content\/uploads\/sites\/10\/2023\/03\/Mathematics-for-Computer-Science.jpg\",\"width\":\"595\",\"height\":\"842\",\"caption\":\"Mathematics for Computer Science\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.booksofall.com\/vi\/mathematics-for-computer-science\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.booksofall.com\/vi\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Categories\",\"item\":\"https:\/\/www.booksofall.com\/vi\/categories\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Mathematics for Computer Science\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.booksofall.com\/vi\/#website\",\"url\":\"https:\/\/www.booksofall.com\/vi\/\",\"name\":\"BooksOfAll Vietnamese\",\"description\":\"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.\",\"publisher\":{\"@id\":\"https:\/\/www.booksofall.com\/vi\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.booksofall.com\/vi\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"vi\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.booksofall.com\/vi\/#organization\",\"name\":\"BooksOfAll Vietnamese\",\"url\":\"https:\/\/www.booksofall.com\/vi\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\/\/www.booksofall.com\/vi\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.booksofall.com\/vi\/wp-content\/uploads\/sites\/10\/2022\/06\/booksofall-logo-2.png\",\"contentUrl\":\"https:\/\/www.booksofall.com\/vi\/wp-content\/uploads\/sites\/10\/2022\/06\/booksofall-logo-2.png\",\"width\":166,\"height\":30,\"caption\":\"BooksOfAll Vietnamese\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/vi\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Mathematics for Computer Science - BooksOfAll Vietnamese","description":"Mathematics for computer science means applying mathematical concepts and tools to solve problems in computer science. Learn more in this book!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.booksofall.com\/vi\/mathematics-for-computer-science\/","og_locale":"vi_VN","og_type":"article","og_title":"Mathematics for Computer Science - BooksOfAll Vietnamese","og_description":"Mathematics for computer science means applying mathematical concepts and tools to solve problems in computer science. Learn more in this book!","og_url":"https:\/\/www.booksofall.com\/vi\/mathematics-for-computer-science\/","og_site_name":"BooksOfAll Vietnamese","article_modified_time":"2023-03-28T01:55:20+00:00","og_image":[{"url":"https:\/\/www.booksofall.com\/vi\/wp-content\/uploads\/sites\/10\/2023\/03\/Mathematics-for-Computer-Science.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_image":"https:\/\/www.booksofall.com\/vi\/wp-content\/uploads\/sites\/10\/2023\/03\/Mathematics-for-Computer-Science.jpg","twitter_misc":{"\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc":"3 ph\u00fat"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.booksofall.com\/vi\/mathematics-for-computer-science\/","url":"https:\/\/www.booksofall.com\/vi\/mathematics-for-computer-science\/","name":"Mathematics for Computer Science - BooksOfAll Vietnamese","isPartOf":{"@id":"https:\/\/www.booksofall.com\/vi\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.booksofall.com\/vi\/mathematics-for-computer-science\/#primaryimage"},"image":{"@id":"https:\/\/www.booksofall.com\/vi\/mathematics-for-computer-science\/#primaryimage"},"thumbnailUrl":"https:\/\/www.booksofall.com\/vi\/wp-content\/uploads\/sites\/10\/2023\/03\/Mathematics-for-Computer-Science.jpg","datePublished":"2023-03-28T01:47:14+00:00","dateModified":"2023-03-28T01:55:20+00:00","description":"Mathematics for computer science means applying mathematical concepts and tools to solve problems in computer science. Learn more in this book!","breadcrumb":{"@id":"https:\/\/www.booksofall.com\/vi\/mathematics-for-computer-science\/#breadcrumb"},"inLanguage":"vi","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.booksofall.com\/vi\/mathematics-for-computer-science\/"]}]},{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/www.booksofall.com\/vi\/mathematics-for-computer-science\/#primaryimage","url":"https:\/\/www.booksofall.com\/vi\/wp-content\/uploads\/sites\/10\/2023\/03\/Mathematics-for-Computer-Science.jpg","contentUrl":"https:\/\/www.booksofall.com\/vi\/wp-content\/uploads\/sites\/10\/2023\/03\/Mathematics-for-Computer-Science.jpg","width":"595","height":"842","caption":"Mathematics for Computer Science"},{"@type":"BreadcrumbList","@id":"https:\/\/www.booksofall.com\/vi\/mathematics-for-computer-science\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.booksofall.com\/vi\/"},{"@type":"ListItem","position":2,"name":"Categories","item":"https:\/\/www.booksofall.com\/vi\/categories\/"},{"@type":"ListItem","position":3,"name":"Mathematics for Computer Science"}]},{"@type":"WebSite","@id":"https:\/\/www.booksofall.com\/vi\/#website","url":"https:\/\/www.booksofall.com\/vi\/","name":"BooksOfAll Vietnamese","description":"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.","publisher":{"@id":"https:\/\/www.booksofall.com\/vi\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.booksofall.com\/vi\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"vi"},{"@type":"Organization","@id":"https:\/\/www.booksofall.com\/vi\/#organization","name":"BooksOfAll Vietnamese","url":"https:\/\/www.booksofall.com\/vi\/","logo":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/www.booksofall.com\/vi\/#\/schema\/logo\/image\/","url":"https:\/\/www.booksofall.com\/vi\/wp-content\/uploads\/sites\/10\/2022\/06\/booksofall-logo-2.png","contentUrl":"https:\/\/www.booksofall.com\/vi\/wp-content\/uploads\/sites\/10\/2022\/06\/booksofall-logo-2.png","width":166,"height":30,"caption":"BooksOfAll Vietnamese"},"image":{"@id":"https:\/\/www.booksofall.com\/vi\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.booksofall.com\/vi\/wp-json\/wp\/v2\/product\/23257","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.booksofall.com\/vi\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/www.booksofall.com\/vi\/wp-json\/wp\/v2\/types\/product"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.booksofall.com\/vi\/wp-json\/wp\/v2\/media\/23271"}],"wp:attachment":[{"href":"https:\/\/www.booksofall.com\/vi\/wp-json\/wp\/v2\/media?parent=23257"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/www.booksofall.com\/vi\/wp-json\/wp\/v2\/product_brand?post=23257"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.booksofall.com\/vi\/wp-json\/wp\/v2\/product_cat?post=23257"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/www.booksofall.com\/vi\/wp-json\/wp\/v2\/product_tag?post=23257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}