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

  • Thread starter Thread starter mat331760298
  • Start date Start date
  • Tags Tags
    Ode
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
 
Physics news on Phys.org


w = (x+y) then
dw/dx = 1+dy/dx
dw/dx = 1 + w^2

this part looks ok
 


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
 


just remains to check IC
w(0) = tan(-pi/4)

does that look correct?
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top