CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Prove that the necessary and sufficient condition for an integer n to odd is that n2 is odd.

Open in App
Solution

Let p: The integer n is odd.

And q:n2 is odd.

First we prove that pq.

Let n be odd. Then, n=(2k+1) for some integer k.

Then, n2(2k+1)2=(4k2+4k+1)=2(2k2+2k)+1

Thus, n2 is 1 more than an even number and therefore, it is odd.

Thus, pq.

Now, in order to prove that qp. it is sufficient to show that pq [contrapositive method]

Clearly, ~p: The integer n is even.

Let n=2k for some integer k.

Then , n2=4k2,which is even,

n is even

n2 is even.

Consequently. ~p~q and therefore , qp.

Hence , pq,i.e. the integer n is odd if and only ifn2 is odd.


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Contra-positive method
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon