Logic-section 2 Flashcards
statement constants
what is an acceptable statement constant?
when letters stand for statements.
capital letters only.
statement variables
when can statement variables be used?
what is an acceptable statement variable?
statements already in SL can be and are symbolized as statement variables
a small uncapitalized letter
truth value
in logic a statement can either be T (true) or F (false)
what are the five operators of SL?
what are their symbols?
what does each operator mean?
give an example?
- negation, ~, not, ~x
- conjunction, &, and, x&y
- disjunction, v, or, xvy
- conditional, →, if…then, x→y
- biconditional,<—>, if and only if, x<—>y
what is the function of negation?
turning the truth value of a statement into its opposite
what is a truth table?
a table displaying all the possible truth values of a given statement under various conditions
and
what is the symbol for and?
what is the function of and in logic
&, the cunjuction operator
joins two statements together making a new statement
what is the process for analyzing an and-statement? Sum up the truth table of and-statements.
- break down the and-statement into two substatements and consider the truth value of each substatement
- if either substatement or both substatements are false the entire and-statement is false
or
what is the symbol and name for the or operator?
what is the function of the or operator?
V, disjuntion operator
or joins two statements together
how can an or-statement be analyzed? sum up the truth table for or-statements.
- consider the truth values of the substatements within an or-statement.
- if both substatements are false then and only then is the entire or-statement false
name and define two distinct meanings of or?
how does the disjunction operator handle these meanings in logic?
- inclusive or- means “this choice or that choice, or both”
- exclusive or- means “this choice or that choice, but not both”
or-statements are always inclusive in logic
if
what is the symbol and correct name for the if operator?
what is the function of if?
→, conditional operator
conditional operators represent if…then-statements
sum up the truth table for if…then statements?
- an if-statement is false only when the first part of it is true and the second part is false, all other patterns mean the statement is true.
define an inverse
an inverse is created when both parts of an if…then statement are negated
define a contrapositive
reverse the order of the substatments and then negate these reordered substatements
always has the truth value of the original if…then-statement
define a converse
reverse the order of the substatements in the original if-statement
why do converse and inverse statements always have the same truth values
because they are contrapositives of each other
if and only if
biconditional operator, <–>
sum up the truth table for an if-and-only-if-statement?
- both parts of if-and-only-if statements are logically equivalent meaning they must have the same truth values
- both parts of the biconditional statement must have the same truth value in order for the whole statement to be considered true
arithmetic and SL have several important similarities, what are the similarities?
- binary operators turning two or more inputs into one single output
- unary operator turning one input into a single output
what are the binary operators of logic?
what is the unary operator of logic?
- &,V,→,<–>
- ~
what is the baisic idea behind substitution?
what is the implication for logic?
- in algebra letters can stand for numbers and similarly constants can stand for statements in logic
- once constants are put into place the correct truth values of the constants can be substituted in then given operation performed resulting in the truth value of the statement