---
title: "Finding Particular Solutions Using Initial Conditions and Separation of Variables | FiveStudy"
description: "One point selects one curve — and also decides the branch and the domain."
url: https://fivestudy.com/guides/ap-calculus-bc-7-7-finding-particular-solutions-using-initial-conditions
---

[AP Calculus BC](https://fivestudy.com/ap-calculus-bc) · Study guide

# Finding Particular Solutions Using Initial Conditions and Separation of Variables

[Figure: FiveStudy]

FiveStudy

AP® Calculus BC · Unit 7 · Differential Equations

AP® Calculus BC · Unit 7 · Differential Equations

# Particular *Solutions*

An initial condition picks one function out of the general solution. This guide shows how to find the constant, choose signs, and state the interval where the solution is valid.

1. From general to particular 2. Choosing signs 3. The domain of a solution

The idea in one paragraph

Separating variables gives a family \(y = \dots + C\). A **particular solution** is the member that passes through a given point \((x_0, y_0)\). Substitute the point to find \(C\), preferably right after integrating, before solving for \(y\). If solving for \(y\) involves a square root, the sign of \(y_0\) decides which root to keep. The solution is defined on the largest interval containing \(x_0\) where the formula stays valid.

## 1 From general to particular

Worked Example 1 Find C from the point

### \(\dfrac{dy}{dx} = xy\), \(y(0) = 3\)

1. 1

   General solution (separate and integrate): \(y = Ce^{x^2/2}\).

2. 2

   Apply the initial condition: \(3 = Ce^{0}\), so \(C = 3\).

**Answer:** \(y = 3e^{x^2/2}\)

Write it like this

“Using the initial condition \(y(0) = 3\): \(3 = Ce^0\), so \(C = 3\). The particular solution is \(y = 3e^{x^2/2}\).”

Worked Example 2 Trig in the equation

### \(\dfrac{dy}{dx} = y^2\cos x\), \(y(0) = 1\)

1. 1

   Separate: \(y^{-2}\,dy = \cos x\,dx\). Integrate: \(-\dfrac1y = \sin x + C\).

2. 2

   At \((0, 1)\): \(-1 = 0 + C\), so \(C = -1\). Then \(-\dfrac1y = \sin x - 1\), so \(y = \dfrac{1}{1 - \sin x}\).

3. 3

   Check: \(y(0) = 1\). ✓

**Answer:** \(y = \dfrac{1}{1 - \sin x}\)

Common Mistake 1 · Solving for y before using the point

Finding \(C\) is usually easiest right after integrating, when the equation still reads \(-\frac1y = \sin x + C\). Waiting until after the algebra can lead to more mistakes with signs and exponents.

## 2 Choosing signs

Worked Example 3 Choosing the sign

### \(\dfrac{dy}{dx} = \dfrac{x}{y}\), \(y(0) = -2\)

1. 1

   General solution: \(y^2 = x^2 + C\). At \((0, -2)\): \(4 = 0 + C\), so \(C = 4\).

2. 2

   Then \(y = \pm\sqrt{x^2 + 4}\). The point has \(y = -2 \lt 0\), so take the negative root.

**Answer:** \(y = -\sqrt{x^2 + 4}\)

Common Mistake 2 · Keeping both signs

\(y = \pm\sqrt{x^2 + 4}\) is not a function. The initial point is below the axis, so only the negative root passes through it.

## 3 The domain of a solution

Worked Example 4 Where the solution lives

### \(\dfrac{dy}{dx} = y^2\), \(y(0) = 1\)

1. 1

   General solution: \(-\dfrac1y = x + C\). At \((0, 1)\): \(C = -1\), so \(y = \dfrac{1}{1 - x}\).

2. 2

   The formula breaks at \(x = 1\). A solution must be a single unbroken piece through the initial point, so the solution is defined only for \(x \lt 1\).

**Answer:** \(y = \dfrac{1}{1 - x}\) for \(x \lt 1\).

**Figure 1.** The particular solution through (0, 1) lives on the interval x < 1, the largest interval containing the starting point on which the formula works. The piece beyond x = 1 belongs to a different solution.

Common Mistake 3 · Including the far branch

\(y = \frac{1}{1 - x}\) also has a branch for \(x \gt 1\), but that branch never meets \((0, 1)\). A particular solution is one connected piece through its initial point.

Worked Example 5 Both ends blocked

### \(\dfrac{dy}{dx} = -\dfrac{x}{y}\), \(y(0) = 2\)

1. 1

   Separate and integrate: \(y\,dy = -x\,dx\), so \(\dfrac{y^2}{2} = -\dfrac{x^2}{2} + C\).

2. 2

   At \((0, 2)\): \(2 = C\). Multiply by 2: \(y^2 = 4 - x^2\).

3. 3

   The point has \(y \gt 0\), so \(y = \sqrt{4 - x^2}\).

4. 4

   At \(x = \pm 2\), \(y = 0\) and \(\frac{dy}{dx} = -\frac{x}{y}\) is undefined, so those endpoints are left out.

**Answer:** \(y = \sqrt{4 - x^2}\) for \(-2 \lt x \lt 2\).

Common Mistake 4 · Including an endpoint where the equation breaks

A solution has to satisfy the differential equation at every point of its interval. If \(\frac{dy}{dx}\) is undefined at an endpoint, as at \(x = \pm 2\) here, that endpoint is left out.

### Quick reference

| Step | Action |
| --- | --- |
| 1 | Separate and integrate (one C) |
| 2 | Substitute the initial point to find C |
| 3 | Solve for y; choose the sign that matches the point |
| 4 | State the interval: largest one through x₀ where the formula works |
| 5 | Check: y(x₀) = y₀ |

FiveStudy AP® Calculus BC · Particular solutions
