# Simple differential equation problem

• Apr 6th 2009, 04:59 PM
chengbin
Simple differential equation problem
$(1+x^2)y\frac {dy} {dx}+(1+y^2)x=0$

This is the steps the solution book gave.

Rearranging the original equation

$\frac {y} {1+y^2} dy=-\frac {x} {1+x^2} dx$

Integrating both sides

$\frac {1} {2} \ln(1+y^2)=-\frac {1} {2} \ln(1+x^2)+c$

Usually in this step I solve for y (which is what the book has been doing before too), and I get rid of the ln function. But in this question my solution book gives this.

$\ln[(1+x^2)(1+y^2)]=2c$

$(1+x^2)(1+y^2)=e^{2c}$

Why?

$(1+x^2)(1+y^2)=k$ after replacing k with $e^{2c}$

Is this the same thing as solving for y, but written in a different form?
• Apr 6th 2009, 05:06 PM
mr fantastic
Quote:

Originally Posted by chengbin
$(1+x^2)y\frac {dy} {dx}+(1+y^2)x=0$

This is the steps the solution book gave.

Rearranging the original equation

$\frac {y} {1+y^2} dy=-\frac {x} {1+x^2} dx$

Integrating both sides

$\frac {1} {2} \ln(1+y^2)=-\frac {1} {2} \ln(1+x^2)+c$

Usually in this step I solve for y (which is what the book has been doing before too), and I get rid of the ln function. But in this question my solution book gives this.

$\ln[(1+x^2)(1+y^2)]=2c$

$(1+x^2)(1+y^2)=e^{2c}$

Why?

$(1+x^2)(1+y^2)=k$ after replacing k with $e^{2c}$