1. Linear DE

hi

i have to solve this

$\frac{dn}{dt} = f(t)n + g(t)$

i know the solution is

$n=e^{\mu(t)}(\int e^{-\mu(t)}g(t)dt + c)$

$\mu(t) = \int f(t) dt$

how do i arrive at this solution? do i just separate variables, can someone start me of or solve this so i can understand it

many thanks

2. Hi chogo

That's not separation of variables, but integrating factor. Check here : http://www.mathhelpforum.com/math-he...-tutorial.html

3. thanks i read up and understand