Solving Exponential Differential Equations with Initial Conditions

  • Thread starter Thread starter Gspace
  • Start date Start date
  • Tags Tags
    Exponential
Click For Summary

Homework Help Overview

The discussion revolves around solving the exponential differential equation y'[t] + 0.2y[t] = Sin[t] with the initial condition y[0] = 15.3. Participants are exploring methods to derive a formula for y[t] and discussing the implications of different approaches to the problem.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • The original poster attempts to solve the equation directly but encounters issues with their solution not satisfying the original equation. Some participants suggest breaking the problem into complementary and particular solutions.
  • Questions arise regarding the correct form of the particular solution and the process of finding coefficients for sine and cosine terms.
  • There is discussion about the use of integrating factors and the notation used for derivatives.

Discussion Status

Participants are actively engaging with the problem, offering various methods and clarifications. Some guidance has been provided regarding the structure of the solution, but no consensus has been reached on the specific approach to take.

Contextual Notes

Participants are navigating the nuances of notation and the equivalence of different forms of the differential equation, which may affect their understanding and approach to finding the solution.

Gspace
Messages
16
Reaction score
0

Homework Statement



Here is the question: solve y'[t]+0.2y[t]=Sin[t] with y[0]=15.3

How do I come up with a formula for y[t]?

Thanks in advance!

Homework Equations



y[t]= starter+e^-rt

The Attempt at a Solution



I attempted to solve the equation as is. After doing some algebra, y[t]=15.3e^-0.2 and when put back into the original equation ( y'[t]+0.2y[t]=Sin[t]), and taking y'[t], I get 0 on the LHS of the equation which doesn't equal sin[t]. I know that isn't right. What am I doing wrong?
 
Physics news on Phys.org
You need to look at this in two parts:
The complementary solution to the homogeneous equation y' + 0.2y = 0. (Call this yc.)

A particular solution to the nonhomogeneous equation y' + 0.2y = sin(t). (Call this yp.)

For yc, you should have yc = c1e-.2t.

For the particular solution, try yp = Asin(t) + Bcos(t). Substitute this into your differential equation so that you can find the coefficients A and B.

The general solution is y = yh + yp. The initial condition can be used to get c1.
 
Would yp= y'[t]+0.2y[t]-sin[t]= Asin(t) + Bcos(t)?
 
You could also note that e.2t is an integrating factor. Multiply the equation through by that and integrate both sides of the resulting equation from 0 to t.
 
Gspace said:
Would yp= y'[t]+0.2y[t]-sin[t]= Asin(t) + Bcos(t)?
No.
y' + .2y - sin(t) \equiv 0 for any solution of the original differential equation.
yp \neq 0, nor is Asin(t) + Bcos(t).
 
Ok. So, y'[Asin(t) + Bcos(t)]+0.2y[Asin(t) + Bcos(t)]=sin[t]?
 
Your notation is off a bit, but I understand what you're trying to say, which is this:
d/dt(Asin(t) + Bcos(t)) + 0.2(Asin(t) + Bcos(t)) = sin(t)

The equation above has to be identically true; i.e., true for all values of t. For this reason, the coefficients of the sine and cosine terms on the left have to be equal to the same coefficients on the right.
 
Mark44,

So, I can chose whatever co-effiecients I want?...to test it.
 
For A and B? No, you have to solve for them. See what I said in post #7.
 
  • #10
Mark44,

That helped. Thanks. What changes when the differential equation is

(y^\[Prime])[t]= - 0.2 y[t] + Sin[t] with y[0]=15.3 and I need to come up with the

formula for y[t]?
 
  • #11
Nothing changes. This equation is equivalent to the one on your OP, and the initial condition is the same, too.

Why do you write y' in such a complicated form? I.e., (y^\[Prime])[t]. This is much simpler as y' or y'(t).
 
  • #12
I'm just hijacking this old thread for a second, sorry in advance

t

[math]t[/math]
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
3K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K