• Support PF! Buy your school textbooks, materials and every day products Here!

ODE with Superposition

  • Thread starter shinnsohai
  • Start date
  • #1
41
0

Homework Statement


Given
[itex]\frac{dx}{dt}[/itex] = -1.3x
[itex]x_{1}[/itex](t)=e[itex]^{-1.3t}[/itex]
[itex]x_{2}[/itex](t)=4e[itex]^{-1.3t}[/itex]

Compute a solution for x(t) if x(0)=3



Homework Equations


Superposition Principle
and some ODE related
Anyhow I refer to this
http://www.youtube.com/watch?v=_ECd0Jn7y68


The Attempt at a Solution


First Attempt
x(t)=[itex]\alpha[/itex] (e[itex]^{-1.3t}[/itex]) + [itex]\beta[/itex] (4e[itex]^{-1.3t}[/itex])
[itex]\frac{dx}{dt}[/itex]= (-1.3) * ([itex]\alpha[/itex] [itex]x_{1}[/itex] + [itex]\beta[/itex] [itex]x_{2}[/itex] )

Then after this step, I've no idea how to continue, Im stuck here, what Should I do with the given initial condition? x(0)=3

I've done some google search, some ODE with Initial condition provided

Perhaps Related Solution:
[itex]\frac{dy}{dx}[/itex] = -1.3x
[itex]\int[/itex] 1 dy = [itex]\int[/itex] -1.3x dx

To get the Constant, I've plugged in the given initial condition x(0)=3
y = [itex]\frac{-1.3x^{2}}{2}[/itex] + c
c = -5.58

Re-arrange the eqn

y= [itex]\frac{-1.3x^{2}}{2}[/itex] - 5.58
after getting this?
how do I proceed ?
Imma so confusee!


(Sorry Mods, It's quite sometime I dint visit the forum, Making such messy mistake on the previous post)
Anyway
Here's the (Hand written working LINK)
http://imgur.com/VmfPJwr
http://imgur.com/J5k5YeO
http://imgur.com/VmfPJwr
I'm not that familiar with the Latex Code :tongue:
 
Last edited:

Answers and Replies

  • #2
33,496
5,188

Homework Statement


Given
[itex]\frac{dx}{dt}[/itex] = -1.3x
[itex]x_{1}[/itex](t)=e[itex]^{-1.3t}[/itex]
[itex]x_{2}[/itex](t)=4e[itex]^{-1.3t}[/itex]

Compute a solution for x(t) if x(0)=3
You're making this much more difficult than it actually is. Do you know what the general solution of your differential equation is? Assuming that you do, just use your initial condition to find the solution for which x(0) = 3.

Homework Equations


Superposition Principle
and some ODE related
Anyhow I refer to this
http://www.youtube.com/watch?v=_ECd0Jn7y68


The Attempt at a Solution


First Attempt
x(t)=[itex]\alpha[/itex] (e[itex]^{-1.3t}[/itex]) + [itex]\beta[/itex] (4e[itex]^{-1.3t}[/itex])
[itex]\frac{dx}{dt}[/itex]= (-1.3) * ([itex]\alpha[/itex] [itex]x_{1}[/itex] + [itex]\beta[/itex] [itex]x_{2}[/itex] )

Then after this step, I've no idea how to continue, Im stuck here, what Should I do with the given initial condition? x(0)=3

I've done some google search, some ODE with Initial condition provided

Perhaps Related Solution:
[itex]\frac{dy}{dx}[/itex] = -1.3x
[itex]\int[/itex] 1 dy = [itex]\int[/itex] -1.3x dx
This is not at all related to your problem. A related problem would be dy/dx = -1.3y.
To get the Constant, I've plugged in the given initial condition x(0)=3
y = [itex]\frac{-1.3x^{2}}{2}[/itex] + c
c = -5.58

Re-arrange the eqn

y= [itex]\frac{-1.3x^{2}}{2}[/itex] - 5.58
after getting this?
how do I proceed ?
Imma so confusee!


(Sorry Mods, It's quite sometime I dint visit the forum, Making such messy mistake on the previous post)
Anyway
Here's the (Hand written working LINK)
http://imgur.com/VmfPJwr
http://imgur.com/J5k5YeO
http://imgur.com/VmfPJwr
I'm not that familiar with the Latex Code :tongue:
 
  • #3
41
0
You're making this much more difficult than it actually is. Do you know what the general solution of your differential equation is? Assuming that you do, just use your initial condition to find the solution for which x(0) = 3.
This is not at all related to your problem. A related problem would be dy/dx = -1.3y.
Thanks Mark for replying

I've messed up the thing eventually

Based on the related problem dy/dx = -1.3 y
Integrate it
and
apply the boundary condition x(0)=3

[itex]\int[/itex] [itex]\frac{dy(x)}{dx}/{y(x)}[/itex] = [itex]\int[/itex] -1.3 dx

log(y(x)) = -1.3x +c

y(x) = [itex]e^{-1.3x+c}[/itex]
Let C = [itex]e^{C1}[/itex]

y(x) =C * [itex]e^{-1.3x}[/itex]

Plug in the Given boundary
x(0)=3

y(x) =C * [itex]e^{-1.3x}[/itex]
3 = C * [itex]e^{0}[/itex]
C=3

Re-arrange

y(x) =3* [itex]e^{-1.3x}[/itex]

So until this step
what should I do with the

[itex]x_{1}[/itex](t)=e[itex]^{-1.3t}[/itex]
[itex]x_{2}[/itex](t)=4e[itex]^{-1.3t}[/itex]
 
Last edited:
  • #4
33,496
5,188
Yes, that's it, although you should write your answer as x(t) = 3e-1.3t. In your diff. equation, x was the dependent variable and t was the independent variable.

I believe that what they wanted you to do with x1(t) and x2(t) was to recognize that all solutions are of the form Ce-1.3t.
 
  • Like
Likes 1 person
  • #5
LCKurtz
Science Advisor
Homework Helper
Insights Author
Gold Member
9,535
751
y(x) =3* [itex]e^{-1.3x}[/itex]

So until this step
what should I do with the

[itex]x_{1}[/itex](t)=e[itex]^{-1.3t}[/itex]
[itex]x_{2}[/itex](t)=4e[itex]^{-1.3t}[/itex]
You need to decide whether your independent variable is ##t## or ##x##. What happens if you calculate ##x_2 - x_1##?
 
  • Like
Likes 1 person
  • #6
41
0
Yes, that's it, although you should write your answer as x(t) = 3e-1.3t. In your diff. equation, x was the dependent variable and t was the independent variable.

I believe that what they wanted you to do with x1(t) and x2(t) was to recognize that all solutions are of the form Ce-1.3t.

Oh ya!
I used to use dy and dx
and now i get messed up again!:tongue:
 
  • #7
41
0
You need to decide whether your independent variable is ##t## or ##x##. What happens if you calculate ##x_2 - x_1##?
Thanks for remind that!
 

Related Threads on ODE with Superposition

  • Last Post
Replies
4
Views
1K
  • Last Post
Replies
4
Views
869
  • Last Post
Replies
3
Views
2K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
9
Views
1K
  • Last Post
Replies
7
Views
1K
  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
3
Views
805
  • Last Post
Replies
0
Views
696
  • Last Post
Replies
1
Views
855
Top