Tutorials › Calculus I › Deriving the Exponential Solution of dP/dt = kP

Growth and Decay Models · Tutorial 1386 of 1495

Deriving the Exponential Solution of dP/dt = kP

Separate variables and integrate to see how a constant relative rate leads to an exponential solution and why the arbitrary constant must be handled carefully.

Intermediate 9 min read

What You'll Learn

  • Separate the variables in \(dP/dt=kP\) on an interval where \(P\) is positive.
  • Use the antiderivative of \(1/P\) to obtain a logarithmic relation.
  • Explain why exponentiating an arbitrary additive constant produces a positive multiplicative constant.
  • Distinguish the positive solution family from the zero solution.
  • Derive a ratio formula between values at two times.
  • Identify and correct errors caused by dividing by \(P\) or mishandling constants.

From Constant Relative Rate to an Exponential Formula

A differential equation can describe how a quantity changes without giving its value at every time. For a quantity \(P(t)\) whose rate of change is proportional to its current value, the equation is

$$ \frac{dP}{dt}=kP, $$

where \(k\) is a constant. The equation says that the rate \(dP/dt\) is \(k\) times the amount \(P\). The goal here is to derive the formula for solutions, rather than guess it.

The key move is to separate the \(P\)-terms from the \(t\)-terms and integrate. This requires care: dividing by \(P\) is valid only where \(P\ne 0\). In particular, the logarithmic step below applies directly on an interval where \(P(t)>0\), as is appropriate for a positive population or amount.

Definition: A solution of \(dP/dt=kP\) on an interval \(I\) is a differentiable function \(P:I\to\mathbb{R}\) that satisfies the equation at every \(t\in I\).

Separate and Integrate

Suppose \(P(t)>0\) throughout an interval \(I\). Divide both sides of the differential equation by \(P(t)\), then multiply by \(dt\). In differential notation, this gives

$$ \frac{1}{P}\,dP=k\,dt. $$

Integrating both sides gives a logarithm on the left. The reason is that the derivative of \(\ln P\) with respect to \(P\) is \(1/P\). Since \(P\) depends on \(t\), the chain rule gives \(d(\ln P(t))/dt=P'(t)/P(t)\). Thus the separated equation integrates to

$$ \ln P=kt+A, $$

where \(A\) is an arbitrary real constant of integration. Exponentiate both sides. Using \(e^{u+v}=e^u e^v\),

$$ P=e^{kt+A}=e^A e^{kt}. $$

Set \(C=e^A\). Because the exponential of any real number is positive, \(C>0\). Therefore every solution obtained on a positive interval has the form

$$ P(t)=Ce^{kt},\qquad C>0. $$

The integration constant has not disappeared. Its form has changed: integration produces an additive constant \(A\) in the logarithmic equation, and exponentiation turns it into a positive multiplicative constant \(C=e^A\).

Why the Derivation Works

The separation-and-integration steps can be justified directly for any differentiable positive solution. Since \(P(t)>0\), the function \(\ln P(t)\) is defined. Applying the chain rule and then using the differential equation gives

$$ \frac{d}{dt}\ln P(t) = \frac{P'(t)}{P(t)} = \frac{kP(t)}{P(t)} = k. $$

A function whose derivative is the constant \(k\) differs from \(kt\) by a constant. Hence \(\ln P(t)=kt+A\) on the interval, and exponentiating yields \(P(t)=Ce^{kt}\) with \(C>0\). This shows why the formula follows from the original equation, rather than merely matching a few computed values.

The argument applies on an interval where \(P\) stays positive. It does not permit division by \(P\) at a point where \(P=0\). That case must be considered separately: the constant function \(P(t)=0\) satisfies the original equation, since both sides are zero. It is not lost from the differential equation; it is only excluded from the division step.

Theorem: On any interval where a solution of \(dP/dt=kP\) is positive, it has the form \(P(t)=Ce^{kt}\) for a constant \(C>0\). The constant zero function is also a solution of the original equation.

Worked Derivations

Worked Example: Separating an Equation with \(k=2\)

Consider \(dP/dt=2P\) on an interval where \(P>0\). Divide by \(P\), which is allowed because \(P\ne0\):

$$ \frac{1}{P}\frac{dP}{dt}=2. $$

Integrate with respect to \(t\). By the chain rule, the left side is the derivative of \(\ln P(t)\):

$$ \int \frac{1}{P}\frac{dP}{dt}\,dt = \int 2\,dt, \qquad \ln P=2t+A. $$

Exponentiate and combine the exponentials:

$$ P=e^{2t+A}=e^A e^{2t}. $$

Writing \(C=e^A\), with \(C>0\), gives \(P(t)=Ce^{2t}\). To check the resulting formula, differentiate it: \(P'(t)=2Ce^{2t}\). The right side of the equation is \(2P(t)=2Ce^{2t}\), so the two sides agree.

Worked Example: A Negative Constant Rate

Consider \(dP/dt=-\frac{3}{4}P\) on an interval where \(P>0\). Separate by dividing by \(P\):

$$ \frac{1}{P}\frac{dP}{dt}=-\frac{3}{4}. $$

Integrate both sides with respect to \(t\):

$$ \int \frac{1}{P}\frac{dP}{dt}\,dt = \int -\frac{3}{4}\,dt, \qquad \ln P=-\frac{3}{4}t+A. $$

Exponentiating gives

$$ P=e^{-\frac{3}{4}t+A} =e^A e^{-\frac{3}{4}t} =Ce^{-\frac{3}{4}t}, \qquad C>0. $$

Check by differentiation: \(P'(t)=-\frac{3}{4}Ce^{-\frac{3}{4}t}\). Also, \(-\frac{3}{4}P(t)=-\frac{3}{4}Ce^{-\frac{3}{4}t}\). These expressions match, so the formula satisfies the equation.

Worked Example: Relating Values at Two Times

Suppose \(P>0\) satisfies \(dP/dt=\frac{1}{2}P\), and let \(t_0\) and \(t\) be times in the interval of the solution. Rather than leave the arbitrary constant in the answer, integrate between these two times:

$$ \int_{P(t_0)}^{P(t)}\frac{1}{P}\,dP = \int_{t_0}^{t}\frac{1}{2}\,ds. $$

Evaluate each integral. The left side is \(\ln P(t)-\ln P(t_0)\), and the right side is \(\frac{1}{2}(t-t_0)\):

$$ \ln P(t)-\ln P(t_0)=\frac{1}{2}(t-t_0). $$

Combine the logarithms, then exponentiate:

$$ \ln\left(\frac{P(t)}{P(t_0)}\right) = \frac{1}{2}(t-t_0), \qquad \frac{P(t)}{P(t_0)} = e^{\frac{1}{2}(t-t_0)}. $$

For example, if \(t-t_0=4\), the ratio is \(e^{\frac{1}{2}\cdot4}=e^2\). This is consistent with the general form: \(P(t)=Ce^{t/2}\) and \(P(t_0)=Ce^{t_0/2}\), so their ratio is \(e^{(t-t_0)/2}\). The common factor \(C\) cancels.

What the Arbitrary Constant Means

The phrase “arbitrary constant” can be misleading if its role is not made explicit. After integration, \(A\) may be any real number. After exponentiation, the resulting constant \(C=e^A\) may be any positive real number, but not zero or negative. Every \(C>0\) is possible because \(A=\ln C\) is real for every positive \(C\).

For a positive solution, the value of \(C\) controls which member of the family is obtained. The differential equation alone specifies the relationship between the amount and its rate of change; it does not specify one particular amount at one particular time. A further condition would be needed to select one constant from the family. The family itself is the result of the separation and integration performed here.

The zero solution is not represented by \(Ce^{kt}\) when \(C>0\), but it can be included in the formula by allowing \(C=0\). This does not mean it was derived by dividing by \(P\). It is included separately because direct substitution into the original equation confirms that \(P(t)=0\) satisfies it.

A Common Mistake: Dividing by Zero

A tempting but invalid argument is to start with \(P'=kP\), divide by \(P\), and claim that this operation is valid for every solution. For the zero solution, that produces an undefined expression. For example, if \(P=0\), then \(P'/P=0/0\), which is not defined. The separation step therefore cannot establish a formula for that solution.

The correction is to state the condition before dividing: work on an interval where \(P\ne0\), and for the positive-amount model, where \(P>0\). Derive the exponential formula on that interval. Then check the excluded case directly in the original equation: if \(P=0\) for every \(t\), then \(P'=0=kP\). Treating this case separately avoids silently discarding a solution or using an undefined operation.

Another error is to write \(e^{kt+A}=e^{kt}+e^A\). Exponentiation does not turn a sum in the exponent into a sum. The correct identity is

$$ e^{kt+A}=e^{kt}e^A. $$

That product is why the integration constant becomes the multiplier \(C\).

Why This Derivation Matters

The derivation explains the link between proportional change and exponential form. When the rate is proportional to the current amount, dividing the rate by the amount produces the constant \(k\). Integrating that relative rate leads to a logarithm, and undoing the logarithm leads to an exponential.

It also illustrates a general habit in differential equations: before separating variables, check that division is legitimate; after integrating, account for the constant; and distinguish solutions covered by the division from cases that must be checked in the original equation. These checks make the reasoning complete without changing its central simplicity.

Key takeaway: On a positive interval, separating \(dP/dt=kP\) gives \(dP/P=k\,dt\), hence \(\ln P=kt+A\) and \(P=Ce^{kt}\) with \(C>0\). The zero solution must be checked separately because division by \(P\) excludes it.

Check Your Understanding

Use the separation steps and the conditions stated in the tutorial to answer these questions.

  1. Why is it legitimate to divide by \(P\) on an interval where \(P>0\)?
  2. Starting from \(dP/dt=5P\), what equation results after separation and integration?
  3. If \(\ln P=kt+A\), why must \(e^A\) be positive?
  4. Why does the zero solution need to be considered separately from the positive solutions?
  5. For a positive solution, derive the relation between \(P(t)\) and \(P(t_0)\) by integrating between the two times.

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon