A cistern which has a leak on the bottom is filled in $1$ hr. Had there been no leak, it could have been filled in $40$ minutes. If the cistern is full, at what time will the leakage empty it?
My attempt
Let the cistern hold $x$l of water.
If there is leak,
To fill $x$l of water, it takes $1$hr.
If there is no leak,
To fill $x$l of water, it takes $40$ minutes.
Now, how should I move on?
Quickly, $$V(t)=\int_0^t f(s) - \delta(s)\mathrm{d}s.$$ If $f(s) = f$ and $\delta(s)=\delta$ for $s\geq0$, then $$ V^T = f-\delta$$ $$V^T=V(1)=\int_0^1 f(s) \mathrm{d}s- \int_0^1\delta(s)\mathrm{d}s = f-\delta$$ If $f(s) = f$ and $\delta(s)=0$ for $s\geq0$, then $$ V^T = V(2/3)=\int_0^{2/3} f(s) \mathrm{d}s- \int_0^{2/3}\delta(s)\mathrm{d}s = \frac{2}{3}f$$
Now, $$V(u) =0= V^T - \int_0^{u}\delta(s)\mathrm{d}s \implies 0 =V^T-u\delta$$ Using, the relations obtained before, we can say $$\delta=\frac{1}{3}f \qquad \text{and} \qquad V^T = \frac{2}{3}f.$$ Therefore $$u\delta=V^T \implies u\frac{1}{3}f=\frac{2}{3}f \implies u=2.$$ The time unit used was, of course, hours. So, if the cistern is full, if the input flow is stopped, it will get empty in 2 hours.