Home

Tutoring

Subjects

Live Classes

Study Coach

Essay Review

On-Demand Courses

Colleges

Games


Sign up

Log in

Opening subject page...

Loading your content

Practice

  • All Subjects
  • Algebra Flashcards
  • SAT Math Practice Tests
  • Math Question of the Day
  • Live Classes
  • On-Demand Courses

Varsity Tutors

  • Find a Tutor
  • Test Prep
  • Online Classes
  • K-12 Learning
  • College Search
  • VarsityTutors.com

© 2026 Varsity Tutors. All rights reserved.

← Back to quizzes

Differential Equations Quiz

Differential Equations Quiz: Heaviside Step Functions

Practice Heaviside Step Functions in Differential Equations with focused quiz questions that help you check what you know, review explanations, and build confidence with test-style prompts.

Question 1 / 12

0 of 12 answered

Let f(t)f(t)f(t) be a function defined as f(t)={cos⁡(t)0≤t<π−1t≥πf(t) = \begin{cases} \cos(t) & 0 \le t < \pi \\ -1 & t \ge \pi \end{cases}f(t)={cos(t)−1​0≤t<πt≥π​. Find the Laplace transform, F(s)=L{f(t)}F(s) = \mathcal{L}\{f(t)\}F(s)=L{f(t)}.

Select an answer to continue

What this quiz covers

This quiz focuses on Heaviside Step Functions, giving you a quick way to practice the rules, question types, and explanations that matter most for Differential Equations.

How to use this quiz

Try each quiz question before looking at the correct answer. Use the explanations to review missed ideas, then come back to similar questions until the pattern feels familiar.

All questions

Question 1

Let f(t)f(t)f(t) be a function defined as f(t)={cos⁡(t)0≤t<π−1t≥πf(t) = \begin{cases} \cos(t) & 0 \le t < \pi \\ -1 & t \ge \pi \end{cases}f(t)={cos(t)−1​0≤t<πt≥π​. Find the Laplace transform, F(s)=L{f(t)}F(s) = \mathcal{L}\{f(t)\}F(s)=L{f(t)}.

  1. ss2+1−e−πs(ss2+1+1s)\frac{s}{s^2+1} - e^{-\pi s} \left( \frac{s}{s^2+1} + \frac{1}{s} \right)s2+1s​−e−πs(s2+1s​+s1​)
  2. ss2+1+e−πs(ss2+1−1s)\frac{s}{s^2+1} + e^{-\pi s} \left( \frac{s}{s^2+1} - \frac{1}{s} \right)s2+1s​+e−πs(s2+1s​−s1​) (correct answer)
  3. ss2+1−e−πs(ss2+1−1s)\frac{s}{s^2+1} - e^{-\pi s} \left( \frac{s}{s^2+1} - \frac{1}{s} \right)s2+1s​−e−πs(s2+1s​−s1​)
  4. ss2+1+e−πs(ss2+1+1s)\frac{s}{s^2+1} + e^{-\pi s} \left( \frac{s}{s^2+1} + \frac{1}{s} \right)s2+1s​+e−πs(s2+1s​+s1​)

Explanation: First, represent f(t)f(t)f(t) using the Heaviside step function uπ(t)u_\pi(t)uπ​(t). f(t)=cos⁡(t)(1−uπ(t))−1⋅uπ(t)=cos⁡(t)−(cos⁡(t)+1)uπ(t)f(t) = \cos(t)(1 - u_\pi(t)) - 1 \cdot u_\pi(t) = \cos(t) - (\cos(t) + 1)u_\pi(t)f(t)=cos(t)(1−uπ​(t))−1⋅uπ​(t)=cos(t)−(cos(t)+1)uπ​(t). To find the Laplace transform of the second term using the second shifting theorem, L{g(t−c)uc(t)}=e−csG(s)\mathcal{L}\{g(t-c)u_c(t)\} = e^{-cs}G(s)L{g(t−c)uc​(t)}=e−csG(s), we must express cos⁡(t)+1\cos(t)+1cos(t)+1 as a function of (t−π)(t-\pi)(t−π). Let g(t)=cos⁡(t)+1g(t) = \cos(t)+1g(t)=cos(t)+1. We need to find L{g(t)uπ(t)}=e−πsL{g(t+π)}\mathcal{L}\{g(t)u_\pi(t)\} = e^{-\pi s}\mathcal{L}\{g(t+\pi)\}L{g(t)uπ​(t)}=e−πsL{g(t+π)}. g(t+π)=cos⁡(t+π)+1=−cos⁡(t)+1g(t+\pi) = \cos(t+\pi)+1 = -\cos(t)+1g(t+π)=cos(t+π)+1=−cos(t)+1. So, L{g(t+π)}=L{−cos⁡(t)+1}=−ss2+1+1s\mathcal{L}\{g(t+\pi)\} = \mathcal{L}\{-\cos(t)+1\} = -\frac{s}{s^2+1} + \frac{1}{s}L{g(t+π)}=L{−cos(t)+1}=−s2+1s​+s1​. Therefore, L{(cos⁡(t)+1)uπ(t)}=e−πs(1s−ss2+1)\mathcal{L}\{(\cos(t)+1)u_\pi(t)\} = e^{-\pi s} \left(\frac{1}{s} - \frac{s}{s^2+1}\right)L{(cos(t)+1)uπ​(t)}=e−πs(s1​−s2+1s​). The complete transform is: F(s)=L{cos⁡(t)}−L{(cos⁡(t)+1)uπ(t)}=ss2+1−e−πs(1s−ss2+1)=ss2+1+e−πs(ss2+1−1s)F(s) = \mathcal{L}\{\cos(t)\} - \mathcal{L}\{(\cos(t)+1)u_\pi(t)\} = \frac{s}{s^2+1} - e^{-\pi s} \left(\frac{1}{s} - \frac{s}{s^2+1}\right) = \frac{s}{s^2+1} + e^{-\pi s} \left(\frac{s}{s^2+1} - \frac{1}{s}\right)F(s)=L{cos(t)}−L{(cos(t)+1)uπ​(t)}=s2+1s​−e−πs(s1​−s2+1s​)=s2+1s​+e−πs(s2+1s​−s1​).

Question 2

Find the inverse Laplace transform y(t)y(t)y(t) of the function Y(s)=2s3+(s−1)e−4ss2+9Y(s) = \frac{2}{s^3} + \frac{(s-1)e^{-4s}}{s^2+9}Y(s)=s32​+s2+9(s−1)e−4s​.

  1. t2+(cos⁡(3t)−13sin⁡(3t))u4(t)t^2 + (\cos(3t) - \frac{1}{3}\sin(3t))u_4(t)t2+(cos(3t)−31​sin(3t))u4​(t)
  2. t2+(cos⁡(3(t−4))−13sin⁡(3(t−4)))u4(t)t^2 + (\cos(3(t-4)) - \frac{1}{3}\sin(3(t-4)))u_4(t)t2+(cos(3(t−4))−31​sin(3(t−4)))u4​(t) (correct answer)
  3. t2+(cos⁡(3(t−4))−sin⁡(3(t−4)))u4(t)t^2 + (\cos(3(t-4)) - \sin(3(t-4)))u_4(t)t2+(cos(3(t−4))−sin(3(t−4)))u4​(t)
  4. t22+(cos⁡(3(t−4))−13sin⁡(3(t−4)))u4(t)\frac{t^2}{2} + (\cos(3(t-4)) - \frac{1}{3}\sin(3(t-4)))u_4(t)2t2​+(cos(3(t−4))−31​sin(3(t−4)))u4​(t)

Explanation: We find the inverse transform of each term separately. For the first term: L−1{2s3}=L−1{2!s2+1}=t2\mathcal{L}^{-1}\left\{\frac{2}{s^3}\right\} = \mathcal{L}^{-1}\left\{\frac{2!}{s^{2+1}}\right\} = t^2L−1{s32​}=L−1{s2+12!​}=t2. For the second term, we use the second shifting theorem, L−1{e−csF(s)}=f(t−c)uc(t)\mathcal{L}^{-1}\{e^{-cs}F(s)\} = f(t-c)u_c(t)L−1{e−csF(s)}=f(t−c)uc​(t). Here, c=4c=4c=4 and F(s)=s−1s2+9F(s) = \frac{s-1}{s^2+9}F(s)=s2+9s−1​. We find f(t)=L−1{F(s)}f(t) = \mathcal{L}^{-1}\{F(s)\}f(t)=L−1{F(s)} first. F(s)=ss2+9−1s2+9=ss2+32−133s2+32F(s) = \frac{s}{s^2+9} - \frac{1}{s^2+9} = \frac{s}{s^2+3^2} - \frac{1}{3}\frac{3}{s^2+3^2}F(s)=s2+9s​−s2+91​=s2+32s​−31​s2+323​. f(t)=cos⁡(3t)−13sin⁡(3t)f(t) = \cos(3t) - \frac{1}{3}\sin(3t)f(t)=cos(3t)−31​sin(3t). Now, we apply the shift: f(t−4)u4(t)=(cos⁡(3(t−4))−13sin⁡(3(t−4)))u4(t)f(t-4)u_4(t) = \left(\cos(3(t-4)) - \frac{1}{3}\sin(3(t-4))\right)u_4(t)f(t−4)u4​(t)=(cos(3(t−4))−31​sin(3(t−4)))u4​(t). Combining the two parts, the complete inverse transform is y(t)=t2+(cos⁡(3(t−4))−13sin⁡(3(t−4)))u4(t)y(t) = t^2 + \left(\cos(3(t-4)) - \frac{1}{3}\sin(3(t-4))\right)u_4(t)y(t)=t2+(cos(3(t−4))−31​sin(3(t−4)))u4​(t).

Question 3

Solve the initial value problem y′+2y=f(t)y' + 2y = f(t)y′+2y=f(t), with y(0)=3y(0)=3y(0)=3 and f(t)={00≤t<15t≥1f(t) = \begin{cases} 0 & 0 \le t < 1 \\ 5 & t \ge 1 \end{cases}f(t)={05​0≤t<1t≥1​.

  1. y(t)=3e−2t+52(1−e−2t)u1(t)y(t) = 3e^{-2t} + \frac{5}{2}(1 - e^{-2t})u_1(t)y(t)=3e−2t+25​(1−e−2t)u1​(t)
  2. y(t)=52(1−e−2(t−1))u1(t)y(t) = \frac{5}{2}(1 - e^{-2(t-1)})u_1(t)y(t)=25​(1−e−2(t−1))u1​(t)
  3. y(t)=3e−2t−52(1−e−2(t−1))u1(t)y(t) = 3e^{-2t} - \frac{5}{2}(1 - e^{-2(t-1)})u_1(t)y(t)=3e−2t−25​(1−e−2(t−1))u1​(t)
  4. y(t)=3e−2t+52(1−e−2(t−1))u1(t)y(t) = 3e^{-2t} + \frac{5}{2}(1 - e^{-2(t-1)})u_1(t)y(t)=3e−2t+25​(1−e−2(t−1))u1​(t) (correct answer)

Explanation: First, write the forcing function as f(t)=5u1(t)f(t) = 5u_1(t)f(t)=5u1​(t). Take the Laplace transform of the entire equation: L{y′}+2L{y}=L{5u1(t)}\mathcal{L}\{y'\} + 2\mathcal{L}\{y\} = \mathcal{L}\{5u_1(t)\}L{y′}+2L{y}=L{5u1​(t)} [sY(s)−y(0)]+2Y(s)=5e−ss[sY(s) - y(0)] + 2Y(s) = \frac{5e^{-s}}{s}[sY(s)−y(0)]+2Y(s)=s5e−s​ Substitute y(0)=3y(0)=3y(0)=3: (s+2)Y(s)−3=5e−ss(s+2)Y(s) - 3 = \frac{5e^{-s}}{s}(s+2)Y(s)−3=s5e−s​ Y(s)=3s+2+5e−ss(s+2)Y(s) = \frac{3}{s+2} + \frac{5e^{-s}}{s(s+2)}Y(s)=s+23​+s(s+2)5e−s​. To find the inverse transform of the second term, use partial fraction decomposition for 5s(s+2)=As+Bs+2\frac{5}{s(s+2)} = \frac{A}{s} + \frac{B}{s+2}s(s+2)5​=sA​+s+2B​. This gives A=5/2A=5/2A=5/2 and B=−5/2B=-5/2B=−5/2. So, 5s(s+2)=52(1s−1s+2)\frac{5}{s(s+2)} = \frac{5}{2}\left(\frac{1}{s} - \frac{1}{s+2}\right)s(s+2)5​=25​(s1​−s+21​). Let G(s)=52(1s−1s+2)G(s) = \frac{5}{2}\left(\frac{1}{s} - \frac{1}{s+2}\right)G(s)=25​(s1​−s+21​), then g(t)=L−1{G(s)}=52(1−e−2t)g(t) = \mathcal{L}^{-1}\{G(s)\} = \frac{5}{2}(1 - e^{-2t})g(t)=L−1{G(s)}=25​(1−e−2t). The second term in Y(s)Y(s)Y(s) is e−sG(s)e^{-s}G(s)e−sG(s), so its inverse transform is g(t−1)u1(t)=52(1−e−2(t−1))u1(t)g(t-1)u_1(t) = \frac{5}{2}(1 - e^{-2(t-1)})u_1(t)g(t−1)u1​(t)=25​(1−e−2(t−1))u1​(t). The inverse transform of the first term is L−1{3s+2}=3e−2t\mathcal{L}^{-1}\left\{\frac{3}{s+2}\right\} = 3e^{-2t}L−1{s+23​}=3e−2t. Combining the parts, the solution is y(t)=3e−2t+52(1−e−2(t−1))u1(t)y(t) = 3e^{-2t} + \frac{5}{2}(1 - e^{-2(t-1)})u_1(t)y(t)=3e−2t+25​(1−e−2(t−1))u1​(t).

Question 4

The solution to the initial value problem y′+2y=5u1(t)y' + 2y = 5u_1(t)y′+2y=5u1​(t), y(0)=3y(0)=3y(0)=3 is y(t)=3e−2t+52(1−e−2(t−1))u1(t)y(t) = 3e^{-2t} + \frac{5}{2}(1 - e^{-2(t-1)})u_1(t)y(t)=3e−2t+25​(1−e−2(t−1))u1​(t).

Using the provided solution to the initial value problem, what is the value of y(2)y(2)y(2)?

  1. 3e−43e^{-4}3e−4
  2. 52+12e−4\frac{5}{2} + \frac{1}{2}e^{-4}25​+21​e−4
  3. 3e−4+52−52e−23e^{-4} + \frac{5}{2} - \frac{5}{2}e^{-2}3e−4+25​−25​e−2 (correct answer)
  4. 3e−4+52−52e−43e^{-4} + \frac{5}{2} - \frac{5}{2}e^{-4}3e−4+25​−25​e−4

Explanation: The solution is given by y(t)=3e−2t+52(1−e−2(t−1))u1(t)y(t) = 3e^{-2t} + \frac{5}{2}(1 - e^{-2(t-1)})u_1(t)y(t)=3e−2t+25​(1−e−2(t−1))u1​(t). To find y(2)y(2)y(2), we substitute t=2t=2t=2 into the expression. Since 2>12 > 12>1, the Heaviside function u1(2)u_1(2)u1​(2) is equal to 1. So, we evaluate the entire expression at t=2t=2t=2: y(2)=3e−2(2)+52(1−e−2(2−1))u1(2)y(2) = 3e^{-2(2)} + \frac{5}{2}(1 - e^{-2(2-1)})u_1(2)y(2)=3e−2(2)+25​(1−e−2(2−1))u1​(2) y(2)=3e−4+52(1−e−2(1))(1)y(2) = 3e^{-4} + \frac{5}{2}(1 - e^{-2(1)})(1)y(2)=3e−4+25​(1−e−2(1))(1) y(2)=3e−4+52(1−e−2)y(2) = 3e^{-4} + \frac{5}{2}(1 - e^{-2})y(2)=3e−4+25​(1−e−2) y(2)=3e−4+52−52e−2y(2) = 3e^{-4} + \frac{5}{2} - \frac{5}{2}e^{-2}y(2)=3e−4+25​−25​e−2. Distractor A results from ignoring the forcing term (evaluating only the homogeneous part). Distractor B results from incorrectly using the unshifted function g(t)g(t)g(t) instead of g(t−1)g(t-1)g(t−1). Distractor D results from an algebraic error in the exponent.

Question 5

The staircase function, defined as f(t)=⌊t⌋f(t) = \lfloor t \rfloorf(t)=⌊t⌋ for t≥0t \ge 0t≥0, can be expressed as an infinite sum of Heaviside functions: f(t)=∑n=1∞un(t)f(t) = \sum_{n=1}^{\infty} u_n(t)f(t)=∑n=1∞​un​(t). What is the Laplace transform of f(t)f(t)f(t)?

  1. 1s(es−1)\frac{1}{s(e^s-1)}s(es−1)1​ (correct answer)
  2. 1s(1−e−s)\frac{1}{s(1-e^{-s})}s(1−e−s)1​
  3. 1es−1\frac{1}{e^s-1}es−11​
  4. e−s1−e−s\frac{e^{-s}}{1-e^{-s}}1−e−se−s​

Explanation: The Laplace transform of the infinite sum is the sum of the Laplace transforms: F(s)=L{∑n=1∞un(t)}=∑n=1∞L{un(t)}F(s) = \mathcal{L}\left\{\sum_{n=1}^{\infty} u_n(t)\right\} = \sum_{n=1}^{\infty} \mathcal{L}\{u_n(t)\}F(s)=L{∑n=1∞​un​(t)}=∑n=1∞​L{un​(t)}. The Laplace transform of a single Heaviside function is L{un(t)}=e−nss\mathcal{L}\{u_n(t)\} = \frac{e^{-ns}}{s}L{un​(t)}=se−ns​. So, F(s)=∑n=1∞e−nss=1s∑n=1∞e−nsF(s) = \sum_{n=1}^{\infty} \frac{e^{-ns}}{s} = \frac{1}{s} \sum_{n=1}^{\infty} e^{-ns}F(s)=∑n=1∞​se−ns​=s1​∑n=1∞​e−ns. The sum is a geometric series with first term a=e−sa = e^{-s}a=e−s and common ratio r=e−sr = e^{-s}r=e−s. Since ∣r∣=e−s<1|r| = e^{-s} < 1∣r∣=e−s<1 for s>0s>0s>0, the sum converges to a1−r=e−s1−e−s\frac{a}{1-r} = \frac{e^{-s}}{1-e^{-s}}1−ra​=1−e−se−s​. Therefore, F(s)=1s(e−s1−e−s)F(s) = \frac{1}{s} \left( \frac{e^{-s}}{1-e^{-s}} \right)F(s)=s1​(1−e−se−s​). To match the answer choices, we can multiply the numerator and denominator by ese^ses: F(s)=1s(e−ses(1−e−s)es)=1s(1es−1)=1s(es−1)F(s) = \frac{1}{s} \left( \frac{e^{-s}e^s}{(1-e^{-s})e^s} \right) = \frac{1}{s} \left( \frac{1}{e^s-1} \right) = \frac{1}{s(e^s-1)}F(s)=s1​((1−e−s)ese−ses​)=s1​(es−11​)=s(es−1)1​.

Question 6

Given that Y(s)=(s+3)e−πss(s2+1)Y(s) = \frac{(s+3)e^{-\pi s}}{s(s^2+1)}Y(s)=s(s2+1)(s+3)e−πs​, find the inverse Laplace transform y(t)y(t)y(t).

  1. (3−3cos⁡(t)+sin⁡(t))uπ(t)(3 - 3\cos(t) + \sin(t))u_\pi(t)(3−3cos(t)+sin(t))uπ​(t)
  2. (3+3cos⁡(t)+sin⁡(t))uπ(t)(3 + 3\cos(t) + \sin(t))u_\pi(t)(3+3cos(t)+sin(t))uπ​(t)
  3. (3−3cos⁡(t)−sin⁡(t))uπ(t)(3 - 3\cos(t) - \sin(t))u_\pi(t)(3−3cos(t)−sin(t))uπ​(t)
  4. (3+3cos⁡(t)−sin⁡(t))uπ(t)(3 + 3\cos(t) - \sin(t))u_\pi(t)(3+3cos(t)−sin(t))uπ​(t) (correct answer)

Explanation: This problem requires using the second shifting theorem, L−1{e−csG(s)}=g(t−c)uc(t)\mathcal{L}^{-1}\{e^{-cs}G(s)\} = g(t-c)u_c(t)L−1{e−csG(s)}=g(t−c)uc​(t). Here, c=πc=\pic=π and G(s)=s+3s(s2+1)G(s) = \frac{s+3}{s(s^2+1)}G(s)=s(s2+1)s+3​. First, we find g(t)=L−1{G(s)}g(t) = \mathcal{L}^{-1}\{G(s)\}g(t)=L−1{G(s)} using partial fraction decomposition. s+3s(s2+1)=As+Bs+Cs2+1\frac{s+3}{s(s^2+1)} = \frac{A}{s} + \frac{Bs+C}{s^2+1}s(s2+1)s+3​=sA​+s2+1Bs+C​. Solving for the coefficients gives A(s2+1)+(Bs+C)s=s+3A(s^2+1) + (Bs+C)s = s+3A(s2+1)+(Bs+C)s=s+3, which leads to A=3,C=1,B=−3A=3, C=1, B=-3A=3,C=1,B=−3. So, G(s)=3s−3ss2+1+1s2+1G(s) = \frac{3}{s} - \frac{3s}{s^2+1} + \frac{1}{s^2+1}G(s)=s3​−s2+13s​+s2+11​. The inverse transform is g(t)=3−3cos⁡(t)+sin⁡(t)g(t) = 3 - 3\cos(t) + \sin(t)g(t)=3−3cos(t)+sin(t). Now, we must find g(t−π)g(t-\pi)g(t−π). g(t−π)=3−3cos⁡(t−π)+sin⁡(t−π)g(t-\pi) = 3 - 3\cos(t-\pi) + \sin(t-\pi)g(t−π)=3−3cos(t−π)+sin(t−π). Using the identities cos⁡(t−π)=−cos⁡(t)\cos(t-\pi) = -\cos(t)cos(t−π)=−cos(t) and sin⁡(t−π)=−sin⁡(t)\sin(t-\pi) = -\sin(t)sin(t−π)=−sin(t), we get: g(t−π)=3−3(−cos⁡(t))+(−sin⁡(t))=3+3cos⁡(t)−sin⁡(t)g(t-\pi) = 3 - 3(-\cos(t)) + (-\sin(t)) = 3 + 3\cos(t) - \sin(t)g(t−π)=3−3(−cos(t))+(−sin(t))=3+3cos(t)−sin(t). Finally, the solution is y(t)=g(t−π)uπ(t)=(3+3cos⁡(t)−sin⁡(t))uπ(t)y(t) = g(t-\pi)u_\pi(t) = (3 + 3\cos(t) - \sin(t))u_\pi(t)y(t)=g(t−π)uπ​(t)=(3+3cos(t)−sin(t))uπ​(t).

Question 7

Find the Laplace transform of the function f(t)=cos⁡(2t)(uπ/2(t)−u3π/2(t))f(t) = \cos(2t)(u_{\pi/2}(t) - u_{3\pi/2}(t))f(t)=cos(2t)(uπ/2​(t)−u3π/2​(t)).

  1. ss2+4(e−πs/2−e−3πs/2)\frac{s}{s^2+4}(e^{-\pi s/2} - e^{-3\pi s/2})s2+4s​(e−πs/2−e−3πs/2)
  2. ss2+4(e−3πs/2−e−πs/2)\frac{s}{s^2+4}(e^{-3\pi s/2} - e^{-\pi s/2})s2+4s​(e−3πs/2−e−πs/2) (correct answer)
  3. ss2+4(e−πs/2+e−3πs/2)\frac{s}{s^2+4}(e^{-\pi s/2} + e^{-3\pi s/2})s2+4s​(e−πs/2+e−3πs/2)
  4. −ss2+4(e−πs/2+e−3πs/2)-\frac{s}{s^2+4}(e^{-\pi s/2} + e^{-3\pi s/2})−s2+4s​(e−πs/2+e−3πs/2)

Explanation: We need to compute L{cos⁡(2t)uπ/2(t)}−L{cos⁡(2t)u3π/2(t)}\mathcal{L}\{\cos(2t)u_{\pi/2}(t)\} - \mathcal{L}\{\cos(2t)u_{3\pi/2}(t)\}L{cos(2t)uπ/2​(t)}−L{cos(2t)u3π/2​(t)}. For the first term, with c=π/2c=\pi/2c=π/2, we must write cos⁡(2t)\cos(2t)cos(2t) as a function of (t−π/2)(t-\pi/2)(t−π/2). 2t=2(t−π/2)+π2t = 2(t-\pi/2) + \pi2t=2(t−π/2)+π. Using the identity cos⁡(x+π)=−cos⁡(x)\cos(x+\pi) = -\cos(x)cos(x+π)=−cos(x), we have cos⁡(2t)=cos⁡(2(t−π/2)+π)=−cos⁡(2(t−π/2))\cos(2t) = \cos(2(t-\pi/2)+\pi) = -\cos(2(t-\pi/2))cos(2t)=cos(2(t−π/2)+π)=−cos(2(t−π/2)). So, L{cos⁡(2t)uπ/2(t)}=L{−cos⁡(2(t−π/2))uπ/2(t)}=−e−πs/2L{cos⁡(2t)}=−e−πs/2ss2+4\mathcal{L}\{\cos(2t)u_{\pi/2}(t)\} = \mathcal{L}\{-\cos(2(t-\pi/2))u_{\pi/2}(t)\} = -e^{-\pi s/2}\mathcal{L}\{\cos(2t)\} = -e^{-\pi s/2}\frac{s}{s^2+4}L{cos(2t)uπ/2​(t)}=L{−cos(2(t−π/2))uπ/2​(t)}=−e−πs/2L{cos(2t)}=−e−πs/2s2+4s​. For the second term, with c=3π/2c=3\pi/2c=3π/2, we write cos⁡(2t)\cos(2t)cos(2t) as a function of (t−3π/2)(t-3\pi/2)(t−3π/2). 2t=2(t−3π/2)+3π2t = 2(t-3\pi/2) + 3\pi2t=2(t−3π/2)+3π. Using the identity cos⁡(x+3π)=−cos⁡(x)\cos(x+3\pi) = -\cos(x)cos(x+3π)=−cos(x), we have cos⁡(2t)=cos⁡(2(t−3π/2)+3π)=−cos⁡(2(t−3π/2))\cos(2t) = \cos(2(t-3\pi/2)+3\pi) = -\cos(2(t-3\pi/2))cos(2t)=cos(2(t−3π/2)+3π)=−cos(2(t−3π/2)). So, L{cos⁡(2t)u3π/2(t)}=−e−3πs/2L{cos⁡(2t)}=−e−3πs/2ss2+4\mathcal{L}\{\cos(2t)u_{3\pi/2}(t)\} = -e^{-3\pi s/2}\mathcal{L}\{\cos(2t)\} = -e^{-3\pi s/2}\frac{s}{s^2+4}L{cos(2t)u3π/2​(t)}=−e−3πs/2L{cos(2t)}=−e−3πs/2s2+4s​. Combining the results: F(s)=−e−πs/2ss2+4−(−e−3πs/2ss2+4)=ss2+4(e−3πs/2−e−πs/2)F(s) = -e^{-\pi s/2}\frac{s}{s^2+4} - \left(-e^{-3\pi s/2}\frac{s}{s^2+4}\right) = \frac{s}{s^2+4}(e^{-3\pi s/2} - e^{-\pi s/2})F(s)=−e−πs/2s2+4s​−(−e−3πs/2s2+4s​)=s2+4s​(e−3πs/2−e−πs/2).

Question 8

Consider the initial value problem representing an undamped harmonic oscillator with a finite-duration force: y′′+4y=8sin⁡(t)(1−uπ(t))y'' + 4y = 8\sin(t)(1 - u_\pi(t))y′′+4y=8sin(t)(1−uπ​(t)), with initial conditions y(0)=0y(0)=0y(0)=0 and y′(0)=0y'(0)=0y′(0)=0. What is the solution y(t)y(t)y(t) for t≥πt \ge \pit≥π?

  1. −83sin⁡(2t)-\frac{8}{3}\sin(2t)−38​sin(2t) (correct answer)
  2. 83sin⁡(t)−43sin⁡(2t)\frac{8}{3}\sin(t) - \frac{4}{3}\sin(2t)38​sin(t)−34​sin(2t)
  3. 000
  4. −83cos⁡(t)−43cos⁡(2t)-\frac{8}{3}\cos(t) - \frac{4}{3}\cos(2t)−38​cos(t)−34​cos(2t)

Explanation: First, take the Laplace transform of the IVP. The forcing function is f(t)=8sin⁡(t)−8sin⁡(t)uπ(t)f(t) = 8\sin(t) - 8\sin(t)u_\pi(t)f(t)=8sin(t)−8sin(t)uπ​(t). We rewrite the second term: sin⁡(t)=sin⁡((t−π)+π)=−sin⁡(t−π)\sin(t) = \sin((t-\pi)+\pi) = -\sin(t-\pi)sin(t)=sin((t−π)+π)=−sin(t−π). So f(t)=8sin⁡(t)+8sin⁡(t−π)uπ(t)f(t) = 8\sin(t) + 8\sin(t-\pi)u_\pi(t)f(t)=8sin(t)+8sin(t−π)uπ​(t). \{L}\{f(t)\} = \frac{8}{s^2+1} + \frac{8e^{-\pi s}}{s^2+1}. The transformed DE is (s2+4)Y(s)=8s2+1(1+e−πs)(s^2+4)Y(s) = \frac{8}{s^2+1}(1+e^{-\pi s})(s2+4)Y(s)=s2+18​(1+e−πs). Y(s)=8(s2+1)(s2+4)(1+e−πs)Y(s) = \frac{8}{(s^2+1)(s^2+4)}(1+e^{-\pi s})Y(s)=(s2+1)(s2+4)8​(1+e−πs). Using partial fractions, 8(s2+1)(s2+4)=8/3s2+1−8/3s2+4\frac{8}{(s^2+1)(s^2+4)} = \frac{8/3}{s^2+1} - \frac{8/3}{s^2+4}(s2+1)(s2+4)8​=s2+18/3​−s2+48/3​. Let G(s)=8/3s2+1−8/3s2+4G(s) = \frac{8/3}{s^2+1} - \frac{8/3}{s^2+4}G(s)=s2+18/3​−s2+48/3​. Its inverse transform is g(t)=83sin⁡(t)−43sin⁡(2t)g(t) = \frac{8}{3}\sin(t) - \frac{4}{3}\sin(2t)g(t)=38​sin(t)−34​sin(2t). Then y(t)=g(t)+g(t−π)uπ(t)y(t) = g(t) + g(t-\pi)u_\pi(t)y(t)=g(t)+g(t−π)uπ​(t). g(t−π)=83sin⁡(t−π)−43sin⁡(2(t−π))=−83sin⁡(t)−43sin⁡(2t)g(t-\pi) = \frac{8}{3}\sin(t-\pi) - \frac{4}{3}\sin(2(t-\pi)) = -\frac{8}{3}\sin(t) - \frac{4}{3}\sin(2t)g(t−π)=38​sin(t−π)−34​sin(2(t−π))=−38​sin(t)−34​sin(2t). For t≥πt \ge \pit≥π, uπ(t)=1u_\pi(t)=1uπ​(t)=1, so the solution is y(t)=g(t)+g(t−π)y(t) = g(t) + g(t-\pi)y(t)=g(t)+g(t−π). y(t)=(83sin⁡(t)−43sin⁡(2t))+(−83sin⁡(t)−43sin⁡(2t))=−83sin⁡(2t)y(t) = \left(\frac{8}{3}\sin(t) - \frac{4}{3}\sin(2t)\right) + \left(-\frac{8}{3}\sin(t) - \frac{4}{3}\sin(2t)\right) = -\frac{8}{3}\sin(2t)y(t)=(38​sin(t)−34​sin(2t))+(−38​sin(t)−34​sin(2t))=−38​sin(2t).

Question 9

What is the Laplace transform of the function f(t)=(t2+1)u2(t)f(t) = (t^2+1)u_2(t)f(t)=(t2+1)u2​(t)?

  1. e−2s(2s3+1s)e^{-2s}\left( \frac{2}{s^3} + \frac{1}{s} \right)e−2s(s32​+s1​)
  2. e−2s(2s3+5s)e^{-2s}\left( \frac{2}{s^3} + \frac{5}{s} \right)e−2s(s32​+s5​)
  3. e−2s(2s3+4s2+5s)e^{-2s}\left( \frac{2}{s^3} + \frac{4}{s^2} + \frac{5}{s} \right)e−2s(s32​+s24​+s5​) (correct answer)
  4. e−2s(2s3+4s2+4s)e^{-2s}\left( \frac{2}{s^3} + \frac{4}{s^2} + \frac{4}{s} \right)e−2s(s32​+s24​+s4​)

Explanation: To find the Laplace transform of f(t)=g(t)uc(t)f(t)=g(t)u_c(t)f(t)=g(t)uc​(t), we must use the second shifting theorem, L{g(t)uc(t)}=e−csL{g(t+c)}\mathcal{L}\{g(t)u_c(t)\} = e^{-cs}\mathcal{L}\{g(t+c)\}L{g(t)uc​(t)}=e−csL{g(t+c)}. In this case, g(t)=t2+1g(t)=t^2+1g(t)=t2+1 and c=2c=2c=2. We need to find L{g(t+2)}\mathcal{L}\{g(t+2)\}L{g(t+2)}. g(t+2)=(t+2)2+1=(t2+4t+4)+1=t2+4t+5g(t+2) = (t+2)^2 + 1 = (t^2 + 4t + 4) + 1 = t^2 + 4t + 5g(t+2)=(t+2)2+1=(t2+4t+4)+1=t2+4t+5. Now, we take the Laplace transform of this new polynomial: L{t2+4t+5}=L{t2}+4L{t}+L{5}=2s3+4s2+5s\mathcal{L}\{t^2 + 4t + 5\} = \mathcal{L}\{t^2\} + 4\mathcal{L}\{t\} + \mathcal{L}\{5\} = \frac{2}{s^3} + \frac{4}{s^2} + \frac{5}{s}L{t2+4t+5}=L{t2}+4L{t}+L{5}=s32​+s24​+s5​. Finally, we multiply by e−cs=e−2se^{-cs} = e^{-2s}e−cs=e−2s to get the final answer: F(s)=e−2s(2s3+4s2+5s)F(s) = e^{-2s}\left( \frac{2}{s^3} + \frac{4}{s^2} + \frac{5}{s} \right)F(s)=e−2s(s32​+s24​+s5​). Distractor A represents the common mistake of applying e−csL{g(t)}e^{-cs}\mathcal{L}\{g(t)\}e−csL{g(t)} instead of e−csL{g(t+c)}e^{-cs}\mathcal{L}\{g(t+c)\}e−csL{g(t+c)}.

Question 10

A function f(t)f(t)f(t) is defined piecewise as f(t)={t20≤t<111≤t<34−tt≥3f(t) = \begin{cases} t^2 & 0 \le t < 1 \\ 1 & 1 \le t < 3 \\ 4-t & t \ge 3 \end{cases}f(t)=⎩⎨⎧​t214−t​0≤t<11≤t<3t≥3​. Which of the following expressions correctly represents f(t)f(t)f(t) using Heaviside step functions uc(t)u_c(t)uc​(t)?

  1. t2+(1−t2)u1(t)+(3−t)u3(t)t^2 + (1-t^2)u_1(t) + (3-t)u_3(t)t2+(1−t2)u1​(t)+(3−t)u3​(t) (correct answer)
  2. t2u0(t)+u1(t)+(4−t)u3(t)t^2 u_0(t) + u_1(t) + (4-t)u_3(t)t2u0​(t)+u1​(t)+(4−t)u3​(t)
  3. t2(u0(t)−u1(t))+u1(t)+(4−t)u3(t)t^2(u_0(t) - u_1(t)) + u_1(t) + (4-t)u_3(t)t2(u0​(t)−u1​(t))+u1​(t)+(4−t)u3​(t)
  4. t2+(1−t2)u1(t)+(5−t)u3(t)t^2 + (1-t^2)u_1(t) + (5-t)u_3(t)t2+(1−t2)u1​(t)+(5−t)u3​(t)

Explanation: A standard way to write a piecewise function f(t)={g0(t)0≤t<c1g1(t)c1≤t<c2g2(t)t≥c2f(t) = \begin{cases} g_0(t) & 0 \le t < c_1 \\ g_1(t) & c_1 \le t < c_2 \\ g_2(t) & t \ge c_2 \end{cases}f(t)=⎩⎨⎧​g0​(t)g1​(t)g2​(t)​0≤t<c1​c1​≤t<c2​t≥c2​​ is f(t)=g0(t)+[g1(t)−g0(t)]uc1(t)+[g2(t)−g1(t)]uc2(t)f(t) = g_0(t) + [g_1(t) - g_0(t)]u_{c_1}(t) + [g_2(t) - g_1(t)]u_{c_2}(t)f(t)=g0​(t)+[g1​(t)−g0​(t)]uc1​​(t)+[g2​(t)−g1​(t)]uc2​​(t). In this case, g0(t)=t2g_0(t) = t^2g0​(t)=t2, g1(t)=1g_1(t) = 1g1​(t)=1, and g2(t)=4−tg_2(t) = 4-tg2​(t)=4−t. The points of discontinuity are c1=1c_1=1c1​=1 and c2=3c_2=3c2​=3. Applying the formula: f(t)=t2+(1−t2)u1(t)+((4−t)−1)u3(t)f(t) = t^2 + (1-t^2)u_1(t) + ((4-t) - 1)u_3(t)f(t)=t2+(1−t2)u1​(t)+((4−t)−1)u3​(t) f(t)=t2+(1−t2)u1(t)+(3−t)u3(t)f(t) = t^2 + (1-t^2)u_1(t) + (3-t)u_3(t)f(t)=t2+(1−t2)u1​(t)+(3−t)u3​(t). Let's verify: For 0≤t<10 \le t < 10≤t<1, u1=0,u3=0u_1=0, u_3=0u1​=0,u3​=0, so f(t)=t2f(t)=t^2f(t)=t2. Correct. For 1≤t<31 \le t < 31≤t<3, u1=1,u3=0u_1=1, u_3=0u1​=1,u3​=0, so f(t)=t2+(1−t2)=1f(t)=t^2+(1-t^2)=1f(t)=t2+(1−t2)=1. Correct. For t≥3t \ge 3t≥3, u1=1,u3=1u_1=1, u_3=1u1​=1,u3​=1, so f(t)=t2+(1−t2)+(3−t)=1+3−t=4−tf(t)=t^2+(1-t^2)+(3-t)=1+3-t=4-tf(t)=t2+(1−t2)+(3−t)=1+3−t=4−t. Correct.

Question 11

The convolution integral ∫0te−(t−τ)u2(τ)dτ\int_0^t e^{-(t-\tau)} u_2(\tau) d\tau∫0t​e−(t−τ)u2​(τ)dτ can be evaluated using properties of Heaviside functions. What is the result for t=5t = 5t=5?

  1. e−5+e−3−1e^{-5} + e^{-3} - 1e−5+e−3−1
  2. 1−e−31 - e^{-3}1−e−3 (correct answer)
  3. e−2−e−5e^{-2} - e^{-5}e−2−e−5
  4. 1−e−3+e−51 - e^{-3} + e^{-5}1−e−3+e−5

Explanation: For t=5t = 5t=5, we evaluate ∫05e−(5−τ)u2(τ)dτ\int_0^5 e^{-(5-\tau)} u_2(\tau) d\tau∫05​e−(5−τ)u2​(τ)dτ. Since u2(τ)=0u_2(\tau) = 0u2​(τ)=0 for τ<2\tau < 2τ<2 and u2(τ)=1u_2(\tau) = 1u2​(τ)=1 for τ≥2\tau \geq 2τ≥2, the integral becomes ∫25e−(5−τ)dτ=∫25eτ−5dτ=e−5∫25eτdτ=e−5[eτ]25=e−5(e5−e2)=1−e−3\int_2^5 e^{-(5-\tau)} d\tau = \int_2^5 e^{\tau-5} d\tau = e^{-5}\int_2^5 e^{\tau} d\tau = e^{-5}[e^{\tau}]_2^5 = e^{-5}(e^5 - e^2) = 1 - e^{-3}∫25​e−(5−τ)dτ=∫25​eτ−5dτ=e−5∫25​eτdτ=e−5[eτ]25​=e−5(e5−e2)=1−e−3. Choice A incorrectly includes extra exponential terms that don't arise from the integration. Choice C gives the wrong limits and signs. Choice D adds an incorrect e−5e^{-5}e−5 term that would come from mishandling the exponential factor.

Question 12

A system is governed by dydt+2y=g(t)\frac{dy}{dt} + 2y = g(t)dtdy​+2y=g(t) where g(t)=∑n=1∞(−1)n+1un(t)g(t) = \sum_{n=1}^{\infty} (-1)^{n+1} u_n(t)g(t)=∑n=1∞​(−1)n+1un​(t) and y(0)=0y(0) = 0y(0)=0. What is the behavior of y(t)y(t)y(t) as t→∞t \to \inftyt→∞?

  1. y(t)y(t)y(t) oscillates between 12\frac{1}{2}21​ and −12-\frac{1}{2}−21​ with decreasing amplitude
  2. y(t)y(t)y(t) approaches 12\frac{1}{2}21​ asymptotically with exponential decay of oscillations
  3. y(t)y(t)y(t) oscillates between 12\frac{1}{2}21​ and 000 with period approaching 1 (correct answer)
  4. y(t)y(t)y(t) grows without bound due to the infinite sum of step functions

Explanation: The forcing function g(t)=u1(t)−u2(t)+u3(t)−u4(t)+…g(t) = u_1(t) - u_2(t) + u_3(t) - u_4(t) + \ldotsg(t)=u1​(t)−u2​(t)+u3​(t)−u4​(t)+… creates a square wave that alternates between 1 and 0. For t∈[n,n+1)t \in [n, n+1)t∈[n,n+1), we have g(t)=(−1)n+1g(t) = (-1)^{n+1}g(t)=(−1)n+1. The solution to y′+2y=g(t)y' + 2y = g(t)y′+2y=g(t) with y(0)=0y(0) = 0y(0)=0 is found using integrating factors. For each interval [n,n+1)[n, n+1)[n,n+1), the solution is y(t)=(−1)n+12(1−e−2(t−n))+y(n)e−2(t−n)y(t) = \frac{(-1)^{n+1}}{2}(1 - e^{-2(t-n)}) + y(n)e^{-2(t-n)}y(t)=2(−1)n+1​(1−e−2(t−n))+y(n)e−2(t−n). As ttt increases through each interval, y(t)y(t)y(t) exponentially approaches (−1)n+12\frac{(-1)^{n+1}}{2}2(−1)n+1​ from its value at the start of the interval. Since the forcing alternates sign every unit of time, and the exponential decay is rapid (time constant 12\frac{1}{2}21​), the solution oscillates between approximately 12\frac{1}{2}21​ and 000, spending most of each interval close to the steady-state value 12\frac{1}{2}21​ or −12-\frac{1}{2}−21​ corresponding to the current forcing level. However, since the forcing switches between 1 and 0 (not 1 and -1), the oscillation is between 12\frac{1}{2}21​ and 000. Choice A incorrectly assumes symmetric oscillation about zero. Choice B misses the periodic switching. Choice D ignores the stabilizing effect of the decay term.