Answer to Question #204215 in Discrete Mathematics for Talha

Question #204215

Write CONTRPOSITIVE of the following statements.

a)If P is a square, then P is a rectangle.

b)If n is prime, then n is odd or n is 2.

c)If Aangloo is Meena's father, then Baangloo is her uncle and Bingli is her Aunt.

d)A positive integer is prime only if it has no divisors other than 1 and itself.

e)Being divisible by 3 is a necessary condition for this number to be divisible by 9.



1
Expert's answer
2021-06-08T19:00:22-0400


(a) If P is a square, then P is a rectangle.

Let Q be “P is a square” and R be “P is a rectangle.” Then we have:

Original: Q → R

=∼ Q ∨ R


Which translates to P is a square and not a rectangle.

contrapositive:

∼ R → ∼ Q

Which translates to If P is not a rectangle, then P is not a square.


_____________________________

(b)

If n is prime, then n is odd or n is 2.

Let Q be “n is prime” and R be “n is odd or n is 2.” Then we have:

Original: Q → R

=∼ Q ∨ R

Negation: ∼ (∼ Q ∨ R)

= Q ∧ ∼ R

If we negate R, we have:

∼ (n is odd ∨ n is 2)

=∼ (n is odd) ∧ ∼ (n is 2)

Which translates to n is even and n is not 2.


contrapositive: If n is not odd and not 2, then n is not prime.

___________________________


____________________________________

(c) If Aangloo is Meena's father, then Baangloo is her uncle and Bingli is her aunt.


Let Q be “Aangloo is Meena's father” and R be “Baangloo is her uncle and Bingli is her aunt.”


Then, as before


∼(Q→R)=Q∧∼R


If we negate R, we have:


∼(Baangloo is her uncle ∧Bingli is her aunt) ∼(Baangloo is her uncle) ∨ ∼ (Bingli is her aunt)


Which translates to Baangloo is not her uncle or Bingli is not her aunt.


contrapositive: If Baangloo is not Meena’s uncle or Bingli is not her aunt, then Aangloo is


not her father





___________________________

(d)

Let ,

p: A positive interger is a prime

q: Has no divisor other than 1 and itself.


contrapositive

¬q → ¬p

If a positive integer has a divisor other than 1 and itself,

then it is not prime.


_________________________

(e)

let

p:this number divisible by 3

q:this number to be divisible by 9.


contrapositive:

Since ~ p →~q is logically equivalent with q → p (its contrapositive), another valid statement would be:

If this number is divisible by 9, then this number is divisible by 3.



Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS