dy/dx + y = 1, y ≠ 1
Rearrange the equation: dy/dx = 1 − y.
Since y ≠ 1, separate variables: dy/(1 − y) = dx.
Integrate: −ln|1 − y| = x + C₁, or ln|1 − y| = −x + C.
Exponentiating gives 1 − y = C₂e⁻ˣ, so y = 1 − C₂e⁻ˣ.
The condition y ≠ 1 excludes C₂ = 0.