Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The math help thread
rethic Wrote:Hi, I'm totally sucking at math right now, particularly differential equations. Right now, I'm in the section of the book talking about solving nonhomogeneous equations suing the method of undetermined coefficients.
A specific problem I'm having trouble with is y"-3y'+2y = e^x*sin(x). Anyone care to explain the process to me?

The answer in the back of the book is y = c1*e^x + c2*e^(2x) + 1/2*e^x*(cos(x)-sin(x)) where c1 and c2 are arbitrary coefficients.

Haven't done this in a while, but I'll give it a shot.


y"-3y'+2y = e^x*sin(x)

First solve as if it was homogeneous

so we have y''-3y'+2y=0
Using the quadratic formula, on m^2 -3m +2

3 +/- sqrt(9-4*1*2) /2
So m= (3 +sqrt1)/2 = 2
or m = (3- sqrt 1)/2 = 1

With the 2 roots, we now have a general solution with 2 arbitary constants, c1 and c2 being

y= c1*e^(x) + c2*e^(2x)

Then we need to find a complementary solution for the full equation ( I admit, I had to check a list of complementary solutions to know which one to use here)
If we look at the right hand side of the original equation, e^x *sin(x), we should try a particular solution of the form Ae^x*cosx + Be^x*sinx, (where A and B are constants, but they CAN be 0)
So, we need to differentiate this twice using hte product rule (ugh, horrible I know)
letting y= Ae^x*cosx +Be^x*sinx


y' = Ae^x*cos(x)-Ae^x*sin(x) + Be^x*sin(x) + Be^x*cos(x)

y'' = Ae^x*cos(x)-Ae^x*sin(x) -Ae^x*sin(x)-Ae^x*cos(x) + Be^x*sin(x)+Be^x*cos(x) +Be^x*cos(x)-Be^x*sin(x)
which cancels nicely to
y''= -2Ae^x*sin(x) +2Be^x*cos(x)

Substituting these values for y, y' and y'' back into the original equation y"-3y'+2y = e^x*sin(x)

Gives
-2Ae^x*sin(x) +2Be^x*cos(x) -3[Ae^x*cos(x)-Ae^x*sin(x) + Be^x*sin(x) + Be^x*cos(x)] + 2[Ae^x*cosx +Be^x*sinx] = e^x*sin(x)

Then we can cancel the e^x which is in every term to get

-2A*sin(x) +2Bcos(x) -3Acos(x)+3Asin(x) -3Bsin(x) -3Bcos(x) + 2Acosx +2Bsinx = sin(x)

Then we can gather all the sin and cos terms on both sides seperatly to get 2 equations

-2Asin(x) +3Asin(x) -3Bsin(x) +2Bsinx = sin(x)
=> Asin(x)-Bsin(x)= sin(x)
=> A-B = 1

And
2Bcos(x) -3Acos(x) -3Bcos(x) + 2Acosx = 0
(Dividing both sides by cos(x)]
=>2B-3A-3B+2A = 0
=> -A-B = 0

Solving these simultaneously gives
-2 B = 1 => B= -1/2
A= 1/2

Throw these back into our complementary solution, and bobs your uncle
Ae^x*cosx +Be^x*sinx becomes
1/2e^x*cos(x)-1/2 e^x *sin(x)
= 1/2 e^x (cos(x)-sin(x))

Then combining this with our general solution, this becomes the complete solution to the equation.

y= c1*e^(x) + c2*e^(2x) +1/2 e^x (cos(x)-sin(x)).

If I made any mistakes in my working, I blame it on doing this all in my head instead of using paper like a sane person
Reply


Messages In This Thread
The math help thread - by Horusmaster - 2009-09-28, 10:43 PM
The math help thread - by Plague - 2009-09-28, 10:46 PM
The math help thread - by Noah - 2009-09-29, 01:25 AM
The math help thread - by Anzamyu - 2009-09-29, 01:52 AM
The math help thread - by KajitiSouls - 2009-09-29, 01:55 AM
The math help thread - by Kalovale - 2009-09-29, 01:56 AM
The math help thread - by tzk221 - 2009-09-29, 02:56 PM
The math help thread - by apathy - 2009-09-29, 04:34 PM
The math help thread - by sky54264 - 2009-09-29, 08:14 PM
The math help thread - by apathy - 2009-09-29, 08:24 PM
The math help thread - by tzk221 - 2009-09-30, 01:31 AM
The math help thread - by lolitsme - 2009-10-01, 07:24 PM
The math help thread - by KajitiSouls - 2009-10-01, 08:21 PM
The math help thread - by Noah - 2009-10-02, 09:49 AM
The math help thread - by apathy - 2009-10-02, 10:21 AM
The math help thread - by Tempus - 2009-10-02, 11:27 AM
The math help thread - by KajitiSouls - 2009-10-02, 12:30 PM
The math help thread - by Tempus - 2009-10-02, 01:23 PM
The math help thread - by KajitiSouls - 2009-10-02, 04:26 PM
The math help thread - by Tempus - 2009-10-03, 08:25 AM
The math help thread - by apathy - 2009-10-03, 11:31 AM
The math help thread - by Tempus - 2009-10-03, 12:52 PM
The math help thread - by holyforest - 2009-10-03, 09:47 PM
The math help thread - by Tempus - 2009-10-04, 09:37 AM
The math help thread - by Cursayer - 2009-10-06, 12:04 AM
The math help thread - by KajitiSouls - 2009-10-06, 12:22 AM
The math help thread - by Russt - 2009-10-06, 12:47 AM
The math help thread - by Nikkey - 2009-10-06, 09:04 AM
The math help thread - by sky54264 - 2009-10-06, 11:53 AM
The math help thread - by KajitiSouls - 2009-10-07, 01:50 PM
The math help thread - by Nikkey - 2009-10-07, 02:03 PM
The math help thread - by KajitiSouls - 2009-10-07, 02:09 PM
The math help thread - by Nikkey - 2009-10-07, 02:18 PM
The math help thread - by Corn - 2009-10-08, 01:07 AM
The math help thread - by Biotype - 2009-10-08, 01:22 AM
The math help thread - by KajitiSouls - 2009-10-08, 04:54 AM
The math help thread - by Tempus - 2009-10-08, 12:37 PM
The math help thread - by XTOTHEL - 2009-10-08, 12:46 PM
The math help thread - by Tempus - 2009-10-08, 01:35 PM
The math help thread - by KajitiSouls - 2009-10-08, 02:25 PM
The math help thread - by KajitiSouls - 2009-10-26, 01:04 PM
The math help thread - by Noah - 2009-10-26, 09:51 PM
The math help thread - by KajitiSouls - 2009-10-27, 01:18 AM
The math help thread - by Russt - 2009-10-28, 12:13 AM
The math help thread - by KajitiSouls - 2009-10-28, 12:52 AM
The math help thread - by Russt - 2009-10-28, 12:54 AM
The math help thread - by KajitiSouls - 2009-10-28, 01:10 AM
The math help thread - by Stereo - 2009-10-28, 02:08 AM
The math help thread - by Kalovale - 2009-10-28, 03:21 AM
The math help thread - by KajitiSouls - 2009-10-28, 12:27 PM
The math help thread - by Russt - 2009-10-28, 08:37 PM
The math help thread - by Tay - 2009-10-28, 10:28 PM
The math help thread - by Zephyr - 2009-10-28, 10:31 PM
The math help thread - by KajitiSouls - 2009-10-28, 11:19 PM
The math help thread - by Hazzy - 2009-10-29, 12:04 AM
The math help thread - by Horusmaster - 2009-10-30, 06:35 PM
The math help thread - by Hazzy - 2009-10-30, 06:39 PM
The math help thread - by Horusmaster - 2009-10-30, 06:50 PM
The math help thread - by Hazzy - 2009-10-30, 07:05 PM
The math help thread - by Russt - 2009-10-31, 01:04 AM
The math help thread - by Corn - 2009-11-02, 08:28 PM
The math help thread - by Hazzy - 2009-11-02, 08:43 PM
The math help thread - by KajitiSouls - 2009-11-02, 08:45 PM
The math help thread - by Hazzy - 2009-11-03, 06:59 PM
The math help thread - by KajitiSouls - 2009-11-03, 07:20 PM
The math help thread - by Veneni - 2009-11-06, 09:54 AM
The math help thread - by Noah - 2009-11-06, 11:04 AM
The math help thread - by KajitiSouls - 2009-11-06, 11:29 AM
The math help thread - by HooKarez - 2009-11-07, 02:34 PM
The math help thread - by Hazzy - 2009-11-07, 02:46 PM
The math help thread - by Russt - 2009-11-07, 04:51 PM
The math help thread - by Noah - 2009-11-07, 05:33 PM
The math help thread - by KajitiSouls - 2009-11-07, 07:15 PM
The math help thread - by HooKarez - 2009-11-09, 08:19 PM
The math help thread - by KajitiSouls - 2009-11-09, 09:02 PM
The math help thread - by HooKarez - 2009-11-09, 09:42 PM
The math help thread - by KajitiSouls - 2009-11-09, 09:44 PM
The math help thread - by Noah - 2009-11-09, 10:02 PM
The math help thread - by KajitiSouls - 2009-11-09, 10:06 PM
The math help thread - by HooKarez - 2009-11-09, 10:13 PM
The math help thread - by Corn - 2009-11-09, 10:15 PM
The math help thread - by Hazzy - 2009-11-09, 10:25 PM
The math help thread - by Nikkey - 2009-11-09, 10:34 PM
The math help thread - by Corn - 2009-11-09, 10:39 PM
The math help thread - by Hazzy - 2009-11-09, 10:43 PM
The math help thread - by KajitiSouls - 2009-11-09, 10:48 PM
The math help thread - by Corn - 2009-11-09, 10:51 PM
The math help thread - by KajitiSouls - 2009-11-09, 10:55 PM
The math help thread - by Corn - 2009-11-09, 10:57 PM
The math help thread - by KajitiSouls - 2009-11-09, 11:00 PM
The math help thread - by Horusmaster - 2009-11-12, 12:41 AM
The math help thread - by KajitiSouls - 2009-11-12, 02:09 AM
The math help thread - by Noah - 2009-11-12, 06:26 AM
The math help thread - by ZottenKerel - 2009-11-12, 12:53 PM
The math help thread - by KajitiSouls - 2009-11-12, 01:26 PM
The math help thread - by ZottenKerel - 2009-11-12, 01:31 PM
The math help thread - by Horusmaster - 2009-11-15, 01:56 AM
The math help thread - by KajitiSouls - 2009-11-15, 02:39 AM
The math help thread - by Noah - 2009-11-15, 10:38 AM
The math help thread - by Veneni - 2009-11-15, 12:55 PM
The math help thread - by xLeviathan - 2009-11-15, 11:30 PM
The math help thread - by Russt - 2009-11-15, 11:42 PM
The math help thread - by xLeviathan - 2009-11-15, 11:50 PM
The math help thread - by Kalovale - 2009-11-16, 12:08 AM
The math help thread - by Russt - 2009-11-16, 05:15 PM
The math help thread - by Hazzy - 2009-11-16, 06:28 PM
The math help thread - by HooKarez - 2009-11-16, 06:38 PM
The math help thread - by Hazzy - 2009-11-16, 06:42 PM
The math help thread - by HooKarez - 2009-11-16, 06:46 PM
The math help thread - by Hazzy - 2009-11-16, 06:49 PM
The math help thread - by Noah - 2009-11-16, 06:49 PM
The math help thread - by Hazzy - 2009-11-16, 07:06 PM
The math help thread - by Noah - 2009-11-16, 07:30 PM
The math help thread - by Hazzy - 2009-11-16, 07:44 PM
The math help thread - by Russt - 2009-11-16, 09:04 PM
The math help thread - by Horusmaster - 2009-11-16, 10:44 PM
The math help thread - by Russt - 2009-11-16, 11:02 PM
The math help thread - by Noah - 2009-11-16, 11:03 PM
The math help thread - by Hazzy - 2009-11-16, 11:15 PM
The math help thread - by Matt - 2009-11-16, 11:20 PM
The math help thread - by Nikkey - 2009-11-16, 11:27 PM
The math help thread - by Matt - 2009-11-17, 12:04 AM
The math help thread - by Horusmaster - 2009-11-17, 12:09 AM
The math help thread - by Hazzy - 2009-11-17, 12:31 AM
The math help thread - by Horusmaster - 2009-11-17, 12:58 AM
The math help thread - by Noah - 2009-11-17, 04:46 AM
The math help thread - by Russt - 2009-11-17, 10:06 AM
The math help thread - by Noah - 2009-11-17, 11:23 AM
The math help thread - by Matt - 2009-11-17, 07:29 PM
The math help thread - by KajitiSouls - 2009-11-17, 08:50 PM
The math help thread - by Noah - 2009-11-17, 09:11 PM
The math help thread - by Matt - 2009-11-17, 09:56 PM
The math help thread - by Russt - 2009-11-17, 10:06 PM
The math help thread - by KajitiSouls - 2009-11-17, 10:08 PM
The math help thread - by Matt - 2009-11-17, 10:30 PM
The math help thread - by Russt - 2009-11-17, 10:49 PM
The math help thread - by KajitiSouls - 2009-11-17, 10:56 PM
The math help thread - by Russt - 2009-11-17, 10:59 PM
The math help thread - by Matt - 2009-11-17, 11:08 PM
The math help thread - by DarkPwnage - 2009-11-19, 02:38 AM
The math help thread - by KajitiSouls - 2009-11-19, 03:39 AM
The math help thread - by DarkPwnage - 2009-11-19, 01:20 PM
The math help thread - by Russt - 2009-11-20, 05:25 AM
The math help thread - by MaplePorn - 2009-11-20, 08:46 AM
The math help thread - by Horusmaster - 2009-11-20, 06:07 PM
The math help thread - by KajitiSouls - 2009-11-20, 07:14 PM
The math help thread - by Horusmaster - 2009-11-20, 10:15 PM
The math help thread - by KajitiSouls - 2009-11-20, 11:11 PM
The math help thread - by xLeviathan - 2009-12-02, 10:03 PM
The math help thread - by Russt - 2009-12-02, 10:11 PM
The math help thread - by xLeviathan - 2009-12-02, 10:23 PM
The math help thread - by Russt - 2009-12-02, 10:29 PM
The math help thread - by xLeviathan - 2009-12-02, 11:00 PM
The math help thread - by Russt - 2009-12-02, 11:01 PM
The math help thread - by xLeviathan - 2009-12-02, 11:32 PM
The math help thread - by Dual - 2009-12-03, 12:14 AM
The math help thread - by Tay - 2009-12-03, 12:25 AM
The math help thread - by KajitiSouls - 2009-12-03, 12:44 AM
The math help thread - by Russt - 2009-12-03, 12:53 AM
The math help thread - by Dual - 2009-12-03, 12:58 AM
The math help thread - by Kalovale - 2009-12-03, 01:06 AM
The math help thread - by KajitiSouls - 2009-12-03, 01:06 AM
The math help thread - by xLeviathan - 2009-12-03, 01:07 AM
The math help thread - by Russt - 2009-12-03, 01:08 AM
The math help thread - by KajitiSouls - 2009-12-03, 01:09 AM
The math help thread - by xLeviathan - 2009-12-03, 01:10 AM
The math help thread - by Dual - 2009-12-03, 01:11 AM
The math help thread - by KajitiSouls - 2009-12-03, 01:21 AM
The math help thread - by MaplePorn - 2009-12-03, 01:56 AM
The math help thread - by HooKarez - 2009-12-06, 02:24 PM
The math help thread - by Stereo - 2009-12-06, 02:59 PM
The math help thread - by HooKarez - 2009-12-06, 03:15 PM
The math help thread - by Hazzy - 2009-12-07, 09:05 PM
The math help thread - by Felicitates - 2009-12-07, 10:30 PM
The math help thread - by Russt - 2009-12-07, 10:55 PM
The math help thread - by Kalovale - 2009-12-10, 07:34 AM
The math help thread - by Noah - 2009-12-10, 08:31 AM
The math help thread - by Corn - 2009-12-10, 10:37 PM
The math help thread - by Hazzy - 2009-12-10, 10:43 PM
The math help thread - by Corn - 2009-12-10, 10:46 PM
The math help thread - by Salguod - 2009-12-10, 11:20 PM
The math help thread - by Corn - 2009-12-10, 11:22 PM
The math help thread - by Hazzy - 2009-12-14, 01:01 AM
The math help thread - by Russt - 2009-12-14, 01:46 AM
The math help thread - by Horusmaster - 2009-12-14, 02:52 PM
The math help thread - by Nikkey - 2009-12-14, 03:21 PM
The math help thread - by Michaels2 - 2009-12-14, 03:41 PM
The math help thread - by FallenMemory - 2009-12-14, 11:16 PM
The math help thread - by Horusmaster - 2009-12-14, 11:30 PM
The math help thread - by FallenMemory - 2009-12-14, 11:51 PM
The math help thread - by Russt - 2009-12-15, 01:00 AM
The math help thread - by Horusmaster - 2009-12-18, 04:31 PM
The math help thread - by Nikkey - 2009-12-18, 05:44 PM
The math help thread - by Russt - 2009-12-18, 05:45 PM
The math help thread - by Hazzy - 2009-12-18, 06:44 PM
The math help thread - by Russt - 2009-12-18, 07:34 PM
The math help thread - by Matt - 2009-12-20, 05:44 PM
The math help thread - by KajitiSouls - 2009-12-20, 07:00 PM
The math help thread - by HooKarez - 2009-12-20, 07:42 PM
The math help thread - by Horusmaster - 2009-12-20, 07:53 PM
The math help thread - by Russt - 2009-12-20, 07:59 PM
The math help thread - by HooKarez - 2009-12-20, 08:18 PM
The math help thread - by Horusmaster - 2009-12-20, 08:24 PM
The math help thread - by Matt - 2009-12-22, 07:08 PM
The math help thread - by KajitiSouls - 2009-12-25, 06:10 AM
The math help thread - by HooKarez - 2009-12-28, 08:37 PM
The math help thread - by Hazzy - 2009-12-28, 09:49 PM
The math help thread - by holyforest - 2009-12-28, 10:48 PM
The math help thread - by HooKarez - 2009-12-28, 10:49 PM
The math help thread - by Lozmaster - 2009-12-29, 12:19 PM
The math help thread - by Matt - 2009-12-29, 02:31 PM
The math help thread - by Russt - 2009-12-29, 04:43 PM
The math help thread - by Hazzy - 2010-01-02, 08:16 PM
The math help thread - by Russt - 2010-01-15, 12:00 AM
The math help thread - by Hazzy - 2010-01-15, 12:30 AM
The math help thread - by HooKarez - 2010-01-31, 02:52 PM
The math help thread - by HooKarez - 2010-01-31, 08:23 PM
The math help thread - by xLeviathan - 2010-02-01, 11:46 PM
The math help thread - by Horusmaster - 2010-02-02, 12:35 AM
The math help thread - by Lozmaster - 2010-02-02, 05:07 PM
The math help thread - by Kevo - 2010-03-23, 12:06 AM
The math help thread - by Kaasoljoyyx - 2010-03-23, 01:36 PM
The math help thread - by Kevo - 2010-03-23, 03:17 PM
The math help thread - by Baklava - 2010-03-24, 03:28 AM
The math help thread - by kakashi9093 - 2010-03-24, 11:22 PM
The math help thread - by WillDaSnail - 2010-03-24, 11:32 PM
The math help thread - by rethic - 2010-03-25, 09:20 AM
The math help thread - by Lozmaster - 2010-03-25, 04:47 PM
The math help thread - by Kaasoljoyyx - 2010-03-25, 04:50 PM
The math help thread - by rethic - 2010-03-25, 08:10 PM
The math help thread - by Lozmaster - 2010-03-26, 07:10 PM
The math help thread - by Horusmaster - 2010-04-07, 07:41 PM
The math help thread - by Russt - 2010-04-07, 07:48 PM
The math help thread - by Noah - 2010-04-07, 09:11 PM
The math help thread - by Tay - 2010-04-07, 11:59 PM
The math help thread - by bio9205 - 2010-04-09, 07:17 AM
The math help thread - by Hazzy - 2010-04-10, 03:36 AM
The math help thread - by Russt - 2010-04-10, 02:14 PM
The math help thread - by Hazzy - 2010-04-13, 02:30 AM
The math help thread - by Russt - 2010-04-13, 02:47 AM
The math help thread - by Hazzy - 2010-04-13, 05:22 PM
The math help thread - by Tay - 2010-04-13, 05:40 PM
The math help thread - by Hazzy - 2010-04-13, 05:44 PM
The math help thread - by Russt - 2010-04-17, 09:12 AM
The math help thread - by MariettaRC - 2010-04-19, 05:21 PM
The math help thread - by Horusmaster - 2010-04-19, 05:28 PM
The math help thread - by MariettaRC - 2010-04-19, 05:30 PM
The math help thread - by Horusmaster - 2010-04-19, 06:07 PM
The math help thread - by MariettaRC - 2010-04-19, 06:14 PM
The math help thread - by Jedward - 2010-04-19, 10:58 PM
The math help thread - by Hazzy - 2010-04-19, 11:01 PM
The math help thread - by MariettaRC - 2010-04-25, 02:16 PM
The math help thread - by HellenzSin - 2010-04-25, 02:25 PM
The math help thread - by Doctor Omega - 2010-04-25, 04:25 PM
The math help thread - by MariettaRC - 2010-04-25, 05:20 PM
The math help thread - by Dusk - 2010-04-25, 05:31 PM
The math help thread - by CrimsonJohnny - 2010-07-01, 07:19 PM
The math help thread - by MariettaRC - 2010-07-01, 07:55 PM
The math help thread - by holyforest - 2010-07-01, 08:06 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)