SOLUTION: MAT 145: Topics In Contemporary Math QUESTION 7 Determine if the argument is valid or invalid using a truth table. Premise: p rightwards arrow tilde q Premise: p logica

Algebra ->  Proofs -> SOLUTION: MAT 145: Topics In Contemporary Math QUESTION 7 Determine if the argument is valid or invalid using a truth table. Premise: p rightwards arrow tilde q Premise: p logica      Log On


   



Question 1190422: MAT 145: Topics In Contemporary Math
QUESTION 7
Determine if the argument is valid or invalid using a truth table.
Premise: p rightwards arrow tilde q
Premise: p logical or q
Conclusion: p

Found 2 solutions by Edwin McCravy, math_tutor2020:
Answer by Edwin McCravy(20054) About Me  (Show Source):
You can put this solution on YOUR website!
You can type a tilde for "not" or "negation". Look above the TAB key
to the left of the 1 key.  You have to hold the shift key down. ~
You can make a right arrow for conditional" or "if then" with a dash 
- and a greater than > to get ->.  Use a little "v" for "logical or".
For "logical and", you can use "&".

Determine if the argument is valid or invalid using a truth table.
Premise: p->~q
Premise: pvq
Conclusion: p

Put & between the premises and -> before the conclusion

[(p->~q)&(pvq)]->p

You have to use parentheses and brackets so that there are only two
things inside a parentheses or bracket with a v, &, or -> between 
them. 

Start with a column for each single letter
for a statement on the left, and build it 
up piece by piece.
Each heading must have either 
p
q
~p
~q
( ) v ( )
( ) & ( )
( ) -> ( )
Single letters or letters with a tilde before them can 
replace the ( ), and the ( ) can have ~ before them.
You can use brackets [ ] to enclose ( ). But remember
each parentheses and each brackets can at most only 
contain two things with v, &, or -> between them. 

Start with this:

| p | q | ~q | p->~q | pvq | (p->~q)&(pvq) || [(p->~q)&(pvq)]->p |
|   |   |    |       |     |               ||                    |   
|   |   |    |       |     |               ||                    |     
|   |   |    |       |     |               ||                    | 
|   |   |    |       |     |               ||                    | 

Put TTFF in the p column and TFTF in the q column:

| p | q | ~q | p->~q | pvq | (p->~q)&(pvq) || [(p->~q)&(pvq)]->p |
| T | T |    |       |     |               ||                    |   
| T | F |    |       |     |               ||                    |     
| F | T |    |       |     |               ||                    | 
| F | T |    |       |     |               ||                    |

Next we have a ~q column.  We put the opposite of what was in the q
column:

| p | q | ~q | p->~q | pvq | (p->~q)&(pvq) || [(p->~q)&(pvq)]->p |
| T | T |  F |       |     |               ||                    |   
| T | F |  T |       |     |               ||                    |     
| F | T |  F |       |     |               ||                    | 
| F | T |  F |       |     |               ||                    |

Next we have a p->~q column.  The rule for -> is 
"put T for everything except T->F, where there's a T on the 
left of -> and an F on the right of ->.  That's the only time you 
put F." You have to look at the previous columns to see what's on 
the left of -> and what's on the right of it.

| p | q | ~q | p->~q | pvq | (p->~q)&(pvq) || [(p->~q)&(pvq)]->p |
| T | T |  F |   F   |     |               ||                    |   
| T | F |  T |   T   |     |               ||                    |     
| F | T |  F |   T   |     |               ||                    | 
| F | F |  T |   T   |     |               ||                    |

Next we have a pvq column.  The rule for v is 
"put T for everything except FvF, where there's an F on both
sides of the v. That's the only time you put F." You have to 
look at the previous columns to see what's on the left of v 
and what's on the right of it.

| p | q | ~q | p->~q | pvq | (p->~q)&(pvq) || [(p->~q)&(pvq)]->p |
| T | T |  F |   F   |  T  |               ||                    |   
| T | F |  T |   T   |  T  |               ||                    |     
| F | T |  F |   T   |  T  |               ||                    | 
| F | F |  T |   T   |  F  |               ||                    |

Next we have a (p->~q)&(pvq) column. The rule for & is 
"put F for everything except T&T, where there's an T on both
sides of the &. That's the only time you put T." You have to 
look at the previous columns to see what's on the left of & 
and what's on the right of it.

| p | q | ~q | p->~q | pvq | (p->~q)&(pvq) || [(p->~q)&(pvq)]->p |
| T | T |  F |   F   |  T  |        F      ||                    |   
| T | F |  T |   T   |  T  |        T      ||                    |     
| F | T |  F |   T   |  T  |        T      ||                    | 
| F | F |  T |   T   |  F  |        F      ||                    |

Finally we have a [(p->~q)&(pvq)]->p column.  We already had a ->
column. The rule, remember, for -> is "put T for everything except 
T->F, where there's a T on the left of -> and an F on the right of
->.  That's the only time you put F." You have to look at the 
previous columns to see what's on the left of -> and what's on the 
right of it.

| p | q | ~q | p->~q | pvq | (p->~q)&(pvq) || [(p->~q)&(pvq)]->p |
| T | T |  F |   F   |  T  |        F      ||                 T  |   
| T | F |  T |   T   |  T  |        T      ||                 T  |     
| F | T |  F |   T   |  T  |        T      ||                 F  | 
| F | F |  T |   T   |  F  |        F      ||                 T  |

Oh, oh! there's a F in that last column, so the argument is invalid.
There must be only T's in the last column for an argument to be
valid.

Be sure to learn those rules for ~,v,->, and &.  There is only one 
other, and that's equivalence <->.  The rule for that is to put T if
what are on both sides are the same (both T's or both F's), and F if 
they aren't the same.

Edwin

Answer by math_tutor2020(3816) About Me  (Show Source):
You can put this solution on YOUR website!

Another way to form the truth table is to write it like this
Premise 1Premise 2Conclusion
PQ~QP -> ~QP v QP
TTFFTT
TFTTTT
FTFTTF
FFTTFF
The row marked in red has all true premises but a false conclusion.

Therefore, the argument is invalid.

Side notes:
  • The row I marked in red is the same row number that Edwin had F in the last column of the table (ie it corresponds to the same P = F and Q = T values).
  • P v Q is false only when both P and Q are false together; otherwise, it's true.
  • P -> Q is false only when a true antecedent (P) leads to a false conclusion (Q). It's effectively how both variations of proof invalidations are done.
  • Stuff in the ~Q column is the flip of what is found in the Q column