Find solutions of the given IVP. (1+e^t)dy/dt+e^(t)y=0 y(0)=1
hint : \(\large \left[(1+e^t)y\right]'\)
what
remembe the product rule ?
yea
\(\large (f*g)' = ?\)
f'g+fg'
expand the derivative of product in hint above, what do you get ?
e^t(y')+(1+e^t)y
try again
i dont see a mistake
sure ?
it seems you're doing f'g' + fg
instead of fg' + f'g
oh e^t(y)+(1+e^t)(y')
yes! isn't that same as the left hand side of your differential equation ?
yes
\[\large (1+e^t)dy/dt+e^ty=0 \] using product rule, becomes : \[\large \left[(1+e^t)y\right]' = 0\]
which function has "0" as derivative ?
y?
derivative of a constant function is 0
because a constant function never changes
\[\large \left[(1+e^t)y\right]' = 0\] or you could integrate both sides so that the derivative disappears on left hand side : \[\large \int \left[(1+e^t)y\right]' dt = \int 0 ~dt\] \[\large (1+e^t)y = C\]
plugin the initial condition and solve C
plug in 1 for y
yes 1 for y and 0 for t
c=2
yes plug that back into the final equation : \[\large (1+e^t)y = 2\]
or \(\large y = \dfrac{2}{1+e^t}\) is the solution function for the differential equation
thanks
how would i know which part of the equation to equal it to 0?
what variables do you see in the given equation ?
t,y', and y
thats true, lets keep y' aside. `t` and `y` are the variables and you're trying to solve for the function `y` right ?
and `y` is a function of `t`
y(0) = 1 means when t = 0, the value of y is 1
\(\large \large y = \dfrac{2}{1+e^t}\) assumption is that y is a function of t : \(\large y(t) = \dfrac{2}{1+e^t}\)
I think of it as initial time idk if that'll help though.
so get t and y' together to equal 0
y(0)=1 you're asking how to interpret this, right ?
im asking why you chose (1+e^t)y'=0 and not e^t y
when did we choose that ?
we never set (1+e^t)y'=0
at the beginning using the product rule
Your starting equation : \(\large (1+e^t)dy/dt+e^{t}y=0 \) \(\large (1+e^t)y'+e^{t}y=0 \)
now wrap that using the product rule in reverse
entire left hand side can be compressed as : \(\large \left[(1+e^t)y\right]'\)
yes ?
why? where did e^t y go
the derivative is NOT just to the y, it was to the entire expression inside square parenthesis
it did not go anywhere, expand it using product rule
i thought product rule was just for (1+e^t) and y'
\(\large \large \left[(1+e^t)y\right]'\) is exactly same as : \(\large (1+e^t)y'+e^{t}y\)
oh i didn't know that
work it using product rule and convinces yourself they are same
\(\large \large \left[(1+e^t)y\right]' = ?\)
it equals the same thing, so how can I work backwards to obtain that expression?
you need to *see* it and think in reverse
oh thats kinda hard
\(\large \large (1+e^t)y'+e^{t}y\) there is no rule for writing it as derivative of product without thinking in reverse
however you can convince urself more that it can be written asderivative of product like this : \(\large (1+e^t)y'+e^{t}y\) derivative of the first factor in first term \((1+e^t) \) comes as first factor in second term. So thats a huge hint that you can wrap it as : \(\large (fg)'\)
so in all of these kinds of problems I need to do the same thing, like think about what expression would equal that when using the product rule
also notice that one of the functions is always \(\large y\). its not hard at all after you practice 2-3 problems
if you want a practice example, try to write below as derivative of product : \(\large x^2y' + 2xy\)
[(x^2)y]'
perfect ! want another example ?
so for dy/dt+2ty=t^3
that won't work this simple
as left side cannot be written as derivative of product
the good news is we can force it to be written as derivative of product
multiply something bothsides such that the lefthand side becomes derivative of product
there is a procedure for finidng that "something"
heard of "integrating factor" before ?
yea i think
what do you know about it ?
is it using this \[\mu=e ^{\int\limits_{}^{}p(t)dt}\]
exactly! find it
and multiply that both sides of the equation
so do I solve for y or c
okay i got y=1/2t^2 - 1/2 +c
whats your integrating factor ?
dy/dt+2ty=t^3
integrating factor = \(\large e^{\int 2t~dt} = e^{t^2}\) right ?
yea
multiply that through out the equation
\(\large dy/dt+2ty=t^3\) multiiply the integrating factor \(\large \color{gray}{e^{t^2}}\) through out, you get : \(\large \color{gray}{e^{t^2}}dy/dt+\color{gray}{e^{t^2}}2ty=\color{gray}{e^{t^2}}t^3\)
now, you can blindly write left hand side as \(\large \left[y \color{gray}{e^{t^2} }\right]' \)'
yes
\(\large \left[y \color{gray}{e^{t^2} }\right]' =\color{gray}{e^{t^2}}t^3 \)
integrate both sides
\[\large \int \left[y \color{gray}{e^{t^2} }\right]' ~dt = \int ~\color{gray}{e^{t^2}}t^3~dt \]
left hand side, integral and derivative eat eachother out giving you : \[\large y \color{gray}{e^{t^2} } = \int ~\color{gray}{e^{t^2}}t^3~dt \]
you will have to evaluate the right hand side integral
i know the integration but how can i find it by hand, product rule?
Join our real-time social learning platform and learn together with your friends!