| Angelina
Lai |
For an electrical circuit, the current, i amperes, flowing once the switch is closed is given by L(di/dt) + Ri = V, where L is the inductance measured in henries, R is the resistance measured in ohms, V is the aplied voltage in volts. Find the general solution of this differential equation. |
||
| Yatir
Halevi |
L,R,V are independent of t? If so, try the following substitution: i(t)=z(t)+V/R Yatir |
||
| Joel
Kammet |
Yatir, please explain how you found that substitution. I would have rearranged the equation to di/dt+(R/L)i=(V/L) and then use eR t/L as an integrating factor to get eR t/Ldi/dt+(R/L)i eR t/L=(V/L)eR t/L i eR t/L=ò(V/L)eR t/L i eR t/L=(V/R)eR t/L+c i=V/R+C e-R t/L & I'm very happy to see we both get the same solution. Joel |
||
| Yatir
Halevi |
I once gave a very similar differential equation, here is the forum. And I remember the answer being with an aid of a substitution. Combing this with the fact that the integral of z ' /z is ln z the answer becomes pretty obvious (you need to get rid of the constant!). Now, you can either see what the required substitution will be or just plug in z=y+a and find out what a needs to be in order for the constant to disappear... Joel, Wouldn't it (technically) be more correct to use eRt/l+D (for some constant D) as the integrating factor? Yatir |
||
| David
Loeffler |
May I point out that when you use a constant in the integrating factor for first-order ODE's, all you are doing is multiplying the whole equation through by a constant? There is no way whatsoever that omitting the constant could cause you to lose solutions. Omit it freely! David |
||
| Matthew
Smith |
As an aside, the original equation can also be solved by calculating the complementary function and the particular integral: in this case, the former is Ce-Rt/L and the latter V/R. This method still works when you have capacitance as well, and hence a second order equation. |
||
| Angelina
Lai |
Just wondering, would the constant in the integration factor matter for some other kind of DEs that are not first order? |
||
| David
Loeffler |
No |
||
| Angelina
Lai |
Ok thanks! It's just rather strange that this question appeared in DE before the chapter where it introduced integration factors. Hmm... is there another way to do it? |
||
| Colin
Prue |
i was perplexed about this question too - i had the same thought when i came across it in DE a month or so ago...I was thinking ''why is this under separation of variables when i think it should be under integrating factor''. Answer: because the easiest way is to use separation of variables: rearrange to give: Lò(V-R i)-1 di = òdt it looks so obvious once you see it, and it's not hard...but it caused me some head scratching at the time |