First-Order Differential Equations
Transcript
hello Engineering SEM2 students this is Asis Charania and I welcome you to this one shot video where we are going to master full module 1 of your Applied Mathematics 2 which is differential equations of first order and first degree it is roughly 15 to 18 marks out of your entire 80 marks University M2 paper so it's a significantly high weightage and this is this video is roughly going to be 2 two and a half hours long if you just give this much time to me if you just give 2 two and a half hours long I guarantee you you will be able to answer and master the full differential equations of first order and first degree and you will be able to answer every question that comes up in your university paper okay without wasting much of your time let's get into the video let's look at what is the form of exact differential equation exact differential equation is a differential equation which is written in the form m d x plus n d y is equal to 0
okay that's the form or format of exact differential equation here both m and n both are functions of x and y okay m is a function of x and y and even n is a function of x and y okay remember that now there is a condition that should satisfy in order for the equation to be considered exact okay what is that condition let's look at that so the condition is you take two derivatives you take derivative partial derivative of m with respect to Y you take partial derivative of m with respect to y and you take partial derivative of n with respect to x okay if these two derivatives come out to be equal such a differential equation is called exact so okay so this is the condition if this is true if true
differential equation is exact okay so that's how you check if the differential equation is exact or not if the differential equation is exact the solution of such a differential equation is given by integration of m d x plus integration of N d y is equal to zero that's the solution of that exact differential equation now there is a thing that you have to keep in mind here there is a small thing that you have to keep in mind here in order to in order to integrate m whenever you integrate m remember that m is a function of X and y and N is a function of X and y both are different functions of X and y but essentially they are functions of x and y when you are integrating m remember which is with respect to X OK
you're integrating m with respect to X remember that you have to keep y as constant remember you will treat y as constant and when you are integrating n the one thing you have to keep in mind since you are integrating with respect to y you only have to take the terms free from X take only the terms terms free from X x since you are integrating with respect to y you have to take the terms free from x and in order to integrate m treat y as constant if you remember this rule you will be able to solve every question of exact differential equation okay we'll look at few examples let's look at let's start by looking at example now let's convert this equation in terms of MDX+ ndy just cross multiply this so therefore we have uh so dy times this term so I have sine x plus x cos y
plus x times d y plus uh this times d x so y cos x plus sign y plus y into DX this is equal to 0 now remember that this is of the form m DX whatever is with DX is m so this is your m and this is your N okay so now uh we need to find two derivatives here okay we need to find two derivatives I'll first write the values so I have m is equal to y cos x plus sign y plus y OK and I have let's first differentiate alright just let's just write the value of n n is sign x plus x cos y
plus X OK I have those two values remember we need to take two derivatives we need to take derivative of m with respect to y we have to take derivative of partial derivative of m with respect to y and then we have to take partial derivative of n with respect to X okay the partial derivative of m with respect to y remember with respect to y x is constant so if you want to differentiate this cos x is constant so you have cos x derivative of y with respect to y is 1+ derivative of sign y with respect to y is cos y plus derivative of y with respect to y is again 1 OK so essentially you have cos x plus cos y
plus 1 okay that's the derivative partial derivative that you have now let's try to find another derivative which is the derivative of n with respect to x derivative of n with respect to x now let's differentiate sign x derivative of sign x with respect to X is cos x plus x cos y remember y is constant when you're differentiating with respect to x y is constant so you have cos y times derivative of x with respect to X is 1+ derivative of again x with respect to X is 1 so if you notice this is the same thing you have cos x plus cos y plus 1 okay uh so you have those two equations notice that those two are equal notice that since
delta m by delta y is equal to delta n by delta X therefore our differential equation is exact because that condition is satisfied we can say that differential equation that we have is a exact kind of differential equation okay in order to integrate or solve the exact differential equation the solution that I have is therefore solution that we Learned is solution is solution is integration of MDX plus integration of N d y is equal to zero that's the solution that we know of okay
now here we have to integrate m but remember that while integrating m we have to treat y as constant okay because we are integrating with respect to X we'll treat y as constant and while integrating n we have to remember we have to take the terms free from X because we are integrating with respect to y we have to take all the terms free from X let's look at how to integrate it then so we have integration uh let's substitute m so we have y cos x plus sign y plus y y cos x plus sign y plus y into d X
OK then we have plus integration of we have to take all the terms free from X if you look at N if you look at N are is there any term which is free from X sign x is not free from x x cos x is not free from X and even X is not free from X there is no term in this N which is free from X so there is no term that we can uh include here so we just write 0 d y OK because remember we only take the terms here which are free from X free from X okay in this case we don't have any term which is free from X
which is which is why we cannot take anything so it's zero basically okay so which is equal to 0 okay also let's add a constant of integration c let's add a constant of integration C now therefore uh we are integrating you remember with respect to x so y is constant so you can just write y integration of cos x with respect to x is sin x plus integration of sign y with respect to x remember sign y y is constant so sign y is also constant whatever left is 1 so integration of 1 with respect to X is x plus remember integration of y with respect to x y is constant integration of 1 is nothing but X because that is when you take y as constant whatever is left is 1 OK plus 0 is equal to constant of integration c over here OK so therefore your solution will become y sign x
plus X sign y plus x y is equal to constant of integration C since there is a constant of integration c remember that this solution is called as general solution this solution is called general solution okay if they would have given the value of x and a value of Y what we would have done is found the value of c and substituted here then we would have got particular solution okay but since they have not given any uh condition or values of x and y in order to find the value of c we can just leave our answer here okay I hope that makes sense let's move on to next example in the next example I have it's already if you notice in the form of MDX+ ndy it's already in the form of MDX+ ndy let's see if this is exact let's write the value of m first so m is y into 1 + 1 upon x plus cos y
value of n is x plus log x minus x sign y okay now let's try to find derivatives of uh partial derivatives of m with respect to y and n with respect to X so let's take partial derivative of m with respect to uh y partial derivative of m with respect to y so with respect to y x is constant so this one plus 1 over x is constant derivative of y with respect to y is 1+ derivative of cos y with respect to y is minus sign y so basically what I have is 1 + 1 over x
minus sign y is my delta m by delta y now let's see what I get for delta n by delta x delta n by delta x so with respect to x derivative of x with respect to x is one derivative of log x with respect to x is 1 over x minus remember with respect to x y is constant so sign y is constant derivative of x with respect to x is 1 so if you notice both the terms are same 1 + 1 over x minus
so therefore we can say delta m by delta e delta y is equal to delta n by delta X since those two partial derivatives are equal therefore we can say that our differential equation is exact our differential equation is exact if our differential equation is exact the solution that we can find the solution is
solution is integration of MDX plus integration of N d y is equal to 0 OK remember that here we have to take the terms free from X take the terms free from X and here you have to treat y as constant y as constant always remember those rules OK so therefore you have so let's substitute the values so we have integration of m let's take m so m is this y times 1 + 1 over x plus cos y so I have y times 1 + 1 over x plus cos y okay and this whole thing is getting integrated with respect to X+ integration remember in N we only have to take the terms which are free from X so let's see terms free from X
again here uh X is not free from X log X is not free from X there is X here even X y is not free from X because there is X here so we only had to take the terms which are free from X so there is no term here which are which is completely free from X everything has X in it so which is why again which is why again what we have to do is we just have to take zero over here OK in the next example we'll see uh there will be a term which is free from X and we'll take that term okay now let's integrate this and actually let's add a constant of integration c since we have already integrated okay now with respect to x let's integrate this term and this term with respect to x uh remember y is constant okay remember y is constant so you can write y times integration of 1 with respect to X is X+ integration of 1 over X with respect to X is log X
okay so that's the integration of this part you keep y as constant and you integrate one and then you integrate one over X plus integration of cos y with respect to x remember y is constant if y is constant cos y is also constant you don't have to integrate it you can just write it the way it is and then whatever left is 1 so integration of 1 with respect to x is x is equal to add a const the constant of integration C and that can be called your solution such a easy uh question it is okay
they get they give you 4 marks for this okay in your exam they get such questions you get for 4 marks alright let's look at next example let's look at next example a little bit uh where you have to do some work in order to differentiate and everything uh let's look at it in detail first of all you understand that this is your M this is your N okay you have your m and N ready so let's write it down let's say your m is equal to y square into E raised to X y square plus 4 x cube okay and your n is let's actually write it here only n is equal to 2 xy E to the power XY square minus 3 y square okay so we have over m and we have over n let's see if this differential equation is exact anywhere
let's try to find the partial derivative of m with respect to y partial derivative of m with respect to y so let's start to differentiate this if you notice this y square and E raised to x y square you'll have to use UV rule or the product rule of derivatives which says U derivative of V+V derivative of U okay so in other words in order to differentiate this you first have to keep y square constant y square constant derivative of e to the power x y square is e to the power x
y square into derivative of x y square derivative of x y square you are differentiating with respect to y so X is constant and derivative of y square is 2Y plus now this is u derivative of v OK and then we have v so E to the power x y square into derivative of u OK so which is y square derivative of y square with respect to y is 2 y and 4 x cube derivative with respect to y is zero OK so that's just zero because x is constant with respect to y x is constant so we have uh this will become 2 x y cube E to the power x y square
plus 2 y into E to the power X y square let's say those are the two terms now let's differentiate n with respect to X let's differentiate n with respect to X now with respect to x y is constant so this 2 y is constant so we can write it the way it is 2 y let's put a bracket let's put a bracket and we have X into er 2 x y square so that means we'll have to again use product rule or UV rule in X and er 2 x y square so first we'll keep X the way it is we'll keep X the way it is
derivative of er 2 x y square E r s 2 x y square derivative is E r s 2 x y square into derivative of x y square with respect to x y is constant so y square is constant and derivative of x is 1 I hope that makes sense you'll have to know the UV rule in order to do this okay plus now E raised to x y square constant E raised to x y square keep it constant and take the derivative of x so derivative of x with respect to x is one
minus derivative of this with respect to x is again 0 I hope that makes sense because derivative of y square with respect to x is zero so therefore we have just multiply this 2 y inside multiply this 2 y inside so we have again 2 x y Q this y and y square will become y Q erase 2 x y square erase 2 x y square plus 2 y 2 y this 2 y inside E raised to x y square so therefore since those two values are if you notice equal this value and this value is exact same that means that derivative of m with respect to y that means therefore derivative of m with respect to y is equal to derivative of n with respect to x since these two derivatives are equal therefore we can say our differential equation is exact
and since it is exact the solution is since it is exact the solution of the differential equation is integration of m d x plus integration of n d y is equal to zero I hope that makes sense so therefore remember that here while integrating m you have to keep y as constant and here take the terms free from X free from only take the terms yeah free from X so X shouldn't be there here okay so let's see alright so now let's substitute the values of m and N so we have integration of if you look at the value of m we have y square E raised to x y square plus 4 x Q y square E raised to x y square plus 4 x Q
into the X+ remember that in N we only have to take the terms free from X if you only take the terms free from X so if you notice here this first term contains X so we cannot take this term only this term is without x minus 3 y square so we'll only take that term we'll only take minus 3 y square minus 3 y square d y is equal to let's add a constant of integration c I hope that makes sense so now we have integration let's integrate this with respect to X with respect to x y square is constant
let's integrate that so with respect to x y square is constant integration of E raised to x y square is E raised to x y square remember that uh we have to divide by the coefficient of x here x is the variable coefficient of x square is vice coefficient of x is vice square so in integration we always divide by the coefficient of variable whatever the variable is uh coefficient of that we divide by that OK plus let's keep 4 constant x cube integration of x cube is x to the power 4
divide by four minus 3 y square integration of y square is y cube divide by 3 is equal to constant of integration c let's cancel this cancel this cancel this and we have the solution E raised to x y square plus x to the power 4 minus y q is equal to constant of integration c and this is your general solution of this differential equation I hope that makes sense we solve non exact differential equations by converting them to exact by finding something called as integrating factor okay
let's look at what we mean by this let's say the equation the differential equation that we want to solve is of the form m d x plus n d y is equal to zero okay you remember that m is a function of x and y and even n is a function of x and y m and n both are functions of x and y okay if the differential equation was exact if the differential equation was exact derivative of m partial derivative of m with respect to y and partial derivative of n with respect to X these two partial derivatives would have come out to be equal but if the differential equation is non exact that is what we are looking at right now we will see that these two partial derivatives won't be same so first thing that we'll do to solve is to find those two partial derivatives just like we did in exact we'll find those two partial derivatives delta m by uh delta y and delta n by delta X and if they come out to be non equal we know that differential equation is non exact
and we have to reduce it or convert it to exact what are the steps to convert it to exact there are some rules that we follow that we learn about shortly but there are some steps to follow okay step No. 1 step No. 1 is using the rule using the rules that we will learn find the integrating factor find integrating factor what are the rules we'll just look at it in the next slide okay but remember using the rules find integrating factor next next step is multiply by integrating factor multiply by integrating factor on both sides multiply by integrating factor on both the sides OK and step 3 equation is now exact once you multiply by integrating factor on both the sides equation becomes exact equation is now exact
uh solve as usual solve as usual we'll just solve like we solve exact differential equations uh that we Learned in the previous video okay we'll still look at that in detail even in this video okay let's look at the rules the important thing that we want to learn now is what are the rules to find integrating factor what are the rules that we use to find integrating factor now there are four rules that we have to remember in order to find integrating factor rule No. 1 rule No. 1 if delta m by delta y minus delta n by delta X you take that difference you take the difference of two derivatives delta m by delta y minus delta n by delta X and you divide that by n you divide that by the latter term N OK if if this whole term is a function of x if this whole term is a function of x so if delta m by delta y minus delta n by delta x divide by that uh n function
is if this whole thing is a function of x then that implies then that implies integrating factor is E to the power integration of FX DX OK that's the rule No. 1 if we notice that this difference divided by that n is a function of X then integrating factor is E to the power integration of F x d x that's the integrating factor rule No. 2 is very similar to rule No. 1 OK it's just the reverse of this OK if so in instead of taking delta m by delta y first if I would have taken delta n by delta X minus delta m by delta y
can you guess it we divided by this term second term m if this come out to be if this whole thing come out to be a function of y okay a function of y means it doesn't contain X okay your function of X contain means it doesn't contain y if this come out to be function of y you can guess that integrating factor is equal to in E to the power integration of F y d y very simple rule No. 3 rule No. 3 is let's say if equation is of the form m d x plus n d y is equal to zero that's the normal form
of the differential equation that we solve but here m is so here since it is DX if m is y times function of x y y times not that this is not x comma y this is function of x into y okay so if m is y times function of x y and n is X times some other function of X into y okay if this is the situation that m is y times if it is d x here it should be y times some function of x y and for n it should be x times some function of x y uh those two are different functions
f 1 x y f 2 x y if this is the scenario then if this is the scenario then our integrating factor is 1 upon m x minus n y 1 upon m x minus n y remember that since m x minus n y is in the denominator it cannot be zero where m x minus n y is not equal to zero that's our integrating factor okay the last rule again if the equation mdx plus ndy is equal to 0 if equation is of this form mdx plus ndy is equal to 0 and from here if you try to find div by DX and if if you try to find div by DX
and if div by DX is homogeneous if d y by d X is homogeneous okay we'll look at what is homogeneous while solving the questions but if d y by d X is a homogeneous function if d y by d X is a homogeneous function then our integrating factor will become 1 upon m x plus n y integrating factor will become 1 upon m x plus n y and where MX plus NY is not equal to zero obviously because it's in the denominator these are the four rules really of finding the integrating factor very simple so far okay
now let's look at some examples let's look at some examples let's look at some examples okay remember that uh these are the rules to find integrating factor uh so that's step No. 1 using rules we find the integrating factor step No. 2 is multiply integrating factor on both the sides of the differential equation and once you do that the moment you do that the equation the differential equation that you have will become exact and we'll just solve it like a exact differential equation that we have done in the previous video okay very easy steps to follow now let's look at this example um we have MDX+ ndy so this is of the form MDX+ ndy where if you notice m is equal to x y square minus E to the power 1 over x cube and our n is minus x square y okay don't forget that minus we have minus uh x square y as our N we take two derivatives as always we take derivative of m with respect to y okay derivative of m with respect to y with respect to y x is constant okay
derivative of y square is 2 y and minus derivative of this with respect to y is 0 because this is a function of x okay so we have 2 x y OK derivative of m with respect to y is 2 x y now let's look at derivative of n with respect to x derivative of n with respect to x with respect to x y is constant with respect to x y is constant derivative of x square even minus is constant derivative of x square is 2 x so we have minus 2 x y so those two are not equal delta m by delta y and delta n by delta x those two are not equal
that means the equation is not exact but we can reduce it to exact how can we reduce it to exact let's take the difference delta n by delta y minus delta n by delta X okay let's take the difference so if you take the difference this is 2 x y minus minus 2 x y is equal to so this will become 4 x y this will become 4 x y notice that now what you have to observe is that the moment you calculate the difference the moment you calculate that either difference if this is the difference
you divide by n and this if this is function of x then this is the integrating factor so now if you notice this if I divide this value this value by n is that a function of x if I divide that by n is that by is that a function of x or if that if I divide that by m will that become a function of y OK if you notice if you divide these two the y and y will get cancelled the y and y will get cancelled and this will become function of X but if you divide this 1 and m nothing will get cancelled
and it won't be a function of y OK so you have to actually see that if you the difference that you have got if you divide it by either m or N are you able to obtain a single function of either X or either y OK so here I notice that therefore delta m by delta y minus delta n by delta x if you divide that by n if you divide that by n we get 4 xy in the numerator and the denominator is minus x square y and things will get cancelled here and you will get minus 4 upon X you will get minus 4 upon X
so this is a function of x OK this is a function of x if this is a function of X we know that this will follow rule 1 we know this will follow rule 1 okay and the integrating factor is e to the power integration of x uh FX DX so integrating factor is integration of E to the power integration of F x d x so this is equal to E to the power integration of minus 4 upon x d x okay this will become E to the power minus 4 is constant can be taken out of integral integral of 1 upon x is log x or ln x natural log of x okay alright that makes sense now this minus 4 can be taken in the numerator by log property sorry not in the numerator in the power of that X okay so this will become let me scroll a little bit down so this will become e to the power
log x to the power minus 4 by property of law this minus 4 can go on top of that uh x so this will become now since this is E and this is since a natural log the base is also e OK for natural log the base is E if this value and this base E is equal we know that these two kind of get cancelled and we are just left with X to the power minus 4 which is nothing but one upon X to the power 4 now that is our integrating factor 1 upon X to the power four so the moment we find integrating factor we have to multiply if you remember the steps we have to multiply by integrating factor on both the sides we have to multiply by integrating so we take the differential equation we multiply by integrating factor so let me just copy that differential equation let me just copy that differential equation and we paste that differential equation down
OK and we multiply both the sides by integrating factor so I just write multiply by integrating factor on both the sides so you get therefore uh 1 upon X to the power 4 so you get one over X to the power 4 x y square minus E to the power 1 upon x cube times d x minus 1 upon x to the power 4 x square y into d y is equal to 0 now we know once you multiply by integrating factor this is a exact differential equation at this point this is a exact differential equation so let's just simplify this a little bit just multiply this inside so we have y square divide by x cube y square
divide by X cube minus E to the power 1 upon x cube divide by X to the power four d x minus this will become y upon X square d y is equal to zero okay now this is since we know that once you multiply by integrating factor the differential equation is exact we can just say that solution is we can just say that solution is so integration of MDX+ integration of ndy is equal to constant C that's the solution but remember now that this is your m and this is your N OK also one thing if you remember from the previous video that in m we treat y as constant and here we take the terms free from X
x OK very easy so far alright uh let's treat y as constant and integrate so we have integration of integration of y square upon X cube minus E to the power 1 upon X cube divide by x to the power 4 times DX plus integration of take only the terms free from x n is this take the terms free from x there is there are no terms which are free from x if you notice there is only one term in n uh in n we have y upon x square so here in n we only take the terms free from x since in n there is no term which is free from x there is only one term which contains x square okay so this will just become 0 d y is equal to constant c I hope that makes sense
now let's try to solve that integral remember in the first integral we treat y as constant okay so we have integration of split that integration y square upon x cube d x minus integration of E to the power 1 upon x cube divide by x to the power 4 d x okay and this is equal to constant c so therefore vice constant so we have vice square integration of 1 over X cube t x OK uh and in the second integral uh we have to do method of substitution because this is a composite function if you put one upon x cubed SD one upon x squared somewhere you'll get one upon X to the power 4 okay uh we'll have to do method of substitution that we have studied
so like actually let's first do that let's first do that so let's say here let one upon X cube let's say that is t so therefore differentiate this with respect to x uh so you get so this is just like X to the power minus 3 is equal to t now differentiate with respect to X so you get minus 3 x to the power minus 4 is equal to d t by d X right just using normal differentiation technique so therefore I have minus 3 upon x to the power 4 because this x to the power minus 4 can be written as 1 upon x to the power 4 this is equal to d t by d x
therefore therefore uh here we need to find d X divide by X to the power 4 okay so just take this d X over here so we have d X divide by X to the power 4 is equal to minus d t upon 3 okay so that's the equation that is left over to me so now what what what what do we have so we have here in the first integral y square is constant can be taken out of integral okay we are left with integration of 1 upon x cube d x minus we can convert this now in terms of t we have integration of e to the power t we just have e to the power uh t over here
and this d x upon X we have d x upon x sorry d x upon X to the power 4 is minus d t upon 3 so this is minus d t upon 3 remember that t is 1 upon x cube and this is equal to C now very simple integral at this point y square integration one upon x cube can be just written as x to the power minus 3 d x and this negative and this negative will become positive integration one upon 3 can be taken out E to the power t d t is equal to c alright very easy so far so therefore
we have therefore y square x to the power minus 3 the integration is x to the power minus 3 + 1 upon minus 3 plus one plus 1 upon 3 for integral e to the power 3 we know integral is e to the power 3 is equal to constant of integration c so therefore we have y square x to the power minus 2 over minus 2 plus 1 upon 3 and we know that t is equal to 1 upon x cube so t we can substitute 1 upon x cube is equal to c if we want we can simplify this a little bit so therefore we have uh
therefore minus y square upon 2 x square this x to the power minus 2 can be taken in the denominator plus 1 upon 3 e to the power 1 upon X cube is equal to constant of integration c and this is our solution I hope this makes sense to all of you alright alright let's look at this next example we have this is our M we have this is our N right so we have m is equal to 2 x y to the power 4 e to the power y plus 2 x y cube plus y
okay and our n is x square y to the power 4 e to the power y minus x square y square minus 3 x okay let's take the difference or the derivatives of m with respect to y and let's see what do we get now with respect to y x is constant with respect to y x is constant so we have 2 x which is constant now we have to take the derivative of this with respect to y okay so we'll have to apply the product rule or the UV rule here okay so we have y to the power 4 constant
derivative of E to the power y is E to the power y plus E to the power y constant and derivative of y to the power 4 is 4 y q OK plus uh we have this is 2 x is constant again and the derivative of y cube is 3 y square plus here the derivative of y is 1 OK here since uh x is constant 2 x we kept as constant and we differentiate y cube as 3 y square OK so just simplify this a little bit so we have delta m by delta y is equal to 2 x y to the power 4 e to the power y plus this 2 x times this so and that will become 8 actually because of that 4 and that 2 so that will become eight
x y to the power 3 into E to the power y plus we have uh 6 x y square plus 1 OK so that's the derivative of m with respect to y it does look a little bit scary but promise I promise you that it will be very easy once we solve it it it is not that difficult now let's take derivative of n with respect to X let us just highlight that derivative of m with respect to y is what we found let's take derivative of n with respect to X so we have with respect to x y is constant
so these two terms are constant so we have uh y to the power 4 e to the power y derivative of x square over there is 2 x derivative of x square is 2 x because with respect to x y is constant again with respect to x y is constant so we have y square again derivative of x square is 2 x minus derivative of 3 x is 3 just simplify this a little bit so we have delta n by delta x is equal to Y two x y to the power 4 e to the power y minus 2 x y to the power 4 - 3 OK so that's the value that we have
first thing that you do always is take the difference you either take the difference of delta m by delta y minus delta n by delta X or you take the difference of delta n by delta X minus delta m by delta y it doesn't matter just take one difference and divide by either m first divide by m and then divide by N and see what happens okay let's see what happens let's first take the difference let's first take the difference of therefore delta n by delta x the value will become delta n by delta x will become 2 x y to the power 4 e to the power y minus 2 x y square minus 3 okay
so in the end we have to figure out whether it is rule No. 1 or rule No. 2 in this case so basically we have to figure out whether you have to divide by N or whether you have to divide by N if you divide by n and it turns out to be function of X then it is of this rule 1 if you divide by m and it is function of y then it's rule two what you do it's just the difference of two it's the reverse difference but it doesn't matter for now it's just the difference okay so for now let's take a difference between those two derivatives sequence for now doesn't matter we'll figure it out later but for now let's just take a difference okay we are just figuring out so I'll just use a different pen let's just use delta m by delta y minus delta n by delta x upon n and maybe let's just calculate two values okay let's just calculate delta n by delta x
delta n by delta X minus delta m by delta y divide by m let's see which of those two it is okay let's see which of these two it is uh if you take the difference of delta so if you divide if you take a difference this first term and the second term will get cancelled anyway the second term you write so 8 x y cube E to the power y okay uh I'll just circle whatever is done so we consider this and this okay then we have this we considered this 6 x y square minus minus 2 so we have plus 8 x y square so we considered this then we have plus 1 minus minus 3 so we have plus 4 now divided by n what is n divided by n let's just copy the value of n for now let's just copy the value of n from here and just paste it here
let's see if anything is getting cancelled over here even if you take uh X common from here I don't think anything will get cancelled X y to the power 4 so this is not going to get cancelled OK anyway so that means let's discard this case and let's focus on this one so let's just take the reverse difference okay if you just take the reverse difference it will just be a negative sign okay so this will be minus 8 because it's you are essentially doing a minus B you are just doing B minus a so the result will be just negative of this okay in the numerator so 8 x y cube e to the power y minus 8 x y square and minus 4 and in the denominator let's paste the value of m now and let's see what will happen something magical is going to happen now let's copy that let's copy that
and paste it over there paste it over there and then if you take a y common then if you take y common so you get a two x uh y cube E to the power y OK plus uh 2 x y square notice the pattern is coming out the terms are same plus 1 in the numerator just take 4 common in the numerator just take actually minus 4 common if you take minus 4 common uh you'll be left with 2 x y cube e to the power y minus or sorry plus since you are taking minus common 2 x y square plus 1 if you notice this term and this term will get cancelled and you will be left with minus 4 over y which is a function of y now that we understand this is the second type okay
which is delta N by delta X minus delta m by delta Y so let's just rewrite those things with a clean pen now that we know that's what you do in exam too okay just use the rough side of the page use use like a rough side of the page to to make a decision between that OK to make a decision whether it is delta m by delta y minus delta n by delta X or delta n by delta X minus delta n by delta Y so in this case it is delta it is delta n by delta X delta n by delta X minus delta m by delta Y divide by m okay and we already Learned we got minus 4 over y okay I'll just uh re substitute everything here so we have uh N by X so this minus this will get cancelled minus 2 and this will become minus 8 x y square this will become minus 8 x y cube E to the power y right and this will become minus 4 and in the denominator we have m which is essentially we can just copy this really
copy that paste it here oops it didn't copy the entire thing but in then we have plus y OK let's take minus 4 common so we have 2 x y square plus 2 x y cube E to the power y plus 1 in the denominator again let's take y common so we have 2 x y cube E to the power y
plus 2 x y square plus 1 OK so this and this will get cancelled and we have minus 4 upon y which is a function of y okay which is a function of y so since this is a function of y we can now say that therefore integrating factor is e to the power f y d y uh let's just write it in the next line we can say that integrating factor is E to the power integration of F y d y E to the power minus 4 integration of 1 upon y d y because we just can take minus 4 common uh inside the integral so we have E to the power minus 4 log y
OK which is equal to E to the power log y to the power minus 4 this minus 4 can just go in the power of log by the property of log OK now since this is a natural log the base is e OK so that the whole thing will get cancelled and we have y to the power minus 4 which is one upon y to the power 4 okay now that we have integrating factor we can take the original equation and multiply uh that integrating factor on both the sides so let's just copy the whole uh let's just copy the whole uh original equation let's just copy the whole original equation copy that paste it here down paste it here
now multiply both the sides by one upon y to the power 4 so you can just try divide by y to the power 4 because you are basically multiplying integrating factor on both the sides so just multiply by y to the power 4 on both the sides I hope that makes sense now that you multiply y to the power 4 which is the integrating factor on both the sides remember that the equation is now exact now that we know that equation is exact we can just uh do the solution as usual before that let's just simplify this a little bit and this will become therefore 2 x E to the power y plus 2 x uh divide by y just splitting this y to the power 4 here plus 1 upon y cube OK this y and this y to the power 4 one upon y cube times d x
plus plus we have y to the power 4 year so we'll get cancelled so x square E to the power y minus x square divide by y square okay minus 3 x divided by y to the power 4 d y is equal to zero okay that's our differential equation which is exact so the solution is now that it is exact solution is integration of MDX+ integration of NDY is equal to constant of integration c OK uh remember that in the first term you have to keep y as constant and in the second term take the terms free from x OK take only the terms which are free from x
free from X because we are integrating with respect to y take the terms free from X and here with respect to X just treat y as constant so let's see what do we have we have integration of MDX so just substitute the value of m this is m okay 2 x E to the power y plus 2 x divide by y plus 1 upon y cube into d x take the terms plus integration of only take the terms free from X is there any term free from X the first term has X so it's not free from X second term has X it's not free from X third term has X so it's not free from X that means there is no term in this entire n uh which is free from x so we just take zero here is equal to uh constant of integration c so therefore just integrate this keep y as constant so 2 e to the power y is constant integration of X is x square divided by 2+ y is constant

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