The solution of dydx=3x+y is
3x+y=c
3x+3y=c
3x-y=c
3x+3-y=c
Explanation for the correct option:
Find the solution of given differential equation
Given: dydx=3x+y
⇒dydx=3x.3y⇒3-ydy=3xdx
On integrating both sides, we get∫3−ydy=∫3xdx[∵∫axdx=axlna]⇒−3−ylog3=3xlog3+k⇒−3−ylog3=3x+klog3log3⇒−3−y=3x+klog3⇒3x+3−y=c, where c=−klog3
Hence, option (D) is the correct answer.