Solving ODE dy/dx = (x+y)^2 , y(0)=1

  • Thread starter mat331760298
  • Start date
  • Tags Tags
    Ode
3 replies · 2K views · last reply
mat331760298
Messages
13
Reaction score
0
solve dy/dx = (x+y)^2 , y(0)=1

i let w = (x+y) and got the above equation rearranged to dw/dx - 1=w^2

after solving for C i got y=tan(x-pi/4) - x

just wanted to check my answer
 


then
w = x+y=x+(tan(x-pi/4)-x) = tan(x-pi/4)
dw/dx = sec(x-pi/4)^2 = 1+tan(x-pi/4)^2