1. Home
  2. Explore
  3. Mathematics
  4. First-Order Differential Equations

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

First-Order Differential Equations

Transcript

We are looking at uh uh these questions this  is solving question uh we are looking at uh two   questions on first order differential equation  solve the initial value problem and you can see   the questions below in this case now this is when  x is one y is one here when x is one y is zero   okay so let’s look at look question first and see  how we can solve it okay let’s look at that this   is first order differential equation uh question  one we have this uh x2dy/dx equal to four x square

minus x minus two all over (x+1)(y+1) so this one  look like uh I think is uh separable equation okay   I’m going to show us uh that so we can remove this  one from here by dividing both sides by what uh by   x square you can also remove this one from here  too okay so that will be equal to if you want to   remove this one from here that will be times uh  both sides by what (y+1 ) so (y+1) both sides of

the equation uh (y+1) then dy multiply also both  sides by what by dx so we want this one to leave   this place okay and also divide both sides  by x square we want this x square to leave   that place also then we have four x square minus  x minus 2 over (x+1) and then x square I want   to separate the variable then dx so I think we  have separated the variables now we have the y   function on one side we have the uh x function on  the other side and if you look at it also this is

a combination of x and y f(x)g(y) if you bring  this one to this place you have combination of   f(x) and g(y) so this is the what separable  differential equation okay so what I’m saying   is this if you uh first of all divide by x square  then you have four x square minus x minus two all   over (x+1)(x2) into bracket what (y+1) so you  can see is a combination of what f(x) and what   this is your f(x) okay and this is uh your g of  y with one over this okay so the next thing to

do is to try to separate the variable okay which  we’ve done here so which we’ve done there then   the next thing to do is to integrate both sides  after you have separated uh the variable okay so   then when you want to integrate now is easy here  you can easily uh integrate here is easy uh is   easy multiply okay that’s correct here the degree  here is two the degree here is what is three so in   this case now we are going to use uh uh partial  fractuion before the integration okay that is

what I want to do there I’m going to use partial  fraction for the uh integration the polynomial   here is power 2 here is power 3 at the bottom  so we just carve this one outside four (x square   minus x mius 2) all over (x+1) into bracket x2 and  this is a linear factor which will be A over (x+1)   and this one is a repeated factor it will be B  over x plus C over x square okay you can watch   my video on partial fraction okay so uh this is  what we have now we can multiply through by this

common factor multiply through multiply through  the equation multiply through by (x+1) and then   x square that will be your four x square minus x  minus 2 and equal to here it will be equal to A uh   into bracket what A into bracket uh x square okay  here plus B into bracket it remains one x here and   then (x+1) here x square will go then we have plus  C into bracket what (x+1) okay so what can we do

now we have many method we can use we can equate  the coefficient you can equate the coefficient if   you expand this one you have uh this one is here  x square is here x square is here we have (A+B)   x square then for the x we have plus here B times  one Bx times one we have B there and here also we   have plus C okay and then plus the constant terms  that’s plus C so that’s what we have there that’s

what we have now then you can begin to equate  the coefficient let’s see equate the coefficient   of x square for x square we are going to have  4 on the left hand side and that will be equal   to A+B equation one equation one then equation  two uh equation two that’s uh B plus C B plus   C equate the coefficient that’s uh minus one and  then the last one the constant terms equate the   constant terms that’s uh C equal to what C equal  to minus two so we have gotten this C equal to

minus two then you can substitute that into  two to get B so from B from second equation   from equation two minus one equal to B minus  2 then we can have minus one plus 2 equal to   B so B is equal to what B is equal to one we’ve  gotten B as one then we can go to first equation   A+B equal to 4 we already have we’ve gotten B  okay that will be A, B is what one that’s four   so A is equal to what four minus one that’s 3  so we’ve gotten all the parameters uh for that

equation we can quickly integrate the right hand  let’s integrate the right hand side integral of   four x square minus x minus 2 all over (x+1) into  bracket x2 is equal to uh our A is what that will   be integral of our A is 3 over (x+1) plus our B  is uh B is one, one over x then C , C is minus 2   so this will turn to this will turn to minus here  so that will be minus, minus two all over minus 2

all over x square okay uh dx okay so that’s what  we have now uh that’s my right hand side that’s my   right hand side that’s my right hand side I don’t  want to clean that one okay equal to y uh if you   integrate y that will be y square uh yeah y  square over two plus y equal to this will give   us if you integrate this first one that will give  3ln(x+1) okay if you integrate this second one   one over ln one over x integral of that that will  be plus lnx then the third one we are going to

do it separately here and I’m having 2x-2 okay I  want to integrate that so that will be equal to   when this one come up it becomes uh x minus 2 that  will be equal to two minus two plus one that’s uh   minus one over minus one so minus is here minus  is here that’s plus, plus plus uh plus uh 2 plus 2   over x because this will give me this will give me  2x-1 so that x-1 will go down that’s 2 over x and

then plus C so that is uh that is that on that  equation we will not be able to go further so   will be not be wasting time that is where we are  going to stop for that question but what we need   now we need something here there is a boundary  there is a condition given to us when x is one y   is one so we can plug that value and get the value  of C let’s do that let’s do that so this will be   equal to this will be equal to one over two  plus one that’s uh three over two equal to uh

this will be 3ln() one plus one that’s ln2 plus  ln1 this one will go that’s zero ln1 is zero and   then plus 2 over one that’s 2 then plus C okay  we have three over two we can move this one to   other side that will be minus ln() this will be  this 3 can come on top here that’s 2 to power 3   that’s ln(8) so it goes to other side then minus  two equal to C so that’s my C we don’t have to   waste the time we can only combine three over two  minus two together you can combine three over 2

three over two uh minus 2 that will give us minus  uh minus half okay this one and this one give   us minus one over 2 minus ln8 equal to what C so  without wasting time you come back here again and   substitute for what for C that’s what we do there  that will be equal to y square over 2 plus y equal   to ln(x+1)3 okay plus lnx plus 2 over x then plus  C that’s minus half and then minus ln8 so that’s

the solution for that uh for that uh question  that’s the solution for that question okay so   that’s that on that question so we quickly go to  second question so that’s that and what we do is   just separating the variable okay and the only  way we can remove this one from here I mean this   (y+1) is just to multiply through by (y+1) so that  it will leave here and it will come here and here also you divide it by what by x2 it will come here  then you can x function in one side y function on   the other side. That’s what we’ve done in that  uh in that case okay that’s what we’ve done   the only thing here is just to uh invoke to use  the partial fraction before the integration and   follow the sequence of that of partial fraction  so if you are new on partial fraction there is a   video everything on partial fraction has been  explained on this channel so look for video

on partial fraction okay that’s that so please  join the next video we are still on the second   question let’s go the second question without  wasting time we have x2dy/dx plus 3xy equal to   x4lnx plus one okay then we have this condition  y(1) equal to zero let’s see what we can do here   the first thing we want to do without wasting time  uh I think this is linear differential equation   let’s divide through by x square okay then we have  dy/dx uh plus (3 over x)y okay equal to x2lnx plus

one over x2 so that’s what we’ve gotten now that’s  what we have now that’s the first sequence where   my P(x) is 3 over x and my Q(x) is uh x2lnx plus  one over x2 if you correspond this uh this one   if you correspond it to this dy/dx plus P(x)y  equal to Q(x) if you corresonpond to that and   pick out your P(x) and you can pick out your Q(x)  then we can get the integral factor this is linear   in y so we can get the integral factor and that  will be equal to miu equal to e integral factor

is what that’s that’s three over x dx and that’s  equal to e 3 to bracket one over x dx you can take   that 3 outside and that will be equal to elnx  the three here can come here can come there   and your integral factor will be equal to what  your integral factor is x to power 3 okay so   that’s that on that then we can get the general  solution the general solution will be equal   to uh y equal to one over the integral factor okay  then open your bracket integration of uh integral

factor times uh what do you call it times uh Q(x)  which is very wrong we are going to open bracket   which is uh x2lnx okay plus one over x square okay  yeah okay don’t forget that we divided all through   by x2 so this remain over 2 here this is one  over x2 so then uh plus C okay then let’s do the   algebra so this will be equal to x-3 and then you  can open this one that will be integral of x5lnx

okay then plus if you muptiply this that will just  be equal x dx plus C so that’s that on that okay   what again can we do now is to here these two is  integration by parts so I’m going to take it out   x5lnx dx is a product under integration that will  call for integration by parts whereby my u this   is much uh this is differentiable this is uh but  is not uh you can’t integrate that so u is lnx

and du is equal to one over x dx okay that’s my  du okay then my V my dV is equal to x5dx so V is   equal to what V is equal to x6 over 6 okay then  we can get uh use the formula uv minus integral   of Vdu okay so uV that’s x6 over 6 uh lnx minus V  my V is what x6 over 6 times that’s my Vdu my du   is what one over x dx okay then we can this one  can go here so we have this .. over 6lnx minus   one over 6 can go outside okay we have x5dx then  you should go on that will give us this over this

lnx minus if you integrate this one that will  be x to power 6 plus you know the implication that’s plus one over 6 there is one over 6 here  that’s one over 6 here that’s one over 6 so we   have that so let’s begin to substitute now what we  have so we now have now y equal to x-3 open your   bracket we’ve done the, the integral of that of  the first part which is equal to what uh x6 over   6 lnx minus uh one over 36 uh x6 okay then follow  by integration of this one here integral of this   one here don’t forget that integral of sum of  function is equal to the respective uh integral

of sum of functions will be equal to integral of  each of those functions so this will be equal to   integral of x that will be uh plus x2 over 2 then  plus C so that’s that on this uh on this question   we can leave it that way but we have condition  I think we are giving condition of when x is   uh one uh y is zero okay so we can do that we  can do that we can do that okay firstly let’s   open the bracket okay just that I’m just looking  at time let’s open the bracket okay let’s open the bracket one one okay let’s leave it this is  zero this is equal to what if you plug in this   one here one to any power one to any power is one  that’s one here open bracket this will be equal to

one over 6 ln1 so this is gone ln1 is zero then we  have minus one over 36 okay one over 36 then plus   one over 2 plus C so you can open the bracket so  we have minus one over 36 okay plus uh half plus   C so let’s do that which will be equal to one over  36 minus half equal to C, C is uh C is uh minus 17   over 36 so we just come back here and plug in that  value so y is equal to x-3 into bracket this one

over this one lnx minus one over 36 x6 plus x  to power 2 over 2 minus 17 over 36 that’s that   on that uh on that solution that’s that on that  solution . It’s very interesting and a little   bit long is a liitle bit long okay but it’s  very interesting okay please if you are new   on the channel please hit the notification  bell so that as we upload you get notify .

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent