Skip to content
doubtly
Topic: Differential Equations· Mathematics

The general solution of dy dx=x+y+1/x+y-1 is

A. \(y=x+\log (x+y)+c\), where c is a constant of integration.

B. \(y=x-\log (x+y)+c\), where c is a constant of integration.

C. \(y=x-\log (2x+y)+c\), where c is a constant of integration.

D. \(y={x}^{2}+\log (x+y)+c\), where c is a constant of integration.

1 answer

Best answer

Answer: (A) \(y=x+\log (x+y)+c\), where c is a constant of integration.

Set \(u=x+y\). Then \(du/dx=1+dy/dx=2u/(u-1)\).

For \(u\ne0\), integrate \((1-1/u)\,du=2\,dx\) to get \(u-\ln\lvert u\rvert=2x+c\).

This is \(y=x+\ln\lvert x+y\rvert+c\), which matches A on \(x+y>0\). The separate solution \(y=-x\) also satisfies the original equation.

Doubtly AI · 2 Dec 2026 AI-generated · not yet verified Report
Was this answer helpful?

Practise this chapter

Mathematics

Take a 10-question test new questions each time · marked instantly · free

Your answer

Log in or create a free account to answer this question.