Separation of Variables: How to integrate (x+2y)y'=1 y(0)=2?

Click For Summary
SUMMARY

The discussion focuses on solving the differential equation (x + 2y)y' = 1 with the initial condition y(0) = 2 using the method of separation of variables. The user initially struggled with the substitution u = 2y + x, leading to the transformed equation dy/dx = 1/(x + 2y). Despite challenges in separating variables, the user successfully derived a solution using linear differential equations, resulting in x = -2y - 2 + 6e^(y - 2). The final answer aligns with the expected solution format, confirming the validity of the separation of variables approach.

PREREQUISITES
  • Understanding of first-order differential equations
  • Familiarity with the method of separation of variables
  • Knowledge of substitution techniques in differential equations
  • Basic calculus concepts, including differentiation and integration
NEXT STEPS
  • Study the method of separation of variables in greater depth
  • Explore substitution methods for solving differential equations
  • Learn about linear differential equations and their solutions
  • Practice solving initial value problems using various techniques
USEFUL FOR

Students and educators in mathematics, particularly those studying differential equations, as well as anyone seeking to enhance their problem-solving skills in calculus.

jenettezone
Messages
8
Reaction score
0

Homework Statement


Use separation of variables to solve (x+2y)y'=1 y(0)=2

Homework Equations


u=2y+x >>I did not know how to start this, so i looked at the back of the book and it said to use that substitution
y=(u-x)/2, du=2dy+dx, dy=(du-dx)/2

The Attempt at a Solution


so i got the following:

dy/dx=1/(x+2y)
(du-dx)/(2dx)=1/(x+2(u+x)/2)
(du-dx)/(2dx)=1/u

I could not separate the variables from here. Also, according to the back of the book, the answer is supposed to be 2y-2ln|2+x+2y|+4+2ln2=0. But the term -2ln|2+x+2y| has both x and y variables, so aren't the variables not separated? That still qualifies as a solution by Separation of Variables?
 
Physics news on Phys.org
dx/dx=1, so you last equation is du/dx-1/2=1/u. Can you separate u and x in that? And, no, the equation doesn't separate in y and x, but it does in u and x and I think that counts as a 'separation of variables' solution after the substitution.
 
I finally solved it, thank you! :smile: :smile: :smile:
 
I got a different answer using linear differential equations.

dy/dx = 1/(x + 2y)
dx/dy = x + 2y

dx/dy - x = 2y

The answer i got was: x = -2y -2 + 6e^(y-2)

Differentiating it again returns me to the original differential
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
5
Views
2K
  • · Replies 24 ·
Replies
24
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
19
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
13
Views
2K