Math Lab
Home/Class XII/Ch 9/Applications and initial-value problems

Applications and initial-value problems

The reason differential equations matter outside the classroom is that nature respects rates. Whenever the rate of change of a quantity depends on the quantity itself , exponential growth, exponential decay, Newtonian cooling, mixing problems , you have a differential equation. This section is about modelling: translating a story into a DE, solving with the appropriate method, and applying the initial condition to pin down the constant.

Pattern 1: Growth and decay

"The rate of change of a quantity is proportional to the quantity itself."

Translation: dydt=ky\dfrac{dy}{dt} = ky where k>0k > 0 for growth and k<0k < 0 for decay. Separable. Solution: y(t)=y(0)ekty(t) = y(0) e^{kt}.

Examples: population growth (when resources are abundant), radioactive decay (with k=λk = -\lambda), bacterial cultures, compound interest. The doubling time for growth is ln2/k\ln 2 / k; the half-life for decay is ln2/k\ln 2 / |k|.

Pattern 2: Newton's law of cooling

"The rate of cooling of a body is proportional to the difference between its temperature and the surroundings' temperature."

Translation: dTdt=k(TTenv)\dfrac{dT}{dt} = -k(T - T_{\text{env}}), with k>0k > 0 and T(0)=T0T(0) = T_0.

This is separable: dTTTenv=kdt\dfrac{dT}{T - T_{\text{env}}} = -k\,dt. Solution: T(t)=Tenv+(T0Tenv)ektT(t) = T_{\text{env}} + (T_0 - T_{\text{env}})e^{-kt}.

As tt \to \infty, TTenvT \to T_{\text{env}}, as expected. The constant kk is determined by additional data (e.g. the temperature at one specific time).

Pattern 3: Mixing problems

A tank holds VV litres of brine with y(t)y(t) kilograms of salt at time tt. Brine of concentration cinc_{\text{in}} flows in at rinr_{\text{in}} L/min, and well-mixed brine flows out at routr_{\text{out}} L/min.

Rate of salt in =rincin= r_{\text{in}} c_{\text{in}}. Rate of salt out =routy(t)V(t)= r_{\text{out}} \cdot \dfrac{y(t)}{V(t)}, where V(t)=V0+(rinrout)tV(t) = V_0 + (r_{\text{in}} - r_{\text{out}}) t.

If rin=routr_{\text{in}} = r_{\text{out}}, volume is constant, and the DE is linear with constant coefficients. If they differ, VV is linear in tt, and the DE is linear with variable coefficients , but still linear, so the integrating-factor method applies.

Pattern 4: RC and RL circuits

A capacitor of capacitance CC in series with a resistor RR and a voltage source V(t)V(t): RCdqdt+q=CV(t)RC\dfrac{dq}{dt} + q = CV(t). Linear in qq, integrating-factor method.

A coil of inductance LL in series with RR and voltage source: Ldidt+Ri=V(t)L\dfrac{di}{dt} + R i = V(t). Linear in ii.

Pattern 5: Bacterial doubling and radioactive half-life

If a population doubles in time TdT_d, then 2y0=y0ekTd2y_0 = y_0 e^{kT_d}, so k=ln2Tdk = \dfrac{\ln 2}{T_d}. Similarly half-life: kdecay=ln2T1/2k_{\text{decay}} = -\dfrac{\ln 2}{T_{1/2}}.

Worked examples

Example 1. A population of bacteria doubles every 3 hours. Find its size after 10 hours if initially there are 10001000 bacteria.

Model: dydt=ky\dfrac{dy}{dt} = ky, so y(t)=1000ekty(t) = 1000 e^{kt}. Doubling: y(3)=2000e3k=2k=ln23y(3) = 2000 \Rightarrow e^{3k} = 2 \Rightarrow k = \dfrac{\ln 2}{3}. At t=10t = 10: y(10)=1000e(10ln2)/3=1000210/3100010.0810079y(10) = 1000 \cdot e^{(10\ln 2)/3} = 1000 \cdot 2^{10/3} \approx 1000 \cdot 10.08 \approx 10079.

Example 2. A body cools from 80C80\,^\circ\text{C} to 60C60\,^\circ\text{C} in 1010 minutes in a 20C20\,^\circ\text{C} environment. What temperature does it reach after 2020 minutes?

Newton's cooling: T(t)=20+60ektT(t) = 20 + 60 e^{-kt} (since T0Tenv=60T_0 - T_{\text{env}} = 60). At t=10t = 10: 60=20+60e10k40=60e10ke10k=2/360 = 20 + 60 e^{-10k} \Rightarrow 40 = 60 e^{-10k} \Rightarrow e^{-10k} = 2/3. So e20k=(2/3)2=4/9e^{-20k} = (2/3)^2 = 4/9. Hence T(20)=20+604/9=20+803=60+8031=140346.67CT(20) = 20 + 60 \cdot 4/9 = 20 + \dfrac{80}{3} = \dfrac{60 + 80}{3} \cdot 1 = \dfrac{140}{3} \approx 46.67\,^\circ\text{C}.

Example 3. A radioactive substance has a half-life of 16201620 years. How long does it take to decay to 10%10\% of its initial mass?

y(t)=y0eλty(t) = y_0 e^{-\lambda t} with λ=ln2/1620\lambda = \ln 2 / 1620. Solve 0.1y0=y0eλtt=ln10λ=1620ln10ln216203.32253820.1 y_0 = y_0 e^{-\lambda t} \Rightarrow t = \dfrac{\ln 10}{\lambda} = \dfrac{1620 \ln 10}{\ln 2} \approx 1620 \cdot 3.322 \approx 5382 years.

Example 4. A tank contains 100100 L of brine with 55 kg salt. Fresh water enters at 44 L/min, and the mixture leaves at 44 L/min. Find the amount of salt at time tt.

Volume constant at 100100 L. Salt in =0= 0. Salt out =4y/100= 4 \cdot y/100. So dydt=y25\dfrac{dy}{dt} = -\dfrac{y}{25}. Solution: y=5et/25y = 5 e^{-t/25}.

Example 5. A curve passes through (1,2)(1, 2) and at every point its slope is yx\dfrac{y}{x}. Find the equation of the curve.

DE: dydx=yx\dfrac{dy}{dx} = \dfrac{y}{x}. Separable. Solution y=Cxy = Cx. Apply IC: 2=C12 = C \cdot 1, so C=2C = 2. Curve: y=2xy = 2x.

Example 6. A curve in the first quadrant has the property that the slope at any point (x,y)(x, y) equals x+yx\dfrac{x + y}{x}, and passes through (1,1)(1, 1). Find it.

DE: dydx=1+yx\dfrac{dy}{dx} = 1 + \dfrac{y}{x}. Homogeneous. Substitute v=y/xv = y/x: v+xv=1+vv + xv' = 1 + v, so xv=1xv' = 1, integrate: v=lnx+Cv = \ln x + C, hence y=xlnx+Cxy = x \ln x + Cx. Apply IC: 1=0+C1 = 0 + C, so C=1C = 1. Curve: y=xlnx+x=x(lnx+1)y = x\ln x + x = x(\ln x + 1).

Try it yourself

  1. A bacterial culture doubles in 4 hours. How many will there be in 12 hours if it starts with 500500?
  2. A radioactive isotope has half-life 7 days. After 21 days, what fraction remains?
  3. Newton's cooling: a cup of coffee at 90C90\,^\circ\text{C} cools to 70C70\,^\circ\text{C} in 5 minutes (room 20C20\,^\circ\text{C}). Find TT at t=15t = 15 min.
  4. A tank of 200200 L brine, initially salt-free, has brine of concentration 0.50.5 kg/L flowing in at 44 L/min and mixture out at 44 L/min. Find y(t)y(t).
  5. Find the curve passing through (0,1)(0, 1) with dydx=ycosx\dfrac{dy}{dx} = y \cdot \cos x.
  6. A curve in the first quadrant passes through (1,0)(1, 0) and has slope yxy+x\dfrac{y - x}{y + x}. Find it.
  7. Money grows at 5%5\% per year compounded continuously. Time to triple?
  8. A snowball melts at a rate proportional to its surface area. If VV is volume and S=S = surface area, model V(t)V(t). (Use V=43πr3V = \frac{4}{3}\pi r^3, S=4πr2S = 4\pi r^2, so dVdt=kS\dfrac{dV}{dt} = -kS leads to a DE for rr.)
  9. A tank of 5050 L contains pure water. Brine of 0.20.2 kg/L flows in at 22 L/min; mixture out at 33 L/min. Find y(t)y(t) until the tank is empty.
  10. A curve has the property that the tangent at any point passes through (0,0)(0, 0). What is the curve? (Hint: form a DE.)
  11. The half-life of carbon-14 is 57305730 years. A bone has 25%25\% of its original carbon-14. Estimate its age.
  12. An RL circuit: Ldidt+Ri=V0L\dfrac{di}{dt} + Ri = V_0 (constant). Solve i(t)i(t) with i(0)=0i(0) = 0.
  13. The slope of a curve at (x,y)(x, y) equals y/xy/x minus ycotxy \cot x. Find the family of curves.
  14. A population of fish in a lake follows dPdt=0.1P10\dfrac{dP}{dt} = 0.1 P - 10 (logistic-like, but linear). Find P(t)P(t) if P(0)=200P(0) = 200.

Pitfalls and tricks

  • Translate carefully. Read the problem, identify the rate and what it's proportional to, and write the DE before solving.
  • Pick the right method. Most growth/decay/cooling problems are separable. Mixing problems with non-constant volume often need integrating factor.
  • Apply IC last. Solve the general form, then substitute initial values.
  • Check units. Make sure rates and times are in consistent units.
  • Sanity check the answer. As tt \to \infty, does the solution behave physically? Growth diverges, cooling approaches ambient, mixing approaches the inflow concentration. If your answer says otherwise, suspect an error.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Applications
6 questions · pick the best answer
Q1

A bacterial population doubles in 2 hours. After 6 hours starting from 100, it becomes

Q2

Newton's cooling: as tt \to \infty, temperature approaches

Q3

Half-life 10 years; what fraction remains after 30 years?

Q4

DE for radioactive decay is

Q5

Tank of constant volume VV; salt enters at rate rcinr c_{\text{in}}, leaves at ry/Vr y/V. DE for yy is

Q6

Slope of curve at (x,y)(x,y) equals y/xy/x and curve passes through (1,2)(1, 2). Curve is