Verify y1 solves 2nd order differential equation

accountkiller
Messages
118
Reaction score
0

Homework Statement


Verify that y1 = (e^x) * (cos x) solves the linear, homogeneous, 2nd order differential equation y'' - 2y' + 2y = 0


Homework Equations





The Attempt at a Solution


So I used the product rule but just kept going in circles with the cos x. I remember there's a way to do this so you don't go in circles, but I forgot! I'd appreciate any help.
 
Physics news on Phys.org
What did you get when you differentiated it?
 
So the product rule is fg' = fg - int(gf').
I said f = cos x, so f' = -sin x dx, and g' = e^x, so g = e^x.
This gives me e^x(cos x) - int(e^x(-sin x) dx) = e^x(cos x) + int(e^x(sin x) dx).
So then I have to use the product rule again for that integral, with f = e^x, f' = e^x dx, g' = sin x, and g = -cos x. This gives me -e^x(cos x) + int(e^x(cos x) dx) for that integral, and putting that together with what was in front of it:
y1' = e^x(cos x) - e^x(cos x) - int(e^x(cos x) dx)
y1' = -int (e^x(cos x) dx)

So I'm pretty much back where I started.
 
You do not need to integrate anything.

Just find y1'', y1' and you have y, put back into the DE and see if you get zero. If you do, it satisfies the DE.
 
OH! I was using integration by parts instead of the product rule. Oi, I shouldn't get integration and differentiation mixed up :P

Thanks!
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top