Solve ODE by Substitution: Find General Solution

  • Thread starter Thread starter thereddevils
  • Start date Start date
  • Tags Tags
    Ode Substitution
thereddevils
Messages
436
Reaction score
0

Homework Statement



By means of substitution x=X+1, y=Y+2 ,shwo that the equation dy/dx=(2x-y)/(x+2y+5) can be reduced to dY/dX=(2X-Y)/(X+2Y).Hence, find the general solution of the given equation.

Homework Equations





The Attempt at a Solution



The first part is quite simple to prove.

Second part,

since its a homogenous differential equation, i would use the substitution Y=vX here.

v+X(dv/dX)=(2X-vX)/(2vX+X)

-\frac{1}{2}\int \frac{4v+2}{2v^2+2v+2} dv=\int \frac{1}{X} dx

ln |2v^2+2v+2|=-2ln |X|-c

then v=Y/X

ln |(2Y^2)/X^2+2Y/X+2|=-2ln |X|-c'

Then substitute back again from the first part,

the solution is

ln |2(y-2)^2/(x-1)^2+2(y-2)/(x-1)+2|=-2ln |x-1|-c'

AM i correct?
 
Physics news on Phys.org


thereddevils said:
-\frac{1}{2}\int \frac{4v+2}{2v^2+2v+2} dv=\int \frac{1}{X} dx

check this again because i got

-\frac{1}{2}\int \frac{4v+2}{2v^2+2v-2} dv=\int \frac{1}{X} dX
 


annoymage said:
check this again because i got

-\frac{1}{2}\int \frac{4v+2}{2v^2+2v-2} dv=\int \frac{1}{X} dX

ok thanks ,how bout the rest?
 


thereddevils said:
ln |2v^2+2v+2|=-2ln |X|-c

then v=Y/X

ln |(2Y^2)/X^2+2Y/X+2|=-2ln |X|-c'

hmm, why do you change c to c' ?

and, others correct if I'm not wrong.

p/s: don't forget change the negative sign, :biggrin:
 
Last edited:


annoymage said:
hmm, why do you change c to c' ?

and, others correct if I'm not wrong.

p/s: don't forget change the negative sign, :biggrin:

oh, maybe its not necessary. I multiplied both sides with 2 so c is now 2c and c'=2c

Is it ok to not change? Would it affect the equation?
 


thereddevils said:
oh, maybe its not necessary. I multiplied both sides with 2 so c is now 2c and c'=2c

Is it ok to not change? Would it affect the equation?
You did the right thing even though c and c' are arbitrary constants.
 


yea, but you already multiply both side

"ln |2v^2+2v+2|=-2ln |X|-c

then v=Y/X

ln |(2Y^2)/X^2+2Y/X+2|=-2ln |X|-c' "

and you didn't multiplied here, correct me if I'm wrong
 
Back
Top