Top

Download PDF

A differential equation is an equation of a function and one or more derivatives which may be of first degree or more.

Differential Equations are of the form: d^{2}y/dx^{2} + p dy/dx + qy = 0.

Differential Equations might be of different orders i.e. the highest degree of the derivative. They may be of the first order, second order, third order or more.

For example: dy/dx + y^{2} = 5x First Order Differential Equation.

d^{2}y/dx^{2} + xy = sin(x) Second Order Differential Equation.

d^{3}y/dx^{3} + x dy/dx + y = e^{x} Third Order Differential Equation.

In several real-world situations, First Order Differential Equation does not suffice properly and there is a need to implement Second Order Differential Equation. For a degree greater than one, there’s always a specific trick that is particular to the type of situation you are handling. For you to know how to handle the 2nd order Differential Equation, make sure you go through the concept completely as it will show you some examples and the technique involved in solving 2nd Order Differential Equation.

In the unknown y(x) Equation (1) is 1st order seeing that the highest derivative that seems in it is a 1st order derivative. Similarly, equation (2) is a 2nd order because also y appears. They are both linear, since y, y and y are not squared or cubed etc and their product is not appearing.

In order to obtain the solution of the 2nd order differential equation, we will take into account the following two types of second-order differential equation.

For Homogeneous Second Order Differential Equation

The first type of equation you are going to handle are the ones like:

A d^{2}y/dt^{2} + B dy/dt + C y = 0

Which can be written for both variables y and t. Here, A, B and C are constants which are generally coefficients that you don’t need to worry about.

Now the solution of Second Order Differential Equation starts by taking a guess which is a calculated guess. So we guess a solution to the equation of the form.

y = e^{λt}, where λ is a constant.

Now we have to find λ for which a solution satisfies the second order Differential equation.

So, this implies dy/dt = λe^{λt}, d^{2}y/dt^{2} = λ^{2 }e^{λt},

Thus, we can substitute this into our differential equation as:

a λ^{2}e^{λt} + b λe^{λt} + c e^{λt} = 0.

Now, we know that eλtis not equal to zero, then it effectively becomes a λ^{2} + b λ + c = 0.

This equation is generally called the Auxiliary Equation which you jump straight away. This is a quadratic equation and they are easily solvable. This means that we have to find λ for A, B and C that allow e^{λt} that will satisfy the 2nd order differential equation. We will get two values of λwhich we assume as λ_{1} and λ_{2}.

y = A e^{λ1t} + B e^{λ2t}.

what if λ_{1} = λ_{2}, then the equation would be:

y = (A + Bt)e^{λ1t}.

we should know that λmay be complex. If they are complex, then the solutions of λ_{1} and λ_{2} would be λ_{1} = r + i_{s} and λ_{2} = r – i_{s}.

Then our solution for y, using the relations between e^{λt} and the trigonometric functions, can be written as:

y = e^{rt} (A cost+ B sint).

These are the steps you need to know. For homogeneous second order differential equation, simply move to the auxiliary equation, find the value of lambda λ, write the solution of y and then find the constants using initial conditions if required.

For Inhomogeneous Second Order Differential Equation

The extension to our problem could be when the Right Hand Side of our 2nd Order Differential Equation may be non-zero i.e.

A d^{2}y/dt^{2} + B dy/dt + C y = f(t).

The solution here is quite simple where we can write the general solutions for y as y = y_{c} + y_{p}, where y_{c} is known as the complementary function, and y_{p} the particular integral.

This means that y_{c} is the solution to the problem:

A d^{2}y_{c}/dt^{2} + B dy_{c}/dt + C y_{c} = 0,

And y_{p} to the problem,

A d^{2}y_{p}/dt^{2} + B dy_{p}/dt + C y_{p} = f(t).

We should know that y_{c} is found from the above case, so we just need to find the auxiliary equation. For y_{p}, we again make a guess which depends on f. There are only a few guesses you need to know:

**f(t) y _{p}**

e^{αt} P e^{αt}

αxn+ lower-order powers P x_{n} + Q x_{n − 1} +... + Z

cosαt or sinαt P cosαt + Q sinαt

FAQ (Frequently Asked Questions)

Q1. How do we Find a Solution to the 2nd Order Differential Equation?

Answer: For finding a solution of second-order differential equation constants in y_{p}, we have to just differentiate twice and put it into the Second Order Differential Equation. We have y_{c} and y_{p}, so we can easily find out y and use the initial conditions to find constants in y_{c}.

Examples

Take this as an example:

So, we can find the y_{c}¬using the auxiliary equation:

After this, we have:

The Right Hand Side becomes a polynomial, therefore:

Even though there is no ‘t’ in the RHS, we must use it in y_{p}. This means:

Putting the values in the differential equation, we have

From the equation, we get P = 1. Therefore by equating we get Q = -4/5.

By equating t_{0}, we get:

After all this, we get our solution for y as:

As now you know the solution of Second Order Differential Equation, just start your practice and continue progressing.

Q2. Why does a 2nd Order Differential Equation have Two Solutions?

Answers: A second-order differential equation in the linear form needs two linearly independent solutions such that it obtains a solution for any initial condition, say, y(0) = a, y′(0) = b for arbitrary 'a', 'b'. In terms of mechanical perspective, the position and the velocity can be determined independently.