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 would I solve these differential equations?


I tried finding integral product but couldn't find its integral. And also tried to trasform into homogen equation.

and the second one is:

$$xe^{2y}y'+e^{2y}=\frac{\ln x}{x}$$

How can I start? Thanks.

share|cite|improve this question
up vote 2 down vote accepted

Well, I can figure out the second one. My guess was we could get the left side of the equation to look like

$$\frac d{dx}(f(x)e^{2y})=2f(x)e^{2y}y'+f'(x)e^{2y}$$

through the use of an integrating factor. So we have


$$\ln f(x)=2\ln x$$ $$f(x)=x^2$$

To get the equation into the proper form, multiply both sides by $2x$.

$$2x^2e^{2y}y'+2xe^{2y}=\frac d{dx}(x^2e^{2y})=2\ln x$$

I assume you can take this one from here?

share|cite|improve this answer
Great use of the integrating factor. (+1) – Pragabhava Nov 18 '12 at 20:43
$x^2e^{2y}=2(x\ln x -x+ c)$ I see. – lyme Nov 19 '12 at 2:04
can we get that "x" the integrating factor from $e^{\int\frac{M_y - N_x}{N}dx}=$$e^{\ln x}$=x ? thank you. – lyme Nov 19 '12 at 2:11

For the first equation, take $y = \frac{A}{x}$, then $$ y' + 2 y^2 = -\frac{A}{x^2} + 2 \frac{A^2}{x^2} = \frac{6}{x^2} $$ Hence $$ 2 A^2 - A - 6 = 0 $$ and $$ A = \begin{cases} \hskip.5cm 2 \\ -\tfrac{3}{2} \end{cases} $$ There are two solutions $$ y_1(x) = -\frac{3}{2 x} \mbox{ and } y_2(x) = \frac{2}{x} $$

If you want to do a "formal" derivation of the ansat, you should note that the first equation is a Riccati equation.

share|cite|improve this answer
Thank you. if the equation was like $y'+ay^2=bx^c$, ($a,b,c \in \Bbb R$) would it be riccati again? – lyme Nov 19 '12 at 2:24
@mehmtDemir Indeed it is. A Ricatti equation is of the form $$y' = q_0(x) + q_1(x)y + \color{red}{q_2(x)y^2}.$$ If it involves $y'$, $y$ and $y^2$ linearly it's a Riccati type equation, and can always be linearized. – Pragabhava Nov 19 '12 at 2: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.