For the following question verify that the given function (explicit or implicit) is a solution of the corresponding differential equation.
x+y=tan−1y and y2y′+y2+1=0
Given, x+y=tan−1y ....(i)
On differentiating both sides w.r.t. x, we get
ddx(x+y)=ddxtan−1y⇒1+y′=11+y2(y′) (∵dydx=y′)⇒(1+y′)(1+y2)=y′⇒1+y2+y′+y2y′=y′⇒1+y2+y2y′=0⇒y′=−(1+y2)y2
But we have to verify, y2y′+y2+1=0 ...(ii)
On substituting the value of y'in Eq.(ii), we get
LHS=y2{−(1+y2)y2}+y2+1 =−(1+y2)+(1+y2)=0=RHS
Hence, x+y=tan−1y is a solution of the given differential equation.