Skip to main content
Logo image

Section 7.3 Selecting Particular Solutions

As discussed in the previous section, solving non-homogeneous linear differential equations involves finding a solution that satisfies the equation:
any(n)++a2y+a1y+a0y=f(x).
The challenge is that the terms on the left side need to combine in just the right way to match f(x) on the right. This means the form of the particular solution must resemble f(x) closely. When f(x) contains polynomial, exponential, or trigonometric (sine or cosine) terms, the particular solution should involve similar components.
The specific function that accounts for f(x) on the right side is known as the particular solution, denoted yp. The form of this solution depends on the type of function f(x) represents. To help select the correct form of yp, refer to Table 15, which outlines the most common types of f(x) and their corresponding yp forms.
Table 15. Selecting the form of yp based on the form of f(x).
f(x) Particular Solution Form,yp
a A
ax+b Ax+B
ax2+bx+c Ax2+Bx+C
ax3+bx2+cx+d Ax3+Bx2+Cx+D
aeαx Aeαx
asin(βx) Asin(βx)+Bcos(βx)
acos(βx) Asin(βx)+Bcos(βx)
In this table, the constants a, b, c, d, α, and β are assumed to be known, while A, B, C, etc., need to be determined. We will explore how to determine these coefficients in the next section. For now, we are concerned with picking the correct form. Let’s work through a few examples to solidify this process.

Example 16. Determine the initial form of yp.

Solution 1. y+y+5y=3e6x
Since f(x)=3e6x has the form aeαx, we set
yp=Ae6x.
Solution 2. y+3yy=2sin(2x)
2sin(2x) has the form asin(βx), so
yp=Asin(2x)+Bcos(2x).
Solution 3. ω+ω=5θ2+θ+1
5θ2+θ+1 has the form aθ2+bθ+c, so
ωp=Aθ2+Bθ+C.
Solution 4. 2dydx+5y=3
Since f(x)=3 is of the form a, we set
yp=A.
Solution 5. y3y+0.5y=14x4
Even though f(x)=14x4 only has an x4 term, we consider it to be of the form
ax4+bx3+cx2+dx+e,
where b=c=d=e=0. Therefore,
yp=Ax4+Bx3+Cx2+Dx+E.
When f(x) is a sum of multiple functions, each part of the sum contributes to the form of the particular solution. In these situations, we construct yp by simply adding together the particular solutions corresponding to each term in f(x). Let’s look at an example to clarify this approach.

Example 17. Determine the initial form of yp.

For some LNCC equation of the form:
ay+by+cy+dy=f(w),
give the form of yp for each f(w) below.
Solution 1. f(w)=2ew1
Since f(w) is the sum of an ew term and a constant term, we set
yp=Aew+B.
Solution 2. f(w)=3sin(2w)+4cos(2w)
Since f(w) is the sum of a sin(2w) term and a cos(2w) term, we set
yp=Asin(2w)+Bcos(2w).
Solution 3. f(w)=5e3w2sin(4w)
Since f(w) is the sum of an e3w term and a sin(4w) term, we set
yp=Ae3w+Bsin(4w)+Ccos(4w).
Solution 4. f(w)=2sin(3w)4cos(5w)
Since f(w) is the sum of a sin(3w) term and a cos(5w) term, we set
yp=Asin(3w)+Bcos(3w)+Csin(5w)+Dcos(5w).
When f(x) involves products of functions, constructing yp can become more involved. This is because multiplying terms may introduce extra coefficients that turn out to be unnecessary or redundant. In these cases, simplifying the solution to avoid duplication is essential. The following example illustrates this process.

Example 18. Find the initial form of yp for the given equation.

Solution. y+y+5y=10x2e6x
Since f(x)=10x2e6x is the product of a polynomial and an exponential, we initially set:
yp=(Ax2+Bx+C)(De6x).
However, D is redundant because if we multiply it onto the polynomial, it can be absorbed into A,B, and C, as follows:
yp=(Ax2+Bx+C)(De6x)=(ADx2+BDx+CD)e6x.
So, the form of yp simplifies to:
yp=(Ax2+Bx+C)e6x.
Here are a few tips to help you avoid redundant coefficients when constructing the form of yp.

Tips to Avoid Redundant Coefficients.

  1. When f(x) is the product of an exponential and another function, avoid writing a coefficient for the exponential term.
  2. For products of polynomials and sine/cosine functions, use:
    (polynomial form)sin(βx)+(polynomial form)cos(βx)
    where the polynomial form on each term uses different coefficients.
  3. When working with sums, look for redundant overlapping terms.
Let’s put these tips into practice with a couple of examples.

Example 19. Find the initial form of yp for each equation.

Solution 1. y+y=excos(x)
Since f(x)=excos(x) is the product of an exponential and a cosine function, we apply tip 1 and set:
yp=ex(Asinx+Bcosx).
Solution 2. y4y=e6xe3x
Since f(x)=e6xe3x is the product of two exponential functions, we ignore one of the coefficients and set:
yp=Ae6xe3x.
Note, e6xe3x is the same as e3x, so we could also write yp=Ae3x.
Solution 3. 9PP=t3cos(t)
Since f(t)=t3cos(t) is the product of a polynomial and a cosine function, we apply tip 2 and set:
Pp=(At3+Bt2+Ct+D)sint+(Et3+Ft2+Gt+H)cost.
Solution 4. 2y+3y15y=x2cosx+xsinx
When setting up the particular solution, it’s easy to introduce redundant terms if we aren’t careful. For example, if we initially set:
yp=(Ax2+Bx+C)sinx+(Dx2+Ex+F)cosx
and
(Gx+H)sinx+(Ix+J)cosx,
you may notice that the underlined terms introduce unnecessary repetition. By grouping like terms, we can simplify this to:
yp=(Ax2+Bx+C)sinx+(Dx2+Ex+F)cosx.

Reading Questions Check-Point Questions

1. Which of the following functions would be an appropriate form for the particular solution yp if f(x)=5x2+3x+1?

    Which of the following functions would be an appropriate form for the particular solution yp if f(x)=5x2+3x+1?
  • yp=Ax2+Bx+C
  • Correct! The form of the particular solution for a quadratic polynomial should match the degree of the polynomial.
  • yp=Aex+B
  • Incorrect. This form would be appropriate if f(x) was an exponential function, not a polynomial.
  • yp=Asin(x)+Bcos(x)
  • Incorrect. This form would be appropriate if f(x) was a trigonometric function.
  • yp=Ax3+Bx2+Cx+D
  • Incorrect. This form would be too complex, as the given function is quadratic, not cubic.

2. If f(x)=3e4x+2sin(3x), what should be the form of the particular solution yp?

    If f(x)=3e4x+2sin(3x), what should be the form of the particular solution yp?
  • yp=Ae4x+Bsin(3x)+Ccos(3x)
  • Correct! The particular solution should account for both the exponential and trigonometric terms in f(x).
  • yp=Ae4x+Be3x
  • Incorrect. The second term should include sine and cosine, not another exponential.
  • yp=Asin(3x)+Bcos(3x)
  • Incorrect. This form only accounts for the trigonometric part of f(x), not the exponential.
  • yp=Ae4xsin(3x)
  • Incorrect. This form is not appropriate, as the terms in f(x) are separate, not a product of exponential and trigonometric terms.

3. Which of the following would be the correct form for yp if f(x)=x2ex?

  • yp=(Ax2+Bx+C)ex
  • Correct! The particular solution should combine the polynomial with the exponential function in the same way as f(x).
  • yp=Aex
  • Incorrect. This form would be appropriate for an exponential function, but it doesn’t account for the polynomial x2.
  • yp=Ax2+Bx+C
  • Incorrect. This form only accounts for the polynomial part of f(x), not the exponential part.
  • yp=(Ax2+Bx+C)(Dex)
  • Incorrect. The extra coefficient D is unnecessary, as it can be absorbed into the constants A,B, and C.

4. Match the yp form.

5. Match the yp form.

You have attempted 1 of 6 activities on this page.