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.
- Take the Laplace transform of both sides of the differential equation
- Use the initial conditions and properties of Laplace transforms
- Solve the resulting algebraic equation for Y(s)
- Apply partial fractions or other techniques if necessary
- Find the inverse Laplace transform to get y(t)
- Verify the solution satisfies both the differential equation and initial conditions
\(\mathcal{L}\{y' + 3y\} = \mathcal{L}\{6\}\)
\(\mathcal{L}\{y'\} + 3\mathcal{L}\{y\} = \mathcal{L}\{6\}\)
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}\)
\(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)}\)
\(\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}\)
\(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.
\(Y(s) = \frac{2}{s}\)
\(y(t) = \mathcal{L}^{-1}\left\{\frac{2}{s}\right\} = 2\)
Check differential equation: \(y' + 3y = 0 + 3(2) = 6\) ✓
Check initial condition: \(y(0) = 2\) ✓
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.
• 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)\)
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)\).
\(\mathcal{L}\{y'' + 4y\} = \mathcal{L}\{0\}\)
\(\mathcal{L}\{y''\} + 4\mathcal{L}\{y\} = 0\)
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\)
\(s^2Y(s) - s + 4Y(s) = 0\)
\(Y(s)(s^2 + 4) = s\)
\(Y(s) = \frac{s}{s^2 + 4}\)
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)\)
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\) ✓
The solution to the initial-value problem is \(y(t) = \cos(2t)\). This represents simple harmonic motion with angular frequency 2.
• 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
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.
\(\mathcal{L}\{y'' + 3y' + 2y\} = \mathcal{L}\{e^{-t}\}\)
\(\mathcal{L}\{y''\} + 3\mathcal{L}\{y'\} + 2\mathcal{L}\{y\} = \mathcal{L}\{e^{-t}\}\)
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}\)
\(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)}\)
\(\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}\)
\(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}\)
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\) ✓
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.
• 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}\)
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
- Take Laplace transform: Apply \(\mathcal{L}\) to both sides of the differential equation
- Apply properties: Use derivative properties and incorporate initial conditions
- Solve algebraically: Solve for Y(s) in the s-domain
- Simplify: Use partial fractions or other algebraic techniques if needed
- Inverse transform: Apply \(\mathcal{L}^{-1}\) to get y(t)
- Verify: Check that the solution satisfies the original equation and initial conditions
• \(\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}\)
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.
\(\mathcal{L}\{y'' + y\} = \mathcal{L}\{\sin(2t)\}\)
\(\mathcal{L}\{y''\} + \mathcal{L}\{y\} = \mathcal{L}\{\sin(2t)\}\)
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}\)
\(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)}\)
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}\)
\(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}\)
\(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)\)
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\) ✓
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.
• 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}\)
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.
\(\mathcal{L}\{y'' + 4y\} = \mathcal{L}\{u_2(t)\}\)
\(\mathcal{L}\{y''\} + 4\mathcal{L}\{y\} = \mathcal{L}\{u_2(t)\}\)
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}\)
\(Y(s)(s^2 + 4) = \frac{e^{-2s}}{s}\)
\(Y(s) = \frac{e^{-2s}}{s(s^2 + 4)}\)
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)\)
\(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)\)
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]\)
\(y(t) = \begin{cases} 0 & \text{if } t < 2 \\ \frac{1}{4}[1 - \cos(2(t-2))] & \text{if } t \geq 2 \end{cases}\)
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)\) ✓
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.
• 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
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
- Take Laplace transform: Apply \(\mathcal{L}\) to both sides of the differential equation
- Apply properties: Use derivative properties and incorporate initial conditions
- Solve algebraically: Solve for Y(s) in the s-domain
- Simplify: Use partial fractions or other algebraic techniques if needed
- Inverse transform: Apply \(\mathcal{L}^{-1}\) to get y(t)
- Verify: Check that the solution satisfies the original equation and initial conditions
• \(\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)\)