First-Order Differential Equations Reviewholbert.faculty.asu.edu/eee202/DiffEQ.pdf · First-Order...

2
DiffEQ.doc November 2002 K.E. Holbert First-Order Differential Equations Review We consider first-order differential equations of the form: ) ( ) ( 1 ) ( t f t x dt t x d = + τ (1) where f(t) is the forcing function. In general, the differential equation has two solutions: 1. complementary (or natural or homogeneous) solution, x C (t) (when f(t) = 0), and 2. particular (or forced or non-homogeneous) solution, x P (t) (when f(t) 0). In our problems, f(t) is often a constant, and therefore, the overall solution to the differential equation is 2 / 1 ) ( ) ( ) ( K e K t x t x t x t P C + = + = τ (2) The time constant, τ, for first-order electrical circuits is either τ = RC or τ = L/R. Complementary Solution The complementary solution is found by considering the homogeneous equation: 0 ) ( 1 ) ( = + t x dt t x d τ (3) The complementary solution is the system’s natural response, which is τ / 1 ) ( t C e K t x = This result can be verified by substituting this answer into the differential equation, Eq. (3). Particular Solution The particular solution is found by considering the full (non-homogeneous) differential equation, that is, Eq. (1). If the forcing function is a constant, then x P (t) is a constant (K 2 ) also, and hence 0 = dt dx P . Substituting x P into the original differential equation, Eq. (1), yields: f x x dt x d P P P = + = + τ τ 1 0 1 Reducing the above expression provides the particular solution, which is the forced response: f K x P τ = = 2 Note that, alternatively, K 2 could have been found using Eq. (2) while considering the final value reached by the variable of interest, and hence, in this case is also the steady-state response: 2 2 1 ) ( K K e K x = + = −∞ Total Solution The total solution is the sum of the complementary and particular solutions: f e K x t x t x t P C T τ τ + = + = / 1 ) ( ) ( (4) The coefficient term, K 1 , is found from the initial conditions (at t = 0). Initial Conditions Typically, the initial conditions are determined by considering that for dc steady-state conditions: (a) a capacitor is like an open circuit ( 0 = = dt dv C i C C ), and (b) an inductor appears as a short circuit ( 0 = = dt di L v L L ). Further, the current through an inductor and the voltage across a capacitor cannot change instantaneously, for example, ) 0 ( ) 0 ( + = L L i i and ) 0 ( ) 0 ( + = C C v v .

Transcript of First-Order Differential Equations Reviewholbert.faculty.asu.edu/eee202/DiffEQ.pdf · First-Order...

Page 1: First-Order Differential Equations Reviewholbert.faculty.asu.edu/eee202/DiffEQ.pdf · First-Order Differential Equations Review ... Second-Order Differential Equations Review ...

DiffEQ.doc November 2002 K.E. Holbert

First-Order Differential Equations Review We consider first-order differential equations of the form:

)()(1)( tftxdt

txd=+

τ (1)

where f(t) is the forcing function. In general, the differential equation has two solutions:

1. complementary (or natural or homogeneous) solution, xC(t) (when f(t) = 0), and 2. particular (or forced or non-homogeneous) solution, xP(t) (when f(t) ≠ 0).

In our problems, f(t) is often a constant, and therefore, the overall solution to the differential equation is 2

/1)()()( KeKtxtxtx t

PC +=+= − τ (2) The time constant, τ, for first-order electrical circuits is either τ = RC or τ = L/R.

Complementary Solution The complementary solution is found by considering the homogeneous equation:

0)(1)(=+ tx

dttxd

τ (3)

The complementary solution is the system’s natural response, which is τ/

1)( tC eKtx −=

This result can be verified by substituting this answer into the differential equation, Eq. (3).

Particular Solution The particular solution is found by considering the full (non-homogeneous) differential equation, that is, Eq. (1). If the forcing function is a constant, then xP(t) is a constant (K2) also, and hence

0=dtdxP . Substituting xP into the original differential equation, Eq. (1), yields:

fxxdtxd

PPP =+=+

ττ101

Reducing the above expression provides the particular solution, which is the forced response: fKxP τ== 2

Note that, alternatively, K2 could have been found using Eq. (2) while considering the final value reached by the variable of interest, and hence, in this case is also the steady-state response:

221)( KKeKx =+=∞ −∞

Total Solution The total solution is the sum of the complementary and particular solutions: feKxtxtx t

PCT ττ +=+= − /1)()( (4)

The coefficient term, K1, is found from the initial conditions (at t = 0).

Initial Conditions Typically, the initial conditions are determined by considering that for dc steady-state conditions:

(a) a capacitor is like an open circuit ( 0== dtdvCi C

C ), and (b) an inductor appears as a short

circuit ( 0== dtdiLv L

L ). Further, the current through an inductor and the voltage across a

capacitor cannot change instantaneously, for example, )0()0( +=− LL ii and )0()0( +=− CC vv .

Page 2: First-Order Differential Equations Reviewholbert.faculty.asu.edu/eee202/DiffEQ.pdf · First-Order Differential Equations Review ... Second-Order Differential Equations Review ...

DiffEQ.doc November 2002 K.E. Holbert

Second-Order Differential Equations Review The second-order differential equations of interest are of the form:

)()(2 2002

2

tftydt

yddt

yd=++ ωως (5)

where f(t) is the forcing function. Like the first-order case, this differential equation has two solutions: (1) complementary (or natural) solution, yC(t) when f(t) = 0, and (2) particular (or forced) solution, yP(t) when f(t) ≠ 0. In our problems, f(t) is often a constant, and therefore, the overall solution to the differential equation is typically 321

21)()()( KeKeKtytyty tstsPC ++=+= (6)

Complementary Solution The complementary solution is found by considering the homogeneous equation:

0)(2

2

=++ tybdt

ydadt

yd (7)

where 02 ως=a and 20ω=b . The complementary solution is the system’s natural response:

tstsC eKeKty 21

21)( += (8) The natural frequencies, s1 and s2, are the roots of the characteristic equation: 02 =++ bsas (9) These roots lead to three possible cases:

ζ Roots (s1, s2) Damping Natural Response ζ > 1 Real and unequal Overdamped Sum of two decaying exponentials ζ = 1 Real and equal Critically damped Two faster decaying exponentials ζ < 1 Complex conjugates Underdamped Exponentially damped sinusoid

Particular Solution The particular solution is found by considering the full (non-homogeneous) differential equation, Eq. (5). If the forcing function is a constant, then yP(t) is also a constant (K3), and hence

2

20 dt

yddt

dy PP == . Substituting yP into the differential equation yields:

fybatybdt

ydadt

ydP =++=++ 00)(2

2

Reducing the above expression provides the particular solution, which is the forced response

bfKyP == 3

Alternatively, K3 could have been determined from Eq. (6) and the final value y(∞).

Initial Conditions Initial conditions for y and its derivative are necessary to find K1 and K2; specifically needed are y(0) and

0=tdtdy . A numerical value for

0=tdtdy is generally found by re-applying KVL or KCL at

t=0. Practically speaking, as the KVL or KCL is performed, the inductor voltage and capacitor

current, respectively, are expressed as 0=t

Ldt

diL and 0=t

Cdt

dvC . The numerical value of 0=tdt

dy

is then equated to an analytical derivative of y(t) determined from Eq. (6). The initial conditions for y(0) are found in the same manner as described for first-order differential equations.