How to count initial value for: f' + 4y = 12e^(2t), y(0) = 5
you mean y' + 4y = 12e^(2t) ?
yeah, sorry
so you have the general solution already?
well, thats all I know, and I want to know the initial value
y(0)=5 is what the initial value is here in general, y(0)=whatever is the initial value
okay, I want to know y(t)
or how to count it, I know the answer
that means you want to solve the IVP this is a linear equation, so you can use an integrating factor have you tried that?
yeah, i want to solve the Initial value problem, but i do not understand what you mean with "you can use an integrating factor"
do you know any techniques on how to solve linear DE's ? I don't know where to start if you have never heard of an integrating factor perhaps it's just a difference in terminology, I do not know your what native language is does\[\large\mu(t)=e^{\int p(t)dt}\]look familiar as an integrating factor?
Well my native language is swedish but I study in Finnish :P OK, I think that I should learn that formula; what does it mean?
this is really best explained through reading up on it here is a good link http://tutorial.math.lamar.edu/Classes/DE/Linear.aspx I suggest you read it, along with perhaps other sections of that site, in order to understand this type of problem
I tried to search that site for help but did not find a fitting article, Thanks! Will read it.
if you read that page (which you could not possibly have done in this amount of time) you would see that it shows you exactly how to solve this kind of problem it even derives how it works look, I will work through this one with you, but read the page after!
one sec...
in general, say we have the form\[y'+p(t)y=q(t)\]that is called a linear DE the way this is solved is by first multiplying the whole thing through by something called an integrating factor \(\mu(t)\) defined as\[\large\mu(t)=e^{\int p(t)dt}\]still with me?
I guess..
well let's try it: your problem is\[y'+4y=12e^{2t}\]so what are \(p(t)\) and \(q(t)\) in this case?
p(t) is 4 and q(t) is 12e^(2t)?
exactly :D now since I have given you a formula for the integrating factor \(\mu(t)\) you should be able to tell me what that is too what is it?
µ(t) = e^(4t)?
excellent! now multiply the whole equation by that integrating factor and show me what you get (write both sides of the expression please)
do you mean: e^(4t) * y' + 4ye^(4t) = 12e^(2t) * e^(4t)
yes, which we can simplify to\[e^{4t}y'+4ye^{4t}=12e^{6t}\]right? now here is here we need to be observant to understand the following step...
yeah
look carefully at the left-hand-side notice that it can be written as a result of the product rule\[e^{4t}y'+4ye^{4t}=\frac d{dt}(e^{4t}y)\]so we can rewrite this whole expression as\[\frac d{dt}(e^{4t}y)=12e^{6t}\]this will \(always\) be the case when we do this integrating factor technique!
(in general we will always get the form\[\frac d{dt}(\mu(t)y)=q(t)\mu(t)\]from which we will now proceed) still with me up to\[\frac d{dt}(e^{4t}y)=12e^{6t}\]?
this, i did not understand... thinking...
yes, this is the tricky bit I suppose... -you were with me up to\[e^{4t}y'+4ye^{4t}=e^{6t}\](after multiplying by the integrating factor) right?
12e^6t, yes
^right, my bad -and just looking at the LHS, do you not agree that (by what may seem to be a pure coincidence) it is a fact that\[e^{4t}y'+4ye^{4t}=\frac d{dt}(e^{4t}y)\]?
nooo....?
product rule:\[(uv)'=u'v+v'u\]let \(u=e^{4t}\) and \(v=y\) \[(e^{4t}y)'=(y)'e^{4t}+y(e^{4t})'=y'e^{4t}+4ye^{4t}\]hence\[y'e^{4t}+4ye^{4t}=(e^{4t}y)'\]
\[y(e^{4t})' \] be \[4tye^{4t}\] ?
chain rule:\[(e^{4t})'=(e^{4t})'(4t)'=4e^{4t}\]
sorry ofcourse :)
it happens :)
ok, I'm with you
so... now you comprehend\[e^{4t}y'+4ye^{4t}=\frac d{dt}(e^{4t}y)\]which setting equal to the RHS again gives\[\frac d{dt}(e^{4t}y)=12e^{6t}\]now this is a separable DE, which you probably have done in calc I
I think it is best just to refresh your memory and demonstrate the next few steps, so....
\[\frac d{dt}(e^{4t}y)=12e^{6t}\]\[d(e^{4t}y)=12e^{6t}dt\]\[\int d(e^{4t}y)=12\int e^{6t}dt\]now note the LHS, being the integral of a differential, just becomes the integrand. so we are left with\[e^{4t}y=12\int e^{6t}dt\]so once we can do the integral we are very close to solving for y! why don't you try to do the integral and solve for y yourself?
e^(4t) * y = 12 * 6 e^(6t) y = 72*e^(2t)
gotta be way more careful with that calculus\[\int e^{6t}dt\neq6e^{6t}\]and perhaps even more important, you forgot to add the constant +C from the indefinite integral DE's is where that constant you learn to add in calc I really comes into play try that integral again...
e^(4t) * y = 12 * (1/6) e^(6t) + C y = 2e^(2t) + C*e^(-4t)
and that is the general solution! nice job :D
c = 3
y(t) = 2e^(2t) + 3e^(-4t)
yes :)
Thank you so much for your time and patience!
yeah I had model solutions but they were crappy :)
you're welcome try again to read the link I gave you, it has great explanations and example problems note that there are many more constants of integration that poped up along the way, but they can be combined at the end if you know the situation you are dealing with well enough, so I ignored them in general though, remembering to add the constant of integration for every indefinite integral is indispensable in differential equations
Join our real-time social learning platform and learn together with your friends!