An equation dtdi+Pi=Q, with P and Q constants or functions of t only, is a first order linear differential equation. Its integrating factor is e∫Pdt and its solution is i⋅I.F.=∫Q⋅I.F.dt+C.
Given: L=1, R=2, E=6e−t, so dtdi+2i=6e−t, with i=0 at t=0. To find: i(t), the maximum current, and the long-run behaviour.
Step 1 — Identify the type. Here P=2 and Q=6e−t, so the equation is linear in i. It is not separable, because 6e−t−2i is not a product of a function of t and a function of i.
Step 2 — Find the integrating factor. I.F.=e∫2dt=e2t.
Step 3 — Solve.
ie2t=∫6e−t⋅e2tdt=∫6etdt=6et+C
Step 4 — Use i=0 at t=0. 0=6+C, so C=−6. Then ie2t=6et−6, and
i=6(e−t−e−2t)
Step 5 — Find the maximum. Differentiating,
dtdi=6(−e−t+2e−2t)=6e−2t(2−et)
This is zero when et=2, that is t=log2≈0.69 s. For t<log2 we have et<2, so dtdi>0. For t>log2, dtdi<0. So the current is maximum at t=log2, where e−t=21 and e−2t=41:
imax=6(21−41)=23 A
Step 6 — Long-run behaviour. As t→∞, both e−t and e−2t tend to 0, so i→0. The source dies away, and so does the current.
Answer: (i) i=6(e−t−e−2t) A. (ii) The current is maximum at t=log2 s, and imax=1.5 A. (iii) i→0 as t→∞.

Note: With a constant emf E0 the equation would be separable, and the current would rise steadily towards RE0. Because the emf here decays, the current first rises and then falls.