I was reading my notes and at some point I write that in solving a first order linear DE using the integrating factor the final solution should have only one arvitrary constant arising from the integration of $Q(x)e^{\int P(x)dx}$ and so $e^{\int P(x)dx}$ does not contain an arbitrary constant.
Essentially what this means is that if $$\frac{dy}{dx}+P(x)\cdot y=Q(x) \Rightarrow y=e^{-\int P(x)dx}\int Q(x)e^{\int P(x)dx}dx,$$the only constant that would determine a particular solution would be the one arising from the second integral and not the one in the exponent. Why is this?
I understand that since this is a firstorder DE is should only involve one constant, but what about what I ask above?
If I define $\int P(x)dx=f(x) + C$ and substitute above, this would yield $$y=e^{-f(x)+c}\int Q(x)e^{-f(x)+c}dx=e^{-f(x)}e^{2c}\int Q(x)e^{-f(x)}dx$$and now also define $\int Q(x)e^{-f(x)}dx=g(x)+k$ we have$$y=e^{-f(x)}e^{2c}\left(g(x)+k\right)=e^{2c}\cdot e^{-f(x)}g(x)+ke^{2c}\cdot e^{-f(x)}$$ so wouldn't the constant of integration $c$ also affect the final solution?
Thanks in advance!