Dove's LibraryDove's Library

7.7 - Finding Particular Solutions Using Initial Conditions and Separation of Variables

Introduction to Particular Solutions

In previous lessons we found general solutions to differential equations, meaning solutions with an arbitrary constant CC in them. Now we’ll use separation of variables together with initial conditions to find particular solutions, which are specific functions with the constant pinned down.
The key difference: we solve for the exact value of CC using a given point, which gives us one complete solution equation.
A general solution describes infinitely many solutions, one for each value of CC. But only one particular solution passes through a given point, so one initial condition is enough to pin down the answer.

The Process: Separation of Variables with Initial Conditions

  1. Separate the variables. Get all the yy terms (including dydy) on one side and all the xx terms (including dxdx) on the other
  1. Integrate both sides
  1. Either Option A: solve for CC immediately using the initial condition, or Option B: solve for yy first, then find CC
  1. Write the particular solution with the specific value of CC

Example 1: Basic Separation with Polynomial Terms

Problem: Find the particular solution to dydx=x2y2\frac{dy}{dx} = x^2y^2 that passes through (1,1)(1, 1).
Step 1: Separate the variables
dydx=x2y2\frac{dy}{dx} = x^2y^2
Divide both sides by y2y^2 and multiply by dxdx:
y−2 dy=x2 dxy^{-2}\,dy = x^2\,dx
Step 2: Integrate both sides
∫y−2 dy=∫x2 dx\int y^{-2}\,dy = \int x^2\,dxy−1−1=x33+C\frac{y^{-1}}{-1} = \frac{x^3}{3} + C−1y=x33+C-\frac{1}{y} = \frac{x^3}{3} + C
Step 3: Find CC using the initial condition
Substitute (1,1)(1, 1):
−11=133+C-\frac{1}{1} = \frac{1^3}{3} + C−1=13+C-1 = \frac{1}{3} + CC=−1−13=−43C = -1 - \frac{1}{3} = -\frac{4}{3}
Step 4: Solve for yy with the specific constant
−1y=x33−43-\frac{1}{y} = \frac{x^3}{3} - \frac{4}{3}
Multiply both sides by −1-1:
1y=−x33+43\frac{1}{y} = -\frac{x^3}{3} + \frac{4}{3}
Combine the fractions:
1y=4−x33\frac{1}{y} = \frac{4 - x^3}{3}
Take the reciprocal:
y=34−x3y = \frac{3}{4 - x^3}
Particular solution: y=34−x3y = \frac{3}{4 - x^3}
7.7 - Finding Particular Solutions Using Initial Conditions and Separation of Variables

Domain Restrictions

A particular solution has to be differentiable on an interval that contains the initial point. It can’t jump across a spot where it’s undefined.
Here, y=34−x3y = \frac{3}{4 - x^3} is undefined where 4−x3=04 - x^3 = 0, at x=43≈1.587x = \sqrt[3]{4} \approx 1.587. The initial point has x=1x = 1, which is to the left of that asymptote, so the particular solution is only the left piece:
y=34−x3,x<43y = \frac{3}{4 - x^3}, \quad x < \sqrt[3]{4}
That’s why the graph above stops at the asymptote. Watch for anything that makes a solution undefined (a zero denominator, a negative number under a square root, the log of zero or a negative number), and keep only the interval that contains the initial xx-value.

Example 2: Determining the Sign (Plus or Minus)

Problem: Solve dydx=2xy\frac{dy}{dx} = 2xy with the initial condition y(2)=1y(2) = 1.
Step 1: Separate the variables
dyy=2x dx\frac{dy}{y} = 2x\,dx
Step 2: Integrate both sides
∫dyy=∫2x dx\int \frac{dy}{y} = \int 2x\,dxln⁡∣y∣=x2+C1\ln|y| = x^2 + C_1
Optional simplification: multiply both sides by 2 to avoid fractions later:
2ln⁡∣y∣=2x2+2C12\ln|y| = 2x^2 + 2C_1ln⁡(y2)=2x2+C\ln(y^2) = 2x^2 + C
We can drop the absolute values inside, since y2y^2 is always non-negative, and we’re just calling 2C12C_1 by the name CC.
Step 3: Find the constant using (2,1)(2, 1)
ln⁡(12)=2(22)+C\ln(1^2) = 2(2^2) + C0=8+C0 = 8 + CC=−8C = -8
Step 4: Solve for yy
ln⁡(y2)=2x2−8\ln(y^2) = 2x^2 - 8y2=e2x2−8y^2 = e^{2x^2 - 8}
Take the square root of both sides:
y=±ex2−4y = \pm e^{x^2 - 4}
Critical decision: which sign do we pick?
Check the initial condition. At (2,1)(2, 1), the yy-value is positive, so we need the positive square root.
Particular solution: y=ex2−4y = e^{x^2 - 4}

Understanding the Graph

The implicit form y2=e2x2−8y^2 = e^{2x^2 - 8} represents both the positive and the negative square root functions. But the particular solution through (2,1)(2, 1) is only the top half of that curve.
7.7 - Finding Particular Solutions Using Initial Conditions and Separation of Variables
If we’d chosen the negative square root, the solution would be the bottom half, reflected across the xx-axis.

Example 3: Handling Absolute Values

Problem: Find the particular solution to dydx=(y+3)ex\frac{dy}{dx} = (y + 3)e^x that passes through (0,−2)(0, -2).
Step 1: Separate the variables
dyy+3=ex dx\frac{dy}{y + 3} = e^x\,dx
Step 2: Integrate both sides
∫dyy+3=∫ex dx\int \frac{dy}{y + 3} = \int e^x\,dxln⁡∣y+3∣=ex+C\ln|y + 3| = e^x + C
Step 3: Find CC using (0,−2)(0, -2)
ln⁡∣−2+3∣=e0+C\ln|-2 + 3| = e^0 + Cln⁡(1)=1+C\ln(1) = 1 + C0=1+C0 = 1 + CC=−1C = -1
So we have:
ln⁡∣y+3∣=ex−1\ln|y + 3| = e^x - 1
Step 4: Exponentiate both sides
eln⁡∣y+3∣=eex−1e^{\ln|y + 3|} = e^{e^x - 1}∣y+3∣=eex−1|y + 3| = e^{e^x - 1}
Important: when you remove absolute values, include the ±\pm:
y+3=±eex−1y + 3 = \pm e^{e^x - 1}y=±eex−1−3y = \pm e^{e^x - 1} - 3
Step 5: Determine the correct sign
Substitute x=0x = 0 to see which sign gives y=−2y = -2:
y=±ee0−1−3y = \pm e^{e^0 - 1} - 3y=±e1−1−3y = \pm e^{1-1} - 3y=±e0−3y = \pm e^0 - 3y=±1−3y = \pm 1 - 3
For y=−2y = -2, we need ±1−3=−2\pm 1 - 3 = -2, which means ±1=1\pm 1 = 1. So use the positive sign.
Particular solution: y=eex−1−3y = e^{e^x - 1} - 3
7.7 - Finding Particular Solutions Using Initial Conditions and Separation of Variables

When to Choose Plus vs. Minus

After taking a square root or removing absolute values, you’ll often be left with a ±\pm. Here’s how to figure out which one is right.

Method 1: Test the Initial Condition

Substitute the given point into both versions and see which one satisfies the condition.

Method 2: Use the Slope Field, If You Have One

Sketch or visualize where the solution curve should be. Does it lie above or below the xx-axis? Is it the upper or lower branch of the curve?

Method 3: Consider the Physical Context

Sometimes the context of the problem, like population growth or temperature, tells you whether the values should be positive or negative.

Why Absolute Values Create Plus/Minus

Review from algebra: when solving ∣x−2∣=5|x - 2| = 5, you get two equations:
x−2=5orx−2=−5x - 2 = 5 \quad \text{or} \quad x - 2 = -5x=7orx=−3x = 7 \quad \text{or} \quad x = -3
Both solutions are valid, since ∣7−2∣=5|7 - 2| = 5 and ∣−3−2∣=5|-3 - 2| = 5.
In differential equations: when we have ln⁡∣y+3∣=ex−1\ln|y + 3| = e^x - 1 and exponentiate:
∣y+3∣=eex−1|y + 3| = e^{e^x - 1}
The absolute value means:
y+3=eex−1ory+3=−eex−1y + 3 = e^{e^x - 1} \quad \text{or} \quad y + 3 = -e^{e^x - 1}
which leads to:
y=eex−1−3ory=−eex−1−3y = e^{e^x - 1} - 3 \quad \text{or} \quad y = -e^{e^x - 1} - 3

Particular Solutions as Accumulation Functions

When the differential equation only involves xx, like dydx=f(x)\frac{dy}{dx} = f(x), you can write the particular solution through (a,y0)(a, y_0) directly as an accumulation function:
F(x)=y0+∫axf(t) dtF(x) = y_0 + \int_a^x f(t)\,dt
Why it works:
  • By the Fundamental Theorem of Calculus, F′(x)=f(x)F'(x) = f(x), so FF solves the differential equation
  • At x=ax = a, the integral runs from aa to aa, so it equals 00 and F(a)=y0F(a) = y_0. So FF passes through the initial point
This is the same idea as an accumulation function from Unit 6: start at y0y_0, then add up the change from aa to xx.
Example: Find the particular solution to dydx=e−x2\frac{dy}{dx} = e^{-x^2} with y(1)=4y(1) = 4, and approximate y(2)y(2).
e−x2e^{-x^2} has no antiderivative made of basic functions, so integrating and solving for CC gets stuck. The accumulation form still works:
y=4+∫1xe−t2 dty = 4 + \int_1^x e^{-t^2}\,dt
Then use a calculator for the definite integral:
y(2)=4+∫12e−t2 dt≈4+0.135=4.135y(2) = 4 + \int_1^2 e^{-t^2}\,dt \approx 4 + 0.135 = 4.135

Strategic Tips for Solving

Tip 1: Simplify Before Finding CC

Sometimes multiplying or dividing by a constant early makes the algebra cleaner.
Example: if you have y22=x2+C1\frac{y^2}{2} = x^2 + C_1, multiply by 2 to get y2=2x2+Cy^2 = 2x^2 + C, where C=2C1C = 2C_1. That way you avoid working with fractions when you substitute the initial condition.

Tip 2: When to Find CC

  • Find CC early if the equation is complicated to solve for yy
  • Solve for yy first if finding CC will be easier once yy is isolated
Both approaches work, so pick whichever looks simpler.

Tip 3: Keep Track of Constants

When you multiply or divide the whole equation by a number, your constant changes. You might see something like:
C1→C2=2C1→C3=C2+5C_1 \rightarrow C_2 = 2C_1 \rightarrow C_3 = C_2 + 5
Don’t worry about subscripts unless you need them for clarity. Just remember the constant changes, and it has to be recalculated if you transformed the equation before finding it.

Common Mistakes to Avoid

  • ❌ Forgetting the ±\pm when taking square roots or removing absolute values. Always write the ±\pm, then use the initial condition to pick the sign
  • ❌ Assuming a negative yy-value means you use the negative sign. Check by substitution, since that isn’t automatic
  • ❌ Dropping absolute values without considering both cases. When ln⁡∣f(y)∣=g(x)\ln|f(y)| = g(x), exponentiating gives ∣f(y)∣=eg(x)|f(y)| = e^{g(x)}, which means f(y)=±eg(x)f(y) = \pm e^{g(x)}
  • ❌ Not checking your answer. Always verify that the final answer satisfies both the differential equation and the initial condition

Summary of the Process

Given dydx=f(x,y)\frac{dy}{dx} = f(x, y) with the initial condition (x0,y0)(x_0, y_0):
  1. Separate the variables: g(y) dy=h(x) dxg(y)\,dy = h(x)\,dx
  1. Integrate: ∫g(y) dy=∫h(x) dx+C\int g(y)\,dy = \int h(x)\,dx + C
  1. Find CC: substitute (x0,y0)(x_0, y_0) and solve
  1. Solve for yy: isolate yy, watching for the ±\pm when you take roots or exponentiate
  1. Determine the sign: use the initial condition to pick the correct one if you need to
  1. Write the particular solution

Key Takeaways

  • Particular solution: a specific function satisfying both the differential equation and an initial condition
  • One point, one solution: a general solution is a whole family, but only one particular solution passes through a given point
  • Two approaches: find CC before or after solving for yy. Both work, so choose strategically
  • Taking square roots: always include the ±\pm, then use the initial condition to determine the sign
  • Removing absolute values: exponentiating ln⁡∣f(y)∣=g(x)\ln|f(y)| = g(x) gives f(y)=±eg(x)f(y) = \pm e^{g(x)}
  • Choosing the sign: substitute the initial condition into both possibilities and see which one works
  • Slope fields help. Visualizing the solution curve can make it clear which sign is right
  • Constants transform. When you multiply or divide the equation, the constant changes, but it’s still just “some constant”
  • Verification: always check your final answer by substituting the initial condition
  • Implicit vs. explicit: the equation with the ±\pm represents multiple curves, and the particular solution is just one of them
  • Domain restrictions: the particular solution only lives on the interval that contains the initial point, so stop at asymptotes and other places where it’s undefined
  • Accumulation form: the solution to dydx=f(x)\frac{dy}{dx} = f(x) with y(a)=y0y(a) = y_0 is y=y0+∫axf(t) dty = y_0 + \int_a^x f(t)\,dt

AP® is a registered trademark of the College Board, which is not affiliated with Dove's Library and was not involved in the production of, and does not endorse, this website.

Providing free, high-quality AP notes to help students succeed, earn college credit, and reach their educational goals, ensuring everyone has access to the resources they need.

© 2026 Standard Learning Group, Inc., which operates Dove's Library. All rights reserved.