TutorChase logo
Decorative notebook illustration
IB DP Maths AA HL Study Notes

5.5.2 Second Order Differential Equations

Differential equations play a pivotal role in the realm of mathematical analysis, especially when delving into the study of dynamic systems. Among these, second order differential equations, which involve the second derivative of a function, hold particular importance in numerous scientific and engineering disciplines. This section will provide an in-depth exploration of homogeneous, non-homogeneous second order differential equations and their myriad applications. To fully grasp the foundation of this topic, it's beneficial to review First Order Differential Equations.

Homogeneous Second Order Differential Equations

A homogeneous second order differential equation can be represented in the general form: d2y/dx2 + P dy/dx + Qy = 0

  • Characteristics:
    • 1. The defining feature of a homogeneous equation is the zero on the right-hand side.
    • 2. The solutions to these equations often manifest as exponential, sine, or cosine functions, providing a wide range of potential answers. Understanding the Graphs of Sine and Cosine can enhance comprehension of these solutions.
  • Solution Method:
    • 1. Begin by assuming a solution in the form y = e(mx).
    • 2. Insert this assumed solution into the differential equation, which will yield a characteristic equation.
    • 3. Solve this characteristic equation to determine the value of m.
    • 4. With the values of m in hand, the general solution can be written.
  • Example: Let's consider the equation d2y/dx2 - 4dy/dx + 3y = 0. The characteristic equation derived from this is m2 - 4m + 3 = 0. Solving this equation, we identify m1 = 1 and m2 = 3. Thus, the general solution can be represented as y = C1 e(x) + C2 e(3x), where C1 and C2 are arbitrary constants.

Non-Homogeneous Second Order Differential Equations

Non-homogeneous second order differential equations are distinguished by a non-zero term on the right-hand side, and can be represented as: d2y/dx2 + P dy/dx + Qy = R(x)

  • Characteristics:
    • 1. The right-hand side, R(x), is a known function of x, which differentiates it from its homogeneous counterpart.
    • 2. To find solutions, one can employ methods such as the method of undetermined coefficients or the variation of parameters. For an intricate understanding of solving equations, delving into Solving Trigonometric Equations might prove beneficial.
  • Solution Method:
    • 1. Start by determining the general solution of the associated homogeneous equation.
    • 2. Subsequently, identify a particular solution to the non-homogeneous equation.
    • 3. The final step involves combining these two solutions to derive the general solution.
  • Example: For the equation d2y/dx2 + 2dy/dx + y = x. The general solution of the associated homogeneous equation is yh = C1 e(-x) + C2 xe(-x). A particular solution, in this case, is yp = x - 1. Thus, the general solution is y = yh + yp = C1 e(-x) + C2 xe(-x) + x - 1.

Applications of Second Order Differential Equations

Second order differential equations find extensive applications in a plethora of fields:

  • Mechanical Vibrations: These equations can describe the motion of systems like a mass-spring setup. This ties closely to the study of Trigonometric Integrals when considering the integrals involved in solving these equations.
  • Electrical Circuits: They are instrumental in analysing the behaviour of circuits equipped with inductors, capacitors, and resistors.
  • Fluid Dynamics: These equations are used to study phenomena like wave propagation and fluid flow.
  • Economics: Certain economic systems and behaviours can be modelled using second order differential equations.

Example Application: Consider a mass-spring system devoid of any damping. The equation of motion for such a system is represented by: m d2y/dx2 + k y = 0 Here, m denotes the mass and k stands for the spring constant. This equation succinctly describes the oscillatory motion of the mass.

Solution: By assuming a solution in the form y = e(mx) and substituting it into the equation, we derive the characteristic equation: m2 + k = 0 Solving for m, we identify imaginary roots, which indicate an oscillatory motion.

Given the equation of motion for a mass-spring system:

m * (second derivative of y with respect to x) + k * y = 0

Assuming a solution of the form:

y = e(m*x)

Substituting this into the equation, we get:

m2 * e(mx) + k/m * e(mx) = 0

This leads to the characteristic equation:

m2 + k/m = 0

Given that k/m is a positive constant (let's call it omega2 for angular frequency), the characteristic equation becomes:

m2 + omega2 = 0

Solving for m, we get:

m = plus or minus i*omega

These are imaginary roots, which indicate an oscillatory motion. The general solution for the equation of motion is then:

y(x) = C1 * cos(omega * x) + C2 * sin(omega * x)

Where C1 and C2 are constants determined by initial conditions.

The presence of both sine and cosine terms in the solution indicates the oscillatory nature of the system, with the angular frequency omega determining the speed of the oscillations.

FAQ

Tackling second order differential equations with variable coefficients, which are more intricate than their constant coefficient counterparts, requires a different approach. Such equations often elude solution via the characteristic equation method. Instead, one might employ techniques like the power series method, the Frobenius method, or even numerical methods. The chosen method often hinges on the equation's specific form and the provided boundary or initial conditions. Familiarity with a range of solution techniques is vital to address the wide variety of problems that variable coefficients can present.

The characteristic roots of a second order differential equation play a crucial role in shaping its general solution. Depending on the nature of these roots, the solution adopts different forms:

  • For real and distinct roots, the general solution is a blend of exponential functions.
  • For real and equal roots, the solution combines an exponential function with a term multiplied by x.
  • For complex conjugate roots, the solution is framed in terms of sine and cosine functions. The function coefficients in the general solution are derived from the given initial or boundary conditions.

Indeed, second order differential equations are integral to numerous real-world applications. In the realm of physics, they delineate the motion of a simple harmonic oscillator, such as a pendulum or a mass-spring system. In the field of electrical engineering, they chart the behaviour of circuits equipped with resistors, capacitors, and inductors. They also find use in fluid dynamics to describe wave propagation and in economics to model specific economic behaviours. The broad applicability of second order differential equations underscores their importance across various scientific and engineering disciplines.

Characteristic roots of a second order differential equation are ascertained by forming a characteristic equation from the given differential equation. This equation is a quadratic one, derived from the coefficients of the differential equation. For an equation like d2y/dx2 + P dy/dx + Qy = 0, the characteristic equation becomes m2 + Pm + Q = 0. Solving this quadratic equation gives the characteristic roots. These can be real and distinct, real and equal, or complex conjugates. These roots are instrumental in determining the general solution of the differential equation.

The primary distinction between homogeneous and non-homogeneous second order differential equations lies in their right-hand side. A homogeneous equation has its right-hand side equal to zero, represented as d2y/dx2 + P dy/dx + Qy = 0. Conversely, a non-homogeneous equation features a non-zero term on the right-hand side, depicted as d2y/dx2 + P dy/dx + Qy = R(x), where R(x) is a known function of x. Solutions to homogeneous equations often combine exponential, sine, or cosine functions. In contrast, non-homogeneous equations need extra methods to pinpoint a specific solution in addition to the general solution of the associated homogeneous equation.

Practice Questions

Solve the homogeneous second order differential equation given by: d^2y/dx^2 + 5dy/dx + 6y = 0.

To solve the given differential equation, we first form the characteristic equation: m2 + 5m + 6 = 0. Factoring this equation, we get: (m + 2)(m + 3) = 0. From this, we can determine the roots as m1 = -2 and m2 = -3. Thus, the general solution to the differential equation is given by: y = C1 e(-2x) + C2 e(-3x), where C1 and C2 are arbitrary constants.

A second order non-homogeneous differential equation is given by: d^2y/dx^2 - 3dy/dx + 2y = x. Find the general solution.

First, we solve the associated homogeneous equation: d2y/dx2 - 3dy/dx + 2y = 0. The characteristic equation is: m2 - 3m + 2 = 0. Factoring, we get: (m - 1)(m - 2) = 0. This gives us the roots m1 = 1 and m2 = 2. The general solution of the homogeneous equation is: yh = C1 e(x) + C2 e(2x). For the non-homogeneous equation, a particular solution can be assumed in the form yp = ax + b. Substituting this into the differential equation and solving, we find the particular solution as yp = x/2 + 3/4. Combining the two solutions, the general solution is: y = yh + yp = C1 e(x) + C2 e(2x) + x/2 + 3/4.

Dr Rahil Sachak-Patwa avatar
Written by: Dr Rahil Sachak-Patwa
LinkedIn
Oxford University - PhD Mathematics

Rahil spent ten years working as private tutor, teaching students for GCSEs, A-Levels, and university admissions. During his PhD he published papers on modelling infectious disease epidemics and was a tutor to undergraduate and masters students for mathematics courses.

Hire a tutor

Please fill out the form and we'll find a tutor for you.

1/2 About yourself
Still have questions?
Let's get in touch.