Mark44 said:
You are making this much more complicated than it needs to be. Try yp = C. Don't forget that you need to solve the homogeneous problem f'' - 3f' + 2f = 0. The solution to the homogeneous problem, plus the particular solution, will be your general solution.
Ok, so, by considering [tex]f_p = C[/tex] just as you said, I got [tex]f_p = \frac{3}{2}[/tex], and it worked!
Then the general solution will be:
[tex]f(x) = A_1e^{x} + A_2e^{2x} + f_p[/tex]
[tex]f(x) = A_1e^{x} + A_2e^{2x} + \frac{3}{2}[/tex]
I won't bother you folks showing all the work done to find [tex]A_1[/tex] and [tex]A_2[/tex], but I eventually got to
[tex]A_1 = -4,\ and\ A_2 = \frac{5}{2}[/tex]
[tex]f(x) = -4e^{x} + \frac{5}{2}e^{2x} + \frac{3}{2}[/tex]
Let's verify it by plugging-in the above function in the original equation,
[tex]f'' - 3f' + 2f = 3[/tex]
Where,
[tex]\frac{df(x)}{dx} = -4e^x + 5e^{2x}[/tex]
[tex]\frac{d^2 f(x)}{dx^2} = -4e^x + 10e^{2x}[/tex]
[tex](-4e^x + 10e^{2x}) - 3(-4e^x + 5e^{2x}) + 2(-4e^{x} + \frac{5}{2}e^{2x} + \frac{3}{2}) = 3[/tex]
[tex]-4e^x + 10e^{2x} + 12e^x - 15e^{2x} - 8e^x + 5e^{2x} + 3 = 3[/tex]
[tex](-4e^x + 12e^x - 8e^x) + (10e^{2x} - 15e^{2x} + 5e^{2x}) + 3 = 3[/tex]
Indeed, [tex]3 = 3[/tex]
This is pathetically easy, my god.. I don't even know how or why I complicated it so much.
Thank you very much for your time [tex]LCKurtz[/tex] and [tex]Mark44[/tex].
