<< Hide Menu

📚

 > 

♾️ 

 > 

💎

7.7 Finding Particular Solutions Using Initial Conditions and Separation of Variables

4 min readjune 18, 2024

7.7 Finding Particular Solutions Using Initial Conditions and Separation of Variables

Welcome to topic 7.7, where you’ll learn about how to find unique solutions to differential equations. You’ve almost made it to the end of the unit! 🌟

In this topic, we’ll learn about the difference between a general solution and a particular solution using separation of variables. To review separation of variables, please look at 7.6 linked here!


🤔 Difference Between General and Particular Solutions

A general solution to a differential equation consists of a constant in the equation. Therefore, when you change the constant, you can get multiple equations when plotting, as seen in the picture below on the left side below. ⬅️ You get a general solution when you don’t have any initial conditions that are given by the problem. When plotting the general solution, you will also get a graph that looks similar to a slope field. For references on slope fields, please look at 7.3 and 7.4!

However, when given an initial condition in the problem, you can solve for a specific equation, which leaves you with one equation on your graph, like on the right side below. ➡️

Untitled

Image Courtesy of Higher Math Notes

Essentially…

  • 🎩 A general solution to a differential equation is a family of functions that satisfies the equation. There are infinitely many functions that could do so!
  • 🎯 A particular solution is a unique solution that passes through a specific point, and we can calculate it when given initial conditions.

🧠 Particular Solution Function

When this topic shows up on free-response questions and you’re asked to write an expression, you must include the initial condition. Here is a general form that you can use:

F(x)=y0+axf(t)dtF(x)=y_0+\int_a^x f(t)dt

This is a particular solution to the differential equation dydx=f(x)\frac{dy}{dx}=f(x), where F(a)=y0F(a)=y_0 (the initial condition!).

Now, let’s get into how to do the math behind finding a particular solution.


🪜 Steps for Solving a Separation of Variables Problem with Initial Conditions

Here are some steps you can follow!

  1. 🪓 Separate the two variables that you will be using. For example, gather all the xx’s on one side and yy’s on the other side.
  2. ◀️ Integrate both sides of the equation with respect to their variables. Make sure not to forget to add the +C+C!
  3. 🟰 Solve for yy to get the general equation.
  4. 1️⃣ Plug in your initial conditions (which are given!) for xx and yy and solve for CC.
  5. 🟰 Finally, plug back in your CC that you calculated and there’s your particular solution!

This skill combines a lot of skills you already practiced! ✏️

😑 Consideration: Domain Restrictions

Solutions to differential equations may not always be defined for all values of the independent variable. There may be restrictions on the domain, or range of values, for which the solution is valid. These restrictions can arise for several reasons, including: 🔸

  1. Singularities - Certain values of the independent variable may result in division by zero or other mathematical singularities in the solution, leading to an undefined solution.
  2. Physical constraints - The solution may only be physically meaningful within certain ranges of the independent variable. For example, the position of a projectile may only be defined when it is above the ground, and not when it is below.
  3. Mathematical constraints - Certain mathematical conditions may be required for the solution to be well-defined. For example, the solution may only be valid for positive values of the independent variable.

It's important to keep these domain restrictions in mind when solving differential equations and interpreting the results. Ignoring the domain restrictions can lead to incorrect or meaningless solutions. To avoid this, it may be necessary to split the domain into several intervals, each with its own solution, or to use different methods to obtain a solution for different parts of the domain.

Imagine you were asked to find the particular solution of the following differential equation, given the initial condition y(3)=2y(3)=2.

dydx=1x24\frac{dy}{dx}=\frac{1}{x^2-4}

We can see here that there is a domain restriction since the denominator becomes zero when x=2,2x=2,-2. Therefore, the solution cannot include these values.


📝 AP Free-Response Practice Problem

The following free-response question (FRQ) is from the 2012 AP Calculus AB examination administered by College Board. All credit goes to College Board. We are only going to work on part c since it is the part that focuses on solving differential equations with an initial condition!

The rate at which a baby bird gains weight is proportional to the difference between its adult weight and its current weight. At time t=0t=0, when the bird is first weighed, its weight is 20 grams. If B(t)B(t) is the weight of the bird, in grams, at time tt days after it is first weighed, then

dBdt=15(100B).\frac{dB}{dt}=\frac15(100-B).

Let y=B(t)y=B(t) be the solution to the differential equation above with initial condition B(0)=20B(0)=20.

(c) Use separation of variables to find y=B(t)y=B(t), the particular solution to the differential equation with initial condition B(0)=20B(0)=20.

Let’s follow the steps we outlined before!

🪓 Step 1) Gather all the BB’s on one side and tt’s on the other side.

1100B=15\frac{1}{100-B}=\frac{1}{5}

Another possible separation could be moving the 15\frac{1}{5} to the left side and leaving 11 on the right side!

◀️ Step 2) Integrate both sides of the equation with respect to BB and tt.

1100BdB=15dt\int\frac{1}{100-B}dB=\int\frac{1}{5} dt

🟰 Step 3) Add the +C+C and solve for the general equation!

ln100B=15t+C-\ln|100-B|=\frac{1}{5}t+C

Note that this +C+C consists of the constant from integrating the left side plus the constant from integrating the right side! Since it is a constant, we can always redefine CC for the situation!

1️⃣ Step 4) The initial conditions for this problem are B(0)=20B(0)=20 for BB and xx. Solve for CC algebraically!

ln(10020)=15(0)+C-\ln(100-20)=\frac{1}{5}(0)+C
C=ln(80)C=-\ln(80)

We eliminated the absolute value sign on the left side of the equation because according to the graph that was provided, all the values for BB were positive for 20t10020\le t \le 100!

🟰 Step 5) Finally, plug back in ln(80)-\ln(80) and solve for BB!

ln(100B)=15tln(80)-\ln(100-B)=\frac{1}{5}t-\ln(80)
100B=80et/5100-B=80e^{-t/5}
B(t)=10080et/5,t0B(t)=100-80e^{-t/5}, t\ge0

You already know how to do everything up to step 4 and everything after step 4 is just algebra and arithmetic! You’ve got this with practice! 😃


🔢 Scoring Guidelines Tips

Typically on an FRQ, if there is a differential equation problem, the bulk of the points will come from the part about the differential equation. Here are some important tips to make sure you maximize your points!

1️⃣ Always separate your variables!

Even if you don’t know how to integrate, simply separating your variables can get you one point on the part! If you don’t separate your variables, you lose all the points for that part of the question, even if you do something right later on.

2️⃣ Never forget the CC!

The constant of integration is incredibly important in differential equation problems because that is how you can use the initial condition to narrow a general solution to a particular solution.

The maximum number of points you can get without the constant is 2: one for separation and one for finding the correct antiderivatives.


📕 Closing

Initially, these types of differential equations will be hard, but with practice and the explicit step-by-step procedure, you can totally rock those questions in the free-response section! You’ve got this! 👏