Method of undetermined coefficients

Click For Summary
SUMMARY

The discussion focuses on solving the differential equation y'' + y' + y = cos(x) - x^2 e^x using the method of undetermined coefficients. The characteristic equation yields complex roots, leading to the complementary solution y_c = e^{-x/2}(c1 cos(√3/2 x) + c2 sin(√3/2 x)). The particular solution y_p is proposed as a combination of terms including A cos(x), B sin(x), C x^2 e^x, D x e^x, and E e^x. After simplification, the final solution is expressed as y = e^{-x/2}(c1 cos(√3/2 x) + c2 sin(√3/2 x)) + 0 cos(x) + 1 sin(x) - (1/3)x^2 e^x + (2/3)x e^x - (4/9)e^x, with the need for initial conditions to determine constants c1 and c2.

PREREQUISITES
  • Understanding of second-order linear differential equations
  • Familiarity with the method of undetermined coefficients
  • Knowledge of characteristic equations and complex roots
  • Proficiency in differentiation and the product rule
NEXT STEPS
  • Study the method of undetermined coefficients in-depth
  • Learn about solving second-order differential equations with complex roots
  • Explore techniques for finding particular solutions for non-homogeneous equations
  • Review the application of initial conditions in solving differential equations
USEFUL FOR

Students and professionals in mathematics, particularly those focusing on differential equations, as well as educators seeking to enhance their understanding of the method of undetermined coefficients.

ProPatto16
Messages
323
Reaction score
0
solve y''+y'+y=cosx-x2ex

y= yc+yp

yc:

characteristic eq gives r2+r+1=0

using quadratic formula i got r=-1/2+[(sqrt3)/2]i and r=-1/2-[(sqrt3)/2]i

so yc=e-x/2(c1cos(sqrt3/2)x+c2sin(sqrt3/2)x

but i have no idea of a particular solution that makes any sense.

i tried a general approach, the functions and their derivitives on the RHS include terms cosx, sinx, x2ex, xex, ex

so i good start would be yp=Acosx+Bsinx+Cx2ex+Dxex+Eex

then find y'p and y''p and sub into original equation.
but it becomes so dam monstrous there must be another way.
 
Physics news on Phys.org
You just have to grind through it. You might find it easier to deal with cos x and x2ex separately and then add the two particular solutions together at the end.

When dealing with the non-trig terms, factor the common exponential out so that you have a polynomial multiplied by the exponential. That way, when you differentiate, you only have to apply the product rule once.
 
so i grinded through it and ended up with

yp=0cosx+1sinx-(1/3)x2ex+(2/3)xex-(4/9)ex

then to solve i put y=yc+yp

so y= e-2/x[(c1cos(sqrt3/2)x+c2sin(sqrt3/2)x] + 0cosx+1sinx-(1/3)x2ex+(2/3)xex-(4/9)ex

yeah?

that seems mighty ridiculous :(

and what about c1 and c2?? i don't have initial conditions given so i can't solve for them??
 
I'm guessing it's just a typo, but the first exponential should be e-x/2, not exp-2/x.

You're correct. You need initial conditions to find the arbitrary constants.
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
6K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
Replies
9
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K