Find a general solution of the differential equation

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
Totalderiv
Messages
69
Reaction score
1

Homework Statement


Find a general solution of the differential equation.

[tex](x+y)y' = x-y[/tex]


Homework Equations



[tex]v=x+y[/tex]
[tex]y=v-x[/tex]
[tex]y'=v'-1[/tex]

The Attempt at a Solution


So if I plug this back into the original equation;
[tex]v(v'-1)= x-y[/tex]
How do I convert [tex]v=x+y[/tex] into [tex]x-y[/tex] so that I have only v's and x's? Do I have to make another substitution with x-y?
 
Physics news on Phys.org


Hint:

Make the subst:

[tex] z = \frac{y}{x}[/tex]
because your ode is a homogeneous equation:
[tex] y' = \frac{x - y}{x + y} = \frac{\frac{x - y}{x}}{\frac{x + y}{x}} = \frac{1 - y/x}{1 + y/x}[/tex]

Treat z as a function of x. Exprss y in terms of x and z. Find the derivative w.r.t. x by using the chain rule. What do you get?
 


So it would be;

[tex]y=zx[/tex]
[tex]y'= z+xz'[/tex]
[tex]z+xz' =\frac {1-z}{1+z}[/tex]

How do I isolate the z's and x's in order to integrate?
 


simplify:
[tex] \frac{1 - z}{1 + z} - z[/tex]
You will get an ODE with separated variables x and z.