{"id":3000,"date":"2025-06-07T14:36:17","date_gmt":"2025-06-07T14:36:17","guid":{"rendered":"https:\/\/diznr.com\/?p=3000"},"modified":"2025-06-07T14:36:17","modified_gmt":"2025-06-07T14:36:17","slug":"day-04part-06-discrete-mathematics-for-computer-science-dis-junction-operator-proposition-of","status":"publish","type":"post","link":"https:\/\/www.reilsolar.com\/pdf\/day-04part-06-discrete-mathematics-for-computer-science-dis-junction-operator-proposition-of\/","title":{"rendered":"Day 04Part 06- Discrete mathematics for computer science &#8211; Dis-junction Operator of proposition."},"content":{"rendered":"<p>Day 04Part 06- Discrete mathematics for computer science &#8211; Dis-junction Operator of proposition.<\/p>\n<p>[fvplayer id=&#8221;209&#8243;]<\/p>\n<h3 class=\"\" data-start=\"0\" data-end=\"101\"><strong data-start=\"4\" data-end=\"99\">Disjunction Operator (\u2228) in Propositional Logic \u2013 Discrete Mathematics for Computer Science<\/strong><\/h3>\n<p class=\"\" data-start=\"103\" data-end=\"316\">In <strong data-start=\"106\" data-end=\"129\">propositional logic<\/strong>, the <strong data-start=\"135\" data-end=\"163\">disjunction operator (\u2228)<\/strong> represents the logical <strong data-start=\"187\" data-end=\"195\">&#8220;OR&#8221;<\/strong> operation. It is used to form compound statements that are <strong data-start=\"255\" data-end=\"313\">true if at least one of the given propositions is true<\/strong>.<\/p>\n<h3 data-start=\"323\" data-end=\"362\"><strong data-start=\"326\" data-end=\"362\">1. Definition of Disjunction (\u2228)<\/strong><\/h3>\n<ul data-start=\"363\" data-end=\"570\">\n<li class=\"\" data-start=\"363\" data-end=\"492\">\n<p class=\"\" data-start=\"365\" data-end=\"492\">The <strong data-start=\"369\" data-end=\"392\">disjunction (P \u2228 Q)<\/strong> of two propositions <strong data-start=\"413\" data-end=\"418\">P<\/strong> and <strong data-start=\"423\" data-end=\"428\">Q<\/strong> is <strong data-start=\"432\" data-end=\"489\">true if either P is true, Q is true, or both are true<\/strong>.<\/p>\n<\/li>\n<li class=\"\" data-start=\"493\" data-end=\"570\">\n<p class=\"\" data-start=\"495\" data-end=\"570\">The only case when <strong data-start=\"514\" data-end=\"532\">P \u2228 Q is false<\/strong> is when both <strong data-start=\"546\" data-end=\"567\">P and Q are false<\/strong>.<\/p>\n<\/li>\n<\/ul>\n<p class=\"\" data-start=\"572\" data-end=\"614\"><strong data-start=\"572\" data-end=\"612\">Truth Table for Disjunction (P \u2228 Q):<\/strong><\/p>\n<div class=\"overflow-x-auto contain-inline-size\">\n<table data-start=\"616\" data-end=\"707\">\n<thead data-start=\"616\" data-end=\"633\">\n<tr data-start=\"616\" data-end=\"633\">\n<th data-start=\"616\" data-end=\"620\">P<\/th>\n<th data-start=\"620\" data-end=\"624\">Q<\/th>\n<th data-start=\"624\" data-end=\"633\">P \u2228 Q<\/th>\n<\/tr>\n<\/thead>\n<tbody data-start=\"652\" data-end=\"707\">\n<tr data-start=\"652\" data-end=\"665\">\n<td>T<\/td>\n<td>T<\/td>\n<td>T<\/td>\n<\/tr>\n<tr data-start=\"666\" data-end=\"679\">\n<td>T<\/td>\n<td>F<\/td>\n<td>T<\/td>\n<\/tr>\n<tr data-start=\"680\" data-end=\"693\">\n<td>F<\/td>\n<td>T<\/td>\n<td>T<\/td>\n<\/tr>\n<tr data-start=\"694\" data-end=\"707\">\n<td>F<\/td>\n<td>F<\/td>\n<td>F<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h3 data-start=\"714\" data-end=\"747\"><strong data-start=\"717\" data-end=\"747\">2. Symbolic Representation<\/strong><\/h3>\n<ul data-start=\"748\" data-end=\"983\">\n<li class=\"\" data-start=\"748\" data-end=\"783\">\n<p class=\"\" data-start=\"750\" data-end=\"783\"><strong data-start=\"750\" data-end=\"759\">P \u2228 Q<\/strong> reads as &#8220;<strong data-start=\"770\" data-end=\"780\">P OR Q<\/strong>&#8220;<\/p>\n<\/li>\n<li class=\"\" data-start=\"784\" data-end=\"983\">\n<p class=\"\" data-start=\"786\" data-end=\"796\">Example:<\/p>\n<ul data-start=\"799\" data-end=\"983\">\n<li class=\"\" data-start=\"799\" data-end=\"827\">\n<p class=\"\" data-start=\"801\" data-end=\"827\"><strong data-start=\"801\" data-end=\"806\">P<\/strong> = &#8220;It is raining.&#8221;<\/p>\n<\/li>\n<li class=\"\" data-start=\"830\" data-end=\"857\">\n<p class=\"\" data-start=\"832\" data-end=\"857\"><strong data-start=\"832\" data-end=\"837\">Q<\/strong> = &#8220;It is cloudy.&#8221;<\/p>\n<\/li>\n<li class=\"\" data-start=\"860\" data-end=\"908\">\n<p class=\"\" data-start=\"862\" data-end=\"908\"><strong data-start=\"862\" data-end=\"871\">P \u2228 Q<\/strong> = &#8220;It is raining OR it is cloudy.&#8221;<\/p>\n<\/li>\n<li class=\"\" data-start=\"911\" data-end=\"983\">\n<p class=\"\" data-start=\"913\" data-end=\"983\">The statement is <strong data-start=\"930\" data-end=\"938\">true<\/strong> if at least one of the conditions is true.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3 data-start=\"990\" data-end=\"1033\"><strong data-start=\"993\" data-end=\"1033\">3. Key Properties of Disjunction (\u2228)<\/strong><\/h3>\n<h3 class=\"\" data-start=\"1034\" data-end=\"1069\"><strong data-start=\"1038\" data-end=\"1067\">(A) Commutative Property:<\/strong><\/h3>\n<p><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\">P\u2228Q=Q\u2228PP \u2228 Q = Q \u2228 P<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"base\"><span class=\"mord mathnormal\">P<\/span><span class=\"mbin\">\u2228<\/span><\/span><span class=\"base\"><span class=\"mord mathnormal\">Q<\/span><span class=\"mrel\">=<\/span><\/span><span class=\"base\"><span class=\"mord mathnormal\">Q<\/span><span class=\"mbin\">\u2228<\/span><\/span><span class=\"base\"><span class=\"mord mathnormal\">P<\/span><\/span><\/span><\/span><\/span><\/p>\n<p class=\"\" data-start=\"1090\" data-end=\"1180\">\u00a0Example: &#8220;It is raining OR it is cloudy&#8221; is the same as &#8220;It is cloudy OR it is raining.&#8221;<\/p>\n<h3 class=\"\" data-start=\"1182\" data-end=\"1217\"><strong data-start=\"1186\" data-end=\"1215\">(B) Associative Property:<\/strong><\/h3>\n<p><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\">(P\u2228Q)\u2228R=P\u2228(Q\u2228R)(P \u2228 Q) \u2228 R = P \u2228 (Q \u2228 R)<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"base\"><span class=\"mopen\">(<\/span><span class=\"mord mathnormal\">P<\/span><span class=\"mbin\">\u2228<\/span><\/span><span class=\"base\"><span class=\"mord mathnormal\">Q<\/span><span class=\"mclose\">)<\/span><span class=\"mbin\">\u2228<\/span><\/span><span class=\"base\"><span class=\"mord mathnormal\">R<\/span><span class=\"mrel\">=<\/span><\/span><span class=\"base\"><span class=\"mord mathnormal\">P<\/span><span class=\"mbin\">\u2228<\/span><\/span><span class=\"base\"><span class=\"mopen\">(<\/span><span class=\"mord mathnormal\">Q<\/span><span class=\"mbin\">\u2228<\/span><\/span><span class=\"base\"><span class=\"mord mathnormal\">R<\/span><span class=\"mclose\">)<\/span><\/span><\/span><\/span><\/span><\/p>\n<p class=\"\" data-start=\"1250\" data-end=\"1374\">\u00a0Example: If <strong data-start=\"1264\" data-end=\"1277\">P = &#8220;Hot&#8221;<\/strong>, <strong data-start=\"1279\" data-end=\"1293\">Q = &#8220;Cold&#8221;<\/strong>, and <strong data-start=\"1299\" data-end=\"1314\">R = &#8220;Windy&#8221;<\/strong>, the order in which we group them doesn\u2019t change the truth.<\/p>\n<h3 class=\"\" data-start=\"1376\" data-end=\"1403\"><strong data-start=\"1380\" data-end=\"1401\">(C) Identity Law:<\/strong><\/h3>\n<p><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\">P\u2228False=PP \u2228 \\text{False} = P<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"base\"><span class=\"mord mathnormal\">P<\/span><span class=\"mbin\">\u2228<\/span><\/span><span class=\"base\"><span class=\"mord text\"><span class=\"mord\">False<\/span><\/span><span class=\"mrel\">=<\/span><\/span><span class=\"base\"><span class=\"mord mathnormal\">P<\/span><\/span><\/span><\/span><\/span><\/p>\n<p class=\"\" data-start=\"1431\" data-end=\"1513\">\u00a0Example: &#8220;It is sunny OR False&#8221; \u2192 The truth value remains that of &#8220;It is sunny.&#8221;<\/p>\n<h3 class=\"\" data-start=\"1515\" data-end=\"1544\"><strong data-start=\"1519\" data-end=\"1542\">(D) Domination Law:<\/strong><\/h3>\n<p><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\">P\u2228True=TrueP \u2228 \\text{True} = \\text{True}<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"base\"><span class=\"mord mathnormal\">P<\/span><span class=\"mbin\">\u2228<\/span><\/span><span class=\"base\"><span class=\"mord text\"><span class=\"mord\">True<\/span><\/span><span class=\"mrel\">=<\/span><\/span><span class=\"base\"><span class=\"mord text\"><span class=\"mord\">True<\/span><\/span><\/span><\/span><\/span><\/span><\/p>\n<p class=\"\" data-start=\"1581\" data-end=\"1628\">\u00a0Example: &#8220;It is sunny OR True&#8221; \u2192 Always True.<\/p>\n<h3 class=\"\" data-start=\"1630\" data-end=\"1659\"><strong data-start=\"1634\" data-end=\"1657\">(E) Idempotent Law:<\/strong><\/h3>\n<p><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\">P\u2228P=PP \u2228 P = P<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"base\"><span class=\"mord mathnormal\">P<\/span><span class=\"mbin\">\u2228<\/span><\/span><span class=\"base\"><span class=\"mord mathnormal\">P<\/span><span class=\"mrel\">=<\/span><\/span><span class=\"base\"><span class=\"mord mathnormal\">P<\/span><\/span><\/span><\/span><\/span><\/p>\n<p class=\"\" data-start=\"1676\" data-end=\"1747\">\u00a0Example: &#8220;It is raining OR it is raining&#8221; \u2192 No change in truth value.<\/p>\n<h3 class=\"\" data-start=\"1749\" data-end=\"1780\"><strong data-start=\"1753\" data-end=\"1778\">(F) Distributive Law:<\/strong><\/h3>\n<p><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\">P\u2228(Q\u2227R)=(P\u2228Q)\u2227(P\u2228R)P \u2228 (Q \u2227 R) = (P \u2228 Q) \u2227 (P \u2228 R)<\/span><span class=\"katex-html\" aria-hidden=\"true\"><span class=\"base\"><span class=\"mord mathnormal\">P<\/span><span class=\"mbin\">\u2228<\/span><\/span><span class=\"base\"><span class=\"mopen\">(<\/span><span class=\"mord mathnormal\">Q<\/span><span class=\"mbin\">\u2227<\/span><\/span><span class=\"base\"><span class=\"mord mathnormal\">R<\/span><span class=\"mclose\">)<\/span><span class=\"mrel\">=<\/span><\/span><span class=\"base\"><span class=\"mopen\">(<\/span><span class=\"mord mathnormal\">P<\/span><span class=\"mbin\">\u2228<\/span><\/span><span class=\"base\"><span class=\"mord mathnormal\">Q<\/span><span class=\"mclose\">)<\/span><span class=\"mbin\">\u2227<\/span><\/span><span class=\"base\"><span class=\"mopen\">(<\/span><span class=\"mord mathnormal\">P<\/span><span class=\"mbin\">\u2228<\/span><\/span><span class=\"base\"><span class=\"mord mathnormal\">R<\/span><span class=\"mclose\">)<\/span><\/span><\/span><\/span><\/span><\/p>\n<h3 data-start=\"1825\" data-end=\"1866\"><strong data-start=\"1828\" data-end=\"1866\">4. Application in Computer Science<\/strong><\/h3>\n<ul data-start=\"1867\" data-end=\"2227\">\n<li class=\"\" data-start=\"1867\" data-end=\"1929\">\n<p class=\"\" data-start=\"1869\" data-end=\"1929\"><strong data-start=\"1869\" data-end=\"1888\">Boolean Algebra<\/strong>: Used in circuit design and logic gates.<\/p>\n<\/li>\n<li class=\"\" data-start=\"1930\" data-end=\"2016\">\n<p class=\"\" data-start=\"1932\" data-end=\"2016\"><strong data-start=\"1932\" data-end=\"1947\">Programming<\/strong>: Conditional statements (e.g., <code data-start=\"1979\" data-end=\"1995\">if (A || B) {}<\/code> in C, Java, Python).<\/p>\n<\/li>\n<li class=\"\" data-start=\"2017\" data-end=\"2135\">\n<p class=\"\" data-start=\"2019\" data-end=\"2135\"><strong data-start=\"2019\" data-end=\"2039\">Database Queries<\/strong>: SQL uses <code data-start=\"2050\" data-end=\"2054\">OR<\/code> to filter data (<code data-start=\"2071\" data-end=\"2133\">SELECT * FROM students WHERE grade = 'A' OR attendance &gt; 80;<\/code>).<\/p>\n<\/li>\n<li class=\"\" data-start=\"2136\" data-end=\"2227\">\n<p class=\"\" data-start=\"2138\" data-end=\"2227\"><strong data-start=\"2138\" data-end=\"2184\">Artificial Intelligence &amp; Machine Learning<\/strong>: Logical operations in rule-based systems.<\/p>\n<\/li>\n<\/ul>\n<h3 data-start=\"2234\" data-end=\"2270\"><strong data-start=\"2237\" data-end=\"2270\">5. Disjunction in Logic Gates<\/strong><\/h3>\n<ul data-start=\"2271\" data-end=\"2385\">\n<li class=\"\" data-start=\"2271\" data-end=\"2325\">\n<p class=\"\" data-start=\"2273\" data-end=\"2325\">Implemented as an <strong data-start=\"2291\" data-end=\"2304\">&#8220;OR&#8221; gate<\/strong> in digital circuits.<\/p>\n<\/li>\n<li class=\"\" data-start=\"2326\" data-end=\"2382\">\n<p class=\"\" data-start=\"2328\" data-end=\"2382\">Output is <strong data-start=\"2338\" data-end=\"2350\">1 (True)<\/strong> if at least one input is <strong data-start=\"2376\" data-end=\"2381\">1<\/strong>.<\/p>\n<\/li>\n<\/ul>\n<div class=\"overflow-x-auto contain-inline-size\">\n<table data-start=\"2386\" data-end=\"2479\">\n<thead data-start=\"2386\" data-end=\"2404\">\n<tr data-start=\"2386\" data-end=\"2404\">\n<th data-start=\"2386\" data-end=\"2390\">A<\/th>\n<th data-start=\"2390\" data-end=\"2394\">B<\/th>\n<th data-start=\"2394\" data-end=\"2404\">A OR B<\/th>\n<\/tr>\n<\/thead>\n<tbody data-start=\"2424\" data-end=\"2479\">\n<tr data-start=\"2424\" data-end=\"2437\">\n<td>0<\/td>\n<td>0<\/td>\n<td>0<\/td>\n<\/tr>\n<tr data-start=\"2438\" data-end=\"2451\">\n<td>0<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<\/tr>\n<tr data-start=\"2452\" data-end=\"2465\">\n<td>1<\/td>\n<td>0<\/td>\n<td>1<\/td>\n<\/tr>\n<tr data-start=\"2466\" data-end=\"2479\">\n<td>1<\/td>\n<td>1<\/td>\n<td>1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h3 data-start=\"2486\" data-end=\"2503\"><strong data-start=\"2489\" data-end=\"2503\">Conclusion<\/strong><\/h3>\n<ul data-start=\"2504\" data-end=\"2827\">\n<li class=\"\" data-start=\"2504\" data-end=\"2662\">\n<p class=\"\" data-start=\"2506\" data-end=\"2662\">The <strong data-start=\"2510\" data-end=\"2538\">disjunction operator (\u2228)<\/strong> is a fundamental part of <strong data-start=\"2564\" data-end=\"2587\">propositional logic<\/strong>, used extensively in <strong data-start=\"2609\" data-end=\"2659\">mathematics, computer science, and electronics<\/strong>.<\/p>\n<\/li>\n<li class=\"\" data-start=\"2663\" data-end=\"2736\">\n<p class=\"\" data-start=\"2665\" data-end=\"2736\">It follows <strong data-start=\"2676\" data-end=\"2733\">commutative, associative, and distributive properties<\/strong>.<\/p>\n<\/li>\n<li class=\"\" data-start=\"2737\" data-end=\"2827\">\n<p class=\"\" data-start=\"2739\" data-end=\"2827\">It has <strong data-start=\"2746\" data-end=\"2772\">practical applications<\/strong> in programming, databases, and logic circuit design.<\/p>\n<\/li>\n<\/ul>\n<p class=\"\" data-start=\"2829\" data-end=\"2904\">Would you like more <strong data-start=\"2849\" data-end=\"2861\">examples<\/strong> or <strong data-start=\"2865\" data-end=\"2886\">practice problems<\/strong> on this topic?<\/p>\n<h3 data-start=\"2829\" data-end=\"2904\"><a href=\"https:\/\/www2.cs.uh.edu\/~arjun\/courses\/ds\/DiscMaths4CompSc.pdf\" target=\"_blank\" rel=\"noopener\">Day 04Part 06- Discrete mathematics for computer science &#8211; Dis-junction Operator of proposition.<\/a><\/h3>\n<h3 class=\"LC20lb MBeuO DKV0Md\"><a href=\"https:\/\/mae.engr.ucdavis.edu\/dsouza\/Classes\/Lec1_ecs20.pdf\" target=\"_blank\" rel=\"noopener\">Discrete Mathematics for Computer Science Prof. Raissa D &#8230;<\/a><\/h3>\n<h3 class=\"LC20lb MBeuO DKV0Md\"><a href=\"https:\/\/cse.buffalo.edu\/~xinhe\/cse191\/Classnotes\/note01-1x2.pdf\" target=\"_blank\" rel=\"noopener\">Propositional Logic Discrete Mathematics<\/a><\/h3>\n<p data-start=\"0\" data-end=\"43\">Here\u2019s a clear and concise explanation for:<\/p>\n<h3 data-start=\"45\" data-end=\"150\"><strong data-start=\"49\" data-end=\"150\">Day 04 Part 06 \u2013 Discrete Mathematics for Computer Science: Disjunction Operator of a Proposition<\/strong><\/h3>\n<hr data-start=\"152\" data-end=\"155\" \/>\n<h3 data-start=\"157\" data-end=\"190\">\ud83d\udd39 <strong data-start=\"164\" data-end=\"190\">What is a Disjunction?<\/strong><\/h3>\n<p data-start=\"192\" data-end=\"321\">In <strong data-start=\"195\" data-end=\"218\">propositional logic<\/strong>, a <strong data-start=\"222\" data-end=\"237\">disjunction<\/strong> is a logical operation that <strong data-start=\"266\" data-end=\"292\">joins two propositions<\/strong> using the <strong data-start=\"303\" data-end=\"311\">&#8220;OR&#8221;<\/strong> operator.<\/p>\n<hr data-start=\"323\" data-end=\"326\" \/>\n<h3 data-start=\"328\" data-end=\"348\">\ud83d\udd38 <strong data-start=\"335\" data-end=\"345\">Symbol<\/strong>:<\/h3>\n<p data-start=\"349\" data-end=\"371\"><code data-start=\"349\" data-end=\"352\">\u2228<\/code> (called <strong data-start=\"361\" data-end=\"370\">&#8220;vee&#8221;<\/strong>)<\/p>\n<hr data-start=\"373\" data-end=\"376\" \/>\n<h3 data-start=\"378\" data-end=\"409\">\ud83d\udd38 <strong data-start=\"385\" data-end=\"406\">Expression Format<\/strong>:<\/h3>\n<p data-start=\"410\" data-end=\"448\">If <code data-start=\"413\" data-end=\"416\">P<\/code> and <code data-start=\"421\" data-end=\"424\">Q<\/code> are propositions, then:<\/p>\n<blockquote data-start=\"450\" data-end=\"480\">\n<p data-start=\"452\" data-end=\"480\"><strong data-start=\"452\" data-end=\"461\">P \u2228 Q<\/strong> means &#8220;<strong data-start=\"469\" data-end=\"479\">P or Q<\/strong>&#8220;<\/p>\n<\/blockquote>\n<hr data-start=\"482\" data-end=\"485\" \/>\n<h3 data-start=\"487\" data-end=\"533\">\ud83d\udd39 <strong data-start=\"494\" data-end=\"533\">Truth Table of Disjunction (P \u2228 Q):<\/strong><\/h3>\n<div class=\"_tableContainer_16hzy_1\">\n<div class=\"_tableWrapper_16hzy_14 group flex w-fit flex-col-reverse\">\n<table class=\"w-fit min-w-(--thread-content-width)\" data-start=\"535\" data-end=\"695\">\n<thead data-start=\"535\" data-end=\"560\">\n<tr data-start=\"535\" data-end=\"560\">\n<th data-start=\"535\" data-end=\"543\" data-col-size=\"sm\">P<\/th>\n<th data-start=\"543\" data-end=\"551\" data-col-size=\"sm\">Q<\/th>\n<th data-start=\"551\" data-end=\"560\" data-col-size=\"sm\">P \u2228 Q<\/th>\n<\/tr>\n<\/thead>\n<tbody data-start=\"588\" data-end=\"695\">\n<tr data-start=\"588\" data-end=\"614\">\n<td data-start=\"588\" data-end=\"596\" data-col-size=\"sm\">T<\/td>\n<td data-col-size=\"sm\" data-start=\"596\" data-end=\"604\">T<\/td>\n<td data-col-size=\"sm\" data-start=\"604\" data-end=\"614\">T<\/td>\n<\/tr>\n<tr data-start=\"615\" data-end=\"641\">\n<td data-start=\"615\" data-end=\"623\" data-col-size=\"sm\">T<\/td>\n<td data-col-size=\"sm\" data-start=\"623\" data-end=\"631\">F<\/td>\n<td data-col-size=\"sm\" data-start=\"631\" data-end=\"641\">T<\/td>\n<\/tr>\n<tr data-start=\"642\" data-end=\"668\">\n<td data-start=\"642\" data-end=\"650\" data-col-size=\"sm\">F<\/td>\n<td data-col-size=\"sm\" data-start=\"650\" data-end=\"658\">T<\/td>\n<td data-col-size=\"sm\" data-start=\"658\" data-end=\"668\">T<\/td>\n<\/tr>\n<tr data-start=\"669\" data-end=\"695\">\n<td data-start=\"669\" data-end=\"677\" data-col-size=\"sm\">F<\/td>\n<td data-col-size=\"sm\" data-start=\"677\" data-end=\"685\">F<\/td>\n<td data-col-size=\"sm\" data-start=\"685\" data-end=\"695\">F<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"sticky end-(--thread-content-margin) h-0 self-end select-none\">\n<div class=\"absolute end-0 flex items-end\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p data-start=\"697\" data-end=\"786\">\ud83d\udd0d <strong data-start=\"700\" data-end=\"712\">Key Idea<\/strong>: The disjunction is <strong data-start=\"733\" data-end=\"757\">true if at least one<\/strong> of the propositions is true.<\/p>\n<hr data-start=\"788\" data-end=\"791\" \/>\n<h3 data-start=\"793\" data-end=\"812\">\ud83d\udd39 <strong data-start=\"800\" data-end=\"812\">Example:<\/strong><\/h3>\n<p data-start=\"814\" data-end=\"818\">Let:<\/p>\n<ul data-start=\"819\" data-end=\"864\">\n<li data-start=\"819\" data-end=\"841\">\n<p data-start=\"821\" data-end=\"841\"><code data-start=\"821\" data-end=\"824\">P<\/code>: &#8220;It is raining&#8221;<\/p>\n<\/li>\n<li data-start=\"842\" data-end=\"864\">\n<p data-start=\"844\" data-end=\"864\"><code data-start=\"844\" data-end=\"847\">Q<\/code>: &#8220;It is snowing&#8221;<\/p>\n<\/li>\n<\/ul>\n<p data-start=\"866\" data-end=\"918\">Then:<br data-start=\"871\" data-end=\"874\" \/><strong data-start=\"874\" data-end=\"883\">P \u2228 Q<\/strong> = &#8220;It is raining or it is snowing&#8221;<\/p>\n<p data-start=\"920\" data-end=\"983\">This statement is <strong data-start=\"938\" data-end=\"946\">true<\/strong> if either raining, snowing, or both.<\/p>\n<hr data-start=\"985\" data-end=\"988\" \/>\n<h3 data-start=\"990\" data-end=\"1034\">\ud83d\udd39 <strong data-start=\"997\" data-end=\"1034\">Disjunction in Programming Terms:<\/strong><\/h3>\n<p data-start=\"1036\" data-end=\"1067\">Many programming languages use:<\/p>\n<ul data-start=\"1068\" data-end=\"1089\">\n<li data-start=\"1068\" data-end=\"1089\">\n<p data-start=\"1070\" data-end=\"1089\"><code data-start=\"1070\" data-end=\"1074\">||<\/code> for logical OR<\/p>\n<\/li>\n<\/ul>\n<p data-start=\"1091\" data-end=\"1131\">Example in C, Java, Python (using <code data-start=\"1125\" data-end=\"1129\">or<\/code>):<\/p>\n<div class=\"contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative bg-token-sidebar-surface-primary\">\n<div class=\"flex items-center text-token-text-secondary px-4 py-2 text-xs font-sans justify-between h-9 bg-token-sidebar-surface-primary dark:bg-token-main-surface-secondary select-none rounded-t-[5px]\">python<\/div>\n<div class=\"sticky top-9\">\n<div class=\"absolute end-0 bottom-0 flex h-9 items-center pe-2\">\n<div class=\"bg-token-sidebar-surface-primary text-token-text-secondary dark:bg-token-main-surface-secondary flex items-center rounded-sm px-2 font-sans text-xs\"><button class=\"flex gap-1 items-center select-none px-4 py-1\" aria-label=\"Copy\">Copy<\/button><span class=\"\" data-state=\"closed\"><button class=\"flex items-center gap-1 px-4 py-1 select-none\">Edit<\/button><\/span><\/div>\n<\/div>\n<\/div>\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><code class=\"whitespace-pre! language-python\">P = <span class=\"hljs-literal\">True<\/span><br \/>\nQ = <span class=\"hljs-literal\">False<\/span><br \/>\n<span class=\"hljs-built_in\">print<\/span>(P <span class=\"hljs-keyword\">or<\/span> Q)  <span class=\"hljs-comment\"># Output: True<\/span><br \/>\n<\/code><\/div>\n<\/div>\n<hr data-start=\"1196\" data-end=\"1199\" \/>\n<h3 data-start=\"1201\" data-end=\"1216\">\ud83e\udde0 Summary:<\/h3>\n<ul data-start=\"1217\" data-end=\"1392\">\n<li data-start=\"1217\" data-end=\"1245\">\n<p data-start=\"1219\" data-end=\"1245\"><strong data-start=\"1219\" data-end=\"1238\">Disjunction (\u2228)<\/strong> = &#8220;OR&#8221;<\/p>\n<\/li>\n<li data-start=\"1246\" data-end=\"1290\">\n<p data-start=\"1248\" data-end=\"1290\">True if <strong data-start=\"1256\" data-end=\"1272\">at least one<\/strong> component is true<\/p>\n<\/li>\n<li data-start=\"1291\" data-end=\"1392\">\n<p data-start=\"1293\" data-end=\"1392\">Used to build more complex logical expressions in <strong data-start=\"1343\" data-end=\"1392\">proofs, algorithms, circuits, and programming<\/strong><\/p>\n<\/li>\n<\/ul>\n<hr data-start=\"1394\" data-end=\"1397\" \/>\n<p data-start=\"1399\" data-end=\"1496\" data-is-last-node=\"\" data-is-only-node=\"\">Let me know if you&#8217;d like practice problems, diagrams, or code-based applications of disjunction.<\/p>\n<h3 data-start=\"1399\" data-end=\"1496\"><a href=\"https:\/\/sriindu.ac.in\/wp-content\/uploads\/2023\/10\/R20CSE2201-DISCRETE-MATHEMATICS.pdf\" target=\"_blank\" rel=\"noopener\">Day 04Part 06- Discrete mathematics for computer science &#8211; Dis-junction Operator of proposition.<\/a><\/h3>\n<h3 class=\"LC20lb MBeuO DKV0Md\"><a href=\"https:\/\/people.cs.pitt.edu\/~milos\/courses\/cs441\/lectures\/Class1.pdf\" target=\"_blank\" rel=\"noopener\">Discrete Mathematics for Computer Science<\/a><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>Day 04Part 06- Discrete mathematics for computer science &#8211; Dis-junction Operator of proposition. [fvplayer id=&#8221;209&#8243;] Disjunction Operator (\u2228) in Propositional Logic \u2013 Discrete Mathematics for Computer Science In propositional logic, the disjunction operator (\u2228) represents the logical &#8220;OR&#8221; operation. It is used to form compound statements that are true if at least one of the [&hellip;]<\/p>\n","protected":false},"author":71,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[76],"tags":[],"class_list":["post-3000","post","type-post","status-publish","format-standard","hentry","category-discrete-mathematics"],"_links":{"self":[{"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/posts\/3000","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/users\/71"}],"replies":[{"embeddable":true,"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/comments?post=3000"}],"version-history":[{"count":0,"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/posts\/3000\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/media?parent=3000"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/categories?post=3000"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.reilsolar.com\/pdf\/wp-json\/wp\/v2\/tags?post=3000"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}