{"id":1633,"date":"2021-07-22T17:15:45","date_gmt":"2021-07-22T17:15:45","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/calculus2\/?post_type=chapter&#038;p=1633"},"modified":"2022-06-27T17:14:03","modified_gmt":"2022-06-27T17:14:03","slug":"solving-the-logistic-differential-equation","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/calculus2\/chapter\/solving-the-logistic-differential-equation\/","title":{"raw":"Solving the Logistic Differential Equation","rendered":"Solving the Logistic Differential Equation"},"content":{"raw":"<div class=\"textbox learning-objectives\" data-type=\"abstract\">\r\n<h3>Learning Outcomes<\/h3>\r\n<ul>\r\n \t<li>Draw a direction field for a logistic equation and interpret the solution curves<\/li>\r\n \t<li>Solve a logistic equation and interpret the results<\/li>\r\n<\/ul>\r\n<\/div>\r\n<p id=\"fs-id1170571618234\">The logistic differential equation is an autonomous differential equation, so we can use separation of variables to find the general solution.<\/p>\r\n<p id=\"fs-id1170571769524\">Step 1: Setting the right-hand side equal to zero leads to [latex]P=0[\/latex] and [latex]P=K[\/latex] as constant solutions. The first solution indicates that when there are no organisms present, the population will never grow. The second solution indicates that when the population starts at the carrying capacity, it will never change.<\/p>\r\n<p id=\"fs-id1170571542396\">Step 2: Rewrite the differential equation in the form<\/p>\r\n\r\n<div id=\"fs-id1170571593415\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\frac{dP}{dt}=\\frac{rP\\left(K-P\\right)}{K}[\/latex].<\/div>\r\n&nbsp;\r\n<p id=\"fs-id1170572410223\">Then multiply both sides by [latex]dt[\/latex] and divide both sides by [latex]P\\left(K-P\\right)[\/latex]. This leads to<\/p>\r\n\r\n<div id=\"fs-id1170572510106\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\frac{dP}{P\\left(K-P\\right)}=\\frac{r}{K}dt[\/latex].<\/div>\r\n&nbsp;\r\n<p id=\"fs-id1170571571798\">Multiply both sides of the equation by [latex]K[\/latex] and integrate:<\/p>\r\n\r\n<div id=\"fs-id1170572231848\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\displaystyle\\int \\frac{K}{P\\left(K-P\\right)}dP=\\displaystyle\\int rdt[\/latex].<\/div>\r\n&nbsp;\r\n<p id=\"fs-id1170572337198\">The left-hand side of this equation can be integrated using partial fraction decomposition. We leave it to you to verify that<\/p>\r\n\r\n<div id=\"fs-id1170572342835\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\frac{K}{P\\left(K-P\\right)}=\\frac{1}{P}+\\frac{1}{K-P}[\/latex].<\/div>\r\n&nbsp;\r\n<p id=\"fs-id1170572211423\">Then the equation becomes<\/p>\r\n\r\n<div id=\"fs-id1170572169463\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{ccc}\\hfill {\\displaystyle\\int \\frac{1}{P}+\\frac{1}{K-P}dP}&amp; =\\hfill &amp; {\\displaystyle\\int rdt}\\hfill \\\\ \\hfill \\text{ln}|P|-\\text{ln}|K-P|&amp; =\\hfill &amp; rt+C\\hfill \\\\ \\hfill \\text{ln}|\\frac{P}{K-P}|&amp; =\\hfill &amp; rt+C.\\hfill \\end{array}[\/latex]<\/div>\r\n&nbsp;\r\n<p id=\"fs-id1170571615998\">Now exponentiate both sides of the equation to eliminate the natural logarithm:<\/p>\r\n\r\n<div id=\"fs-id1170572468509\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{ccc}\\hfill {e}^{\\text{ln}|\\frac{P}{K-P}|}&amp; =\\hfill &amp; {e}^{rt+C}\\hfill \\\\ \\hfill |\\frac{P}{K-P}|&amp; =\\hfill &amp; {e}^{C}{e}^{rt}.\\hfill \\end{array}[\/latex]<\/div>\r\n&nbsp;\r\n<p id=\"fs-id1170571610954\">We define [latex]{C}_{1}={e}^{c}[\/latex] so that the equation becomes<\/p>\r\n\r\n<div id=\"fs-id1170572478804\" style=\"text-align: center;\" data-type=\"equation\">[latex]\\frac{P}{K-P}={C}_{1}{e}^{rt}[\/latex].<\/div>\r\n&nbsp;\r\n<p id=\"fs-id1170572489213\">To solve this equation for [latex]P\\left(t\\right)[\/latex], first multiply both sides by [latex]K-P[\/latex] and collect the terms containing [latex]P[\/latex] on the left-hand side of the equation:<\/p>\r\n\r\n<div id=\"fs-id1170572100061\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{ccc}\\hfill P&amp; =\\hfill &amp; {C}_{1}{e}^{rt}\\left(K-P\\right)\\hfill \\\\ \\hfill P&amp; =\\hfill &amp; {C}_{1}K{e}^{rt}-{C}_{1}P{e}^{rt}\\hfill \\\\ \\hfill P+{C}_{1}P{e}^{rt}&amp; =\\hfill &amp; {C}_{1}K{e}^{rt}.\\hfill \\end{array}[\/latex]<\/div>\r\n&nbsp;\r\n<p id=\"fs-id1170571643113\">Next, factor [latex]P[\/latex] from the left-hand side and divide both sides by the other factor:<\/p>\r\n\r\n<div id=\"fs-id1170572624848\" style=\"text-align: center;\" data-type=\"equation\">[latex]\\begin{array}{ccc}\\hfill P\\left(1+{C}_{1}{e}^{rt}\\right)&amp; =\\hfill &amp; {C}_{1}K{e}^{rt}\\hfill \\\\ \\hfill P\\left(t\\right)&amp; =\\hfill &amp; \\frac{{C}_{1}K{e}^{rt}}{1+{C}_{1}{e}^{rt}}.\\hfill \\end{array}[\/latex]<\/div>\r\n&nbsp;\r\n<p id=\"fs-id1170572216811\">The last step is to determine the value of [latex]{C}_{1}[\/latex]. The easiest way to do this is to substitute [latex]t=0[\/latex] and [latex]{P}_{0}[\/latex] in place of [latex]P[\/latex] in the equation [latex]\\frac{P}{K-P}={C}_{1}{e}^{rt}[\/latex] and solve for [latex]{C}_{1}\\text{:}[\/latex]<\/p>\r\n\r\n<div id=\"fs-id1170571637473\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{ccc}\\hfill \\frac{P}{K-P}&amp; =\\hfill &amp; {C}_{1}{e}^{rt}\\hfill \\\\ \\hfill \\frac{{P}_{0}}{K-{P}_{0}}&amp; =\\hfill &amp; {C}_{1}{e}^{r\\left(0\\right)}\\hfill \\\\ \\hfill {C}_{1}&amp; =\\hfill &amp; \\frac{{P}_{0}}{K-{P}_{0}}.\\hfill \\end{array}[\/latex]<\/div>\r\n&nbsp;\r\n<p id=\"fs-id1170571543117\">Finally, substitute the expression for [latex]{C}_{1}[\/latex] into the equation before the last:<\/p>\r\n\r\n<div id=\"fs-id1170572176233\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]P\\left(t\\right)=\\frac{{C}_{1}K{e}^{rt}}{1+{C}_{1}{e}^{rt}}=\\frac{\\frac{{P}_{0}}{K-{P}_{0}}K{e}^{rt}}{1+\\frac{{P}_{0}}{K-{P}_{0}}{e}^{rt}}[\/latex]<\/div>\r\n&nbsp;\r\n<p id=\"fs-id1170572274967\">Now multiply the numerator and denominator of the right-hand side by [latex]\\left(K-{P}_{0}\\right)[\/latex] and simplify:<\/p>\r\n\r\n<div id=\"fs-id1170572150636\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cc}\\hfill P\\left(t\\right)&amp; =\\frac{\\frac{{P}_{0}}{K-{P}_{0}}K{e}^{rt}}{1+\\frac{{P}_{0}}{K-{P}_{0}}{e}^{rt}}\\hfill \\\\ &amp; =\\frac{\\frac{{P}_{0}}{K-{P}_{0}}K{e}^{rt}}{1+\\frac{{P}_{0}}{K-{P}_{0}}{e}^{rt}}\\cdot \\frac{K-{P}_{0}}{K-{P}_{0}}\\hfill \\\\ &amp; =\\frac{{P}_{0}K{e}^{rt}}{\\left(K-{P}_{0}\\right)+{P}_{0}{e}^{rt}}.\\hfill \\end{array}[\/latex]<\/div>\r\n&nbsp;\r\n<p id=\"fs-id1170572111539\">We state this result as a theorem.<\/p>\r\n\r\n<div class=\"textbox shaded\">\r\n<h3 style=\"text-align: center;\">Solution of the Logistic Differential Equation<\/h3>\r\n\r\n<hr \/>\r\n\r\n<div id=\"fs-id1170572135929\" class=\"theorem\" data-type=\"note\">\r\n<p id=\"fs-id1170571728769\">Consider the logistic differential equation subject to an initial population of [latex]{P}_{0}[\/latex] with carrying capacity [latex]K[\/latex] and growth rate [latex]r[\/latex]. The solution to the corresponding initial-value problem is given by<\/p>\r\n\r\n<div id=\"fs-id1170571597871\" style=\"text-align: center;\" data-type=\"equation\">[latex]P\\left(t\\right)=\\dfrac{{P}_{0}K{e}^{rt}}{\\left(K-{P}_{0}\\right)+{P}_{0}{e}^{rt}}[\/latex].<\/div>\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/div>\r\n\r\n&nbsp;\r\n<p id=\"fs-id1170572626583\">The solution to the logistic differential equation has a point of inflection. To find this point, set the second derivative equal to zero:<\/p>\r\n\r\n<div id=\"fs-id1170572307551\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{ccc}\\hfill P\\left(t\\right)&amp; =\\hfill &amp; \\frac{{P}_{0}K{e}^{rt}}{\\left(K-{P}_{0}\\right)+{P}_{0}{e}^{rt}}\\hfill \\\\ \\hfill {P}^{\\prime }\\left(t\\right)&amp; =\\hfill &amp; \\frac{r{P}_{0}K\\left(K-{P}_{0}\\right){e}^{rt}}{{\\left(\\left(K-{P}_{0}\\right)+{P}_{0}{e}^{rt}\\right)}^{2}}\\hfill \\\\ \\hfill P^{\\prime\\prime}\\left(t\\right)&amp; =\\hfill &amp; \\frac{{r}^{2}{P}_{0}K{\\left(K-{P}_{0}\\right)}^{2}{e}^{rt}-{r}^{2}{P}_{0}{}^{2}K\\left(K-{P}_{0}\\right){e}^{2rt}}{{\\left(\\left(K-{P}_{0}\\right)+{P}_{0}{e}^{rt}\\right)}^{3}}\\hfill \\\\ &amp; =\\hfill &amp; \\frac{{r}^{2}{P}_{0}K\\left(K-{P}_{0}\\right){e}^{rt}\\left(\\left(K-{P}_{0}\\right)-{P}_{0}{e}^{rt}\\right)}{{\\left(\\left(K-{P}_{0}\\right)+{P}_{0}{e}^{rt}\\right)}^{3}}.\\hfill \\end{array}[\/latex]<\/div>\r\n&nbsp;\r\n<p id=\"fs-id1170571712032\">Setting the numerator equal to zero,<\/p>\r\n\r\n<div id=\"fs-id1170572509015\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]{r}^{2}{P}_{0}K\\left(K-{P}_{0}\\right){e}^{rt}\\left(\\left(K-{P}_{0}\\right)-{P}_{0}{e}^{rt}\\right)=0[\/latex].<\/div>\r\n&nbsp;\r\n<p id=\"fs-id1170572344215\">As long as [latex]{P}_{0}\\ne K[\/latex], the entire quantity before and including [latex]{e}^{rt}[\/latex] is nonzero, so we can divide it out:<\/p>\r\n\r\n<div id=\"fs-id1170572147551\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\left(K-{P}_{0}\\right)-{P}_{0}{e}^{rt}=0[\/latex].<\/div>\r\n&nbsp;\r\n<p id=\"fs-id1170572236506\">Solving for [latex]t[\/latex],<\/p>\r\n\r\n<div id=\"fs-id1170572404260\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{ccc}\\hfill {P}_{0}{e}^{rt}&amp; =\\hfill &amp; K-{P}_{0}\\hfill \\\\ \\hfill {e}^{rt}&amp; =\\hfill &amp; \\frac{K-{P}_{0}}{{P}_{0}}\\hfill \\\\ \\hfill \\text{ln}{e}^{rt}&amp; =\\hfill &amp; \\text{ln}\\frac{K-{P}_{0}}{{P}_{0}}\\hfill \\\\ \\hfill rt&amp; =\\hfill &amp; \\text{ln}\\frac{K-{P}_{0}}{{P}_{0}}\\hfill \\\\ \\hfill t&amp; =\\hfill &amp; \\frac{1}{r}\\text{ln}\\frac{K-{P}_{0}}{{P}_{0}}.\\hfill \\end{array}[\/latex]<\/div>\r\n&nbsp;\r\n<p id=\"fs-id1170572163756\">Notice that if [latex]{P}_{0}&gt;K[\/latex], then this quantity is undefined, and the graph does not have a point of inflection. In the logistic graph, the point of inflection can be seen as the point where the graph changes from concave up to concave down. This is where the \"leveling off\" starts to occur, because the net growth rate becomes slower as the population starts to approach the carrying capacity.<\/p>\r\n\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Try It<\/h3>\r\n[ohm_question]169314[\/ohm_question]\r\n\r\n<\/div>\r\n<div id=\"fs-id1170572330817\" class=\"checkpoint\" data-type=\"note\">\r\n<div id=\"fs-id1170572604603\" data-type=\"exercise\">\r\n<div id=\"fs-id1170572604605\" data-type=\"problem\">\r\n<div class=\"textbox key-takeaways\">\r\n<h3>try it<\/h3>\r\n<div id=\"fs-id1170572604605\" data-type=\"problem\">\r\n<p id=\"fs-id1170572604607\">A population of rabbits in a meadow is observed to be [latex]200[\/latex] rabbits at time [latex]t=0[\/latex]. After a month, the rabbit population is observed to have increased by [latex]4\\text{%}[\/latex]. Using an initial population of [latex]200[\/latex] and a growth rate of [latex]0.04[\/latex], with a carrying capacity of [latex]750[\/latex] rabbits,<\/p>\r\n\r\n<ol id=\"fs-id1170571638238\" type=\"a\">\r\n \t<li>Write the logistic differential equation and initial condition for this model.<\/li>\r\n \t<li>Draw a slope field for this logistic differential equation, and sketch the solution corresponding to an initial population of [latex]200[\/latex] rabbits.<\/li>\r\n \t<li>Solve the initial-value problem for [latex]P\\left(t\\right)[\/latex].<\/li>\r\n \t<li>Use the solution to predict the population after [latex]1[\/latex] year.<\/li>\r\n<\/ol>\r\n<\/div>\r\n[reveal-answer q=\"44558898\"]Hint[\/reveal-answer]\r\n[hidden-answer a=\"44558898\"]\r\n<div id=\"fs-id1170571649916\" data-type=\"commentary\" data-element-type=\"hint\">\r\n<p id=\"fs-id1170572455116\">First determine the values of [latex]r,K[\/latex], and [latex]{P}_{0}[\/latex]. Then create the initial-value problem, draw the direction field, and solve the problem.<\/p>\r\n\r\n<\/div>\r\n[\/hidden-answer]\r\n\r\n[reveal-answer q=\"44558899\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"44558899\"]\r\n<div id=\"fs-id1170572596902\" data-type=\"solution\">\r\n<ol id=\"fs-id1170572596904\" type=\"a\">\r\n \t<li>\r\n<p id=\"fs-id1167024121600\">[latex]\\frac{dP}{dt}=0.04\\left(1-\\frac{P}{750}\\right),P\\left(0\\right)=200[\/latex]<\/p>\r\n<\/li>\r\n \t<li>\r\n<p id=\"fs-id1167023779503\"><span data-type=\"newline\">\u00a0<\/span><\/p>\r\n\r\n[caption id=\"\" align=\"alignnone\" width=\"325\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/4175\/2019\/04\/11234151\/CNX_Calc_Figure_08_04_005.jpg\" alt=\"A direction field with horizontal lines on the x-axis and y = 15. The other lines are vertical, except for those curving into the x-axis and y = 15. A solution is drawn that crosses the y-axis at about (0, 4) and asymptotically approaches y = 15.\" width=\"325\" height=\"333\" data-media-type=\"image\/jpeg\" \/> Figure 4.[\/caption]<\/li>\r\n \t<li>\r\n<p id=\"fs-id1167023779524\">[latex]P\\left(t\\right)=\\frac{3000{e}^{.04t}}{11+4{e}^{.04t}}[\/latex]<\/p>\r\n<\/li>\r\n \t<li>\r\n<p id=\"fs-id1167023916424\">After [latex]12[\/latex] months, the population will be [latex]P\\left(12\\right)\\approx 278[\/latex] rabbits.<\/p>\r\n<\/li>\r\n<\/ol>\r\n<\/div>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div id=\"fs-id1170572222848\" class=\"project\" data-type=\"note\">\r\n<div data-type=\"title\">\r\n<div class=\"textbox tryit\">\r\n<h3 style=\"text-align: center;\" data-type=\"title\">Activity: Logistic Equation with a Threshold Population<\/h3>\r\n\r\n<hr \/>\r\n<p id=\"fs-id1170572180105\">An improvement to the logistic model includes a <span data-type=\"term\">threshold population<\/span>. The threshold population is defined to be the minimum population that is necessary for the species to survive. We use the variable [latex]T[\/latex] to represent the threshold population. A differential equation that incorporates both the threshold population [latex]T[\/latex] and carrying capacity [latex]K[\/latex] is<\/p>\r\n\r\n<div id=\"fs-id1170571671426\" style=\"text-align: center;\" data-type=\"equation\">[latex]\\frac{dP}{dt}=\\text{-}rP\\left(1-\\frac{P}{K}\\right)\\left(1-\\frac{P}{T}\\right)[\/latex]<\/div>\r\n&nbsp;\r\n<p id=\"fs-id1170572540897\">where [latex]r[\/latex] represents the growth rate, as before.<\/p>\r\n\r\n<ol id=\"fs-id1170572242653\" type=\"1\">\r\n \t<li>The threshold population is useful to biologists and can be utilized to determine whether a given species should be placed on the endangered list. A group of Australian researchers say they have determined the threshold population for any species to survive: [latex]5000[\/latex] adults. (Catherine Clabby, \"A Magic Number,\" <em data-effect=\"italics\">American Scientist<\/em> 98(1): 24, doi:10.1511\/2010.82.24. accessed April 9, 2015, http:\/\/www.americanscientist.org\/issues\/pub\/a-magic-number). Therefore we use [latex]T=5000[\/latex] as the threshold population in this project. Suppose that the environmental carrying capacity in Montana for elk is [latex]25,000[\/latex]. Set up the above equation using the carrying capacity of [latex]25,000[\/latex] and threshold population of [latex]5000[\/latex]. Assume an annual net growth rate of [latex]18\\text{%}[\/latex].<\/li>\r\n \t<li>Draw the direction field for the differential equation from step [latex]1[\/latex], along with several solutions for different initial populations. What are the constant solutions of the differential equation? What do these solutions correspond to in the original population model (i.e., in a biological context)?<\/li>\r\n \t<li>What is the limiting population for each initial population you chose in step [latex]2?[\/latex] (Hint: use the slope field to see what happens for various initial populations, i.e., look for the horizontal asymptotes of your solutions.)<\/li>\r\n \t<li>This equation can be solved using the method of separation of variables. However, it is very difficult to get the solution as an explicit function of [latex]t[\/latex]. Using an initial population of [latex]18,000[\/latex] elk, solve the initial-value problem and express the solution as an implicit function of [latex]t[\/latex], or solve the general initial-value problem, finding a solution in terms of [latex]r,K,T,\\text{and}{P}_{0}[\/latex].<\/li>\r\n<\/ol>\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<section id=\"fs-id1170572311324\" class=\"key-concepts\" data-depth=\"1\"><\/section>\r\n<div data-type=\"glossary\"><\/div>","rendered":"<div class=\"textbox learning-objectives\" data-type=\"abstract\">\n<h3>Learning Outcomes<\/h3>\n<ul>\n<li>Draw a direction field for a logistic equation and interpret the solution curves<\/li>\n<li>Solve a logistic equation and interpret the results<\/li>\n<\/ul>\n<\/div>\n<p id=\"fs-id1170571618234\">The logistic differential equation is an autonomous differential equation, so we can use separation of variables to find the general solution.<\/p>\n<p id=\"fs-id1170571769524\">Step 1: Setting the right-hand side equal to zero leads to [latex]P=0[\/latex] and [latex]P=K[\/latex] as constant solutions. The first solution indicates that when there are no organisms present, the population will never grow. The second solution indicates that when the population starts at the carrying capacity, it will never change.<\/p>\n<p id=\"fs-id1170571542396\">Step 2: Rewrite the differential equation in the form<\/p>\n<div id=\"fs-id1170571593415\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\frac{dP}{dt}=\\frac{rP\\left(K-P\\right)}{K}[\/latex].<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1170572410223\">Then multiply both sides by [latex]dt[\/latex] and divide both sides by [latex]P\\left(K-P\\right)[\/latex]. This leads to<\/p>\n<div id=\"fs-id1170572510106\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\frac{dP}{P\\left(K-P\\right)}=\\frac{r}{K}dt[\/latex].<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1170571571798\">Multiply both sides of the equation by [latex]K[\/latex] and integrate:<\/p>\n<div id=\"fs-id1170572231848\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\displaystyle\\int \\frac{K}{P\\left(K-P\\right)}dP=\\displaystyle\\int rdt[\/latex].<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1170572337198\">The left-hand side of this equation can be integrated using partial fraction decomposition. We leave it to you to verify that<\/p>\n<div id=\"fs-id1170572342835\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\frac{K}{P\\left(K-P\\right)}=\\frac{1}{P}+\\frac{1}{K-P}[\/latex].<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1170572211423\">Then the equation becomes<\/p>\n<div id=\"fs-id1170572169463\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{ccc}\\hfill {\\displaystyle\\int \\frac{1}{P}+\\frac{1}{K-P}dP}& =\\hfill & {\\displaystyle\\int rdt}\\hfill \\\\ \\hfill \\text{ln}|P|-\\text{ln}|K-P|& =\\hfill & rt+C\\hfill \\\\ \\hfill \\text{ln}|\\frac{P}{K-P}|& =\\hfill & rt+C.\\hfill \\end{array}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1170571615998\">Now exponentiate both sides of the equation to eliminate the natural logarithm:<\/p>\n<div id=\"fs-id1170572468509\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{ccc}\\hfill {e}^{\\text{ln}|\\frac{P}{K-P}|}& =\\hfill & {e}^{rt+C}\\hfill \\\\ \\hfill |\\frac{P}{K-P}|& =\\hfill & {e}^{C}{e}^{rt}.\\hfill \\end{array}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1170571610954\">We define [latex]{C}_{1}={e}^{c}[\/latex] so that the equation becomes<\/p>\n<div id=\"fs-id1170572478804\" style=\"text-align: center;\" data-type=\"equation\">[latex]\\frac{P}{K-P}={C}_{1}{e}^{rt}[\/latex].<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1170572489213\">To solve this equation for [latex]P\\left(t\\right)[\/latex], first multiply both sides by [latex]K-P[\/latex] and collect the terms containing [latex]P[\/latex] on the left-hand side of the equation:<\/p>\n<div id=\"fs-id1170572100061\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{ccc}\\hfill P& =\\hfill & {C}_{1}{e}^{rt}\\left(K-P\\right)\\hfill \\\\ \\hfill P& =\\hfill & {C}_{1}K{e}^{rt}-{C}_{1}P{e}^{rt}\\hfill \\\\ \\hfill P+{C}_{1}P{e}^{rt}& =\\hfill & {C}_{1}K{e}^{rt}.\\hfill \\end{array}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1170571643113\">Next, factor [latex]P[\/latex] from the left-hand side and divide both sides by the other factor:<\/p>\n<div id=\"fs-id1170572624848\" style=\"text-align: center;\" data-type=\"equation\">[latex]\\begin{array}{ccc}\\hfill P\\left(1+{C}_{1}{e}^{rt}\\right)& =\\hfill & {C}_{1}K{e}^{rt}\\hfill \\\\ \\hfill P\\left(t\\right)& =\\hfill & \\frac{{C}_{1}K{e}^{rt}}{1+{C}_{1}{e}^{rt}}.\\hfill \\end{array}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1170572216811\">The last step is to determine the value of [latex]{C}_{1}[\/latex]. The easiest way to do this is to substitute [latex]t=0[\/latex] and [latex]{P}_{0}[\/latex] in place of [latex]P[\/latex] in the equation [latex]\\frac{P}{K-P}={C}_{1}{e}^{rt}[\/latex] and solve for [latex]{C}_{1}\\text{:}[\/latex]<\/p>\n<div id=\"fs-id1170571637473\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{ccc}\\hfill \\frac{P}{K-P}& =\\hfill & {C}_{1}{e}^{rt}\\hfill \\\\ \\hfill \\frac{{P}_{0}}{K-{P}_{0}}& =\\hfill & {C}_{1}{e}^{r\\left(0\\right)}\\hfill \\\\ \\hfill {C}_{1}& =\\hfill & \\frac{{P}_{0}}{K-{P}_{0}}.\\hfill \\end{array}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1170571543117\">Finally, substitute the expression for [latex]{C}_{1}[\/latex] into the equation before the last:<\/p>\n<div id=\"fs-id1170572176233\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]P\\left(t\\right)=\\frac{{C}_{1}K{e}^{rt}}{1+{C}_{1}{e}^{rt}}=\\frac{\\frac{{P}_{0}}{K-{P}_{0}}K{e}^{rt}}{1+\\frac{{P}_{0}}{K-{P}_{0}}{e}^{rt}}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1170572274967\">Now multiply the numerator and denominator of the right-hand side by [latex]\\left(K-{P}_{0}\\right)[\/latex] and simplify:<\/p>\n<div id=\"fs-id1170572150636\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cc}\\hfill P\\left(t\\right)& =\\frac{\\frac{{P}_{0}}{K-{P}_{0}}K{e}^{rt}}{1+\\frac{{P}_{0}}{K-{P}_{0}}{e}^{rt}}\\hfill \\\\ & =\\frac{\\frac{{P}_{0}}{K-{P}_{0}}K{e}^{rt}}{1+\\frac{{P}_{0}}{K-{P}_{0}}{e}^{rt}}\\cdot \\frac{K-{P}_{0}}{K-{P}_{0}}\\hfill \\\\ & =\\frac{{P}_{0}K{e}^{rt}}{\\left(K-{P}_{0}\\right)+{P}_{0}{e}^{rt}}.\\hfill \\end{array}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1170572111539\">We state this result as a theorem.<\/p>\n<div class=\"textbox shaded\">\n<h3 style=\"text-align: center;\">Solution of the Logistic Differential Equation<\/h3>\n<hr \/>\n<div id=\"fs-id1170572135929\" class=\"theorem\" data-type=\"note\">\n<p id=\"fs-id1170571728769\">Consider the logistic differential equation subject to an initial population of [latex]{P}_{0}[\/latex] with carrying capacity [latex]K[\/latex] and growth rate [latex]r[\/latex]. The solution to the corresponding initial-value problem is given by<\/p>\n<div id=\"fs-id1170571597871\" style=\"text-align: center;\" data-type=\"equation\">[latex]P\\left(t\\right)=\\dfrac{{P}_{0}K{e}^{rt}}{\\left(K-{P}_{0}\\right)+{P}_{0}{e}^{rt}}[\/latex].<\/div>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1170572626583\">The solution to the logistic differential equation has a point of inflection. To find this point, set the second derivative equal to zero:<\/p>\n<div id=\"fs-id1170572307551\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{ccc}\\hfill P\\left(t\\right)& =\\hfill & \\frac{{P}_{0}K{e}^{rt}}{\\left(K-{P}_{0}\\right)+{P}_{0}{e}^{rt}}\\hfill \\\\ \\hfill {P}^{\\prime }\\left(t\\right)& =\\hfill & \\frac{r{P}_{0}K\\left(K-{P}_{0}\\right){e}^{rt}}{{\\left(\\left(K-{P}_{0}\\right)+{P}_{0}{e}^{rt}\\right)}^{2}}\\hfill \\\\ \\hfill P^{\\prime\\prime}\\left(t\\right)& =\\hfill & \\frac{{r}^{2}{P}_{0}K{\\left(K-{P}_{0}\\right)}^{2}{e}^{rt}-{r}^{2}{P}_{0}{}^{2}K\\left(K-{P}_{0}\\right){e}^{2rt}}{{\\left(\\left(K-{P}_{0}\\right)+{P}_{0}{e}^{rt}\\right)}^{3}}\\hfill \\\\ & =\\hfill & \\frac{{r}^{2}{P}_{0}K\\left(K-{P}_{0}\\right){e}^{rt}\\left(\\left(K-{P}_{0}\\right)-{P}_{0}{e}^{rt}\\right)}{{\\left(\\left(K-{P}_{0}\\right)+{P}_{0}{e}^{rt}\\right)}^{3}}.\\hfill \\end{array}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1170571712032\">Setting the numerator equal to zero,<\/p>\n<div id=\"fs-id1170572509015\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]{r}^{2}{P}_{0}K\\left(K-{P}_{0}\\right){e}^{rt}\\left(\\left(K-{P}_{0}\\right)-{P}_{0}{e}^{rt}\\right)=0[\/latex].<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1170572344215\">As long as [latex]{P}_{0}\\ne K[\/latex], the entire quantity before and including [latex]{e}^{rt}[\/latex] is nonzero, so we can divide it out:<\/p>\n<div id=\"fs-id1170572147551\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\left(K-{P}_{0}\\right)-{P}_{0}{e}^{rt}=0[\/latex].<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1170572236506\">Solving for [latex]t[\/latex],<\/p>\n<div id=\"fs-id1170572404260\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{ccc}\\hfill {P}_{0}{e}^{rt}& =\\hfill & K-{P}_{0}\\hfill \\\\ \\hfill {e}^{rt}& =\\hfill & \\frac{K-{P}_{0}}{{P}_{0}}\\hfill \\\\ \\hfill \\text{ln}{e}^{rt}& =\\hfill & \\text{ln}\\frac{K-{P}_{0}}{{P}_{0}}\\hfill \\\\ \\hfill rt& =\\hfill & \\text{ln}\\frac{K-{P}_{0}}{{P}_{0}}\\hfill \\\\ \\hfill t& =\\hfill & \\frac{1}{r}\\text{ln}\\frac{K-{P}_{0}}{{P}_{0}}.\\hfill \\end{array}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1170572163756\">Notice that if [latex]{P}_{0}>K[\/latex], then this quantity is undefined, and the graph does not have a point of inflection. In the logistic graph, the point of inflection can be seen as the point where the graph changes from concave up to concave down. This is where the &#8220;leveling off&#8221; starts to occur, because the net growth rate becomes slower as the population starts to approach the carrying capacity.<\/p>\n<div class=\"textbox key-takeaways\">\n<h3>Try It<\/h3>\n<p><iframe loading=\"lazy\" id=\"ohm169314\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=169314&theme=oea&iframe_resize_id=ohm169314&show_question_numbers\" width=\"100%\" height=\"150\"><\/iframe><\/p>\n<\/div>\n<div id=\"fs-id1170572330817\" class=\"checkpoint\" data-type=\"note\">\n<div id=\"fs-id1170572604603\" data-type=\"exercise\">\n<div id=\"fs-id1170572604605\" data-type=\"problem\">\n<div class=\"textbox key-takeaways\">\n<h3>try it<\/h3>\n<div id=\"fs-id1170572604605\" data-type=\"problem\">\n<p id=\"fs-id1170572604607\">A population of rabbits in a meadow is observed to be [latex]200[\/latex] rabbits at time [latex]t=0[\/latex]. After a month, the rabbit population is observed to have increased by [latex]4\\text{%}[\/latex]. Using an initial population of [latex]200[\/latex] and a growth rate of [latex]0.04[\/latex], with a carrying capacity of [latex]750[\/latex] rabbits,<\/p>\n<ol id=\"fs-id1170571638238\" type=\"a\">\n<li>Write the logistic differential equation and initial condition for this model.<\/li>\n<li>Draw a slope field for this logistic differential equation, and sketch the solution corresponding to an initial population of [latex]200[\/latex] rabbits.<\/li>\n<li>Solve the initial-value problem for [latex]P\\left(t\\right)[\/latex].<\/li>\n<li>Use the solution to predict the population after [latex]1[\/latex] year.<\/li>\n<\/ol>\n<\/div>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q44558898\">Hint<\/span><\/p>\n<div id=\"q44558898\" class=\"hidden-answer\" style=\"display: none\">\n<div id=\"fs-id1170571649916\" data-type=\"commentary\" data-element-type=\"hint\">\n<p id=\"fs-id1170572455116\">First determine the values of [latex]r,K[\/latex], and [latex]{P}_{0}[\/latex]. Then create the initial-value problem, draw the direction field, and solve the problem.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q44558899\">Show Solution<\/span><\/p>\n<div id=\"q44558899\" class=\"hidden-answer\" style=\"display: none\">\n<div id=\"fs-id1170572596902\" data-type=\"solution\">\n<ol id=\"fs-id1170572596904\" type=\"a\">\n<li>\n<p id=\"fs-id1167024121600\">[latex]\\frac{dP}{dt}=0.04\\left(1-\\frac{P}{750}\\right),P\\left(0\\right)=200[\/latex]<\/p>\n<\/li>\n<li>\n<p id=\"fs-id1167023779503\"><span data-type=\"newline\">\u00a0<\/span><\/p>\n<div style=\"width: 335px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/4175\/2019\/04\/11234151\/CNX_Calc_Figure_08_04_005.jpg\" alt=\"A direction field with horizontal lines on the x-axis and y = 15. The other lines are vertical, except for those curving into the x-axis and y = 15. A solution is drawn that crosses the y-axis at about (0, 4) and asymptotically approaches y = 15.\" width=\"325\" height=\"333\" data-media-type=\"image\/jpeg\" \/><\/p>\n<p class=\"wp-caption-text\">Figure 4.<\/p>\n<\/div>\n<\/li>\n<li>\n<p id=\"fs-id1167023779524\">[latex]P\\left(t\\right)=\\frac{3000{e}^{.04t}}{11+4{e}^{.04t}}[\/latex]<\/p>\n<\/li>\n<li>\n<p id=\"fs-id1167023916424\">After [latex]12[\/latex] months, the population will be [latex]P\\left(12\\right)\\approx 278[\/latex] rabbits.<\/p>\n<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"fs-id1170572222848\" class=\"project\" data-type=\"note\">\n<div data-type=\"title\">\n<div class=\"textbox tryit\">\n<h3 style=\"text-align: center;\" data-type=\"title\">Activity: Logistic Equation with a Threshold Population<\/h3>\n<hr \/>\n<p id=\"fs-id1170572180105\">An improvement to the logistic model includes a <span data-type=\"term\">threshold population<\/span>. The threshold population is defined to be the minimum population that is necessary for the species to survive. We use the variable [latex]T[\/latex] to represent the threshold population. A differential equation that incorporates both the threshold population [latex]T[\/latex] and carrying capacity [latex]K[\/latex] is<\/p>\n<div id=\"fs-id1170571671426\" style=\"text-align: center;\" data-type=\"equation\">[latex]\\frac{dP}{dt}=\\text{-}rP\\left(1-\\frac{P}{K}\\right)\\left(1-\\frac{P}{T}\\right)[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1170572540897\">where [latex]r[\/latex] represents the growth rate, as before.<\/p>\n<ol id=\"fs-id1170572242653\" type=\"1\">\n<li>The threshold population is useful to biologists and can be utilized to determine whether a given species should be placed on the endangered list. A group of Australian researchers say they have determined the threshold population for any species to survive: [latex]5000[\/latex] adults. (Catherine Clabby, &#8220;A Magic Number,&#8221; <em data-effect=\"italics\">American Scientist<\/em> 98(1): 24, doi:10.1511\/2010.82.24. accessed April 9, 2015, http:\/\/www.americanscientist.org\/issues\/pub\/a-magic-number). Therefore we use [latex]T=5000[\/latex] as the threshold population in this project. Suppose that the environmental carrying capacity in Montana for elk is [latex]25,000[\/latex]. Set up the above equation using the carrying capacity of [latex]25,000[\/latex] and threshold population of [latex]5000[\/latex]. Assume an annual net growth rate of [latex]18\\text{%}[\/latex].<\/li>\n<li>Draw the direction field for the differential equation from step [latex]1[\/latex], along with several solutions for different initial populations. What are the constant solutions of the differential equation? What do these solutions correspond to in the original population model (i.e., in a biological context)?<\/li>\n<li>What is the limiting population for each initial population you chose in step [latex]2?[\/latex] (Hint: use the slope field to see what happens for various initial populations, i.e., look for the horizontal asymptotes of your solutions.)<\/li>\n<li>This equation can be solved using the method of separation of variables. However, it is very difficult to get the solution as an explicit function of [latex]t[\/latex]. Using an initial population of [latex]18,000[\/latex] elk, solve the initial-value problem and express the solution as an implicit function of [latex]t[\/latex], or solve the general initial-value problem, finding a solution in terms of [latex]r,K,T,\\text{and}{P}_{0}[\/latex].<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/div>\n<section id=\"fs-id1170572311324\" class=\"key-concepts\" data-depth=\"1\"><\/section>\n<div data-type=\"glossary\"><\/div>\n\n\t\t\t <section class=\"citations-section\" role=\"contentinfo\">\n\t\t\t <h3>Candela Citations<\/h3>\n\t\t\t\t\t <div>\n\t\t\t\t\t\t <div id=\"citation-list-1633\">\n\t\t\t\t\t\t\t <div class=\"licensing\"><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Shared previously<\/div><ul class=\"citation-list\"><li>Calculus Volume 2. <strong>Authored by<\/strong>: Gilbert Strang, Edwin (Jed) Herman. <strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"https:\/\/openstax.org\/books\/calculus-volume-2\/pages\/1-introduction\">https:\/\/openstax.org\/books\/calculus-volume-2\/pages\/1-introduction<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\">CC BY-NC-SA: Attribution-NonCommercial-ShareAlike<\/a><\/em>. <strong>License Terms<\/strong>: Access for free at https:\/\/openstax.org\/books\/calculus-volume-2\/pages\/1-introduction<\/li><\/ul><\/div>\n\t\t\t\t\t\t <\/div>\n\t\t\t\t\t <\/div>\n\t\t\t <\/section>","protected":false},"author":17533,"menu_order":15,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc\",\"description\":\"Calculus Volume 2\",\"author\":\"Gilbert Strang, Edwin (Jed) Herman\",\"organization\":\"OpenStax\",\"url\":\"https:\/\/openstax.org\/books\/calculus-volume-2\/pages\/1-introduction\",\"project\":\"\",\"license\":\"cc-by-nc-sa\",\"license_terms\":\"Access for free at https:\/\/openstax.org\/books\/calculus-volume-2\/pages\/1-introduction\"}]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-1633","chapter","type-chapter","status-publish","hentry"],"part":159,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/calculus2\/wp-json\/pressbooks\/v2\/chapters\/1633","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/calculus2\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/calculus2\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/calculus2\/wp-json\/wp\/v2\/users\/17533"}],"version-history":[{"count":11,"href":"https:\/\/courses.lumenlearning.com\/calculus2\/wp-json\/pressbooks\/v2\/chapters\/1633\/revisions"}],"predecessor-version":[{"id":2743,"href":"https:\/\/courses.lumenlearning.com\/calculus2\/wp-json\/pressbooks\/v2\/chapters\/1633\/revisions\/2743"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/calculus2\/wp-json\/pressbooks\/v2\/parts\/159"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/calculus2\/wp-json\/pressbooks\/v2\/chapters\/1633\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/calculus2\/wp-json\/wp\/v2\/media?parent=1633"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/calculus2\/wp-json\/pressbooks\/v2\/chapter-type?post=1633"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/calculus2\/wp-json\/wp\/v2\/contributor?post=1633"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/calculus2\/wp-json\/wp\/v2\/license?post=1633"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}