1) Given statement:
"Ifx=y and y=3,then x=3"
Letp:x=y and y=3
∴ ∼ P:x≠y or y≠3
[∵ ∼(a∧b)=(∼ a V ∼ b)]
q:x=3
∴∼q:x≠3
Now, Contrapositive of given statement:
p→q is ∼ q → ∼ p
If x≠3,then x ≠y or y≠ 3
2) Given statement: "If n is a natural number, then n is an integer"
Let p:n is a natural number
∴∼p:n is not a natural number
q : n is an integer.
∴∼q:n is not an integer.
Now, Contrapositive of given statement:
p→q is q→ ∼ p
If n is not an integer, then ot is not a natural number.
3) Given statement: "If all three sides of a triangle are equal, then the triangle is equilateral"
Let p: All three sides of a triangle are equal.
∴∼p: All three sides of a triangle are not equal.
q : The triangle is equilateral.
∴∼q: The triangle is not equilateral.
Now, Contrapositive of given statement:
p→q is ∼ q→∼p
If the triangle is not equilateral, then all three sides of triangle are not equal.
4) Given statement: "If x and y are negative integers, then xy is positive"
Let p : x and y are negative integers.
∴∼p: Either x or y is not negative integer.
[∵∼(a∧b)=(∼a∨∼b)]
q:xy is positive integer.
∴∼q:xy is not positive integer.
Now, Contrapositive of given statement
p→q is ∼ q→ ∼ p
If xy is not positive integer, then either x or y is not negative integer.
5) Given statement "If natural number n is divisible by 6, then n is divisible by 2 and 3′
Let p: natural number n is divisible by 6
∴∼p: natural number n is not divisible by 6.
q: natural number n is divisible by 2 and 3.
∴∼q: natural number n is not divisible by 2 or 3.
Now, Contrapositive of given statement
p→q is ∼ q→∼p
If natural number n is not divisible by 2 or 3, then n is not divisible by 6.
6) Given statement" "If it snows, then the weather will be cold"
Let p: It snows.
∴∼p: It does not snow.
q : The weather will be cold.
∴∼q: The weather will not be cold.
Now, Contrapositive of given statement
p→q is ∼ q→∼p
The weather will not be cold, if it does not snow.
7) Given statement: "If x is a real number such that 0<x<1, then x2<1."
Let p : x is a real number such that 0<x<1
∴∼p:x is not a real number such that 0<x<1
q:x2<1
∴∼q:x2>1
Now, Contrapositive of given statement
p→q is ∼ q→∼p
If x2 > 1, then x is not a real number such that 0<x<1.