Skip to content
This repository
Newer
Older
100644 143 lines (143 sloc) 12.679 kb
9d9ca185 » xymostech
2012-05-24 Added an exercise about detachment and syllogism
1 <!DOCTYPE html>
2 <html data-require="math word-problems graphie">
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>Logical arguments and deductive reasoning</title>
6 <script src="../khan-exercise.js"></script>
7 </head>
8 <body>
9 <div class="exercise">
10 <div class="problems">
11 <div id="detachment">
12 <div class="vars">
13 <var id="QUESTIONS">
14 [[person(1)+" misses the bus", he(1)+" will be late for school",
15 [person(1)+" missed the bus",
16 person(1)+" is late for school",
17 person(1)+" did not miss the bus",
18 person(1)+" is not late for school"]],
19 ["it is Tuesday", "I will have a hamburger for lunch",
20 ["it is Tuesday",
21 "I will have a hamburger for lunch today",
22 "it is not Tuesday",
23 "I will not have a hamburger for lunch today"]],
24 ["Wiggles are walking", "Tiggles are talking",
25 ["Wiggles are walking",
26 "Tiggles are talking",
27 "Wiggles are not walking",
28 "Tiggles are not talking"]],
29 ["I go to practice today", "I will play in the game tomorrow",
30 ["I went to practice today",
31 "I will play in the game tomorrow",
32 "I did not go to practice today",
33 "I will not play in the game tomorrow"]]]
34 </var>
35 <var id="Q_TYPE">randRange(0, QUESTIONS.length - 1)</var>
36 <var id="IF_CLAUSE">QUESTIONS[Q_TYPE][0]</var>
37 <var id="THEN_CLAUSE">QUESTIONS[Q_TYPE][1]</var>
38 <var id="TYPE">randRange(0, 3)</var>
39 <var id="IMPLICATION">QUESTIONS[Q_TYPE][2]</var>
40 <var id="CONCLUSION">[IMPLICATION[1], IMPLICATION[0], IMPLICATION[3], IMPLICATION[2]]</var>
3980c112 » divad12
2012-05-26 Fix capitalization bug with "logical arguments..." exercise
41 <var id="SOLUTION">(TYPE === 1 || TYPE === 2) ? "No logical conclusion possible" : capitalize(CONCLUSION[TYPE])</var>
9d9ca185 » xymostech
2012-05-24 Added an exercise about detachment and syllogism
42 </div>
43 <p class="problem">Use the given information to make a logical conclusion, if possible. If a logical conclusion is not possible, choose "no logical conclusion possible."</p>
44 <p class="question">If <span id="if-clause"><var>IF_CLAUSE</var></span>, then <span id="then-clause"><var>THEN_CLAUSE</var></span>. <span id="second-sent"><var>capitalize(IMPLICATION[ TYPE ])</var></span>. </p>
45 <p class="solution"><var>SOLUTION</var></p>
46 <ul class="choices" data-category="true">
47 <li><var>capitalize(CONCLUSION[TYPE])</var></li>
48 <li>No logical conclusion possible</li>
49 </ul>
50 <div class="hints">
51 <div>
52 <p>Identify the <span class="hint_blue">hypothesis</span>, the <span class="hint_green">conclusion</span> of the first sentence, and the <span class="hint_purple">second sentence</span>.</p>
53 <div class="graphie">
54 $("#if-clause").addClass("hint_blue");
55 $("#then-clause").addClass("hint_green");
56 $("#second-sent").addClass("hint_purple");
57 </div>
58 </div>
59 <p>Does the <span class="hint_purple">second sentence</span> refer to the <span class="hint_blue">hypothesis</span> of the first sentence, or the <span class="hint_green">conclusion</span> of the first sentence?</p>
60 <div data-if="TYPE === 0 || TYPE === 2">
61 <p>The <span class="hint_purple">second sentence</span> refers to the <span class="hint_blue">hypothesis</span> of the first sentence, because they both talk about whether or not <var>IMPLICATION[0]</var>.</p>
62 <p>Does the <span class="hint_purple">second sentence</span> state the <span class="hint_blue">hypothesis</span>, or the opposite of the <span class="hint_blue">hypothesis</span>?</p>
63 </div>
64 <div data-else>
65 <p>The <span class="hint_purple">second sentence</span> refers to the <span class="hint_green">conclusion</span> of the first sentence, because they both talk about whether or not <var>IMPLICATION[1]</var>.</p>
66 <p>Does the <span class="hint_purple">second sentence</span> state the <span class="hint_green">conclusion</span>, or the opposite of the <span class="hint_green">conclusion</span>?</p>
67 </div>
68 <div data-if="TYPE === 0" data-unwrap>
69 <p>The <span class="hint_purple">second sentence</span> states the <span class="hint_blue">hypothesis</span> of the first sentence.</p>
70 <p>Because the <span class="hint_purple">second sentence</span> states the <span class="hint_blue">hypothesis</span> of the first sentence, the <span class="hint_purple">second sentence</span> implies the first sentence.</p>
71 <p>Since we are implying the original statement, we can conclude the <span class="hint_green">conclusion</span> of the first statement.</p>
72 </div>
73 <div data-if="TYPE === 1" data-unwrap>
74 <p>The <span class="hint_purple">second sentence</span> states the <span class="hint_green">conclusion</span> of the first sentence.</p>
75 <p>Because the <span class="hint_purple">second sentence</span> states the <span class="hint_green">conclusion</span> of the first sentence, the <span class="hint_purple">second sentence</span> implies the converse of the first sentence.</p>
76 <p>Converses are not logically equivalent to their original statements, so we cannot form a logical conclusion.</p>
77 </div>
78 <div data-if="TYPE === 2" data-unwrap>
79 <p>The <span class="hint_purple">second sentence</span> states the opposite of the <span class="hint_blue">hypothesis</span> of the first sentence.</p>
80 <p>Because the <span class="hint_purple">second sentence</span> states the opposite of the <span class="hint_blue">hypothesis</span> of the first sentence, the <span class="hint_purple">second sentence</span> implies the inverse of the first sentence.</p>
81 <p>Inverses are not logically equivalent to their original statements, so we cannot form a logical conclusion.</p>
82 </div>
83 <div data-if="TYPE === 3" data-unwrap>
84 <p>Because the <span class="hint_purple">second sentence</span> states the opposite of the <span class="hint_green">conclusion</span> of the first sentence, the <span class="hint_purple">second sentence</span> implies the contrapositive of the first sentence.</p>
85 <p>Since the contrapositive is implied by the first sentence, the <span class="hint_purple">second sentence</span> implies the opposite of the <span class="hint_blue">hypothesis</span>.</p>
86 </div>
87 <p>Thus, the answer is "<var>SOLUTION</var>"</p>
88 </div>
89 </div>
90 <div id="syllogism">
91 <div class="vars">
92 <var id="QUESTIONS">
93 [[true, true, ["a figure is a square", "it is a rectangle", "a figure is a rectangle", "it has four right angles"]],
94 [false, true, ["you play basketball", "you are athletic", "you play volleyball", "you are athletic"]],
95 [true, true, ["it is Saturday", "you don't have to go to school", "you don't have to go to school", "you can play in the park"]],
33cb3832 » xymostech
2012-05-29 Fix typos in logical arguments
96 [false, true, ["you live in Los Angeles", "you live in California", "you live in Sacramento", "you live in California"]],
97 [true, true, ["a ray bisects an angle", "it creates two congruent angles", "there are two congruent angles", "the two angles have the same measure"]],
9d9ca185 » xymostech
2012-05-24 Added an exercise about detachment and syllogism
98 [false, false, ["a shape is a pentagon", "the shape has five sides", "a shape is a pentagon", "the shape has five angles"]],
99 [true, true, ["a student is in the twelfth grade", "he or she is in high school", "a student is in high school", "he or she is not in college"]],
100 [false, true, ["you have a picnic", "you will see ants", "it rains a lot", "you will see ants"]]]</var>
101 <var id="Q_TYPE">randRange(0, QUESTIONS.length - 1)</var>
102 <var id="CONC_POSSIBLE">QUESTIONS[Q_TYPE][0]</var>
103 <var id="HYP_DIFF">QUESTIONS[Q_TYPE][1]</var>
104 <var id="HYP_A">QUESTIONS[Q_TYPE][2][0]</var>
105 <var id="CONC_A">QUESTIONS[Q_TYPE][2][1]</var>
106 <var id="HYP_B">QUESTIONS[Q_TYPE][2][2]</var>
107 <var id="CONC_B">QUESTIONS[Q_TYPE][2][3]</var>
108 <var id="SOLUTION">CONC_POSSIBLE ? ("If "+HYP_A+", then "+CONC_B+".") : "No logical conclusion possible."</var>
109 </div>
110 <p class="problem">Use the given information to make a logical conclusion, if possible.</p>
111 <p class="question">If <span id="hyp_a"><var>HYP_A</var></span>, then <span id="conc_a"><var>CONC_A</var></span>. If <span id="hyp_b"><var>HYP_B</var></span>, then <span id="conc_b"><var>CONC_B</var></span>.</p>
112 <p class="solution"><var>SOLUTION</var></p>
113 <ul class="choices" data-category="true">
114 <li data-if="CONC_POSSIBLE">If <var>HYP_A</var>, then <var>CONC_B</var>.</li>
115 <li data-else-if="HYP_DIFF">If <var>HYP_A</var>, then <var>HYP_B</var>.</li>
116 <li data-else>If <var>CONC_A</var>, then <var>CONC_B</var>.</li>
117 <li>No logical conclusion possible.</li>
118 </ul>
119 <div class="hints">
120 <div>
121 <p>Identify the <span class="hint_blue">first hypothesis</span>, the <span class="hint_green">first conclusion</span>, the <span class="hint_red">second hypothesis</span>, and the <span class="hint_purple">second conclusion</span>.</p>
122 <div class="graphie">
123 $( "#hyp_a" ).addClass( "hint_blue" );
124 $( "#conc_a" ).addClass( "hint_green" );
125 $( "#hyp_b" ).addClass( "hint_red" );
126 $( "#conc_b" ).addClass( "hint_purple" );
127 </div>
128 </div>
129 <div>
130 <p>Do the two sentences come in the form "If <span class="hint_blue">P</span>, then <span class="hint_green">Q</span>. If <span class="hint_red">Q</span>, then <span class="hint_purple">R</span>", where <span class="hint_green">first conclusion</span> and <span class="hint_red">second hypothesis</span> are the same?</p>
131 <p>In other words, do the sentences look like <code>\blue{P}\implies \green{Q}</code>. <code>\red{Q}\implies \purple{R}</code>?</p>
132 </div>
133 <div data-if="CONC_POSSIBLE" data-unwrap>
134 <p>Yes. Because the middle two statements both say <span class="hint_green"> <var>HYP_B</var></span>, we can chain the statements together: <code>\blue{P}\implies\green{Q}\implies\purple{R}</code> or <span class="hint_blue">"<var>HYP_A</var>"</span><code>\implies</code><span class="hint_green">"<var>CONC_A</var>"</span><code>\implies</code><span class="hint_purple">"<var>CONC_B</var>"</span>.</p>
135 <p>We can now remove the middle statement, and arrive at the conclusion <span class="hint_blue">"<var>HYP_A</var>"</span><code>\implies</code><span class="hint_purple">"<var>CONC_B</var>"</span>. So, the answer is "If <span class="hint_blue"> <var>HYP_A</var></span>, then <span class="hint_purple"> <var>CONC_B</var></span>."</p>
136 </div>
137 <p data-else>No. So, we cannot form a logical conclusion.</p>
138 </div>
139 </div>
140 </div>
141 </div>
142 </body>
143 </html>
Something went wrong with that request. Please try again.