Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Suppose we have the following second-order differential equation:

$\cos^2(x)y'' -\sin(x)y' + y = 0$

How do we determine its general solution? I couldn't even guess a particular solution; all my efforts led nowhere. I started off with something like $y = Ae^{B\cos(x)}$ but needless to say, that also looked like a dead-end.

share|improve this question
I wish I knew how to substitute for x in an equation like this. My guess for a solution for an equation like this would be more along the lines of $y=k(\sec x+\tan x)^n$ –  Mike Oct 9 '12 at 21:41
Please read tw.knowledge.yahoo.com/question/question?qid=1011101609747 which is in another Q&A site. Most often we can only transform them to the 2nd order linear ODEs with polynomial function coefficients. –  doraemonpaul Oct 9 '12 at 22:25

1 Answer 1

This is a linear ODE of trigonometric function coefficients. The current approach of solving it is to transform it to a linear ODE of polynomial function coefficients first.

Let $u=\cos x$ ,

Then $\dfrac{dy}{dx}=\dfrac{dy}{du}\dfrac{du}{dx}=-(\sin x)\dfrac{dy}{du}$

$\dfrac{d^2y}{dx^2}=\dfrac{d}{dx}\left(-(\sin x)\dfrac{dy}{du}\right)=-(\sin x)\dfrac{d}{dx}\left(\dfrac{dy}{du}\right)-(\cos x)\dfrac{dy}{du}=-(\sin x)\dfrac{d}{du}\left(\dfrac{dy}{du}\right)\dfrac{du}{dx}-(\cos x)\dfrac{dy}{du}=-(\sin x)\dfrac{d^2y}{du^2}(-\sin x)-(\cos x)\dfrac{dy}{du}=(\sin^2x)\dfrac{d^2y}{du^2}-(\cos x)\dfrac{dy}{du}$

$\therefore(\cos^2x)\left((\sin^2x)\dfrac{d^2y}{du^2}-(\cos x)\dfrac{dy}{du}\right)+(\sin^2 x)\dfrac{dy}{du}+y=0$

$(\cos^2x)(1-\cos^2x)\dfrac{d^2y}{du^2}+(1-\cos^2 x-\cos^3x)\dfrac{dy}{du}+y=0$



Since the coefficient of $\dfrac{d^2y}{du^2}$ is in quartic function and the coefficient of $\dfrac{dy}{du}$ is in cubic function, it belongs to a Heine–Stieltjes equation which is much more difficult than Heun equation, i.e. the coefficient of $\dfrac{d^2y}{du^2}$ is in cubic function and the coefficient of $\dfrac{dy}{du}$ is in quadratic function.

share|improve this answer

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.