{"id":12513,"date":"2020-10-07T04:23:31","date_gmt":"2020-10-06T20:23:31","guid":{"rendered":"https:\/\/www.intmath.com\/blog\/?p=12513"},"modified":"2020-10-07T04:23:31","modified_gmt":"2020-10-06T20:23:31","slug":"separating-variables-in-differential-equations","status":"publish","type":"post","link":"https:\/\/www.intmath.com\/blog\/mathematics\/separating-variables-in-differential-equations-12513","title":{"rendered":"Separating Variables in Differential Equations"},"content":{"rendered":"<div class=\"field field-name-body field-type-text-with-summary field-label-hidden\">\n<div class=\"field-items\">\n<div class=\"field-item even\">\n<p>Separation of Variables, widely known as the Fourier Method, refers to any method used to solve ordinary and partial differential equations. To apply the separation of variables in solving differential equations, you must move each variable to the equation's other side.<\/p>\n<h2><strong>Get to Understand How to Separate Variables in Differential Equations<\/strong><\/h2>\n<p>As indicated in the introduction, Separation of Variables in Differential Equations can only be applicable when all the y terms, including dy, can be moved to one side of the equation. All the other x terms, including dx, are taken to the other side of the equation. Kindly follow these steps in Separating Variables involving Differential Equations.<\/p>\n<p>Step One: Move all the y terms, including dy, to one side of the equation<\/p>\n<p>Step Two: Move all the x terms, including dx, to the other side of the equation<\/p>\n<p>Step Three: Integrate the y side.<\/p>\n<p>Step Four: Integrate the x side. Kindly note that \"+C\" is the constant of the integration.<\/p>\n<p>Step Four: Simply the equation.<\/p>\n<h3><strong>Illustration<\/strong><\/h3>\n<p>Task: Assuming that k is constant, solve the following differential equation.<\/p>\n<p>dy\/dx = ky<\/p>\n<p>Solution<\/p>\n<p>Move all the y terms to one side of the equation and the x terms to the other side of the equation.<\/p>\n<p>Thus<\/p>\n<p>dy\/dx = ky<\/p>\n<p>dy = ky \u00d7 dx ( You are simply multiplying both sides by dx)<\/p>\n<p>You should then divide both sides of the equation by y.<\/p>\n<p>y:dy\/y = k dx<\/p>\n<p>Now integrate both sides of the equation. Kindly note that the integration should be done separately.<\/p>\n<p>Thus;<\/p>\n<p>\u222b dy\/y = \u222b k dx ( note the placement of the integration sign)<\/p>\n<p>Now integrate the left side of the equation:<\/p>\n<p>(y) + C = \u222b k dx<\/p>\n<p>Then integrate the right side of the equation:<\/p>\n<p>(y) + C = kx + D<\/p>\n<p>Remember that \"C\" is the constant of integration and that D is used for the other. Therefore it is a different constant.<\/p>\n<p>You can now simplify the equation. To simplify, roll the two constants into one.<\/p>\n<p>Thus;<\/p>\n<p>(a=D\u2212C): ln(y) = kx + a<\/p>\n<p>e(ln(y)) = y<\/p>\n<p>It would help if you now took the exponents on both sides<\/p>\n<p>Thus;<\/p>\n<p>y = ekx + a<\/p>\n<p>And ekx + a = ekx ea<\/p>\n<p>Therefore:<\/p>\n<p>y = ekx ea<\/p>\n<p>Assuming that you have keenly followed these steps and the example given, you can now use the formula and the procedure to solve real-life examples. It is prudent to state here that though we used y and x in our example, you are at liberty to use other variable names.<\/p>\n<h3><strong>Other illustrations<\/strong><\/h3>\n<p>Take rhinos, for example. The more rhinos you have, the more baby rhinos you will have. When these baby rhinos grow, they automatically sire babies. Therefore there is an increase in population.<\/p>\n<p>This information can translate into a differential equation.<\/p>\n<p>Please let:<\/p>\n<p>(N) population any time be t;<\/p>\n<p>&nbsp;<\/p>\n<p>the growth rate be r and;<\/p>\n<p>the rate of change in population is dNdt.<\/p>\n<p>Please note that the rate of change at any given time is equal to the growth rate times the population. Simply put:dN dt = rN.<\/p>\n<p>If you note keenly, the resulting equation is the same as the previous one we solved, in example (1) above. The only difference is that this time, different letters have been used. That is:<\/p>\n<p>N instead of y<\/p>\n<p>t instead of x<\/p>\n<p>r instead of k<\/p>\n<p>Therefore N = cert<\/p>\n<p>Further Illustration<\/p>\n<p>Solve this differential equation by separating the variables:<\/p>\n<p>dy\/dx = 1y<\/p>\n<h3><strong>Solution<\/strong><\/h3>\n<p>First, separate the y and x variables. Then you will have to move all the y variables to one side of the equation. Then move all the x terms to the other side of the equation.<\/p>\n<p>Thus;<\/p>\n<p>Multiply both sides by dx:<\/p>\n<p>dy = (1\/y) dx<\/p>\n<p>Multiply both sides by y:<\/p>\n<p>y dy = dx<\/p>\n<p>It would be best if you then integrated both sides of the equation separately. Please be keen to put the integral sign (\u222b ) in front of the equation.<\/p>\n<p>Thus;<\/p>\n<p>\u222b y dy = \u222b dx<\/p>\n<p>Now integrate each side:<\/p>\n<p>Thus;<\/p>\n<p>(y2)\/2 = x + C<\/p>\n<p>You have now integrated both sides of the equation in one line.<\/p>\n<p>Next, simplify the equation:<\/p>\n<p>Multiply both sides by 2<\/p>\n<p>y2 = 2(x + C)<\/p>\n<p>Find the square root of both sides:<\/p>\n<p>y = \u00b1\u221a(2(x + C))<\/p>\n<p>Note that y = \u00b1\u221a(2(x + C)) is not the same as y = \u221a(2x) + C. The difference is as a result of the addition of C before finding the square root. You realize that this is common in many differential equations. C is not just added at the end of the process. You should add the C only when integrating.<\/p>\n<p>Thus;<\/p>\n<p>y = \u00b1\u221a{2(x + C)}<\/p>\n<h3><strong>Complex Examples Involving Solving Differential Equations by Separating Variables<\/strong><\/h3>\n<p>Task solve :dydx = 2xy1+x2<\/p>\n<h3><strong>Solution<\/strong><\/h3>\n<p>First, learn how to separate the Variables.<\/p>\n<p>Multiply both sides by dx, then divide both sides by y:<\/p>\n<p>Thus:<\/p>\n<p>1y dy = 2x1+x2dx<\/p>\n<p>Next, integrate the two sides of the equation separately.<\/p>\n<p>Thus:<\/p>\n<p>\u222b1y dy = \u222b2x1+x2dx<\/p>\n<p>Note that while the left side is a simple logarithm, the right side can be integrated by the substitution method.<\/p>\n<p>Let u = 1 + x2, so du = 2x dx:\u222b1y dy = \u222b1udu<\/p>\n<p>You can then integrate(y) = ln(u) + C<\/p>\n<p>Then make C = ln(k):ln(y) = ln(u) + ln(k)<\/p>\n<p>Therefore you get:<\/p>\n<p>y = uk<\/p>\n<p>Lastly please put u = 1 + x2 back again.<\/p>\n<p>Hence;<\/p>\n<p>y = k(1 + x2)<\/p>\n<p>Lastly, simplify the equation.<\/p>\n<p>Therefore y = k(1 + x2)<\/p>\n<h3><strong>Verhulst Logistics Equation<\/strong><\/h3>\n<p>The previous example on growth Differential Equation (dNdt = rN) is closely related overhaul Logistics Equation. The equation also referred to as the Verhult's model was introduced in 1838 and works with the assumption that growth may not last forever because the population will soon run of food.<\/p>\n<p>Now solve the Verhaust's Equation using Differential Equation by Separating the Variables<\/p>\n<p>dNdt = rN(1\u2212N\/k)<\/p>\n<p>First, separate the two variables by multiplying both sides of the equation by dt, then divide again by N.<\/p>\n<p>Thus;<\/p>\n<p>dN = rN(1\u2212N\/k) dt<\/p>\n<p>N(1-N\/k):1N(1\u2212N\/k)dN = r dt<\/p>\n<p>Next, please integrate the resulting expression.<\/p>\n<p>Thus;<\/p>\n<p>\u222b1N(1\u2212N\/k)dN = \u222b r dt<\/p>\n<p>You realize that the left side of the equation seems difficult to integrate. You don't have to worry, though. With a little knowledge of Partial Fractions, you don't have to spend a whole day looking for a solution. Kindly rearrange the equation like this:<\/p>\n<p>It would help if you began with:1N(1\u2212N\/k) then multiply both top and bottom by k:kN(k\u2212N). You should then add N and -N to the top.<\/p>\n<p>Thus;<\/p>\n<p>N+k\u2212NN(k\u2212N)<\/p>\n<p>You should then split the expression into two fractions.<\/p>\n<p>Thus:<\/p>\n<p>NN(k\u2212N) + k\u2212NN(k\u2212N)<\/p>\n<p>You can then simplify each fraction<\/p>\n<p>1k\u2212N + 1N.<\/p>\n<p>You can now quickly solve the problem. Go ahead and separate each term separately.<\/p>\n<p>Thus;<\/p>\n<p>\u222b1k\u2212NdN + \u222b1NdN = \u222b r dt<\/p>\n<p>Then, Integrate:\u2212ln(k\u2212N) + ln(N) = rt + C<\/p>\n<p>Simplify the equation:<\/p>\n<p>In(k\u2212N) \u2212 ln(N) = \u2212rt \u2212 C<\/p>\n<p>Combine ln():ln((k\u2212N)\/N) = \u2212rt \u2212 C<\/p>\n<p>Then, take exponents on both sides:(k\u2212N)\/N = e\u2212rt\u2212C<\/p>\n<p>Now, separate the powers of e:(k\u2212N)\/N = e\u2212rt e\u2212C<\/p>\n<p>Remember that e\u2212C is constant. You should therefore replace it with A:(k\u2212N)\/N = Ae\u2212rt.<\/p>\n<p>You are now close to the answer. With a little more algebra, you are assured of getting N on its own. To do this:<\/p>\n<p>Separate the fraction terms:(k\/N)\u22121 = Ae\u2212rt<\/p>\n<p>Then add 1 to both sides:k\/N = 1 + Ae\u2212rt<\/p>\n<p>Next,divide both by k:1\/N = (1 + Ae\u2212rt)\/k<\/p>\n<p>Find the reciprocal of both sides: N = k\/(1 + Ae\u2212rt)<\/p>\n<p>Therefore the solution is N = k1 + Ae\u2212rt<\/p>\n<h3>Final Thoughts<\/h3>\n<p>Separating Variables in Differential Equations, though often understood by a few people and widely feared by many, can be a straightforward concept to grasp if you adhere to the procedures discussed in this article.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"field field-name-field-image-url field-type-text field-label-above\"><\/div>\n<p class=\"alt\"><a href=\"#respond\" id=\"comms\">Be the first to comment<\/a> below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Separation of Variables, widely known as the Fourier Method, refers to any method used to solve ordinary and partial differential equations. To apply the separation of variables in solving differential equations, you must move each variable to the equation's other side. Get to Understand How to Separate Variables in Differential Equations As indicated in the [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mo_disable_npp":""},"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/www.intmath.com\/blog\/wp-json\/wp\/v2\/posts\/12513"}],"collection":[{"href":"https:\/\/www.intmath.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.intmath.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.intmath.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.intmath.com\/blog\/wp-json\/wp\/v2\/comments?post=12513"}],"version-history":[{"count":1,"href":"https:\/\/www.intmath.com\/blog\/wp-json\/wp\/v2\/posts\/12513\/revisions"}],"predecessor-version":[{"id":12514,"href":"https:\/\/www.intmath.com\/blog\/wp-json\/wp\/v2\/posts\/12513\/revisions\/12514"}],"wp:attachment":[{"href":"https:\/\/www.intmath.com\/blog\/wp-json\/wp\/v2\/media?parent=12513"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.intmath.com\/blog\/wp-json\/wp\/v2\/categories?post=12513"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.intmath.com\/blog\/wp-json\/wp\/v2\/tags?post=12513"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}