Given the following differential equation i have to find the general solution using the integrating factor technique. $$\frac{dy}{dx}+\frac{y}{x}=e^x$$
I know that P(x) = $\frac{1}{x}$ and Q(x)=$e^x$ also i found $\mu(x)=e^{lnx}$
Using the formula $$y=\frac{1}{\mu(x)}{\int {\mu(x) Q(x)} dx }$$ i found this general solution: $$\frac{e^xx}{x}-\frac{e^x}{x}+\frac{C}{x}$$
Im not sure if this is correct.