Skip to content
Mar 10

ODE: Undetermined Coefficients for Systems

MT
Mindli Team

AI-Generated Content

ODE: Undetermined Coefficients for Systems

Solving nonhomogeneous systems of linear ordinary differential equations is fundamental to modeling driven engineering systems, from circuit networks to mechanical vibrations. While finding the homogeneous solution describes the system's natural behavior, the particular solution captures its forced response. The Method of Undetermined Coefficients provides a systematic, algebraic technique to find this particular solution when the system's forcing function is a combination of polynomials, exponentials, sines, and cosines. Mastering this method allows you to predict the complete system response, a critical skill for control systems, signal processing, and structural dynamics.

From Single Equations to Systems: The Core Analogy

The method for systems directly extends the logic used for single linear ODEs. For a single equation like , if is a function like or , you propose a trial solution with the same functional form but with undetermined constant coefficients. For a system of equations with constant coefficients, written in matrix form as , the principle is identical: you propose a trial vector solution whose components mirror the functional form of the forcing vector .

The key difference is that the "undetermined coefficients" are now vectors of constants. If the forcing term in a 2x2 system is , your trial particular solution isn't just a scalar polynomial; it's a vector of polynomials: . You then substitute and its derivative into the system . This generates a system of algebraic equations by matching the coefficients of like terms (e.g., all terms, all terms, constants) across each row. Solving this algebraic system yields the numeric values for your vector of undetermined coefficients.

Structuring the Trial Solution for Different Forcing Types

The success of the method hinges on correctly choosing the initial form of . The forcing vector dictates the form, component by component. You must consider each type of function present across all components of .

  • Polynomial Forcing: If any component of is a polynomial of degree , then the corresponding component in must be a general polynomial of degree , including all lower-order terms. For , the trial is .
  • Exponential Forcing: For a forcing term like , the trial solution includes a term of the form , where is a constant vector to be determined. For , the trial is .
  • Trigonometric Forcing: For forcing terms like or , you must include both sine and cosine terms in your trial solution, even if only one appears in the forcing. This is because differentiation links sines and cosines. For , the correct trial is .

Combined Forcing: When is a sum of these types, your trial is the sum of the corresponding trial vectors. For , you would propose:

The Critical Step: Handling Resonance (Modification Rule)

A major pitfall occurs when part of your proposed trial solution is already a solution to the associated homogeneous system . This is resonance, where the forcing function "matches" a natural mode of the system. In such cases, the standard trial solution will fail because it is not linearly independent from the homogeneous solution. You must modify it by multiplying the offending part of the trial by (or , where is the smallest positive integer that removes the duplication).

How to check: Always solve for the homogeneous solution first. If any term in your proposed is a constant multiple of a term in , resonance exists.

Example: Suppose for a system, . If the forcing is , note that this forcing is a scalar multiple of the first homogeneous basis vector's function, . A standard trial of would be incorrect because is already in . You must modify it: . Now substitute this modified form into the differential system to solve for and .

Constructing the Complete System Response

Once you have successfully determined the particular solution and the homogeneous solution , the general solution to the nonhomogeneous system is their sum: The homogeneous solution contains arbitrary constants (e.g., ), while the particular solution is a single, specific vector function with no arbitrary constants. To solve an initial value problem, you would apply the initial conditions to this complete general solution to determine the values of the constants , etc. This complete solution models the total system output: the transient response (homogeneous part, which often decays) plus the steady-state forced response (particular part).

Common Pitfalls

  1. Insufficient Trial for Trigonometry: Proposing for a forcing with . This will always lead to an unsolvable system because the derivative produces , which has no counterpart to match. Correction: Always include both sine and cosine terms with independent coefficient vectors for any trigonometric forcing.
  1. Missing Lower-Order Terms in Polynomials: For forcing , proposing is incorrect. The first component needs all lower-degree terms: . Correction: For a polynomial of degree , include terms for in the corresponding component.
  1. Overlooking System-Wide Resonance: Focusing only on the functional form and not its vector relationship to the homogeneous solution. Resonance occurs if the entire term in the trial (function and its constant vector structure) solves the homogeneous system. Correction: After finding , compare the functional form and the vector coefficient of each term. If a term in is a scalar multiple of a term in , you must modify by multiplying by .
  1. Incorrect Substitution into Matrix Form: A procedural error when substituting into . Correction: Compute the derivative correctly. Then compute the matrix product . The equation must hold for all . Collect terms for each unique function () to set up your algebraic system.

Summary

  • The Method of Undetermined Coefficients for systems extends the scalar method: you propose a vector trial solution whose components mirror the functional forms present in the forcing vector .
  • The trial solution must account for all function types (polynomial, exponential, trigonometric) across all system components, and for trigonometric forcing, both sine and cosine terms must be included even if only one appears in the forcing.
  • Resonance requires modification of the trial solution. If a term in your proposed is already present in the homogeneous solution , multiply that entire term in the trial by (or a sufficient power of ) to achieve linear independence.
  • The complete general solution is the sum , combining the system's natural and forced responses.
  • The method is purely algebraic after the correct trial form is chosen. Success hinges on careful formulation of the trial, vigilant checking for resonance, and meticulous substitution into the matrix differential equation.

Write better notes with AI

Mindli helps you capture, organize, and master any subject with AI-powered summaries and flashcards.