Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do you solve $y''+\frac{x}{2}y'+y=0$ where $y'=\frac{\partial y}{\partial x}$

What is confusing me is that once I say $g=y'$ I'm left with :


I can't use seperation by parts here. How would one proceed here? Thank you.


share|cite|improve this question
Use power series technique. – Mhenni Benghorbal Oct 28 '13 at 20:12
There are two unknown functions in your DE: $g'+\frac{x}{2}g+y=0$. To solve this for $g$ you have to know what $y$ is first. When you put $y$ in terms of $g$ you see that there is also an integral of $g$ there. – daulomb Oct 29 '13 at 11:55

In fact this question is similar to solution of ordinary differential equations:

Let $y=\int_Ce^{xu}K(u)~du$ ,

Then $(\int_Ce^{xu}K(u)~du)''+\dfrac{x}{2}(\int_Ce^{xu}K(u)~du)'+\int_Ce^{xu}K(u)~du=0$







$\therefore uK'(u)-(2u^2+1)K(u)=0$




$\ln K(u)=u^2+\ln u+c_1$


$\therefore y=\int_Ccue^{u^2+xu}~du$

But since the above procedure in fact suitable for any complex number $u$ ,

$\therefore y_n=\int_{a_n}^{b_n}c_n(k_nt)e^{(k_nt)^2+xk_nt}~d(k_nt)={k_n}^2c_n\int_{a_n}^{b_n}te^{{k_n}^2t^2+k_nxt}~dt$

For some $x$-independent real number choices of $a_n$ and $b_n$ and $x$-independent complex number choices of $k_n$ such that:

$\lim\limits_{t\to a_n}t^2e^{{k_n}^2t^2+k_nxt}=\lim\limits_{t\to b_n}t^2e^{{k_n}^2t^2+k_nxt}$

$\int_{a_n}^{b_n}te^{{k_n}^2t^2+k_nxt}~dt$ converges

For $n=1$, the best choice is $a_1=0$ , $b_1=\infty$ , $k_1=\pm i$

$\therefore y=C_1\int_0^\infty te^{-t^2}\cos xt~dt$ or $C_1\int_0^\infty te^{-t^2}\sin xt~dt$

Hence $y=C_1\int_0^\infty te^{-t^2}\sin xt~dt+C_2\int_0^\infty te^{-t^2}\cos xt~dt$

share|cite|improve this answer
Well done! This was not a trivial problem – nbubis Nov 1 '13 at 5:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.