4

I am trying to solve this Cauchy's problem: $$ y' = y^2 - 2x $$ with condition $y(0) = 2$ It's very similar to Bernoulli equation $$ y' + a(x)y = b(x)y^2$$ however doesn't contain $a(x)y$. I also tried substitution like $y = tx$. but it hasn't helped, because i've got this $$ t'x + t = (tx)^2 + 2x $$ I've tried using computer algebra resourses, and it gave me solution in closed form which looks very awfull with Bessel function of first kind and Gamma function. So let's make it easier, is there any way to find a series $y(x) = \sum a_n x^n$ that formally solve this differential equation (i calculated some first coeffitients, but i can't solve infinite system of linear equations on coeffitients and i can't find a good formula for $a_n$)?

Travis Willse
  • 108,056
alphbt
  • 73
  • 4
  • 6
    It's a Riccati equation. You could set $y=-z'/z$, the resulting linear DE has an easier power series, but then $y$ will be a quotient of power series... – Lutz Lehmann Jul 18 '22 at 21:53

2 Answers2

5

This equation is a Riccati equation; applying a standard technique linearizes the equation and, in our case, lets us express the general solution compactly in terms of the Airy functions (see below).

Write $y$ as the negative logarithmic derivative of some function $u$---$$y = -\frac{d}{dx}\log u,$$ ---which transforms our equation to the second-order, linear equation $$u'' - 2 x u = 0.$$ Changing variables to $t = 2^{1/3} x$ then yields the Airy equation, $$u''(t) - t u(t) = 0.$$ A preferred basis of its solution space is given by the Airy functions, $(\operatorname{Ai}(t), \operatorname{Bi}(t))$ (both functions can be expressed as improper Riemann integrals of elementary functions), so any solution $u(x)$ of our transformed equation has the form $$u(x) = \alpha \operatorname{Ai}(2^{1/3} x) + \beta \operatorname{Bi}(2^{1 / 3} x)$$ for some real coefficients $\alpha, \beta$. Notice that replacing coefficients $(\alpha, \beta)$ with $(\lambda \alpha, \lambda \beta)$, $\lambda \neq 0$, in our expression for $u(x)$ yields the same function $y(x)$, and substituting shows that every such $y(x)$ solve the equation, so our (one-dimensional!) solution space for $y(x)$ is parametrized by the projective line $\Bbb R \Bbb P^2$. In summary, the general solution to our original equation is $$\color{#bf0000}{\boxed{y(x) = -\frac{d}{dx} \log [\alpha \operatorname{Ai}(2^{1/3} x) + \beta \operatorname{Bi}(2^{1/3} x)] , \qquad [\alpha : \beta] \in \Bbb R \Bbb P^2}}.$$

The particular solution satisfying $y(0) = 2$ is given by the unpleasant parameter choice $$[\alpha : \beta] = \left[\sqrt{3}\left(2^{1/3} 3^{5/6} \Gamma\left(\frac{2}{3}\right)^2 + 4 \pi\right) : 2^{1/3} 3^{5/6} \Gamma\left(\frac{2}{3}\right)^2 - 4 \pi\right] ,$$ where $\Gamma$ as usual denotes the gamma function.

The power series solution satisfying the general initial condition $y(0) = C$ begins $$y(x) = C + C^2 x + (C^3 - 1) x^2 + \cdots ,$$ but I don't know a general formula for the coefficients offhand.

user577215664
  • 40,943
Travis Willse
  • 108,056
2

As @Travis Willse wrote, if we can see something, we must use the condition $y(0)=c$. The problem is that these coefficients are not very appealing

$$\left( \begin{array}{cc} n & a_n \\ 0 & c \\ 1 & c^2 \\ 2 & c^3-1 \\ 3 & c^4-\frac{2 c}{3} \\ 4 & c^5-\frac{5 c^2}{6} \\ 5 & c^6-c^3+\frac{1}{5} \\ 6 & c^7-\frac{7 c^4}{6}+\frac{13 c}{45} \\ 7 & c^8-\frac{4 c^5}{3}+\frac{139 c^2}{315} \\ 8 & c^9-\frac{3 c^6}{2}+\frac{87 c^3}{140}-\frac{1}{20} \\ 9 & c^{10}-\frac{5 c^7}{3}+\frac{209 c^4}{252}-\frac{17 c}{162} \\ 10 & c^{11}-\frac{11 c^8}{6}+\frac{671 c^5}{630}-\frac{2167 c^2}{11340} \\ 11 & c^{12}-2 c^9+\frac{93 c^6}{70}-\frac{13 c^3}{42}+\frac{7}{550} \\ 12 & c^{13}-\frac{13 c^{10}}{6}+\frac{2041 c^7}{1260}-\frac{10543 c^4}{22680}+\frac{9301 c}{267300} \\ 13 & c^{14}-\frac{7 c^{11}}{3}+\frac{349 c^8}{180}-\frac{268 c^5}{405}+\frac{1797097 c^2}{24324300} \\ 14 & c^{15}-\frac{5 c^{12}}{2}+\frac{16 c^9}{7}-\frac{19 c^6}{21}+\frac{56909 c^3}{420420}-\frac{1}{308} \\ 15 & c^{16}-\frac{8 c^{13}}{3}+\frac{838 c^{10}}{315}-\frac{3398 c^7}{2835}+\frac{7688249 c^4}{34054020}-\frac{30671 c}{2806650} \\ 16 & c^{17}-\frac{17 c^{14}}{6}+\frac{3859 c^{11}}{1260}-\frac{1003 c^8}{648}+\frac{240005881 c^5}{681080400}-\frac{620143 c^2}{23351328} \\ 17 & c^{18}-3 c^{15}+\frac{489 c^{12}}{140}-\frac{137 c^9}{70}+\frac{1466711 c^6}{2802800}-\frac{30439 c^3}{560560}+\frac{2169}{2618000} \\ 18 & c^{19}-\frac{19 c^{16}}{6}+\frac{2489 c^{13}}{630}-\frac{27569 c^{10}}{11340}+\frac{509000671 c^7}{681080400}-\frac{406671269 c^4}{4086482400}+\frac{56881351 c}{17176698000} \\ 19 & c^{20}-\frac{10 c^{17}}{3}+\frac{559 c^{14}}{126}-\frac{3373 c^{11}}{1134}+\frac{20123489 c^8}{19459440}-\frac{17248789 c^5}{102162060}+\frac{84600899 c^2}{9324493200} \\ 20 & c^{21}-\frac{7 c^{18}}{2}+\frac{99 c^{15}}{20}-\frac{431 c^{12}}{120}+\frac{55817 c^9}{40040}-\frac{108231 c^6}{400400}+\frac{6067273 c^3}{296281440}-\frac{1107}{5236000} \end{array} \right)$$

For $a_n$, in decreasing order, it seems that

  • the first term is $\color{red}{\large c^{n+1}}$
  • the second term is $\color{red}{\large-\frac {n+1} 6 c^{n-2}}$
  • the third term is $\color{red}{\large\frac{35 n^2-71 n+106}{2520}c^{n-5}}$
  • the fourth term is $\color{red}{\large-\frac{35 n^3-318 n^2+465n+818 }{ 45360}c^{n-8}}$

and so forth.

The problem arises from the fact that the coefficients involve a bunch of gamma functions. Formally $$a_3=\frac{ \Gamma \left(\frac{1}{3}\right)^3}{27 \Gamma \left(\frac{4}{3}\right)^3}c^4+ \left(\frac{1}{3}-\frac{\Gamma \left(\frac{1}{3}\right)}{18 \Gamma \left(\frac{4}{3}\right)}+\frac{\Gamma \left(\frac{1}{3}\right) \Gamma \left(\frac{2}{3}\right)}{3 \Gamma \left(-\frac{1}{3}\right) \Gamma \left(\frac{4}{3}\right)}-\frac{\Gamma \left(\frac{1}{3}\right) \Gamma \left(\frac{2}{3}\right)}{9 \Gamma \left(\frac{4}{3}\right) \Gamma \left(\frac{5}{3}\right)}\right)c$$