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

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|cite|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 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

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$





share|cite|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.