# Logic

Please see attached file.

1. (4pts) Let p, q, and r be the following statements:

p: Roses are red

q: The sky is blue

r: The grass is green

(a) p ^ q

(b) p ^ (q  r)

(c) q --> (p ^ r)

(d) (~ r ^ ~ q) --> ~ p

2. (4pts) Write in symbolic form using p, q, r, , , , , where p, q, r represent the following statements:

p: A puppy is green-eyed

q: A puppy can be taught

r: A puppy loves toys

(a) If a puppy is green-eyed, then it cannot be taught

(b) If a puppy cannot be taught, then it does not love toys

(c) If a puppy loves toys, then either the puppy can be taught or the puppy is green-eyed.

(d) If the puppy is not green-eyed, then the puppy loves toys and the puppy can be taught.

3. (4 pts) Fill the headings of the following truth table using p, q, , , , and .

p q (a) (b)

T T T F

T F T F

F T T F

F F F T

4. (4 pts) For each of the following conditionals, identify the antecedent and the consequent. Form the converse, inverse, and contrapositive.

(a) If I don't go to the movie, I'll study my math.

(b) Your car won't start if you don't have gasoline in the tank.

5. (2 pts) Use De Morgan's laws to write an equivalent statement for the following sentence:

If we go to San Antonio, then we will go to Sea World or we will not go to Busch Gardens.

6. (4 pts) (a) Translate the argument into symbolic form and (b) determine if the argument is valid or invalid. You may compare the argument to a standard form or use a truth table.

If Lillian passes the bar exam, then she will practice law.

Lillian will not practice law

----------------------------------------------------------------------

 Lillian did not pass the bar exam

7. (4 pts) Use an Euler diagram to determine whether the syllogism is valid or invalid

All actresses are beautiful

Some actresses are tall

--------------------------------

 Some beautiful people are tall.

8. (6 pts) Construct a truth table for (qp)  q

© BrainMass Inc. brainmass.com October 9, 2019, 7:17 pm ad1c9bdddfhttps://brainmass.com/math/discrete-math/113431

#### Solution Preview

Week 3 Assignment 2

1. (4pts) Let p, q, and r be the following statements:

p: Roses are red

q: The sky is blue

r: The grass is green

Translate the following statements into English

First of all, ^ means "and",  means "or", ~ means "not", and  means "if...then". Also, when things are in parentheses, they are evaluated first.

(a) p  q

Roses are red AND the sky is blue.

(b) p  (q  r)

Roses are red AND (the sky is blue OR the grass is green).

Roses are red AND either the sky is blue OR the grass is green.

(c) q  (p  r)

IF the sky is blue, THEN (roses are red AND the grass is green).

IF the sky is blue, THEN roses are red AND the grass is green.

(d) (  r   q)   p

IF (the grass is NOT green AND the sky is NOT blue), THEN roses are NOT red.

IF the grass isn't green AND the sky isn't blue, THEN roses aren't red.

2. (4pts) Write in symbolic form using p, q, r, , , , , where p, q, r represent the following statements:

p: A puppy is green-eyed

q: A puppy can be taught

r: A puppy loves toys

This is the same as number 1, only in reverse.

(a) If a puppy is green-eyed, then it cannot be taught

p  (~q)

(b) If a puppy cannot be taught, then it does not love toys

(~q)  (~r)

(c) If a puppy loves toys, then either the puppy can be taught or the puppy is green-eyed.

r  (q  p)

(d) If the puppy is not green-eyed, then the puppy loves toys and the puppy can be taught.

(~p)  (r ^ q)

3. (4 pts) Fill the headings of the following truth table using p, q, , , , and .

p q (a) (b)

T T T F

T F T F

F T T F

F F F T

First look at the (a) column. It is true whenever either p is true or q is true (or p and q are both true). This indicates that ...

#### Solution Summary

This is a problem set of eight questions. Complete answers, all necessary definitions and examples, and detailed explanations are included in the solution.