Matthew S. answered 03/12/20
PhD in Mathematics with extensive experience teaching Calculus
Using the suggested substitution y = bektT, we have
dy/dt = bkektT + bekt * dT/dt (product rule)
Looking back at the original equation, you can substitute ebt - kT for dT/dt in the equation above.
dy/dt = bkektT + bekt * (ebt - kT) = bkektT + bke(k+b)t - bkektT
The first and last terms on the right hand side cancel, so we are left with
dy/dt = bke(k+b)t
Therefore y = be(k+b)t/(k+b) [Note: will deal with constant of integration later.]
To convert back to T, fill in bektT for y:
bektT = be(k+b)t/(k+b)
Dividing both sides by bekt gives
T = ebt/(k+b) + C [I've now included the constant of integration]
T0 = T(0) = 1/(k+b) + C. Therefore C = T0 - 1/(k+b)
Plugging that in and simplifying gives us the final answer:
T = (ebt - 1)/(k+b) + T0