I can see from WolframAlpha that
$$\int\mathrm{Ai}'(x)\mathrm{Bi}''(x)\,\mathrm{d}x = \frac{\mathrm{Ai}'(x)[x^{2}\mathrm{Bi}(x)+2\mathrm{Bi}'(x)]-x^{2}\mathrm{Ai}(x)\mathrm{Bi}'(x)}{4}.$$
I'm guessing this can be shown via repeated integration by parts and use of Airy's equation? I've given this multiple attempts but haven't really gotten anywhere. Has anyone got any thoughts about how to start off the calculation?
Just noticed that this solution can also be simplified using the fact that $W(\mathrm{Ai}(x),\mathrm{Bi}(x))=1/\pi$.
Any help/advice greatly appreciated. Thanks!
It can indeed be shown using just integration by parts and the fact that $\operatorname{Ai}(x)$ and $\operatorname{Bi}(x)$ both satisfy the differential equation $$y''(x) -xy(x) =0. $$
$$ \begin{align} I &= \int \operatorname{Ai}'(x) \operatorname{Bi}''(x) \, dx \\ &= \int\operatorname{Ai}'(x) \, x \operatorname{Bi}(x) \, dx \tag{1}\\ &= \operatorname{Ai}'(x) \operatorname{Bi}'(x) - \int \operatorname{Ai}''(x) \operatorname{Bi}'(x) \, dx \\ &= \operatorname{Ai}'(x) \operatorname{Bi}'(x) - \int x \operatorname{Ai}(x) \operatorname{Bi}'(x) \, dx \tag{2} \\ &= \operatorname{Ai}'(x) \operatorname{Bi}'(x) - \frac{x^{2}}{2} \operatorname{Ai}(x) \operatorname{Bi}'(x) + \frac{1}{2} \int x^{2} \operatorname{Ai}'(x) \operatorname{Bi}'(x) \, dx + \frac{1}{2} \int x^{2} \operatorname{Ai}(x) \operatorname{Bi}''(x) \, dx \end{align} $$
But $$ \small \frac{1}{2} \int x^{2} \operatorname{Ai}'(x) \operatorname{Bi}'(x) \, dx = \frac{x^{2}}{2} \operatorname{Ai}'(x) \operatorname{Bi}(x) - \frac{1}{2}\int x^{2} \operatorname{Ai}''(x) \operatorname{Bi}(x) \, dx- {\color{red}{\int x \operatorname{Ai}'(x) \operatorname{Bi}(x) \, dx}} \tag{3} $$
Therefore, $$ \small \begin{align} \color{red}{2I} &= \operatorname{Ai}'(x) \operatorname{Bi}'(x) - \frac{x^{2}}{2} \operatorname{Ai}(x) \operatorname{Bi}'(x) + \frac{x^{2}}{2} \operatorname{Ai}'(x) \operatorname{Bi}(x) + \frac{1}{2} \int x^{2} \left(\operatorname{Ai}(x) \operatorname{Bi} ''(x) - \operatorname{Ai}''(x) \operatorname{Bi}(x) \right)\, dx \\ &= \operatorname{Ai}'(x) \operatorname{Bi}'(x) - \frac{x^{2}}{2} \operatorname{Ai}(x) \operatorname{Bi}'(x) + \frac{x^{2}}{2} \operatorname{Ai}'(x) \operatorname{Bi}(x) + \frac{1}{2} \int x^{2} \underbrace{\left(\operatorname{Ai}(x) x \operatorname{Bi}(x) - x \operatorname{Ai}(x) \operatorname{Bi}(x)\right)}_{0} \, dx \\ &= \operatorname{Ai}'(x) \operatorname{Bi}'(x) - \frac{x^{2}}{2} \operatorname{Ai}(x) \operatorname{Bi}'(x) + \frac{x^{2}}{2} \operatorname{Ai}'(x) \operatorname{Bi}(x) + C, \end{align} $$
and the result follows
$(1)$ Let $u = \operatorname{Ai}'(x)$ and $dv = x \operatorname{Bi}(x) \, dx$
$(2)$ Let $u = \operatorname{Ai}(x) \operatorname{Bi}'(x)$ and $dv = x \, dx$
$(3)$ Let $u = x^{2} \operatorname{Ai}'(x)$ and $dv= \operatorname{Bi}'(x) \, dx$