How Do You Apply Undetermined Coefficients to Solve Differential Equations?

AI Thread Summary
To solve the differential equation y'' + 2y' - 3y = 8e^x - 12e^(3x) using the method of undetermined coefficients, the homogeneous solution is correctly identified as yh = c1e^x + c2e^(-3x). The particular solution should be proposed as y_p = Axe^x + Be^(3x) due to the presence of e^x and e^(3x) on the right-hand side. The discussion emphasizes the importance of differentiating between homogeneous and particular solutions, confirming that the proposed form for y_p is appropriate. Additionally, Lagrange's method of variation of parameters is mentioned as an alternative approach for finding particular solutions. The overall conclusion is that the method of undetermined coefficients can effectively yield the particular solution when applied correctly.
EvLer
Messages
454
Reaction score
0
Hello,
I have this DE:

y'' + 2y' - 3y = 8ex - 12e3x

when I find homogeneous solution I get

yh = c1ex + c2e-3x;

so now to find the particular solution by method of undetermined coefficients, do I set y to smth like this:

y = y1 + y2

where
y1 = Axex,
y2 = A3x ?

since one of the solutions to auxiliary equation appears on the RHS of the DE and the other does not?
I don't need the full solution, just confirmation/correction of this part.

Thanks much!

EDIT: if I take the fact that if y1 + y2 is a solution, then y1 is a solution and y2 is a solution. I guess I answered my own question. :frown:
 
Last edited:
Physics news on Phys.org
Well EvLer, it's nice if you first recognize that the RHS is a particular solution to a homogeneous equation with roots 1, 3 so that equation would be:

(D-1)(D-3)y=0

You familiar with those differential operations right?

Thus, applying that operator to both sides of your equation will make the RHS 0 right (it's a solution to that homogeneous operator which is set to zero). So applying it we get:

(D-1)(D-3)(D^2+2D-3)y=0

Are you following this?

So the solution to this is:

y_c(x)=C_1e^x+Axe^x+C_3e^{-3x}+Be^{3x}

Now, take:

y_p(x)=Axe^x+Be^{3x} and back-substitute into your original equation, equate coefficients to find A and B.
 
Why don't you apply Lagrange's method of variation of constants...?

Daniel.
 
Yeah, thanks, I got it 5 minutes after posting.

@saltydog: it's the same technique, only we follow it more step-by-step, where we solve homogeneous equation first and then based on the solution of non-hom. and hom. eq. we pick appropriate form of particular solution, and then do differentiation and plug it all in.

ARRRGGGH @ DE!

ps: don't know what "Lagrange's method of variation of constants" is but thanks, i'll look that up.
 
Lagrange's method of variation of constants is also known as variation of parameters. It is based on the fact that if y_1 and y_2 are solutions to an homogeneous ODE, then so is c_1 y_1 and c_2 y_2 by principle of superposition. But we aim to find the particular solution of the form u(t) y_1(t) and v(t) y_2(t)

The bottom line is that the particular solution is

Y_p(t) = -y_1(t) \int \frac {y_2(t) g(t)}{W(y_1, y_2) (t)} dt ~+~ y_2(t) \int \frac {y_1(t) g(t)}{W(y_1, y_2)(t)}dt
 
I multiplied the values first without the error limit. Got 19.38. rounded it off to 2 significant figures since the given data has 2 significant figures. So = 19. For error I used the above formula. It comes out about 1.48. Now my question is. Should I write the answer as 19±1.5 (rounding 1.48 to 2 significant figures) OR should I write it as 19±1. So in short, should the error have same number of significant figures as the mean value or should it have the same number of decimal places as...
Thread 'A cylinder connected to a hanging mass'
Let's declare that for the cylinder, mass = M = 10 kg Radius = R = 4 m For the wall and the floor, Friction coeff = ##\mu## = 0.5 For the hanging mass, mass = m = 11 kg First, we divide the force according to their respective plane (x and y thing, correct me if I'm wrong) and according to which, cylinder or the hanging mass, they're working on. Force on the hanging mass $$mg - T = ma$$ Force(Cylinder) on y $$N_f + f_w - Mg = 0$$ Force(Cylinder) on x $$T + f_f - N_w = Ma$$ There's also...
Back
Top