Is It Possible to Use the Method of Undetermined Coefficients Here?

Click For Summary
SUMMARY

The discussion centers on the application of the Method of Undetermined Coefficients to solve the differential equation y'' + 4y = 8cos2t. The user initially believes a sine term should be present in the solution but encounters inconsistencies in their calculations. The correct approach involves defining the particular solution as y(t) = At*sin(2t) + Bt*cos(2t) and correctly computing the derivatives. Ultimately, the solution reveals that B = 2 and A = 0, leading to the correct particular solution of y(t) = 2t*sin(2t).

PREREQUISITES
  • Understanding of second-order linear differential equations
  • Familiarity with the Method of Undetermined Coefficients
  • Knowledge of computing derivatives of trigonometric functions
  • Ability to manipulate and simplify algebraic expressions
NEXT STEPS
  • Study the Method of Undetermined Coefficients in detail
  • Learn about the Variation of Parameters method for solving differential equations
  • Practice solving second-order linear differential equations with non-homogeneous terms
  • Explore the implications of complex roots in characteristic equations
USEFUL FOR

Students and educators in mathematics, particularly those focusing on differential equations, as well as anyone seeking to deepen their understanding of solution methods for linear differential equations.

checkmatechamp
Messages
23
Reaction score
0
I'm doing a practice problem I found online, and I get a solution, but I think it should have a sine term in it. I looked up the solution, and most sites say to use variation of parameters, but is it possible to use the method of undetermined coefficients?

The problem is as follows: y'' + 4y = 8cos2t

r^2 + 4 = 0 ----> r^2 = -4 -----> r = +/- 2i

yh = c1*sin2t + c2*cos2t

Particular solution has form At*sin2t + Bt*cos2t (because you add a "t" to both terms so they don't clash with the cos2t or sin2t terms)

First derivative is -2At*sin2t + A*cos2t + 2Bt*cos2t + B*sin2t

Second derivative is -4At*cos2t - 2A*sin2t - 2A*sin2t - 4Bt*sin2t + 2B*cos2t + 2B*cos2t

So then you add that term to the particular solution and get:

-4At*cos2t - 2A*sin2t - 2A*sin2t - 4Bt*sin2t + 2B*cos2t + 2B*cos2t + 4At*sin2t + 4Bt*cos2t

Canceling out terms leaves you with -2A*sin2t - 2A*sin2t + 2B*cos2t + 2B*cos2t = 8*cos2t.

Now the problem is that 8*cos2t is really 8*cos2t + 0*sin2t. Solving for B gives you B = 2, but that means A = 0. But the final solution should have a sine term in it. (And I looked up the solutions, and they do have a sine term)

I thought you could use the Method of Undetermined Coefficients when you were dealing with a sine/cosine function, a regular polynomial, or an exponential function. (I think the fourth one was a function of e^t. I forget off the top of my head.)
 
Physics news on Phys.org
checkmatechamp said:
I'm doing a practice problem I found online, and I get a solution, but I think it should have a sine term in it. I looked up the solution, and most sites say to use variation of parameters, but is it possible to use the method of undetermined coefficients?

The problem is as follows: y'' + 4y = 8cos2t

r^2 + 4 = 0 ----> r^2 = -4 -----> r = +/- 2i

yh = c1*sin2t + c2*cos2t

Particular solution has form At*sin2t + Bt*cos2t (because you add a "t" to both terms so they don't clash with the cos2t or sin2t terms)

First derivative is -2At*sin2t + A*cos2t + 2Bt*cos2t + B*sin2t

You are inconsistent in your definitions of A and B. You start by defining
<br /> y(t) = At\sin(2t) + Bt\cos(2t)<br /> but in computing the derivatives you somehow switched to <br /> y(t) = At\cos(2t) + Bt\sin(2t).
Thus when you substituted these into the ODE you obtained
[y'' + 4y =] -4At*cos2t - 2A*sin2t - 2A*sin2t - 4Bt*sin2t + 2B*cos2t + 2B*cos2t + 4At*sin2t + 4Bt*cos2t
where you failed to notice that the terms I've bolded don't actually cancel.

But continuing on, you find that B = 2. Because you flipped the definitions of A and B halfway through, this is actually telling you that y(t) = 2t\sin(2t), which is correct.
 
Last edited:

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
Replies
41
Views
5K
  • · Replies 9 ·
Replies
9
Views
3K
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
12K
  • · Replies 7 ·
Replies
7
Views
7K