Laplace Transform

Unit Step Function

t u(t) 1

Unit Step Function defined $$ u(t) = \Biggl\{ \begin{array}{cc} 0 && t \lt 0 \\ 1 && t \gt 0 \end{array} $$ Laplace Transform $$ L(u(t)) = L(1) = \frac{1}{s} $$ This function can be used to represent piecewise discontinuous functions

Example 1

Represent the following functions in terms of Unit Step Function $$ f(t) = \Biggl\{ \begin{array}{cc} 0 && t \lt a \\ 1 && a \lt t \lt b \\ 0 && t \gt b \end{array} \;\;\;\;,\;\;\;\; g(t) = \Biggl\{ \begin{array}{cc} 0 && t \lt 0 \\1- t && 0 \lt t \lt 1 \\ 0 && t \gt 1 \end{array} $$

solution:

t u(t-a) a u(t-b) b f(t) $$ f(t) = u(t-a) - u(t-b) $$
t u(t) u(t-1) 1 g(t) $$ g(t) = (1-t) \left[ u(t) - u(t-1) \right] $$

Example 2

Solve the initial value problem $$ y' + p(t) y = t,\;\; y(0) = 2 $$ where \(p(t) = 2t (1 - u(t-2))\)

solution:

$$ y' + 2t y = t, \;\; t \le 2 $$ $$ f = e^{\int 2 t dt} = e^{t^2}$$ $$ f y' + f 2t y = (f y)' = f t $$ $$ f y = \int e^{t^2} t dt = \frac{1}{2} e^{t^2} + c_1 $$ $$ y(t) = c_1 e^{-t^2} + \frac{1}{2} $$ $$ y(0) = c_1 + \frac{1}{2} = 2 \to c_1 = \frac{3}{2}$$ $$ y(t) = \frac{3}{2} e^{-t^2} + \frac{1}{2}, \;\; t \le 2 $$ $$ y(2) = \frac{3}{2} e^{-4} + \frac{1}{2} $$ $$ y' = t, \;\; t \ge 2 $$ $$ y(t) = \frac{t^2}{2} + c_1, \;\; t \ge 2 $$ $$ y(2) = 2 + c_1 = \frac{3}{2} e^{-4} + \frac{1}{2} \to c_1 = \frac{3}{2} e^{-4} - \frac{3}{2} $$ $$ y(t) = \frac{t^2}{2} + \frac{3}{2} e^{-4} - \frac{3}{2}, \;\; t \ge 2 $$