Course contentsShow
← Mathematics
Lesson 2326 of 3,12148. Ordinary Differential EquationsFree lesson

Applications: Mixing Problems

Model tank mixing scenarios where dQ/dt + (r/V)Q = r·C_in using first-order linear ODEs.

Applications: Mixing Problems

What You'll Learn

You'll learn how to model real-world tank mixing scenarios using first-order linear ordinary differential equations of the form dQ/dt + (r/V)Q = r·C_in.

The Core Idea

Imagine a tank containing a liquid solution. Fresh solution flows in at a certain rate, and mixed solution flows out at the same rate, keeping the volume constant. Your goal? Track how the amount of a substance (like salt or dye) in the tank changes over time.

The key insight is that the rate of change of the substance equals the rate in minus the rate out:

dQ/dt = (rate in) - (rate out)

More specifically:

  • Rate in = (flow rate) × (concentration of incoming solution) = r·C_in
  • Rate out = (flow rate) × (concentration in tank) = r·(Q/V)

This gives us:

dQ/dt = r·C_in - r·(Q/V)

Rearranging into standard linear form:

dQ/dt + (r/V)Q = r·C_in

This is a first-order linear ODE with integrating factor μ(t) = e^(rt/V).

Why This Structure?

The term (r/V)Q represents the outflow concentration — it depends on the current amount Q divided by the tank's volume V. The term r·C_in is constant if the incoming concentration doesn't change. This makes the equation non-homogeneous but solvable with the integrating factor method you've learned.

Example Setup

A 100-liter tank initially contains pure water. Brine with 2 kg/L salt concentration flows in at 5 L/min, and the well-mixed solution flows out at the same rate. The model becomes:

dQ/dt + (5/100)Q = 5·2
dQ/dt + 0.05Q = 10

Key Takeaway: Mixing problems translate directly into first-order linear ODEs by tracking substance amount Q(t) with the structure dQ/dt + (r/V)Q = r·C_in, solvable via integrating factors.