2.19   ODE No. 19

  1. Problem in Latex
  2. Mathematica input
  3. Maple input

y(x)(y(x)+x)2=0 Mathematica : cpu = 0.0549314 (sec), leaf count = 14

{{y(x)x+tan(x+c1)}} Maple : cpu = 0.039 (sec), leaf count = 16

{y(x)=xtan(x+_C1)}

Hand solution

y(y+x)2=0(1)y=(y+x)2

This is Riccati first order non-linear ODE of the form. Let u=y+x, then u=y+1 and (1) becomesu1=u2u=1+u2

This is separabledudx11+u2=1du1+u2=dxtan1u=x+Cu=tan(x+C)

Since u=y+x then

y=tan(x+C)x