Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > University Math Help > Differential Equations
Reply
 
Thread Tools Display Modes
  #1  
Old October 24th, 2009, 02:57 PM
Junior Member
 
Join Date: Feb 2009
Posts: 40
Country:
Thanks: 12
Thanked 0 Times in 0 Posts
ben.mahoney@tesco.net is on a distinguished road
Send a message via AIM to ben.mahoney@tesco.net
Question clarification on differential equation workings

the question is:
Q) Find the general solution of the differential equation dx/dt - x = t+1
A) Here are my workings. Does this look correct?

dx/dt = x + t +1
dx/dt = t(x/t 1 + 1/t)

Let u = x/t 1 + 1/t so du/dx = 1/t so dx = du.t

Equation become: dut/dt = tu
du/u = dt
ln(u) = t + C
u = exp(t + C)
u = Aexp(t)

As u = x/t 1 + 1/t rearranging gives x = ut - t - 1

Putting u into equation gives final answer of x = Aexp(t)t - t - 1
Reply With Quote
Advertisement
 
  #2  
Old October 24th, 2009, 07:29 PM
MHF Contributor
 
Join Date: Aug 2008
Posts: 2,741
Country:
Thanks: 69
Thanked 1,085 Times in 1,017 Posts
Prove It has much to be proud ofProve It has much to be proud ofProve It has much to be proud ofProve It has much to be proud ofProve It has much to be proud ofProve It has much to be proud ofProve It has much to be proud ofProve It has much to be proud ofProve It has much to be proud of
Default

Quote:
Originally Posted by ben.mahoney@tesco.net View Post
the question is:
Q) Find the general solution of the differential equation dx/dt - x = t+1
A) Here are my workings. Does this look correct?

dx/dt = x + t +1
dx/dt = t(x/t 1 + 1/t)

Let u = x/t 1 + 1/t so du/dx = 1/t so dx = du.t

Equation become: dut/dt = tu
du/u = dt
ln(u) = t + C
u = exp(t + C)
u = Aexp(t)

As u = x/t 1 + 1/t rearranging gives x = ut - t - 1

Putting u into equation gives final answer of x = Aexp(t)t - t - 1
Your working looks quite odd...

It is a first order linear DE, so you can solve it using an integrating factor.


\frac{dx}{dt} - x = t + 1.


The integrating factor is e^{\int{-1\,dt}} = e^{-t}.

Multiply both sides of the equation by the integrating factor.


e^{-t}\frac{dx}{dt} - xe^{-t} = e^{-t}(t + 1)


Notice that the left hand side is the product rule expansion of \frac{d}{dt}(xe^{-t}).


So \frac{d}{dt}(xe^{-t}) = e^{-t}(t + 1)

xe^{-t} = \int{e^{-t}(t + 1)\,dt}


Solve this integral using integration by parts.

\int{u\,dv} = uv - \int{v\,du}.

Let u = t + 1 so that du = 1

Let dv = e^{-t} so that v = -e^{-t}.


Therefore

xe^{-t} = -e^{-t}(t + 1) - \int{-e^{-t}\,dt}

xe^{-t} = -e^{-t}(t + 1) - e^{-t} + C

xe^{-t} = -e^{-t}(t + 2) + C

x = Ce^t - (t + 2)

x = Ce^t - t - 2.
Reply With Quote
  #3  
Old October 25th, 2009, 12:31 AM
CaptainBlack's Avatar
Grand Panjandrum
 
Join Date: Nov 2005
Location: South of England
Posts: 12,279
Country:
Thanks: 779
Thanked 4,004 Times in 3,229 Posts
CaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond repute
Default

Quote:
Originally Posted by ben.mahoney@tesco.net View Post
the question is:
Q) Find the general solution of the differential equation dx/dt - x = t+1
A) Here are my workings. Does this look correct?

dx/dt = x + t +1
dx/dt = t(x/t 1 + 1/t)

Let u = x/t 1 + 1/t so du/dx = 1/t so dx = du.t

Equation become: dut/dt = tu
du/u = dt
ln(u) = t + C
u = exp(t + C)
u = Aexp(t)

As u = x/t 1 + 1/t rearranging gives x = ut - t - 1

Putting u into equation gives final answer of x = Aexp(t)t - t - 1
Check that your solution satisfies the original differential equation, now tell us if it is correct.

CB
__________________
Truth does not change because it is, or is not, believed by a majority of the people.

Giordano Bruno
Reply With Quote
Reply

Tags
check, differential equation

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 07:58 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.