r/MathHelp • u/[deleted] • Dec 23 '20
SOLVED 2nd order differential equation
Equation to solve: d²y/dx² -2dy/dx = 4e2x
My working:
AE: λ² -2λ = 0
λ = 0 or 2
y = Ae2x + 1
y = Bxe2x
dy/dx = 2Bxe2x + Be2x
d²y/dx² = 4Bxe2x + 4Be2x
2B = 4, B = 2
y = Ae2x + 2xe2x + 1
The question states that when x = 0, y = 0 and dy/dx = 1 (this already concerned me because I only have one unknown but it gives me 2 pieces of information, so I probably went wrong before here)
0 = A + 1, A = -1
y = 2xe2x - e2x + 1
dy/dx = 4xe2x, when x = 0 dy/dx = 0 (which contradicts the conditions I've been given)
Where did I go wrong?
1
u/AutoModerator Dec 23 '20
Reminder:
What have you tried so far? (See Rule #2)
Please don't delete your post. (See Rule #7)
We, the moderators of /r/MathHelp, appreciate that your question contributes to the MathHelp archived questions that will help others searching for similar answers in the future. Thank you for obeying these instructions.
(Note that this is an automatic message posted on every submission by default.)
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/[deleted] Dec 23 '20
Nevermind, very very dumb mistake early on, like I suspected lol