1st order homogenous ODE: (x+y)dy/dx=(x-y)

  • Thread starter 2h2o
  • Start date
  • Tags
    Ode
In summary, the conversation is about finding a general solution to the problem (x+y)dy/dx = x-y. The attempt at a solution involves manipulating the equation and using v=y/x to make it more manageable. The final solution involves collecting all the v's on the right side and integrating to find the general solution.
  • #1
2h2o
53
0

Homework Statement


Find a general solution

Homework Equations


[tex] (x+y)\frac{dy}{dx} = x-y [/tex]

The Attempt at a Solution


[tex]

\frac{dy}{dx} = \frac{x-y}{x+y}

[/tex]

let v=y/x
y=xv

[tex]

\frac{dy}{dx} = v+x\frac{dv}{dx}

[/tex]

now,

[tex]

v+x\frac{dv}{dx} = \frac{x-xv}{x+xv} [/tex]

[tex]= \frac{1-v}{1+v} [/tex]

[tex]= \frac{1}{1+v} - \frac{v}{1+v} [/tex]

[tex]=\frac{1}{1+\frac{y}{x}}-\frac{\frac{y}{x}}{1+\frac{y}{x}}[/tex]

Which takes me back to where I started if I clear the denominators, so I'm spinning the wheels. This looks very familiar to me, but I don't recall what it is or what to do with it. Separate the variables, then integrate? Could do it, wrt v, by parts, but isn't there a more efficient way?
 
Last edited:
Physics news on Phys.org
  • #2
Well, first, v/(1+v) = ((v+1)-1)/(1+v) = 1 - 1/(v+1). So that will help.
 
  • #3
Ok, that gets me a little further, but I still run into trouble:

[tex]
= \frac{1}{1+v} - \frac{v}{1+v}
[/tex]

[tex]
= \frac{1}{1+v} - \frac{(1+v)-1}{1+v}
[/tex]

[tex]
= \frac{1}{1+v} - 1 + \frac{1}{1+v}
[/tex]

[tex]
= \frac{2}{1+v} - 1
[/tex]

[tex]
= \frac{2-(1+v}{1+v}
[/tex]

[tex]
= \frac{2}{1+v} - 1
[/tex]

Which will lead me again, back to my starting point. When do I actually start back-substituting to get something useful?
 
  • #4
Problem solved: way back in one of the first steps, I found it to be much easier if I collect all the v's on the RHS (but leaving x*dv/dx on the LHS) and onwards from there. Thanks Char, for trying to help anyway :)
 

FAQ: 1st order homogenous ODE: (x+y)dy/dx=(x-y)

What is a first-order homogeneous ODE?

A first-order homogeneous ODE (ordinary differential equation) is a mathematical expression that describes the relationship between a function and its derivative, where the function and its derivatives are of the same degree. In other words, the function and its derivative have the same power. In this case, the ODE is said to be homogeneous.

What does "homogeneous" mean in the context of ODEs?

In the context of ODEs, "homogeneous" means that all terms in the equation have the same degree. In other words, the function and its derivatives have the same power. This allows for the use of substitution techniques to solve the ODE.

How do you solve a first-order homogeneous ODE?

To solve a first-order homogeneous ODE, you can use the substitution method. This involves substituting y = vx into the equation and solving for x in terms of v. Then, substitute back for y and solve for v. Finally, use the initial conditions to find the specific solution.

What are the applications of first-order homogeneous ODEs?

First-order homogeneous ODEs have various applications in science and engineering, including in population dynamics, chemical reactions, and circuit analysis. They can also be used to model other real-world phenomena, such as radioactive decay and population growth.

What are the differences between a homogeneous and non-homogeneous ODE?

The main difference between a homogeneous and non-homogeneous ODE is the degree of the terms in the equation. A homogeneous ODE has all terms of the same degree, while a non-homogeneous ODE has terms of different degrees. This affects the methods used to solve the ODE, with homogeneous ODEs typically being easier to solve using substitution techniques.

Back
Top