Skip to main content
Mathematics LibreTexts

4: Introduction to Differential Equations

  • Page ID
    130093
  • \( \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}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    In using the technique of integration by parts, you must carefully choose which expression is \(u\). For each of the following problems, use the guidelines in this section to choose \(u\). Do not evaluate the integrals.

    1) \(\displaystyle ∫x^3e^{2x}\,dx\)

    Answer
    \( u=x^3\)

    2) \(\displaystyle ∫x^3\ln(x)\,dx\)

    3) \(\displaystyle ∫y^3\cos y\,dy\)

    Answer
    \(u=y^3\)

    4) \(\displaystyle ∫x^2\arctan x\,dx\)

    5) \(\displaystyle ∫e^{3x}\sin(2x)\,dx\)

    Answer
    \(u=\sin(2x)\)

    In exercises 6 - 37, find the integral by using the simplest method. Not all problems require integration by parts.

    6) \(\displaystyle ∫v\sin v\,dv\)

    7) \(\displaystyle ∫\ln x\,dx\) (Hint: \(\displaystyle ∫\ln x\,dx\) is equivalent to \(\displaystyle ∫1⋅\ln(x)\,dx.)\)

    Answer
    \(\displaystyle ∫\ln x\,dx \quad = \quad−x+x\ln x+C\)

    8) \(\displaystyle ∫x\cos x\,dx\)

    9) \(\displaystyle ∫\tan^{−1}x\,dx\)

    Answer
    \(\displaystyle ∫\tan^{−1}x\,dx\quad = \quad x\tan^{−1}x−\tfrac{1}{2}\ln(1+x^2)+C\)

    10) \(\displaystyle ∫x^2e^x\,dx\)

    11) \(\displaystyle ∫x\sin(2x)\,dx\)

    Answer
    \(\displaystyle ∫x\sin(2x)\,dx \quad = \quad −\tfrac{1}{2}x\cos(2x)+\tfrac{1}{4}\sin(2x)+C\)

    12) \(\displaystyle ∫xe^{4x}\,dx\)

    13) \(\displaystyle ∫xe^{−x}\,dx\)

    Answer
    \(\displaystyle ∫xe^{−x}\,dx \quad = \quad e^{−x}(−1−x)+C\)

    14) \(\displaystyle ∫x\cos 3x\,dx\)

    15) \(\displaystyle ∫x^2\cos x\,dx\)

    Answer
    \(\displaystyle ∫x^2\cos x\,dx \quad = \quad 2x\cos x+(−2+x^2)\sin x+C\)

    16) \(\displaystyle ∫x\ln x\,dx\)

    17) \(\displaystyle ∫\ln(2x+1)\,dx\)

    Answer
    \(\displaystyle ∫\ln(2x+1)\,dx \quad = \quad \tfrac{1}{2}(1+2x)(−1+\ln(1+2x))+C\)

    18) \(\displaystyle ∫x^2e^{4x}\,dx\)

    19) \(\displaystyle ∫e^x\sin x\,dx\)

    Answer
    \(\displaystyle ∫e^x\sin x\,dx \quad = \quad \tfrac{1}{2}e^x(−\cos x+\sin x)+C\)

    20) \(\displaystyle ∫e^x\cos x\,dx\)

    21) \(\displaystyle ∫xe^{−x^2}\,dx\)

    Answer
    \(\displaystyle ∫xe^{−x^2}\,dx \quad = \quad −\frac{e^{−x^2}}{2}+C\)

    22) \(\displaystyle ∫x^2e^{−x}\,dx\)

    23) \(\displaystyle ∫\sin(\ln(2x))\,dx\)

    Answer
    \(\displaystyle ∫\sin(\ln(2x))\,dx \quad = \quad −\tfrac{1}{2}x\cos[\ln(2x)]+\tfrac{1}{2}x\sin[\ln(2x)]+C\)

    24) \(\displaystyle ∫\cos(\ln x)\,dx\)

    25) \(\displaystyle ∫(\ln x)^2\,dx\)

    Answer
    \(\displaystyle ∫(\ln x)^2\,dx \quad = \quad 2x−2x\ln x+x(\ln x)^2+C\)

    26) \(\displaystyle ∫\ln(x^2)\,dx\)

    27) \(\displaystyle ∫x^2\ln x\,dx\)

    Answer
    \(\displaystyle ∫x^2\ln x\,dx \quad = \quad −\frac{x^3}{9}+\tfrac{1}{3}x^3\ln x+C\)

    28) \(\displaystyle ∫\sin^{−1}x\,dx\)

    29) \(\displaystyle ∫\cos^{−1}(2x)\,dx\)

    Answer
    \(\displaystyle ∫\cos^{−1}(2x)\,dx \quad = \quad −\tfrac{1}{2}\sqrt{1−4x^2}+x\cos^{−1}(2x)+C\)

    30) \(\displaystyle ∫x\arctan x\,dx\)

    31) \(\displaystyle ∫x^2\sin x\,dx\)

    Answer
    \(\displaystyle ∫x^2\sin x\,dx \quad = \quad −(−2+x^2)\cos x+2x\sin x+C\)

    32) \(\displaystyle ∫x^3\cos x\,dx\)

    33) \(\displaystyle ∫x^3\sin x\,dx\)

    Answer
    \(\displaystyle ∫x^3\sin x\,dx \quad = \quad −x(−6+x^2)\cos x+3(−2+x^2)\sin x+C\)

    34) \(\displaystyle ∫x^3e^x\,dx\)

    35) \(\displaystyle ∫x\sec^{−1}x\,dx\)

    Answer
    \(\displaystyle ∫x\sec^{−1}x\,dx \quad = \quad \tfrac{1}{2}x\left(−\sqrt{1−\frac{1}{x^2}}+x⋅\sec^{−1}x\right)+C\)

    36) \(\displaystyle ∫x\sec^2x\,dx\)

    37) \(\displaystyle ∫x\cosh x\,dx\)

    Answer
    \(\displaystyle ∫x\cosh x\,dx \quad = \quad −\cosh x+x\sinh x+C\)

    In exercises 38 - 46, compute the definite integrals. Use a graphing utility to confirm your answers.

    38) \(\displaystyle ∫^1_{1/e}\ln x\,dx\)

    39) \(\displaystyle ∫^1_0xe^{−2x}\,dx\) (Express the answer in exact form.)

    Answer
    \(\displaystyle ∫^1_0xe^{−2x}\,dx \quad = \quad \frac{1}{4}−\frac{3}{4e^2}\)

    40) \(\displaystyle ∫^1_0e^{\sqrt{x}}\,dx \quad (\text{let}\, u=\sqrt{x})\)

    41) \(\displaystyle ∫^e_1\ln(x^2)\,dx\)

    Answer
    \(\displaystyle ∫^e_1\ln(x^2)\,dx \quad = \quad 2\)

    42) \(\displaystyle ∫^π_0x\cos x\,dx\)

    43) \(\displaystyle ∫^π_{−π}x\sin x\,dx\) (Express the answer in exact form.)

    Answer
    \(\displaystyle ∫^π_{−π}x\sin x\,dx \quad = \quad 2\pi\)

    44) \(\displaystyle ∫^3_0\ln(x^2+1)\,dx\) (Express the answer in exact form.)

    45) \(\displaystyle ∫^{π/2}_0x^2\sin x\,dx\) (Express the answer in exact form.)

    Answer
    \(\displaystyle ∫^{π/2}_0x^2\sin x\,dx \quad = \quad −2+π\)

    46) \(\displaystyle ∫^1_0x5^x\,dx\) (Express the answer using five significant digits.)

    47) Evaluate \(\displaystyle ∫\cos x\ln(\sin x)\,dx\)

    Answer
    \(\displaystyle ∫\cos x\ln(\sin x)\,dx \quad = \quad −\sin(x)+\ln[\sin(x)]\sin x+C\)

    In exercises 48 - 50, derive the following formulas using the technique of integration by parts. Assume that \(n\) is a positive integer. These formulas are called reduction formulas because the exponent in the \(x\) term has been reduced by one in each case. The second integral is simpler than the original integral.

    48) \(\displaystyle ∫x^ne^x\,dx=x^ne^x−n∫x^{n−1}e^x\,dx\)

    49) \(\displaystyle ∫x^n\cos x\,dx=x^n\sin x−n∫x^{n−1}\sin x\,dx\)

    Answer
    Answers vary

    50) \(\displaystyle ∫x^n\sin x\,dx=\)______

    51) Integrate \(\displaystyle ∫2x\sqrt{2x−3}\,dx\) using two methods:

    a. Using parts, letting \(dv=\sqrt{2x−3}\,dx\)

    b. Substitution, letting \(u=2x−3\)

    Answer
    a. \(\displaystyle ∫2x\sqrt{2x−3}\,dx \quad = \quad \tfrac{2}{5}(1+x)(−3+2x)^{3/2}+C\)
    b. \(\displaystyle ∫2x\sqrt{2x−3}\,dx \quad = \quad \tfrac{2}{5}(1+x)(−3+2x)^{3/2}+C\)

    In exercises 52 - 57, state whether you would use integration by parts to evaluate the integral. If so, identify \(u\) and \(dv\). If not, describe the technique used to perform the integration without actually doing the problem.

    52) \(\displaystyle ∫x\ln x\,dx\)

    53) \(\displaystyle ∫\frac{\ln^2x}{x}\,dx\)

    Answer
    Do not use integration by parts. Choose \(u\) to be \(\ln x\), and the integral is of the form \(\displaystyle ∫u^2\,du.\)

    54) \(\displaystyle ∫xe^x\,dx\)

    55) \(\displaystyle ∫xe^{x^2−3}\,dx\)

    Answer
    Do not use integration by parts. Let \(u=x^2−3\), and the integral can be put into the form \(∫e^u\,du\).

    56) \(\displaystyle ∫x^2\sin x\,dx\)

    57) \(\displaystyle ∫x^2\sin(3x^3+2)\,dx\)

    Answer
    Do not use integration by parts. Choose \(u\) to be \(u=3x^3+2\) and the integral can be put into the form \(\displaystyle ∫\sin(u)\,du.\)

    In exercises 58-59, sketch the region bounded above by the curve, the \(x\)-axis, and \(x=1\), and find the area of the region. Provide the exact form or round answers to the number of places indicated.

    58) \(y=2xe^{−x}\) (Approximate answer to four decimal places.)

    59) \(y=e^{−x}\sin(πx)\) (Approximate answer to five decimal places.)

    Answer
    The area under graph is \(0.39535 \, \text{units}^2.\)
    CNX_Calc_Figure_07_01_202.jpeg

    In exercises 60 - 61, find the volume generated by rotating the region bounded by the given curves about the specified line. Express the answers in exact form or approximate to the number of decimal places indicated.

    60) \(y=\sin x,\,y=0,\,x=2π,\,x=3π;\) about the \(y\)-axis (Express the answer in exact form.)

    61) \(y=e^{−x}, \,y=0,\,x=−1, \, x=0;\) about \(x=1\) (Express the answer in exact form.)

    Answer
    \(V = 2πe \, \text{units}^3\)

    62) A particle moving along a straight line has a velocity of \(v(t)=t^2e^{−t}\) after \(t\) sec. How far does it travel in the first 2 sec? (Assume the units are in feet and express the answer in exact form.)

    63) Find the area under the graph of \(y=\sec^3x\) from \(x=0\) to \(x=1\). (Round the answer to two significant digits.)

    Answer
    \(A= 2.05 \, \text{units}^2\)

    64) Find the area between \(y=(x−2)e^x\) and the \(x\)-axis from \(x=2\) to \(x=5\). (Express the answer in exact form.)

    65) Find the area of the region enclosed by the curve \(y=x\cos x\) and the \(x\)-axis for \(\frac{11π}{2}≤x≤\frac{13π}{2}.\) (Express the answer in exact form.)

    Answer
    \(A = 12π \, \text{units}^2\)

    66) Find the volume of the solid generated by revolving the region bounded by the curve \(y=\ln x\), the \(x\)-axis, and the vertical line \(x=e^2\) about the \(x\)-axis. (Express the answer in exact form.)

    67) Find the volume of the solid generated by revolving the region bounded by the curve \(y=4\cos x\) and the \(x\)-axis, \(\frac{π}{2}≤x≤\frac{3π}{2},\) about the \(x\)-axis. (Express the answer in exact form.)

    Answer
    \(V = 8π^2 \, \text{units}^3\)

    68) Find the volume of the solid generated by revolving the region in the first quadrant bounded by \(y=e^x\) and the \(x\)-axis, from \(x=0\) to \(x=\ln(7)\), about the \(y\)-axis. (Express the answer in exact form.)

    69) What is the volume of the Bundt cake that comes from rotating \( y=\sin x\) around the \(y\)-axis from \( x=0\) to \( x=π\)?

    CNX_Calc_Figure_06_02_245.jpeg

    Answer
    \(V = 2π^2\) units3

    4: Introduction to Differential Equations is shared under a not declared license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?