TranscendArcu
- 277
- 0
Homework Statement
Solve the differential equation: y' + cos(x)y = cos(x)
The Attempt at a Solution
y' = cos(x)(1 -y)
\frac{dy}{1-y} = cos(x) dx
-ln|1-y| = sin(x) + C
\frac{1}{1-y} = e^{sin(x)} + C
1-y = \frac{1}{e^{sin(x)} + C}
y = \frac{-1}{e^{sin(x)} + C} + 1
Have I done this correctly?