Professional Documents
Culture Documents
Discrete Structures
Discrete Structures
TUTORIAL 3
1. In a–b, use the definitions of even, odd, prime, and composite to justify each of your answers.
a. Assume that k is a particular integer.
i. Is −17 an odd integer?
Ans.
For a number to be odd it should be in the form 2k+1 where k is any integer.
Here,
Let,
-17 =2k+1
-17-1 =2k
-18 =2k
-18/2 =k
k =-9
-17 =2*(-9) +1
∴Hence, -17 is an odd number.
4. In a–d determine whether the statement is true or false. Justify your answer with proof or a
counterexample, as appropriate. In each case use only the definitions of the terms.
a. The product of any two odd integers is odd.
Ans.
Let the two numbers be a=2m+1 and b=2n+1
According to the question
=a*b
=(2m+1) * (2n+1)
=4mn+2m+2n+1
=2(2mn+m+n) +1 {Let 2mn+m+n=k}
=2k+1 which is the requirement for a integer to be odd.
∴The product of any two odd integers will always be odd.
b. The negative of any odd integer is odd.
Ans.
For an integer to be odd it must be in the form of 2k+1 where k is any integer.
=2k+1
According to question,
=-(2k+1)
=-2k-1
=-2k-1-2+2
=-2k-2-1+2
=2(-k-1) +1
Which is in the form of 2k+1 hence the negative of any odd integer is odd.
∴Hence the given statement is true.
5. The numbers in a-d are all rational. Write each number as a ratio of two integers.
𝟑𝟓
a. − 𝟔
Ans.
35
=− 6
= -35 : 6
b. 4.6037
Ans.
46037
= 10000
= 46037 : 10000
c. 0.37373737...
Ans.
Here the number 3737 after the decimal is being repeated indefinitely so, The number
0.373737… cannot be represented as a ratio of two integers as it does not have a end
point.
d. 52.4672167216721...
Ans.
5246721
= 100000
= 5246721 : 100000
(𝒓+𝒔)
c. If r and s are any two rational numbers, then is rational.
𝟐
Ans.
𝑎 𝑐
Let r = 𝑏 and s = 𝑑 , be two rational numbers where a, b, c and d are intergers.
Then by question,
𝒂 𝒄
(𝒓+𝒔) +
𝟐
= 𝒃 𝟐𝒅
𝑎𝑑+𝑏𝑐
= 𝑏𝑑
2
𝑎𝑑−𝑏𝑐
= 2𝑏𝑑
Here ad, bd and cb are product of two integers hence ad, bd and cb are also integers.
So, the ratio of two integers is a rational number.