solve this differential equation
first order linear differential equation : \(y' + p(x) y = q(x) \)
start by cmputing the integrating factor : \(\large e^{\int p ~dx}\)
IF: e^-5x?
yes, multiply IF both sides
before that, arrange the equation in standard form
what do u mean by standard form?
below : \(\large \mathbb{y'-5y = x}\)
now multiply IF both sides
hmm.. ok , (y'-5y)e^-5x = xe^-5x ?
yes, distribute left side
idea of multiplying IF both sides is to get the left side into form : p'q + pq'
\(\large \mathbb{y'-5y = x}\) multiply IF both sides \(\large \mathbb{y'e^{-5x}-5ye^{-5x} = xe^{-5x}}\)
left side is a derivative of product of two functions, right ?
\(\large \mathbb{y'-5y = x}\) multiply IF both sides \(\large \mathbb{y'e^{-5x}-5ye^{-5x} = xe^{-5x}}\) \(\large \mathbb{(ye^{-5x})' = xe^{-5x}}\)
yeah okay how do i proceed?
next integrate both sides
left side gives u back the product funciton, right side u can use parts..
y' = x + 5y y' - 5y = x y=yc+yp Where yc is the general solution of y' - 5y = 0 and yp is a particular solution of y' - 5y = x Characteristic equation: m-5=0 Then, m=5 and yc=A*e^(5*x) ; A is a real number To find yp we have to propose a posible solution (We always propose trying with a polynomial of the same degree as the one on the right of the equation) So we propose yp=B*x+C , and we replace it in the differential equation. (B*x+C)' - 5(B*x+C) = x B-5Bx-5C=x x(-5B)+(B-5C)=x For those two polynomials to be the same, their coefficients have to be equal. So: -5B=1 and B-5C=0 B=-1/5 and C=-1/25 Then, yp=B*x+C=-x/5-1/25 And finally, y=yc+yp=A*e^(5*x)-x/5-1/25 y=A*e^(5*x)-x/5-1/25
where did 5 go?
differentiate it and see wat u get
\(\large \mathbb{(ye^{-5x})' } = ? \)
aww.. product rule?
yess multiplying by IF fixes the left hand side to product rule... so that taking integral becomes trivial
okay if i differentiate right -5y(e^-5x)?
how did u get that ? \(\large \mathbb{(ye^{-5x})' } = y'e^{-5x} + y(e^{-5x})'\)
\(\large \mathbb{y'-5y = x}\) multiply IF both sides \(\large \mathbb{y'e^{-5x}-5ye^{-5x} = xe^{-5x}}\) grouping left hand side by product rule : \(\large \mathbb{(ye^{-5x})' = xe^{-5x}}\)
ahh.. im kinda confused by the ' anyway, why do we make it to form p'q+pq'?
lets carry out the integration and u will see why maybe :)
hmm.. integration by parts? both sides?
\(\large \mathbb{y'-5y = x}\) multiply IF both sides \(\large \mathbb{y'e^{-5x}-5ye^{-5x} = xe^{-5x}}\) grouping left hand side by product rule : \(\large \mathbb{(ye^{-5x})' = xe^{-5x}}\) Integrate both sides \(\large \mathbb{\int (ye^{-5x})' dx = \int xe^{-5x}} dx\)
u need to recall the Fundamental Theorem of Calculus 2 : \(\int f(x)' dx = f(x)\)
left hand side, u are taking integral-of-a-derivative of a function so it gives u back the funciton
ohh so that means it ye^-5x in the end ?
yup ! and thats true upto a constant... but dont wry about the details for now... go ahead taking the integral of right side also.. .
\(\large \mathbb{y'-5y = x}\) multiply IF both sides \(\large \mathbb{y'e^{-5x}-5ye^{-5x} = xe^{-5x}}\) grouping left hand side by product rule : \(\large \mathbb{(ye^{-5x})' = xe^{-5x}}\) Integrate both sides \(\large \mathbb{\int (ye^{-5x})' dx = \int xe^{-5x}} dx\) \(\large \mathbb{ ye^{-5x} = \int xe^{-5x}} dx\)
ok.. RHS: -(1/5)xe^-5x - (1/25)e^-5x +c
lastly, isolate y, by dividing e^-5x both sides
y = -(1/5)x- (1/25) +Ce^5x
hmm.. i still dont get the p'q +pq' part, and how y'-5y got to ye^-5x in the first place..
(ye^-5x)'
good question :) lets see what we get, by taking the derivative of that
(ye^-5x)' = ? take the derivative and see wat u get
take the derivative with respect to x
y'e^-5x +y(e^-5x)' as you said just now?
take the derivative fully
y'e^-5x +y(e^-5x)' --------
take the derivative of that also
-5e^-5x?
yes, so u have : (ye^-5x)' = y'e^-5x - 5ye^-5x
now look at wat you're asking now...
when u multiply by IF, left hand turns to derivative of product magically... go thru the solution again... u wil understand i hope :)
\(\large \mathbb{y'e^{-5x}-5ye^{-5x} = xe^{-5x}}\) grouping left hand side by product rule : \(\large \mathbb{(ye^{-5x})' = xe^{-5x}}\)
those two steps are equivalent. we have just used the product rule in reverse and grouped...
ohh.. reverse product rule.. i see now, thank you very muchh! XD
ahh nice name 'reverse product rule' lol never heard of it before ;)
Join our real-time social learning platform and learn together with your friends!