## You are here

Homemethod of undetermined coefficients

## Primary tabs

# method of undetermined coefficients

Given a (usually non-homogeneous) ordinary differential equation

$F(x,f(x),f^{\prime}(x),\ldots,f^{{(n)}}(x))=0,$ |

the *method of undetermined coefficients* is a way of finding an exact solution when a guess can be made as to the general form of the solution.

In this method, the form of the solution is guessed with unknown coefficients left as variables. A typical guess might be of the form $Ae^{{2x}}$ or $Ax^{2}+Bx+C$. This can then be substituted into the differential equation and solved for the coefficients. Obviously the method requires knowing the approximate form of the solution, but for many problems this is a feasible requirement.

This method is most commonly used when the formula is some combination of exponentials, polynomials, $\sin$ and $\cos$.

# Example

Suppose we have the following second order non-homogeneous equation

$f^{{\prime\prime}}(x)-2f^{\prime}(x)+f(x)=2e^{{2x}}.$ |

If we guess that the soution is of the form $f(x)=Ae^{{2x}}$, then, by substitution, we get

$4Ae^{{2x}}-4Ae^{{2x}}+Ae^{{2x}}-2e^{{2x}}=0$ |

and therefore $Ae^{{2x}}=2e^{{2x}}$, so $A=2$, giving $f(x)=2e^{{2x}}$ as a solution.

## Mathematics Subject Classification

34-00*no label found*

- Forums
- Planetary Bugs
- HS/Secondary
- University/Tertiary
- Graduate/Advanced
- Industry/Practice
- Research Topics
- LaTeX help
- Math Comptetitions
- Math History
- Math Humor
- PlanetMath Comments
- PlanetMath System Updates and News
- PlanetMath help
- PlanetMath.ORG
- Strategic Communications Development
- The Math Pub
- Testing messages (ignore)

- Other useful stuff
- Corrections

## Corrections

typo fix by spop ✓

fix a typo by spop ✓

typo by yark ✓

minor by CWoo ✓