how come x^2y'+2xy can be written as (x^2*y)'?? is there something similar we can do with xln(x)y'+y?
find the derivative of x^2y using the product rule for differentiation
i don't understand
the product rule: \[\frac{ d }{ dx }=f(x)g'(x)+g(x)f'(x)\]
sorry should be \[\frac{ d }{ dx }(f(x)g(x))=f(x)g'(x)+g(x)f'(x)\]
so the derivative of x^2y = 2xy+y'x^2 OHHHHHHH
yeah i said the same thing when it clicked for me LOL
and no you can't do it for the second one, you'll have to find the integrating factor
nice! is there a similar relation in xln(x)y'+y. (i am assuming there is because all the questions in that section seem to have these patterns)
OK!
well you'll have to find the integrating factor which transforms a linear equation into one that we can solve in that form... can i show you an easier problem than that one to start with, its pretty nasty
wait, you might want the complete question. the question is xln(x)y'+y=xe^x
do you see anything i should be doing in this question
yeah its still nasty lol how about i show you an easy one then get into a nasty one
alright
you need to divide by x(ln(x))
i can show you this one but its gonna be ugly
When we combine the Chain and Product Rules, we get:\[\bf (x^2y)'=(x^2)'y+x^2(y)'=2xy+x^2\frac{ dy }{ dx }\]
@natto
yup i get y'+y/xlnx = xe^x/xlnx
i treid isolating y from x, so i can assign dy and dx to them respectively, but clearly i wasn't able to
ok its in linear form like this
its gonna take a bit for me to type
alright! take ur time!
\[y'+\frac{ 1 }{ xln(x) }y=\frac{ e^{x} }{ \ln(x) }\]
ok what we need is a magic function to multiply both sides of the equation so we can use that fancy product rule. Turns out there is a trick to find this function.
oh nm that integral isn't that bad ha! it just looks bad
ok if the equation is of the form: \[y'+P(x)y=f(x)\] then the magic function is found by \[e ^{\int\limits_{}^{}P(x)dx}\]
can you find \[\int\limits_{}^{}\frac{ 1 }{ xln(x) }dx\] (hint: its a u substitution)
yes
ok get that real quick
ln(ln(x))+c
good ok now what is \[e ^{\ln(\ln(x))}\]
remember inverses (don't worry about abs bars for now, this isn't nitpick class)
e^1
its just ln(x)
remember e^ln(whatever) = whatever
ok!!
Now that we found our magical function, we're gonna multiply both sides of the equation by it, and you will see it become much prettier (i've done this problem before, we must have the same book)
\[(\ln(x))y'+\frac{ 1 }{ x }y=e^{x}\]
the left side is now the product rule... poof majic
see? the left hand side is the derivative of (ln(x))y
omg how do you see that far ahead ?
i've taught differential equations 6 semesters :) you see the pattern one is the derivative of the other
that and its magic... it always works.. these are always solveable
if you multply a derivative in standard linear form by that magic e^integral of P it always gives you a product rule... always
but we're not done we need to solve for y...
Oh! is there a name for that? or more examples that i can up on? i will look it up!
now we see the product rule on the left we have \[\frac{ d }{ dx }[\ln(x)y]=e^{x}\]
yes?
you said "magic e^integral of P it always gives you a product rule... always" is there a name or keyword for that rule so i can search it up and read on it later?
you need to antidifferentiate both sides using the Fundamental Theorem of Calculus... yes i give you information when we finish the problem :)
ok, working ahead , i get y=e^x/(ln(x))
almost yu forgot the constant
right! +c!! e^x+c/ln(x)
\[y=\frac{ e^{x} }{ \ln(x) }+\frac{C}{\ln(x)}\]
good job... These are called Linear First order Ordinary Differential Equations. They for the most part are solved using the same method. The "majic equation" is called an integrating factor. This is a good video by a professor at MIT here http://ocw.mit.edu/courses/mathematics/18-03-differential-equations-spring-2010/video-lectures/lecture-3-solving-first-order-linear-odes/
thank you so much!! you've been super helpful!
np. Differential equations are fun especially when student has a good background in calculus like yourself. :)
ill watch the video and go to sleep :D thanks alot ! good night!
Join our real-time social learning platform and learn together with your friends!