Skip to main content
Physics LibreTexts

14.8: A First Order Differential Equation

  • Page ID
    5843
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Example \(\PageIndex{1}\)

    Solve \(\dot y + 2y = 3te^t\) with initial condition \(y_0=0\).

    Solution

    If you are in good practice with solving this type of equation, you will probably multiply it through by \(e^{2t}\), so that it becomes

    \[\frac{d}{dt}\left(ye^{2t}\right) = 3te^{3t},\]

    from which

    \(y = (t-\frac{1}{3})e^t + Ce^{-2t}.\)

    (You can now substitute this back into the original differential equation, to verify that it is indeed the correct solution.)

    With the given initial condition, it is quickly found that \(C=\frac{1}{3}\) so that the solution is

    \[y = te^t -\frac{1}{3}e^t + \frac{1}{3} e^{-2t}.\]

    Now, here's the same solution, using Laplace transforms.

    We take the Laplace transform of both sides of the original differential equation:

    \[s\bar{y} +2\bar{y} = 3 \textbf{L}(te^t) = \frac{3}{(s-1)^2}.\]

    Thus

    \[\bar{y} = \frac{3}{(s+2)(s-1)^2}.\]

    Partial fractions:

    \[\bar{y} = \frac{1}{3} \left( \frac{1}{s+2} \right) - \frac{1}{3} \left( \frac{1}{s-1} \right) + \frac{1}{(s-1)^2}.\]

    Inverse transforms:

    \[y=\frac{1}{3} e^{-2t} - \frac{1}{3} e^t +te^t.\]

    You will probably admit that you can follow this, but will say that you can do this at speed only after a great deal of practice with many similar equations. But this is equally true of the first method, too.


    This page titled 14.8: A First Order Differential Equation is shared under a CC BY-NC 4.0 license and was authored, remixed, and/or curated by Jeremy Tatum via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.