I have the following differential equation ;

$$\frac{\partial z}{\partial t}+\alpha z\left(t\right)=y\left(t\right)$$

I tried to find the general solution by multiplying two sides by $e^{\alpha t}$ but it did not work and I can not figure out how to find the general solution.

  • $\begingroup$ What did you obtain after multiplying by $\exp(\alpha t)$? Where do you get stuck? $\endgroup$ – TZakrevskiy May 21 '15 at 11:14
  • 1
    $\begingroup$ don't you have to specify what $y(t)$ is first? $\endgroup$ – David Quinn May 21 '15 at 11:14

I like to do it like this:

Substitute $z=uv$

$u'v+uv'+a uv=y$

If I had no unprimed function, then I could simply integrate the expression to find the answer. So I will focus on the second and the third term. I will make it zero. Since I choose $u$ and $v$ I can do this:

$$uv'+a uv=0$$



OR if you want to be more general:

$$v=e^{-\int a dt}$$

This will work if a is a function of t

Substitute this back to the original equation, remember the middle two terms are zero:



$$u=\int ye^{at}dt+C$$

Combine $z=uv$

$$z=e^{-at}(\int ye^{at}dt+C)$$

Or using the more general expression:

$$z=e^{-\int a dt}(\int ye^{\int a dt}dt+C)$$

This formula will work for ALL first order linear differential equations (nonconstant coefficients and nonhomogenous). Just divide by the leading coefficient.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.