$a$ and $b$ are two odd functions, continuous on R.
How can I prove that the solution of the differential equation $y' + ay = b$ is even.
I tried to find the solutions of the differential equation using the method of "variation of constants", but I have a sign problem.
Here is what I tried :
The homogeneous solution of the equation is $$y_{h} = \lambda.e^{-A(x)}$$ Where $A(x) = \int a(x)dx$
Furthermore, $A(x)$ is a even function, considering that $a(x)$ is odd.
Using the "variation of the constants" method, we get a particular solution of the equation:
$y_{p} =\lambda (x).e^{-A(x)}$
$y'_{p} =\lambda '(x).e^{-A(x)} - a(x).y_{p}$
Therefore : $\lambda '(x).e^{-A(x)} = b(x) $
$\lambda (x) = \int b(x).e^{A(x)} dx $ $$y_{p} = e^{-A(x)}. \int b(x).e^{A(x)} dx$$
Therefore, the solution of the differential equation is : $$ y(x) = \lambda.e^{-A(x)} + e^{-A(x)}. \int b(x).e^{A(x)} dx$$
Considering that $b$ is odd and $A$ is even , we get: $$y(-x) = \lambda.e^{-A(x)} - e^{-A(x)}. \int b(x).e^{A(x)} dx$$
But $$y(x) \neq y(-x)$$
I think it is simpler than that - you can use the definitions of odd and even functions.
You have $y'(x)+a(x)y(x)=b(x)$
If you set $x=-z$ you get $y'(-z)+a(-z)y(-z)=b(-z)$
Now from the chain rule you have $y'(-x)=-y'(x)$, so rename $z$ as $x$ in the second equation and add to eliminate $y'$ and see what you get.