Question:
Consider the equation $y' + (\cos x)y = e^{-\sin(x)}$. Show that any solution $\varphi$ has the property that $\varphi(\pi k) - \varphi(0) = \pi k, k \in \mathbb{Z}$. General solution: $\varphi(x) = \frac{x}{e^{\sin(x)}} + \frac{c}{e^{\sin(x)}}$
I know this property is true but I do not know how to prove this. Please help me with this.
Well, you have the general solution:
$$\text{y}'\left(x\right)+\cos\left(x\right)\cdot\text{y}\left(x\right)=\exp\left(-\sin\left(x\right)\right)\space\Longleftrightarrow\space\text{y}\left(x\right)=\frac{x+\text{C}}{\exp\left(\sin\left(x\right)\right)}\tag1$$
So, now:
So:
$$\text{y}\left(\text{k}\pi\right)-\text{y}\left(0\right)=\text{k}\pi+\text{C}-\text{C}=\text{k}\pi+0=\text{k}\pi\tag4$$