Concept:This is an exact differential equation. We find a potential function Φ(x,y) and apply the initial condition to determine the constant.Explanation:The given equation is ydx+(x+lny)dy=0.Check exactness: ∂y∂(y)=1 and ∂x∂(x+lny)=1, so it is exact.Let Φ(x,y) satisfy ∂x∂Φ=y. Then Φ=xy+h(y).Differentiate w.r.t. y: ∂y∂Φ=x+h′(y). This must equal x+lny.Thus h′(y)=lny, so h(y)=ylny−y (since ∫lnydy=ylny−y).Hence the general solution is Φ=xy+ylny−y=C.Use y(0)=1: 0⋅1+1⋅ln1−1=C⇒C=−1.Therefore xy+ylny−y=−1, which rearranges to y(x−1+lny)+1=0.Answer:Option A: y(x−1+logy)+1=0.