How deep is a Galway rainwater tank five minutes after it starts draining?
The rain has stopped in Galway, and a tank starts draining through a controlled outlet. You know the starting depth and the rule the outlet follows. Can you use those two pieces of information to find the depth five minutes later?
The starting depth is two metres at time zero. So on a graph of depth against time, the curve must pass through the point zero, two. You already know that integration can leave an unknown constant. The starting point gives you a way to find it.
Measure depth y in metres and time t in seconds. Suppose the outlet makes the depth fall at a rate proportional to its square, with constant one over six hundred. While the depth is positive, divide by y squared. Then write each variable with its own differential. That’s separation of variables.
Try the rearrangement before you integrate anything. The derivative of y with respect to t is minus three y squared, and y is positive. Which line separates the variables correctly? Pick one answer.
Start with the separated equation. Integrating y to the power minus two gives minus one over y. At time zero the depth is two, so C is minus a half. Substitute C and change both signs. Then take reciprocals to get the depth from time zero onwards.
Keep the same model, but start with three metres of water. You still have minus one over y equals minus t over six hundred plus C. Which curve do you get when you use this new starting depth? Pick one.
In y prime equals g of t times h of y, divide by h of y only where it’s non-zero. For the tank, dividing by y squared excludes zero. Test the constant depth zero in the original equation. Both sides are zero, so it’s a solution, but it starts empty.
First, differentiate the depth formula. You get minus six hundred divided by the square of the whole bracket, t plus three hundred. Substitute the depth formula into the original right-hand side. It simplifies to that same derivative. Finally, set t to zero and check that the depth is two metres.
Take a coasting cart whose acceleration is minus speed squared divided by six hundred. It starts at position zero, moving forwards at two metres per second. Call its velocity v. The first-order equation for v matches the tank equation, so reuse that solution. Integrate the velocity from time zero to find position.