Option (A) is correct.
Both functions use the same rule x+3. Only the domain and the co-domain change.
Is f:Z→Z onto? Take any y∈Z. We need an integer x with x+3=y, so x=y−3. This is an integer, and
f(y−3)=(y−3)+3=y
So every integer is an output, and f is onto.
Is g:N→N onto? Take y=2. The only number with x+3=2 is x=−1, which is not a natural number. So 2 has no preimage, and g is not onto. In fact the range of g is {4,5,6,…}, so 1, 2 and 3 are all missed.
So Assertion (A) is true.
Reason (R). The difference of two integers is an integer, so y−3∈Z for every integer y. If y≤3, then y−3≤0, and 0 and the negative integers are not natural numbers. So Reason (R) is true.
Does (R) explain (A)? Yes. Under the rule x+3, the only possible preimage of y is y−3. The first half of (R) says this preimage always lies in Z, which is why f is onto. The second half says it falls outside N for y=1,2,3, which is why g is not onto. So (R) is the correct explanation of (A).
Why the other options are wrong
- (B) says (R) does not explain (A). But (R) is exactly the preimage test that decides both halves of (A).
- (C) says (R) is false. But y−3 is always an integer, and it is 0 or negative when y≤3.
- (D) says (A) is false. But f(y−3)=y for every integer y, and g never takes the value 2.