![]() |
||
| Site Map |
|
Linear ODEs with variable coefficientNatural oscillations (be it mechnical or electrical circuit) exhibit a forcing function that is due to friction, dashpot, or circuit resistance. Suppose we model this forcing function as f(t), an linear ODE with this added nonhomogeneous term now takes the form or simply (in standard form), In case of non-homogeneous linear ODE (non-HLDE) where the input function is polynomial, sinusodial, exponential or any product of the three; we seek the solution to the equation above in the form of yG = yc + yp where
Method of undetermined coefficientsThe method of undetermined coefficients (MoUC) is useful in finding solution for yp. Given P(D) = f(t), find the annihilator A(D) for f(t) such that A(D)f(t) = 0; then apply A(D) to both side of P(D) = f(t) to have A(D)f(t) = A(D)f = 0 , a HLDE with constant coefficients (cc) which could than be readily solve using technique found in 3.1. Note by convention when f(t) is used, it often means that an equation is time-dependent, where f(x) and other denotes time-independent. Suppose that f(x) = 1 − 2x; A(D) has the following family of solutions: Recall: r = 0:e0 = 1,x,x2,x3,... Thus, when we have x; henceforth it implies this root repeated twice. With this in mind, A(D) = D2 has multiplicity 2. Similarly, case of complex roots is based on sin or cos.
Here r = 0:e0 = 1,x,x2,....xn;r = 1:ex,xex,...,xnex Note that once a distinct root is used, it may not be used again due to linearly independent.
Equating coefficients, 2B − A yields constant term on RHS of 1, hence 2B − 1 = 1 so B = 1, A = 1. −2B = −2. Therefore yp = Ax + Bx2 = x + x2. Solution hence becomes y = yc + yp = C1 + C2ex + x + x2 . If we do not keep deleting our used roots, we than may have y = yc + yp = C1 + C2ex + 1 + x2, it would be incorrect since C1 absorbs the arbitrariness of x (here is 1); thus violates linearly dependence.
In this case, we have roots r = {0, 1} which yield family of solution such as Therefore, y1 = 1,y2
= ex and yc = C1(1) +
C2ex Since A(D)
has Equating coefficient, Thus
Solution: No roots. Method of variation of parametersAs explained above, the general solution to a non-homogeneous, linear differential equation y''(x) + p(x)y'(x) + q(x)y(x) = g(x) can be expressed as the sum of the general solution yh(x) to the corresponding homogenous, linear differential equation y''(x) + p(x)y'(x) + q(x)y(x) = 0 and any one solution yp(x) to y''(x) + p(x)y'(x) + q(x)y(x) = g(x). Like the method of undetermined coefficients, described above, the method of variation of parameters is a method for finding one solution to y''(x) + p(x)y'(x) + q(x)y(x) = g(x), having already found the general solution to y''(x) + p(x)y'(x) + q(x)y(x) = 0. Unlike the method of undetermined coefficients, which fails except with certain specific forms of g(x), the method of variation of parameters will always work; however, it is significantly more difficult to use. For a second-order equation, the method of variation of parameters makes use of the following fact: FactLet p(x), q(x), and g(x) be functions, and let y1(x) and y2(x) be solutions to the homogeneous, linear differential equation y''(x) + p(x)y'(x) + q(x)y(x) = 0. Further, let u(x) and v(x) be functions such that u'(x)y1(x) + v'(x)y2(x) = 0 and u'(x)y1'(x) + v'(x)y2'(x) = g(x) for all x, and define yp(x) = u(x)y1(x) + v(x)y2(x). Then yp(x) is a solution to the non-homogeneous, linear differential equation y''(x) + p(x)y'(x) + q(x)y(x) = g(x). Proofyp(x) = u(x)y1(x) + v(x)y2(x) yp'(x) = u'(x)y1(x) + u(x)y1'(x) + v'(x)y2(x) + v(x)y2'(x) = 0 + u(x)y1'(x) + v(x)y2'(x) yp''(x) = u'(x)y1'(x) + u(x)y1''(x) + v'(x)y2'(x) + v(x)y2''(x) = g(x) + u(x)y1''(x) + v(x)y2''(x) yp''(x) + p(x)y'p(x) + q(x)yp(x) = g(x) + u(x)y1''(x) + v(x)y2''(x) + p(x)u(x)y1'(x) + p(x)v(x)y2'(x) + q(x)u(x)y1(x) + q(x)v(x)y2(x) = g(x) + u(x)(y1''(x) + p(x)y1'(x) + q(x)y1(x)) + v(x)(y2''(x) + p(x)y2'(x) + q(x)y2(x)) = g(x) + 0 + 0 = g(x) UsageTo solve the second-order, non-homogeneous, linear differential equation y''(x) + p(x)y'(x) + q(x)y(x) = g(x) using the method of variation of parameters, use the following steps:
Higher-order equationsThe method of variation of parameters can also be used with higher-order equations. For example, if y1(x), y2(x), and y3(x) are linearly independent solutions to y'''(x) + p(x)y''(x) + q(x)y'(x) + r(x)y(x) = 0, then there exist functions u(x), v(x), and w(x) such that u'(x)y1(x) + v'(x)y2(x) + w'(x)y3(x) = 0, u'(x)y1'(x) + v'(x)y2'(x) + w'(x)y3'(x) = 0, and u'(x)y1''(x) + v'(x)y2''(x) + w'(x)y3''(x) = g(x). Having found such functions (by solving algebraically for u'(x), v'(x), and w'(x), then integrating each), we have yp(x) = u(x)y1(x) + v(x)y2(x) + w(x)y3(x), one solution to the equation y'''(x) + p(x)y''(x) + q(x)y'(x) + r(x)y(x) = g(x). ExampleSolve the previous example, y'' + y =
secx Recall |
||||||||||||||||||||||||||||||||||||||||