Difference between revisions of "Conditional"

m (proofreading)
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
A '''conditional''' is used in [[logic]] for two statements. When the statements are represented by [[variable|variables]], the variables usually are p, q, and so forth. An arrow represents the conditional. Both an arrow with one shaft and two shafts are widely used. An example of a conditional using p and q would be denoted <math>p \rightarrow q</math> or <math> p \Rightarrow q</math> and read "if p, then q." The first statement, p, is called the [[antecedent]] while the second statement, q, is called the [[consequent]]. A conditional is considered true when the antecedent and consequent are both true or if the antecedent is false. When the antecedent is false, the [[truth value]] of the consequent does not matter; the conditional will always be true. A conditional is considered false when the antecedent is true and the consequent is false. Below, the truth values of the conditional for all possibilities of the antecedent and consequent being true or false are represented in a [[truth table]].
+
A '''conditional''' is used in [[logic]] for two statements. When the statements are represented by [[variable|variables]], the variables usually are <math>p</math>, <math>q</math>, and so forth. An arrow represents the conditional. Both an arrow with one shaft and two shafts are widely used. An example of a conditional using <math>p</math> and <math>q</math> would be denoted <math>p \rightarrow q</math> or <math> p \Rightarrow q</math> and read "if <math>p</math>, then <math>q</math>." The first statement, <math>p</math>, is called the [[antecedent]] while the second statement, <math>q</math>, is called the [[consequent]]. A conditional is considered true when the antecedent and consequent are both true or if the antecedent is false. When the antecedent is false, the [[truth value]] of the consequent does not matter; the conditional will always be true. A conditional is considered false when the antecedent is true and the consequent is false. Below, the truth values of the conditional for all possibilities of the antecedent and consequent being true or false are represented in a [[truth table]].
 
{|  
 
{|  
 
|+ Truth table for a conditional
 
|+ Truth table for a conditional
Line 19: Line 19:
 
*[[Contrapositive]]
 
*[[Contrapositive]]
 
*[[Logical inverse]]
 
*[[Logical inverse]]
 +
 +
[[Category:Definition]]

Latest revision as of 14:40, 19 April 2008

A conditional is used in logic for two statements. When the statements are represented by variables, the variables usually are $p$, $q$, and so forth. An arrow represents the conditional. Both an arrow with one shaft and two shafts are widely used. An example of a conditional using $p$ and $q$ would be denoted $p \rightarrow q$ or $p \Rightarrow q$ and read "if $p$, then $q$." The first statement, $p$, is called the antecedent while the second statement, $q$, is called the consequent. A conditional is considered true when the antecedent and consequent are both true or if the antecedent is false. When the antecedent is false, the truth value of the consequent does not matter; the conditional will always be true. A conditional is considered false when the antecedent is true and the consequent is false. Below, the truth values of the conditional for all possibilities of the antecedent and consequent being true or false are represented in a truth table.

Truth table for a conditional
P Q PQ
T T T
T F F
F T T
F F T

See Also