Solved Exercises on Solving Initial-Value Problems with Laplace Transforms

Master solving initial-value problems with Laplace transforms: converting differential equations to s-domain, solving algebraically, and finding inverse transforms through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 First-order IVP
Exercise 1
Solve the initial-value problem: \(y' + 3y = 6\), \(y(0) = 2\)
Definition:

Initial-value problem (IVP): A differential equation with specified initial conditions. The Laplace transform method converts the differential equation to an algebraic equation in the s-domain.

Laplace transform IVP procedure:
  1. Take the Laplace transform of both sides of the differential equation
  2. Use the initial conditions and properties of Laplace transforms
  3. Solve the resulting algebraic equation for Y(s)
  4. Apply partial fractions or other techniques if necessary
  5. Find the inverse Laplace transform to get y(t)
  6. Verify the solution satisfies both the differential equation and initial conditions
Original
y' + 3y = 6
Laplace
sY(s) - y(0) + 3Y(s) = 6/s
Solution
y(t) = 2e^{-3t} + 2
Laplace Properties
\(\mathcal{L}\{y'\} = sY(s) - y(0)\)
\(\mathcal{L}\{y\} = Y(s)\)
\(\mathcal{L}\{6\} = \frac{6}{s}\)
Inverse Transforms
\(\mathcal{L}^{-1}\left\{\frac{1}{s}\right\} = 1\)
\(\mathcal{L}^{-1}\left\{\frac{1}{s+a}\right\} = e^{-at}\)
Step 1: Take the Laplace transform of both sides

\(\mathcal{L}\{y' + 3y\} = \mathcal{L}\{6\}\)

\(\mathcal{L}\{y'\} + 3\mathcal{L}\{y\} = \mathcal{L}\{6\}\)

Step 2: Apply Laplace transform properties

Let \(\mathcal{L}\{y\} = Y(s)\)

\(\mathcal{L}\{y'\} = sY(s) - y(0) = sY(s) - 2\)

\(\mathcal{L}\{6\} = \frac{6}{s}\)

Substituting: \((sY(s) - 2) + 3Y(s) = \frac{6}{s}\)

Step 3: Solve for Y(s)

\(sY(s) - 2 + 3Y(s) = \frac{6}{s}\)

\(Y(s)(s + 3) - 2 = \frac{6}{s}\)

\(Y(s)(s + 3) = \frac{6}{s} + 2\)

\(Y(s)(s + 3) = \frac{6 + 2s}{s}\)

\(Y(s) = \frac{6 + 2s}{s(s + 3)}\)

Step 4: Apply partial fractions

\(\frac{6 + 2s}{s(s + 3)} = \frac{A}{s} + \frac{B}{s + 3}\)

\(6 + 2s = A(s + 3) + Bs\)

Setting \(s = 0\): \(6 = 3A\), so \(A = 2\)

Setting \(s = -3\): \(6 + 2(-3) = 0 = B(-3)\), so \(B = 0\)

Wait, let's recalculate: Setting \(s = -3\): \(6 + 2(-3) = 6 - 6 = 0 = A(0) + B(-3)\), so \(B = 0\)

This is incorrect. Let's expand: \(6 + 2s = As + 3A + Bs = (A + B)s + 3A\)

Comparing coefficients: \(2 = A + B\) and \(6 = 3A\), so \(A = 2\) and \(B = 0\)

Actually: \(6 + 2s = (A + B)s + 3A\), so \(A + B = 2\) and \(3A = 6\), thus \(A = 2\) and \(B = 0\)

\(Y(s) = \frac{2}{s} + \frac{0}{s + 3} = \frac{2}{s}\)

Step 4 (Corrected): Apply partial fractions properly

\(6 + 2s = (A + B)s + 3A\)

Comparing coefficients: Coefficient of s: \(2 = A + B\), Constant term: \(6 = 3A\)

So \(A = 2\) and \(B = 0\)

Wait, this gives us \(Y(s) = \frac{2}{s}\), which would mean \(y(t) = 2\), but that doesn't satisfy the differential equation.

Let's recalculate: \(Y(s)(s + 3) = \frac{6}{s} + 2\)

\(Y(s)(s + 3) = \frac{6 + 2s}{s}\)

\(Y(s) = \frac{6 + 2s}{s(s + 3)}\)

For partial fractions: \(\frac{6 + 2s}{s(s + 3)} = \frac{A}{s} + \frac{B}{s + 3}\)

\(6 + 2s = A(s + 3) + Bs\)

Setting \(s = 0\): \(6 = 3A\), so \(A = 2\)

Setting \(s = -3\): \(6 + 2(-3) = 0 = B(-3)\), so \(B = 0\)

But this would give \(Y(s) = \frac{2}{s}\), leading to \(y(t) = 2\), which doesn't satisfy the original equation.

Let's check our algebra: \(Y(s)(s + 3) = \frac{6}{s} + 2\)

\(Y(s) = \frac{\frac{6}{s} + 2}{s + 3} = \frac{\frac{6 + 2s}{s}}{s + 3} = \frac{6 + 2s}{s(s + 3)}\)

So: \(\frac{6 + 2s}{s(s + 3)} = \frac{A}{s} + \frac{B}{s + 3}\)

\(6 + 2s = A(s + 3) + Bs = As + 3A + Bs = (A + B)s + 3A\)

Comparing: \(A + B = 2\) and \(3A = 6\), so \(A = 2\) and \(B = 0\)

This is giving us the wrong answer. Let's go back: \((sY(s) - 2) + 3Y(s) = \frac{6}{s}\)

\(sY(s) + 3Y(s) = \frac{6}{s} + 2\)

\(Y(s)(s + 3) = \frac{6}{s} + 2 = \frac{6 + 2s}{s}\)

\(Y(s) = \frac{6 + 2s}{s(s + 3)}\)

Let's expand: \(\frac{6 + 2s}{s(s + 3)} = \frac{A}{s} + \frac{B}{s + 3}\)

\(6 + 2s = A(s + 3) + Bs\)

Setting \(s = 0\): \(6 = 3A\), so \(A = 2\)

Setting \(s = -3\): \(6 + 2(-3) = 6 - 6 = 0 = A(0) + B(-3) = -3B\), so \(B = 0\)

This gives \(Y(s) = \frac{2}{s}\), so \(y(t) = 2\), but checking: \(y' = 0\), so \(0 + 3(2) = 6\) ✓, and \(y(0) = 2\) ✓

Actually, this is correct! The solution is \(y(t) = 2\), which is a constant function.

Step 5: Apply inverse Laplace transform

\(Y(s) = \frac{2}{s}\)

\(y(t) = \mathcal{L}^{-1}\left\{\frac{2}{s}\right\} = 2\)

Step 6: Verify the solution

Check differential equation: \(y' + 3y = 0 + 3(2) = 6\) ✓

Check initial condition: \(y(0) = 2\) ✓

\(y(t) = 2\)
Final answer:

The solution to the initial-value problem is \(y(t) = 2\). The solution is constant, which makes sense as the steady-state solution to this differential equation.

Applied rules:

• Derivative property: \(\mathcal{L}\{y'\} = sY(s) - y(0)\)

• Constant property: \(\mathcal{L}\{c\} = \frac{c}{s}\)

• Linearity: \(\mathcal{L}\{af(t) + bg(t)\} = aF(s) + bG(s)\)

2 Second-order IVP
Exercise 2
Solve the initial-value problem: \(y'' + 4y = 0\), \(y(0) = 1\), \(y'(0) = 0\)
Definition:

Second-order IVP: A second-order differential equation with two initial conditions (typically for the function and its first derivative). The Laplace transform handles derivatives using \(\mathcal{L}\{y''\} = s^2Y(s) - sy(0) - y'(0)\).

Original
y'' + 4y = 0
Laplace
s²Y(s) - sy(0) - y'(0) + 4Y(s) = 0
Solution
y(t) = cos(2t)
Second Derivative
\(\mathcal{L}\{y''\} = s^2Y(s) - sy(0) - y'(0)\)
Trigonometric Pair
\(\mathcal{L}^{-1}\left\{\frac{s}{s^2 + \omega^2}\right\} = \cos(\omega t)\)
Step 1: Take the Laplace transform of both sides

\(\mathcal{L}\{y'' + 4y\} = \mathcal{L}\{0\}\)

\(\mathcal{L}\{y''\} + 4\mathcal{L}\{y\} = 0\)

Step 2: Apply Laplace transform properties

Let \(\mathcal{L}\{y\} = Y(s)\)

\(\mathcal{L}\{y''\} = s^2Y(s) - sy(0) - y'(0) = s^2Y(s) - s(1) - 0 = s^2Y(s) - s\)

Substituting: \((s^2Y(s) - s) + 4Y(s) = 0\)

Step 3: Solve for Y(s)

\(s^2Y(s) - s + 4Y(s) = 0\)

\(Y(s)(s^2 + 4) = s\)

\(Y(s) = \frac{s}{s^2 + 4}\)

Step 4: Apply inverse Laplace transform

Using the transform pair: \(\mathcal{L}^{-1}\left\{\frac{s}{s^2 + \omega^2}\right\} = \cos(\omega t)\)

Here, \(\omega = 2\), so:

\(y(t) = \mathcal{L}^{-1}\left\{\frac{s}{s^2 + 4}\right\} = \cos(2t)\)

Step 5: Verify the solution

Check differential equation: \(y(t) = \cos(2t)\), \(y'(t) = -2\sin(2t)\), \(y''(t) = -4\cos(2t)\)

\(y'' + 4y = -4\cos(2t) + 4\cos(2t) = 0\) ✓

Check initial conditions: \(y(0) = \cos(0) = 1\) ✓, \(y'(0) = -2\sin(0) = 0\) ✓

\(y(t) = \cos(2t)\)
Final answer:

The solution to the initial-value problem is \(y(t) = \cos(2t)\). This represents simple harmonic motion with angular frequency 2.

Applied rules:

• Second derivative property: \(\mathcal{L}\{y''\} = s^2Y(s) - sy(0) - y'(0)\)

• Trigonometric transform: \(\mathcal{L}\{\cos(\omega t)\} = \frac{s}{s^2 + \omega^2}\)

• Initial conditions: Automatically incorporated into the transform

3 IVP with forcing function
Exercise 3
Solve the initial-value problem: \(y'' + 3y' + 2y = e^{-t}\), \(y(0) = 0\), \(y'(0) = 0\)
Definition:

Forced differential equation: A differential equation with a non-homogeneous term (forcing function) on the right side. The Laplace transform method handles forcing functions systematically.

Original
y'' + 3y' + 2y = e^{-t}
Laplace
(s² + 3s + 2)Y(s) = 1/(s+1)
Solution
y(t) = e^{-t} - e^{-2t}
Step 1: Take the Laplace transform of both sides

\(\mathcal{L}\{y'' + 3y' + 2y\} = \mathcal{L}\{e^{-t}\}\)

\(\mathcal{L}\{y''\} + 3\mathcal{L}\{y'\} + 2\mathcal{L}\{y\} = \mathcal{L}\{e^{-t}\}\)

Step 2: Apply Laplace transform properties with initial conditions

Let \(\mathcal{L}\{y\} = Y(s)\)

\(\mathcal{L}\{y'\} = sY(s) - y(0) = sY(s) - 0 = sY(s)\)

\(\mathcal{L}\{y''\} = s^2Y(s) - sy(0) - y'(0) = s^2Y(s) - 0 - 0 = s^2Y(s)\)

\(\mathcal{L}\{e^{-t}\} = \frac{1}{s+1}\)

Substituting: \(s^2Y(s) + 3sY(s) + 2Y(s) = \frac{1}{s+1}\)

Step 3: Solve for Y(s)

\(Y(s)(s^2 + 3s + 2) = \frac{1}{s+1}\)

Factor the characteristic polynomial: \(s^2 + 3s + 2 = (s+1)(s+2)\)

\(Y(s)(s+1)(s+2) = \frac{1}{s+1}\)

\(Y(s) = \frac{1}{(s+1)^2(s+2)}\)

Step 4: Apply partial fractions

\(\frac{1}{(s+1)^2(s+2)} = \frac{A}{s+1} + \frac{B}{(s+1)^2} + \frac{C}{s+2}\)

\(1 = A(s+1)(s+2) + B(s+2) + C(s+1)^2\)

Setting \(s = -1\): \(1 = A(0)(1) + B(1) + C(0)^2 = B\), so \(B = 1\)

Setting \(s = -2\): \(1 = A(-1)(0) + B(0) + C(-1)^2 = C\), so \(C = 1\)

To find A, compare coefficients: Expand the right side and compare coefficients of like powers of s

\(1 = A(s^2 + 3s + 2) + B(s + 2) + C(s^2 + 2s + 1)\)

\(1 = As^2 + 3As + 2A + Bs + 2B + Cs^2 + 2Cs + C\)

\(1 = (A + C)s^2 + (3A + B + 2C)s + (2A + 2B + C)\)

Comparing coefficients: \(A + C = 0\), \(3A + B + 2C = 0\), \(2A + 2B + C = 1\)

From \(A + C = 0\) and \(C = 1\): \(A = -1\)

Check: \(3(-1) + 1 + 2(1) = -3 + 1 + 2 = 0\) ✓

Check: \(2(-1) + 2(1) + 1 = -2 + 2 + 1 = 1\) ✓

So: \(Y(s) = \frac{-1}{s+1} + \frac{1}{(s+1)^2} + \frac{1}{s+2}\)

Step 5: Apply inverse Laplace transform

\(y(t) = \mathcal{L}^{-1}\left\{\frac{-1}{s+1}\right\} + \mathcal{L}^{-1}\left\{\frac{1}{(s+1)^2}\right\} + \mathcal{L}^{-1}\left\{\frac{1}{s+2}\right\}\)

\(y(t) = -e^{-t} + te^{-t} + e^{-2t}\)

\(y(t) = e^{-t}(t - 1) + e^{-2t}\)

Step 6: Verify the solution

Check initial conditions: \(y(0) = e^{0}(0 - 1) + e^{0} = -1 + 1 = 0\) ✓

\(y'(t) = -e^{-t}(t-1) + e^{-t} - 2e^{-2t} = -e^{-t}t + e^{-t} + e^{-t} - 2e^{-2t} = e^{-t}(-t + 2) - 2e^{-2t}\)

\(y'(0) = e^{0}(0 + 2) - 2e^{0} = 2 - 2 = 0\) ✓

\(y(t) = e^{-t}(t - 1) + e^{-2t}\)
Final answer:

The solution to the initial-value problem is \(y(t) = e^{-t}(t - 1) + e^{-2t}\). This combines the response to the forcing function \(e^{-t}\) with the natural response of the system.

Applied rules:

• Forced systems: The Laplace transform handles forcing functions systematically

• Partial fractions: Used for complex rational functions in s-domain

• Time multiplication: \(\mathcal{L}^{-1}\left\{\frac{n!}{(s-a)^{n+1}}\right\} = t^n e^{at}\)

Rules and methods, laws,...
\(\mathcal{L}\{y'\} = sY(s) - y(0), \quad \mathcal{L}\{y''\} = s^2Y(s) - sy(0) - y'(0)\)
Laplace Transform Properties for Derivatives
First Derivative
\(\mathcal{L}\{y'\} = sY(s) - y(0)\)
Includes initial condition
Second Derivative
\(\mathcal{L}\{y''\} = s^2Y(s) - sy(0) - y'(0)\)
Includes both initial conditions
nth Derivative
\(\mathcal{L}\{y^{(n)}\} = s^nY(s) - s^{n-1}y(0) - \ldots - y^{(n-1)}(0)\)
General formula
f(t) F(s) Condition \(1\) \(\frac{1}{s}\) \(s > 0\) \(t^n\) \(\frac{n!}{s^{n+1}}\) \(s > 0\) \(e^{at}\) \(\frac{1}{s-a}\) \(s > a\) \(\cos(\omega t)\) \(\frac{s}{s^2+\omega^2}\) \(s > 0\) \(\sin(\omega t)\) \(\frac{\omega}{s^2+\omega^2}\) \(s > 0\) \(t^n e^{at}\) \(\frac{n!}{(s-a)^{n+1}}\) \(s > a\)
Key definitions:

Laplace transform: An integral transform that converts a function of time into a function of complex frequency, defined as \(\mathcal{L}\{f(t)\} = \int_0^\infty e^{-st}f(t)dt\)

Initial-value problem (IVP): A differential equation with specified initial conditions that uniquely determine the solution

Transfer function: The ratio of output to input in the s-domain for linear time-invariant systems

Complete methodology:
  1. Take Laplace transform: Apply \(\mathcal{L}\) to both sides of the differential equation
  2. Apply properties: Use derivative properties and incorporate initial conditions
  3. Solve algebraically: Solve for Y(s) in the s-domain
  4. Simplify: Use partial fractions or other algebraic techniques if needed
  5. Inverse transform: Apply \(\mathcal{L}^{-1}\) to get y(t)
  6. Verify: Check that the solution satisfies the original equation and initial conditions
Tip 1: Always write down the initial conditions clearly before taking the transform.
Tip 2: The Laplace transform automatically incorporates initial conditions into the transformed equation.
Tip 3: For complex denominators, partial fractions are often necessary before taking the inverse transform.
Tip 4: Always verify your solution by substituting back into the original equation and checking initial conditions.
Common errors: Forgetting initial conditions, incorrect partial fraction decomposition, miscalculating derivatives in transform.
Applications: Control systems, electrical circuits, mechanical vibrations, heat transfer, and other physical systems.
Formulas to know by heart:

• \(\mathcal{L}\{y'\} = sY(s) - y(0)\)

• \(\mathcal{L}\{y''\} = s^2Y(s) - sy(0) - y'(0)\)

• \(\mathcal{L}\{e^{at}\} = \frac{1}{s-a}\)

• \(\mathcal{L}\{\cos(\omega t)\} = \frac{s}{s^2 + \omega^2}\)

• \(\mathcal{L}\{\sin(\omega t)\} = \frac{\omega}{s^2 + \omega^2}\)

Solution: Exercises 4 to 5
4 IVP with sinusoidal forcing
Exercise 4
Solve the initial-value problem: \(y'' + y = \sin(2t)\), \(y(0) = 1\), \(y'(0) = 0\)
Definition:

Sinusoidal forcing: A differential equation with a sinusoidal function on the right side. This represents oscillatory forcing in physical systems like mechanical or electrical resonant circuits.

Original
y'' + y = sin(2t)
Laplace
(s² + 1)Y(s) = s + 2/(s² + 4)
Solution
y(t) = cos(t) - (1/3)sin(2t)
Step 1: Take the Laplace transform of both sides

\(\mathcal{L}\{y'' + y\} = \mathcal{L}\{\sin(2t)\}\)

\(\mathcal{L}\{y''\} + \mathcal{L}\{y\} = \mathcal{L}\{\sin(2t)\}\)

Step 2: Apply Laplace transform properties with initial conditions

Let \(\mathcal{L}\{y\} = Y(s)\)

\(\mathcal{L}\{y''\} = s^2Y(s) - sy(0) - y'(0) = s^2Y(s) - s(1) - 0 = s^2Y(s) - s\)

\(\mathcal{L}\{y\} = Y(s)\)

\(\mathcal{L}\{\sin(2t)\} = \frac{2}{s^2 + 4}\)

Substituting: \((s^2Y(s) - s) + Y(s) = \frac{2}{s^2 + 4}\)

Step 3: Solve for Y(s)

\(s^2Y(s) - s + Y(s) = \frac{2}{s^2 + 4}\)

\(Y(s)(s^2 + 1) = s + \frac{2}{s^2 + 4}\)

\(Y(s) = \frac{s}{s^2 + 1} + \frac{2}{(s^2 + 1)(s^2 + 4)}\)

Step 4: Apply partial fractions to the second term

For \(\frac{2}{(s^2 + 1)(s^2 + 4)}\), let's use the form:

\(\frac{2}{(s^2 + 1)(s^2 + 4)} = \frac{As + B}{s^2 + 1} + \frac{Cs + D}{s^2 + 4}\)

\(2 = (As + B)(s^2 + 4) + (Cs + D)(s^2 + 1)\)

\(2 = As^3 + 4As + Bs^2 + 4B + Cs^3 + Cs + Ds^2 + D\)

\(2 = (A + C)s^3 + (B + D)s^2 + (4A + C)s + (4B + D)\)

Comparing coefficients: \(A + C = 0\), \(B + D = 0\), \(4A + C = 0\), \(4B + D = 2\)

From first and third equations: \(C = -A\) and \(4A - A = 0\), so \(3A = 0\), thus \(A = 0\), \(C = 0\)

From second and fourth equations: \(D = -B\) and \(4B - B = 2\), so \(3B = 2\), thus \(B = \frac{2}{3}\), \(D = -\frac{2}{3}\)

Therefore: \(\frac{2}{(s^2 + 1)(s^2 + 4)} = \frac{2/3}{s^2 + 1} - \frac{2/3}{s^2 + 4}\)

Step 5: Combine terms and apply inverse transform

\(Y(s) = \frac{s}{s^2 + 1} + \frac{2/3}{s^2 + 1} - \frac{2/3}{s^2 + 4}\)

\(Y(s) = \frac{s}{s^2 + 1} + \frac{2/3}{s^2 + 1} - \frac{2/3 \cdot \frac{1}{2} \cdot 2}{s^2 + 4}\)

\(Y(s) = \frac{s}{s^2 + 1} + \frac{2/3}{s^2 + 1} - \frac{1/3 \cdot 2}{s^2 + 4}\)

Step 6: Apply inverse Laplace transform

\(y(t) = \mathcal{L}^{-1}\left\{\frac{s}{s^2 + 1}\right\} + \mathcal{L}^{-1}\left\{\frac{2/3}{s^2 + 1}\right\} - \mathcal{L}^{-1}\left\{\frac{1/3 \cdot 2}{s^2 + 4}\right\}\)

\(y(t) = \cos(t) + \frac{2}{3}\sin(t) - \frac{1}{3}\sin(2t)\)

Step 7: Verify the solution

Check initial conditions: \(y(0) = \cos(0) + \frac{2}{3}\sin(0) - \frac{1}{3}\sin(0) = 1 + 0 - 0 = 1\) ✓

\(y'(t) = -\sin(t) + \frac{2}{3}\cos(t) - \frac{2}{3}\cos(2t)\)

\(y'(0) = -\sin(0) + \frac{2}{3}\cos(0) - \frac{2}{3}\cos(0) = 0 + \frac{2}{3} - \frac{2}{3} = 0\) ✓

\(y(t) = \cos(t) + \frac{2}{3}\sin(t) - \frac{1}{3}\sin(2t)\)
Final answer:

The solution to the initial-value problem is \(y(t) = \cos(t) + \frac{2}{3}\sin(t) - \frac{1}{3}\sin(2t)\). This combines the natural response (cosine and sine terms) with the forced response to the \(\sin(2t)\) input.

Applied rules:

• Sinusoidal forcing: The response includes both natural and forced components

• Partial fractions: For rational functions with quadratic factors

• Trigonometric transforms: \(\mathcal{L}\{\cos(\omega t)\} = \frac{s}{s^2 + \omega^2}\), \(\mathcal{L}\{\sin(\omega t)\} = \frac{\omega}{s^2 + \omega^2}\)

5 IVP with step function
Exercise 5
Solve the initial-value problem: \(y'' + 4y = u_2(t)\), \(y(0) = 0\), \(y'(0) = 0\), where \(u_2(t)\) is the unit step function at \(t = 2\).
Definition:

Unit step function: \(u_c(t) = \begin{cases} 0 & \text{if } t < c \\ 1 & \text{if } t \geq c \end{cases}\), used to model sudden changes or switching in systems.

Original
y'' + 4y = u_2(t)
Laplace
(s² + 4)Y(s) = e^{-2s}/s
Solution
y(t) = (1/4)u_2(t)[1 - cos(2(t-2))]
Step 1: Take the Laplace transform of both sides

\(\mathcal{L}\{y'' + 4y\} = \mathcal{L}\{u_2(t)\}\)

\(\mathcal{L}\{y''\} + 4\mathcal{L}\{y\} = \mathcal{L}\{u_2(t)\}\)

Step 2: Apply Laplace transform properties with initial conditions

Let \(\mathcal{L}\{y\} = Y(s)\)

\(\mathcal{L}\{y''\} = s^2Y(s) - sy(0) - y'(0) = s^2Y(s) - 0 - 0 = s^2Y(s)\)

\(\mathcal{L}\{u_2(t)\} = \frac{e^{-2s}}{s}\) (time-shift property)

Substituting: \(s^2Y(s) + 4Y(s) = \frac{e^{-2s}}{s}\)

Step 3: Solve for Y(s)

\(Y(s)(s^2 + 4) = \frac{e^{-2s}}{s}\)

\(Y(s) = \frac{e^{-2s}}{s(s^2 + 4)}\)

Step 4: Apply partial fractions to the non-exponential part

For \(\frac{1}{s(s^2 + 4)}\), let's use the form:

\(\frac{1}{s(s^2 + 4)} = \frac{A}{s} + \frac{Bs + C}{s^2 + 4}\)

\(1 = A(s^2 + 4) + (Bs + C)s = As^2 + 4A + Bs^2 + Cs = (A + B)s^2 + Cs + 4A\)

Comparing coefficients: \(A + B = 0\), \(C = 0\), \(4A = 1\)

So \(A = \frac{1}{4}\), \(B = -\frac{1}{4}\), \(C = 0\)

Therefore: \(\frac{1}{s(s^2 + 4)} = \frac{1/4}{s} + \frac{-1/4 \cdot s}{s^2 + 4} = \frac{1}{4}\left(\frac{1}{s} - \frac{s}{s^2 + 4}\right)\)

Step 5: Rewrite Y(s) with partial fractions

\(Y(s) = e^{-2s} \cdot \frac{1}{4}\left(\frac{1}{s} - \frac{s}{s^2 + 4}\right) = \frac{e^{-2s}}{4}\left(\frac{1}{s} - \frac{s}{s^2 + 4}\right)\)

Step 6: Apply inverse Laplace transform using time-shift property

The time-shift property states: \(\mathcal{L}^{-1}\{e^{-cs}F(s)\} = u_c(t)f(t-c)\)

\(y(t) = \frac{1}{4}u_2(t)\left[\mathcal{L}^{-1}\left\{\frac{1}{s}\right\}_{t \to t-2} - \mathcal{L}^{-1}\left\{\frac{s}{s^2 + 4}\right\}_{t \to t-2}\right]\)

\(y(t) = \frac{1}{4}u_2(t)\left[1 - \cos(2(t-2))\right]\)

Step 7: Express the complete solution

\(y(t) = \begin{cases} 0 & \text{if } t < 2 \\ \frac{1}{4}[1 - \cos(2(t-2))] & \text{if } t \geq 2 \end{cases}\)

Step 8: Verify the solution

For \(t < 2\): \(y(t) = 0\), so \(y'' + 4y = 0 + 0 = 0 = u_2(t)\) ✓

For \(t > 2\): \(y(t) = \frac{1}{4}[1 - \cos(2(t-2))]\)

\(y'(t) = \frac{1}{4}[0 + 2\sin(2(t-2))] = \frac{1}{2}\sin(2(t-2))\)

\(y''(t) = \frac{1}{2}[2\cos(2(t-2))] = \cos(2(t-2))\)

\(y'' + 4y = \cos(2(t-2)) + 4 \cdot \frac{1}{4}[1 - \cos(2(t-2))] = \cos(2(t-2)) + 1 - \cos(2(t-2)) = 1 = u_2(t)\) ✓

\(y(t) = \frac{1}{4}u_2(t)[1 - \cos(2(t-2))]\)
Final answer:

The solution to the initial-value problem is \(y(t) = \frac{1}{4}u_2(t)[1 - \cos(2(t-2))]\). The system remains at rest until \(t = 2\), then responds with oscillatory motion due to the step input.

Applied rules:

• Unit step transform: \(\mathcal{L}\{u_c(t)\} = \frac{e^{-cs}}{s}\)

• Time-shift property: \(\mathcal{L}^{-1}\{e^{-cs}F(s)\} = u_c(t)f(t-c)\)

• Switching behavior: The solution changes at the switching time c

Key Concepts: Laplace Transforms for IVPs, Properties, Applications
\(\mathcal{L}\{y^{(n)}\} = s^nY(s) - s^{n-1}y(0) - s^{n-2}y'(0) - \ldots - y^{(n-1)}(0)\)
General Derivative Property
Key definitions:

Laplace transform: An integral transform that converts a function of time into a function of complex frequency, defined as \(\mathcal{L}\{f(t)\} = \int_0^\infty e^{-st}f(t)dt\)

Initial-value problem (IVP): A differential equation with specified initial conditions that uniquely determine the solution

Transfer function: The ratio of output to input in the s-domain for linear time-invariant systems

Convolution: The operation that represents the output of a system as the integral of the input with the impulse response

Complete methodology:
  1. Take Laplace transform: Apply \(\mathcal{L}\) to both sides of the differential equation
  2. Apply properties: Use derivative properties and incorporate initial conditions
  3. Solve algebraically: Solve for Y(s) in the s-domain
  4. Simplify: Use partial fractions or other algebraic techniques if needed
  5. Inverse transform: Apply \(\mathcal{L}^{-1}\) to get y(t)
  6. Verify: Check that the solution satisfies the original equation and initial conditions
Tip 1: Always write down the initial conditions clearly before taking the transform.
Tip 2: The Laplace transform automatically incorporates initial conditions into the transformed equation.
Tip 3: For complex denominators, partial fractions are often necessary before taking the inverse transform.
Tip 4: When working with step functions, apply the time-shift property systematically.
Common applications: Control systems, electrical circuits, mechanical vibrations, heat transfer, and other physical systems.
Advanced techniques: Convolution theorem, periodic functions, and systems of differential equations.
Essential formulas and concepts:

• \(\mathcal{L}\{y'\} = sY(s) - y(0)\)

• \(\mathcal{L}\{y''\} = s^2Y(s) - sy(0) - y'(0)\)

• \(\mathcal{L}\{e^{at}\} = \frac{1}{s-a}\)

• \(\mathcal{L}\{\cos(\omega t)\} = \frac{s}{s^2 + \omega^2}\)

• \(\mathcal{L}\{\sin(\omega t)\} = \frac{\omega}{s^2 + \omega^2}\)

• \(\mathcal{L}\{u_c(t)\} = \frac{e^{-cs}}{s}\)

• \(\mathcal{L}^{-1}\{e^{-cs}F(s)\} = u_c(t)f(t-c)\)

Questions & Answers

Question: How do I know when to use Laplace transforms versus other methods for solving differential equations?

Answer: Use Laplace transforms when:

  • You have initial-value problems with initial conditions at t = 0
  • The differential equation has constant coefficients
  • You have forcing functions like step functions, impulses, or periodic functions

Consider alternatives when:

  • You have boundary-value problems (not initial-value)
  • The equation has variable coefficients
  • You need a solution in terms of special functions
  • The equation is nonlinear

Laplace transforms are particularly powerful for piecewise-defined forcing functions and systems with discontinuous inputs.

Question: What's the most efficient approach for handling partial fractions when the denominator has complex roots?

Answer: When dealing with complex roots in the denominator, you have two main approaches:

Approach 1: Real factors

  • Keep quadratic factors in the form \(s^2 + bs + c\) (when discriminant < 0)
  • Use partial fractions of the form \(\frac{As + B}{s^2 + bs + c}\)
  • This avoids complex arithmetic and keeps everything in real form

Approach 2: Complete the square

  • Convert to the form \((s+\alpha)^2 + \beta^2\)
  • Match to standard transform pairs for damped sinusoids
  • Use \(\mathcal{L}^{-1}\left\{\frac{s+\alpha}{(s+\alpha)^2 + \beta^2}\right\} = e^{-\alpha t}\cos(\beta t)\) and \(\mathcal{L}^{-1}\left\{\frac{\beta}{(s+\alpha)^2 + \beta^2}\right\} = e^{-\alpha t}\sin(\beta t)\)

The second approach is usually more efficient as it directly gives you the time-domain solution in terms of exponential and sinusoidal functions.

Question: How do I handle initial conditions when there's a time shift in the forcing function?

Answer: The initial conditions are always taken at t = 0, regardless of when the forcing function starts. Here's how to handle this:

For the differential equation:

  • Apply the Laplace transform to the homogeneous equation using the initial conditions at t = 0
  • Transform the forcing function separately using the time-shift property
  • Combine both parts in the s-domain

Example: For \(y'' + ay' + by = f(t)u_c(t)\) with \(y(0) = y_0\), \(y'(0) = y_1\):

The Laplace transform is: \((s^2Y(s) - sy(0) - y'(0)) + a(sY(s) - y(0)) + bY(s) = \mathcal{L}\{f(t+c)\} \cdot \frac{e^{-cs}}{s}\)

The initial conditions \(y(0) = y_0\) and \(y'(0) = y_1\) are used as they are, even though the forcing function starts later at t = c.

This is because the initial conditions describe the state of the system before any external input affects it.