Skip to main contentSkip to solution

The solution of the differential equation dydx+y=1,y(1)=0\frac{dy}{dx} + y = 1, y(1) = 0 is

Solution

✅ Correct Option: 4

Separating, dy1−y=dx\frac{dy}{1-y}=dx gives −log⁡∣1−y∣=x+C-\log|1-y|=x+C. Using y(1)=0y(1)=0: 0=1+C0=1+C, so C=−1C=-1 and log⁡∣1−y∣=1−x\log|1-y|=1-x.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question