EE102 Systems and Signals (Discussion)


Course description
For comments write to me by e-mail .
These pages are probably always incomplete, but I try to update them often.
next up previous contents
Next: Constant Coefficients Up: First Order Linear Differential Previous: First Order Linear Differential

General Case

The general first-order linear differential equation is given by:

$\displaystyle \frac{dy(t)}{dt} + a(t)y(t) = x(t), y(0) = y_o$

where a(t) and x(t) are given functions, and we need to solve for $ y(t)$ for $ t\geq 0$ given the initial condition $ y(0) = y_o$.

To solve the equation for $ y(t)$, we use the well-known trick of multiplying the equation by the so-called integrating factor:

$\displaystyle e^{\int_0^t a(\tau) d\tau} $

This gives:

$\displaystyle e^{\int_0^t a(\tau) d\tau}\frac{dy(t)}{dt} + e^{\int_0^t a(\tau) d\tau}a(t)y(t) = e^{\int_0^t a(\tau) d\tau}x(t) $

But by the product rule of differentiation, the LHS is

$\displaystyle \frac{d}{dt}\left( e^{\int_0^t a(\tau)d\tau}y(t)\right) $

since

$\displaystyle \frac{d}{dt}\left( e^{\int_0^t a(\tau)d\tau}y(t)\right) = e^{\int...
...frac{dy(t)}{dt} + \frac{d}{dt}\left( e^{\int_0^t a(\tau)d\tau}\right)\cdot y(t)$     (product rule)$\displaystyle $

and

$\displaystyle \frac{d}{dt}\left(e^{\int_0^t a(\tau) d\tau}\right) = e^{\int_0^t...
...rac{d}{dt}\left(\int_0^t a(\tau) d\tau\right) = e^{\int_0^t a(\tau) d\tau}a(t) $

Hence, the differential equation now becomes:

$\displaystyle \frac{d}{dt}\left( e^{\int_0^t a(\tau)d\tau}y(t)\right) = e^{\int_0^t a(\tau) d\tau}x(t) $

To get $ y(t)$, we first change the $ t$ to $ \sigma$ and integrate from 0 to $ t$:

$\displaystyle \int_0^t\frac{d}{d\sigma}\left( e^{\int_0^\sigma a(\tau)d\tau}y(\sigma)\right) d\sigma = \int_0^te^{\int_0^\sigma a(\tau) d\tau}x(\sigma) d\sigma$

The integral on the LHS is just $ e^{\int_0^\sigma a(\tau)d\tau}y(\sigma)$. Therefore, using the initial condition $ y(0) = y_o$, we get

$\displaystyle \left[ e^{\int_0^\sigma a(\tau)d\tau}y(\sigma)\right]_{\sigma=0}^...
...(\tau) d\tau} - y_o = \int_0^te^{\int_0^\sigma a(\tau) d\tau}x(\sigma) d\sigma $

Finally, rearranging terms, we get the solution to be

$\displaystyle y(t) = y_oe^{-\int_0^t a(\tau)d\tau} + e^{-\int_0^t a(\tau)d\tau} \int_0^te^{\int_0^\sigma a(\tau) d\tau}x(\sigma) d\sigma,   t \geq 0 $


next up previous contents
Next: Constant Coefficients Up: First Order Linear Differential Previous: First Order Linear Differential

visitors since January 7., 2002. -

Sankaran Panchapagesan
2002-06-05