I'm trying to derive the rate law of a first order followed by second order consecutive reaction:
$$ \frac{\mathrm{d}[\ce{A}]}{\mathrm{d}t}=-k_1[\ce{A}]$$ $$ \frac{\mathrm{d}[\ce{B}]}{\mathrm{d}t}=k_1[\ce{A}]-k_2{[\ce{B}]^2}$$ $$ [\ce{A}](0)=[\ce{A}]_0,\ce{[B]}(0)=0$$
The solution for A is trivial: $$ \ce{[A]}=\ce{[A]}_0\exp(-k_1t)$$
The problem is B, whose rate law ODE is not linear: $$ \frac{\mathrm{d}[\ce{B}]}{\mathrm{d}t}=k_1[\ce{A}]_0\exp(-k_1t)-k_2{[\ce{B}]^2}$$
This is a nonlinear first order ODE, but can be rewritten to a linear second order ODE by substituting $[\ce{B}]$ with: $$[\ce{B}]=\frac{\mathrm{d}y}{\mathrm{d}t}\frac{1}{k_2y}$$
Which gives: $$ -\frac{\mathrm{d}^2y}{\mathrm{d}t^2}+k_1k_2[\ce{A}]_0\exp(-k_1t)y=0$$
The solution is quite complicate and contains Bessel functions of both the first and the second kind:
$$ [B] = \frac{C_1\,{\mathrm{e}}^{-\frac{k_{1}\,t}{2}}\,J_1\left(\frac{2\,{\mathrm{e}}^{-\frac{k_{1}\,t}{2}}\,\sqrt{-\ce{A}_{0}\,k_{1}\,k_{2}}}{k_{1}}\right)\,\sqrt{-A_{0}\,k_{1}\,k_{2}}-\ce{C}_2\,{\mathrm{e}}^{-\frac{k_{1}\,t}{2}}\,Y_1\left(-\frac{2\,{\mathrm{e}}^{-\frac{k_{1}\,t}{2}}\,\sqrt{-A_{0}\,k_{1}\,k_{2}}}{k_{1}}\right)\,\sqrt{-A_{0}\,k_{1}\,k_{2}}}{k_{2}\,\left(C_1\,J_0\left(\frac{2\,{\mathrm{e}}^{-\frac{k_{1}\,t}{2}}\,\sqrt{-A_{0}\,k_{1}\,k_{2}}}{k_{1}}\right)+C_2\,Y_0\left(-\frac{2\,{\mathrm{e}}^{-\frac{k_{1}\,t}{2}}\,\sqrt{-A_{0}\,k_{1}\,k_{2}}}{k_{1}}\right)\right)}$$
There are two arbitrary constants but I only have one condition: $$\ce{[B]}(0)=0$$
So my questions are:
- Is my approach solving the rate law correct ?
- If so, how do I get rid of both constants ?
- Is there any approximated solution to this rate law ?
[update]: The ODE is solved numerically with Runge-Kutta method. The symbolic solution seems correct.