7. Differential Equations

Finding Particular Solutions Using Initial Conditions And Separation Of Variables

Finding Particular Solutions Using Initial Conditions and Separation of Variables

students, imagine you are trying to model how a rumor spreads, how a medicine leaves the body, or how a population grows πŸ“ˆ. In AP Calculus AB, differential equations help describe these changing situations. The big idea in this lesson is that a differential equation tells us how a quantity changes, and an initial condition lets us pick the one exact solution that fits a real situation. You will learn how to separate variables, integrate both sides, and use a starting value to find a particular solution.

What you will learn

By the end of this lesson, students, you should be able to:

  • identify when a differential equation is separable
  • rewrite a differential equation so that variables are on opposite sides
  • integrate to find a general solution
  • use an initial condition to solve for the constant and get a particular solution
  • connect the algebra to real-world exponential and growth/decay models

This skill is important because AP Calculus often asks you not just to solve a differential equation, but to match the solution to a given point like $y(0)=3$ or $P(2)=500$. That extra condition turns a whole family of possible curves into one exact curve ✨.

Separable differential equations: the main idea

A differential equation is separable if you can write it so all the $y$-terms are on one side and all the $x$-terms are on the other. A common form is

$$

$\frac{dy}{dx}=g(x)h(y)$

$$

If that happens, we can separate the variables by dividing by $h(y)$ and multiplying by $dx$:

$$

$\frac{1}{h(y)}\,dy=g(x)\,dx$

$$

Now each side contains only one variable, which makes it possible to integrate both sides.

For example, suppose

$$

$\frac{dy}{dx}=xy$

$$

This is separable because we can divide by $y$ and multiply by $dx$:

$$

$\frac{1}{y}\,dy=x\,dx$

$$

This step is the heart of the method. Once the variables are separated, integration can do the rest.

A small but important note: if $y=0$ is a solution, dividing by $y$ would hide it. So when solving, it is smart to think about whether any constant solutions were lost during the algebra.

From separation to a general solution

After separating variables, integrate both sides. Using the previous example,

$$

$\int \frac{1}{y}\,dy=\int x\,dx$

$$

This gives

$$

$\ln|y|=\frac{x^2}{2}+C$

$$

At this point, we usually solve for $y$.

First, exponentiate both sides:

$$

$|y|=e^{\frac{x^2}{2}+C}$

$$

Since $e^C$ is just another constant, we can rewrite this as

$$

$|y|=Ae^{\frac{x^2}{2}}$

$$

and then absorb the absolute value into the constant to get

$$

$y=Ce^{\frac{x^2}{2}}$

$$

That is the general solution. It represents a family of curves, not just one curve.

Why does the constant appear? Because when you integrate, you do not get just one antiderivative. You get infinitely many possible antiderivatives that differ by a constant. That constant will later be chosen using an initial condition.

Using an initial condition to find a particular solution

An initial condition gives one specific point on the solution curve, such as $y(0)=4$. This extra information lets us find the value of the constant and produce the particular solution.

Let’s use the example above:

$$

$\frac{dy}{dx}=xy, \quad y(0)=4$

$$

We already found the general solution:

$$

$y=Ce^{\frac{x^2}{2}}$

$$

Now plug in the initial condition $x=0$ and $y=4$:

$$

$4=Ce^{\frac{0^2}{2}}$

$$

Since $e^0=1$, this becomes

$$

$4=C$

$$

So the particular solution is

$$

$y=4e^{\frac{x^2}{2}}$

$$

That is the one curve that passes through $(0,4)$ and satisfies the differential equation.

This process is very common on AP Calculus AB exams. First solve the differential equation in general form. Then use the initial condition to determine the constant. The answer must satisfy both the equation and the given starting point.

A full AP-style example with a real-world meaning

Suppose a bacteria culture grows according to

$$

$\frac{dP}{dt}=0.3P$

$$

where $P$ is population and $t$ is time in hours. Also suppose the initial population is $P(0)=200$.

This is an exponential growth model, and it is separable.

Step 1: Separate variables

$$

$\frac{1}{P}\,dP=0.3\,dt$

$$

Step 2: Integrate both sides

$$

$\int \frac{1}{P}\,dP=\int 0.3\,dt$

$$

So,

$$

$\ln|P|=0.3t+C$

$$

Step 3: Solve for $P$

Exponentiate:

$$

$|P|=e^{0.3t+C}$

$$

Rewrite the constant:

$$

$P=Ae^{0.3t}$

$$

Step 4: Use the initial condition

Substitute $P(0)=200$:

$$

$200=Ae^{0}$

$$

So

$$

$A=200$

$$

The particular solution is

$$

$P=200e^{0.3t}$

$$

This equation tells you the population at any time $t$. For example, after $5$ hours,

$$

$P(5)=200e^{1.5}$

$$

This is not just algebra; it models a changing real-world process. That is why differential equations are so useful in science and medicine πŸ§ͺ.

Common AP problem types and how to think about them

On the exam, students, you may see several types of questions involving separable equations and initial conditions.

1. Solve the differential equation exactly

You are given something like

$$

$\frac{dy}{dx}=\frac{x}{y}$

$$

You separate variables:

$$

$ y\,dy=x\,dx$

$$

Then integrate:

$$

$\int y\,dy=\int x\,dx$

$$

which gives

$$

$\frac{y^2}{2}=\frac{x^2}{2}+C$

$$

From here you can solve for $y$ if needed.

2. Find the particular solution

If the problem also gives $y(1)=3$, substitute that point after you find the general solution. The value of the constant changes depending on the initial condition.

3. Interpret the solution

Sometimes the question asks what the solution means. If $y$ is temperature, then the function tells how temperature changes over time. If $y$ is population, then the function tells growth or decay. Always connect the math to the context.

4. Decide whether the equation is separable

Not every differential equation is separable. For separation to work, you need to be able to rewrite it in a product form like $g(x)h(y)$. If the equation mixes $x$ and $y$ in a way that cannot be separated, this method will not work directly.

Important details and common mistakes

There are a few mistakes students often make when finding particular solutions.

First, do not forget the constant of integration $C$. Without it, you cannot use the initial condition correctly.

Second, remember that logarithms often appear after integrating $\frac{1}{y}$. If you see

$$

$\ln|y|=f(x)+C$

$$

you usually need to exponentiate to solve for $y$.

Third, be careful with absolute values. The expression $\ln|y|$ matters because the logarithm is only defined for positive inputs.

Fourth, do not lose constant solutions. If the equation allows $y=0$, that may be an actual solution even if division by $y$ was used during separation.

Fifth, check your answer by differentiating if time allows. If your final function satisfies the original differential equation and the initial condition, it is correct βœ….

Conclusion

Finding particular solutions using initial conditions and separation of variables is a major AP Calculus AB skill. The process is simple in structure but powerful in application: identify a separable differential equation, separate the variables, integrate both sides, solve for the general solution, and then use the initial condition to find the exact curve.

This topic connects algebra, derivatives, integrals, and modeling. It also shows one of the most important ideas in calculus: a differential equation describes a whole family of possible behaviors, while an initial condition selects the one behavior that fits the situation. Whether you are studying growth, decay, motion, or concentration, this method helps turn change into a usable formula.

Study Notes

  • A differential equation contains a derivative such as $\frac{dy}{dx}$.
  • A separable differential equation can be rewritten so that all $y$-terms are on one side and all $x$-terms are on the other.
  • A common separable form is $\frac{dy}{dx}=g(x)h(y)$.
  • Separate variables by rewriting as $\frac{1}{h(y)}\,dy=g(x)\,dx$.
  • Integrate both sides to get the general solution.
  • The constant $C$ appears because antiderivatives differ by a constant.
  • Use an initial condition like $y(0)=4$ to find the constant and get a particular solution.
  • Exponential models often come from equations like $\frac{dP}{dt}=kP$.
  • Always check that your final answer satisfies both the differential equation and the initial condition.
  • Separable differential equations are an important part of AP Calculus AB because they model real change in science and everyday life 🌟.

Practice Quiz

5 questions to test your understanding

Finding Particular Solutions Using Initial Conditions And Separation Of Variables β€” AP Calculus AB | A-Warded