In my opinion, firstly this question is an initial value problem, which means the number that the equation (y(0)=1) gives you is the lower limit of the integral, which is 0. You can also use the upper bound, however, if t is infinity, then we can not substitute t as a number into the equation and then solve it. In this way, choosing the lower limit number 0 is the easiest and the fastest method.