To solve the given differential equation, we start by analyzing the equation:
(x−y−1)dy=(x+y+1)dxThis can be rewritten in differential form as:
=This expression can also be represented as:
=Introduce a substitution where
y+1=z. Thus, we have:
=After substitution, the equation becomes:
=Next, we use another substitution
z=vx. Therefore, we differentiate
z with respect to
x :
=v+xSubstituting this back into our equation results in:
v+x=Reorganize terms and separate variables:
x=This simplifies to:
()dv=Integrating both sides, we have:
∫(−)dv=∫The integrals yield:
tan−1v−log|1+v2|=logx+CSubstitute back
v= :
tan−1−log||=logx+CSimplifying using
z=y+1 :
tan−1()−log||−logx=CFinally, this simplifies to:
tan−1()−log|x2+y2+2y+1|=C