Link Search Menu Expand Document

Constant Coefficients ODEs

We will cover following topics

ODEs with Constant Coefficients

Equations of the form ad2ydx2+bdydx+cy=f(x) are known as second order linear equations with constant coefficients.

To solve an ODE with constant coefficients, we need to determine the complimentary function (CF) and particular integral (PI).

The solution can then then be written as:

y=yCF+yPI
  • To determine CF, we first form the homogenous equation and then convert it into the auxiliary equation. We, then find the CF.

  • PI can be obtained either by method of undetermined coefficients or by the method of vatiation of parameters.

The detailed steps are illustrated below.

Complementary Function

Homogeneous Equation: The homogeneous equation is derived by simply replacing f(x) by zero in the ODE:

ad2ydx2+bdydx+cy=0

Auxiliary Equation: The auxiliary equation of ad2ydx2+bdydx+cy=0 is given by ak2+bk+c=0, where y=ekx.

Now, the three cases arise:

Case I: If b2>4ac, then the auxiliary equation has real and distinct roots k1 and k2, and the complementary function is given by:

yCF(x)=Aek1x+Bek2x

Case II: If b2=4ac, then the auxiliary equation has real and equal roots k, and the complimentary function is given by:

yCF=(A+Bx)ekx

Case III: If b2<4ac, then the auxiliary equation has complex roots α+βi and αβi, and the complementary function is given by:

yCF=eαx(Acosβx+Bsinβx)

Quickly find CF

To summarise, for the given ODE ad2ydx2+bdydx+cy=0, the complimentary function can be found using below conditions:

Condition Complimentary Function
b2>4ac yCF(x)=Aek1x+Bek2x
b2=4ac yCF=(A+Bx)ekx
b2<4ac yCF=eαx(Acosβx+Bsinβx)

Particular Integral

The particular integral of the and can be calculated using either of the below methods:

  • Method of undetermined coefficients
  • Method of variation of parameters

Method of Undetermined Coefficients

This method involves making an educated guess for the particular integral. The following table can be used for most of the problems:

| f(x) | Particular Integral | |:———-: |:————-:| | k | C | | kx | Cx+D | | kx2 | Cx2+Dx+E | | ksinx or kcosx | Ccosx + Dsinx | | ksinhx or kcoshx | Ccoshx + Dsinhx | | ekx | Cekx | | erx (r: root of AE) | Cxerx or Cx2erx||kx|Cx+D||kx|Cx^2+Dx+E$$ |


Method of Variation of Parameters

This method is more general and can be used for any function f(x). Using the method of variation of parameters, the particular integral can be calculated as below:

yp(x)=y1(x)y2(x)f(x)W(y1,y2)dx+y2(x)y1(x)f(x)W(y1,y2)dx,

where y1(x) and y2(x) are the solutions of the homogeneous equation,

Also, W(y1,y2) is known as the Wronskian and is calculated as:

W(y1,y2)=|y1y2y1y2|

General and Particular Solutions

General Solution

The general solution is the sum of the complementary function and the particular integral.

y(x)=yCF(x)+yPI(x)

Particular Solution:

In the particular solution, the unknown coefficients in the general solution are found by imposing the given boundary conditions on the general solution.


PYQs

ODEs with Constant Coefficients

1) Solve:

y+16y=32sec2x

[2018, 13M]


2) Solve:

yy=x2e2x

[2018, 10M]


3) Solve:

y6y+12y8y=12e2x+27ex

[2018, 10M]


4) Solve the following initial value differential equations: 20y+4y+y=0, y(0)=3.2, y(0)=0.

[2017, 7M]


5) Find a particular integral of d2ydx2+y=ex/2sinx32.

[2016, 10M]


6) Find the general solution of the equation x2d3ydx34xd2ydx2+6dydx=4.

[2016, 15M]


7) Find the general solution of the equation x2d2ydx2+xdydx+y=lnxsin(lnx).

[2013, 15M]


8) Find the general solution of the equation yy=12x2+6x.

[2012, 20M]


9) Obtain the general solution of the second order ordinary differential equation y2y+2y=x+excosx, where dashes denote derivatives w.r.t. x.

[2011, 15M]


10) Use the method of undetermined coefficients to find the particular solutions of y+y=sinx+(1+x2)ex and hence find its general solution.

[2010, 20M]


11) Find the Wronskian of the set of functions: {3x3,|3x3|} on the interval [1,1] and determine whether the set is linearly dependent on [1,1].

[2009, 12M]


12) Obtain the general solution of [D36D2+12D8]y=12(e2x+94ex), where Ddydx.

[2007, 15M]


13) Solve: (D44D25)y=ex(x+cosx).

[2004, 15M]


14) Solve (D5D)=4(ex+cosx+x3), where Ddydx.

[2003, 15M]


15) Solve: (D1)(D22D+2)y=ex, where Ddydx.

[2002, 15M]


16) Solve: (D2+1)2y=24xcosx given that y=Dy=D2y=0 and D3y=12 when x=0.

[2001, 15M]


17) Find the general solution of ayp2+(2xb)py=0, a>0.

[2001, 15M]


< Previous Next >