Solve ODE by Substitution: Find General Solution

In summary: So, it is ok not to change c to c'.In summary, the conversation discusses solving a differential equation through substitution and finding the general solution. The first part is proven to be simple, and the second part involves using a homogeneous differential equation and the substitution Y=vX. The solution is found by substituting back into the first part and using arbitary constants c and c'.
  • #1
thereddevils
438
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)

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

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
  • #2


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

check this again because i got

[tex]-\frac{1}{2}\int \frac{4v+2}{2v^2+2v-2} dv=\int \frac{1}{X} dX[/tex]
 
  • #3


annoymage said:
check this again because i got

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

ok thanks ,how bout the rest?
 
  • #4


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:
  • #5


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?
 
  • #6


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.
 
  • #7


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
 

FAQ: Solve ODE by Substitution: Find General Solution

What is the concept of substitution in solving ODEs?

In solving ODEs, substitution involves substituting a new variable or function in place of the independent variable in the given differential equation. This is done to simplify the equation and make it easier to solve.

How does substitution help in finding the general solution of an ODE?

Substitution helps in finding the general solution of an ODE by reducing the equation to a simpler form that can be easily integrated. This allows us to find an expression for the dependent variable in terms of the new variable, which can then be inverted to obtain the general solution.

What are the steps involved in solving an ODE by substitution?

The steps involved in solving an ODE by substitution are as follows:

  1. Identify the independent and dependent variables in the given equation.
  2. Select a suitable substitution that will simplify the equation.
  3. Apply the substitution and solve the resulting equation for the new variable.
  4. Invert the solution to obtain the general solution in terms of the dependent variable.

Can substitution be used to solve all types of ODEs?

No, substitution cannot be used to solve all types of ODEs. It is most effective for first-order ODEs, particularly those that are separable or linear. In some cases, substitution may also be used for second-order ODEs, but it may not always result in a general solution.

What are some common substitution techniques used in solving ODEs?

Some common substitution techniques used in solving ODEs include:

  • u-substitution: replacing the independent variable with a new variable u to simplify the equation.
  • v-substitution: replacing the dependent variable with a new function v to make the equation separable.
  • Parametric substitution: replacing the dependent variable with a parameter to convert the ODE into a system of first-order equations.
Back
Top