✦ScienexySCIENCE KNOWLEDGE LIBRARY
reference · SCI-MAT-008-013

Homogeneous and Nonhomogeneous Differential Equations

The terms homogeneous and nonhomogeneous are used in different ways in differential equations. For linear ODEs, a homogeneous equation has a zero forcing term, while a nonhomogeneous equation has a nonzero forcing term. For first-order equations, the same word can also describe a special structural form, so the context must always be identified.

  • Linear homogeneous equation: L[y] = 0

  • Linear nonhomogeneous equation: L[y] = g(x), where g(x) is not identically zero

  • General solution: y = y_c + y_p

  • First-order homogeneous form: dy/dx = F(y/x)

Explanation

For a linear differential equation, homogeneous and nonhomogeneous refer to the right-hand-side forcing term. A general linear equation can be written as L[y] = g(x), where L is a linear differential operator. If g(x) = 0, the equation is homogeneous. If g(x) is not identically zero, it is nonhomogeneous. For example, y'' + 3y' + 2y = 0 is homogeneous, while y'' + 3y' + 2y = eˣ is nonhomogeneous. The solution of a nonhomogeneous linear equation is commonly expressed as the sum of a complementary solution of the associated homogeneous equation and one particular solution. A different use of homogeneous appears in first-order equations of the form dy/dx = F(y/x), or M(x,y)dx + N(x,y)dy = 0 when M and N are homogeneous functions of the same degree. These are structural definitions and should not be confused with the zero-forcing definition for linear equations.

Variables

  • y: unknown function

  • x: independent variable

  • L: linear differential operator

  • g(x): forcing or source term

  • y_c: complementary solution

  • y_p: particular solution

Example or application

The equation y'' + 4y = 0 is a homogeneous linear ODE. The equation y'' + 4y = cos x is a nonhomogeneous linear ODE because its forcing term is cos x.

Definition

For a linear differential equation, homogeneous means that the forcing term is zero, while nonhomogeneous means that the forcing term is not identically zero. In certain first-order equations, homogeneous also refers to a specific dependence on ratios or functions of equal degree.

Purpose

To distinguish linear equations with zero forcing from those with external forcing and understand the structure of their solutions.

Importance

This classification is essential when solving linear differential equations. It explains why nonhomogeneous equations require a particular solution in addition to the complementary solution and helps prevent confusion between two different uses of the word homogeneous.

Learning Objectives

  • Define homogeneous and nonhomogeneous linear equations.

  • Identify the forcing term in a linear differential equation.

  • Classify equations according to whether the forcing term is zero.

  • Explain the roles of complementary and particular solutions.

  • Recognise the separate meaning of homogeneous in certain first-order equations.

Key Concepts

  • Homogeneous linear equation

  • Nonhomogeneous linear equation

  • Forcing term

  • Differential operator

  • Complementary solution

  • Particular solution

  • Homogeneous first-order equation

Working Principle

For a linear equation, the right-hand side represents the external forcing or source term. Setting this term to zero produces the associated homogeneous equation. A nonhomogeneous solution is constructed by combining a solution of the associated homogeneous equation with a particular solution of the full equation.

Process

  • Write the linear differential equation in standard form.

  • Identify the right-hand-side forcing term.

  • Check whether the forcing term is identically zero.

  • Classify the equation as homogeneous or nonhomogeneous.

  • For a nonhomogeneous equation, solve the associated homogeneous equation.

  • Find a particular solution and combine it with the complementary solution.

Applications

  • Free vibration models without external forcing.

  • Forced mechanical oscillations.

  • Electrical circuits with external voltage sources.

  • Heat and diffusion models with source terms.

  • Linear control systems with external inputs.

Worked Example

Consider y'' - 3y' + 2y = 6eˣ. The forcing term is 6eˣ, which is not identically zero, so the equation is nonhomogeneous. Its associated homogeneous equation is y'' - 3y' + 2y = 0. The complete solution is formed by adding the complementary solution of the homogeneous equation to a particular solution of the original equation.

Common Misconceptions

  • Homogeneous does not always mean that every term has the same degree; the meaning depends on the equation type.

  • For a linear equation, homogeneous means the forcing term is zero.

  • A nonhomogeneous equation is not necessarily nonlinear.

  • The first-order homogeneous form dy/dx = F(y/x) is a separate structural classification.

Practice Questions

  • Classify y'' + 5y' + 6y = 0.

  • Classify y'' + y = sin x.

  • What is the forcing term in y' + 2y = eˣ?

  • Explain the relationship y = y_c + y_p.

  • Why must the context be considered when using the word homogeneous?

Key Takeaway

For linear differential equations, homogeneous means zero forcing and nonhomogeneous means a nonzero forcing term; other uses of homogeneous require a separate definition.

Prerequisites

  • Linear differential equations

  • Differential equation notation

  • Basic algebra

  • Functions and derivatives

Reference

  • William E. Boyce, Richard C. DiPrima and Douglas B. Meade, Elementary Differential Equations and Boundary Value Problems.

  • Dennis G. Zill, A First Course in Differential Equations with Modeling Applications.

Related Topics

  • SCI-MAT-008-012

  • SCI-MAT-008-016

  • SCI-MAT-008-017

  • SCI-MAT-008-019

Sources and verification

Sources are shown as provided in the project data. Not every source has yet been independently verified. Please report errors or missing citations.

  • Source verification pending; check an authoritative textbook, university, standards body, or peer-reviewed source.

Suggest a correction or source · More in Differential Equations