Option (D) is correct.
Explanation:
Work column by column from the right. Each column (with the carry of 1 from the column before it, except the units) must reach 10 or more, so choose the smallest digit that does this:
- units: 7+a≥10, so the smallest digit is a=3;
- tens: 8+b+1≥10, so b=1;
- hundreds: 5+c+1≥10, so c=4;
- thousands: 4+d+1≥10, so d=5.
The smallest number is 5413. Check: 7+3=10, 8+1+1=10, 5+4+1=10, 4+5+1=10; carry is 1 in all four columns and 4587+5413=10000.
Why the other options are wrong
- (A) Hundreds column: 5+3+1=9, which is less than 10, so
carry becomes 0 there.
- (B) Tens column: 8+0+1=9, which is less than 10, so
carry becomes 0 there.
- (C) 6413 does make every column carry, but it is not the smallest: 5413 also works and is 1000 less.