DIFFERENTIAL EQUATIONS • FIRST-ORDER DIFFERENTIAL EQUATIONS

Initial Conditions: Separable Equations — Applying Initial Conditions to Separable Equations

Learn how a single known point transforms an infinite family of curves into one specific solution.

Historical Context & Motivation

Differential equations describe how things change — the way a population grows, how a ball falls, or how medicine leaves your bloodstream. For centuries, mathematicians sought ways to solve these equations, and one of the earliest and most elegant techniques involves separable equations. But solving a differential equation is only half the battle. Without additional information about where a process starts, we get infinitely many possible solutions. An initial condition is the piece of data that pins down the one solution that matches reality.

1670s
Leibniz & Newton Develop Calculus
Gottfried Leibniz and Isaac Newton independently invented calculus, providing the notation and framework for writing and solving differential equations.
1691
Leibniz Introduces Separation of Variables
Leibniz demonstrated that certain equations could be solved by rearranging terms so that each variable appears on only one side — the birth of the separable equation technique.
1700s
Euler & the Bernoullis Formalize Techniques
Leonhard Euler and the Bernoulli family applied separation of variables to physical problems in mechanics and fluid flow, showing the importance of specifying starting conditions.
1800s
Initial-Value Problems Become Standard
Augustin-Louis Cauchy and others rigorously established that pairing a differential equation with an initial condition yields a unique solution, a result now known as the Existence and Uniqueness Theorem.

The central question this lesson addresses is straightforward: when you solve a separable differential equation and obtain a general solution containing an arbitrary constant, how do you use a given starting point to find the particular solution — the single curve that passes through that specific point?

Core Principles & Definitions

Before diving into examples, let's clarify the key ideas that underpin this topic. A separable differential equation is a first-order equation that can be written so that all terms involving y (and dy) sit on one side and all terms involving x (and dx) sit on the other. Once separated, each side can be integrated independently. The integration process introduces an arbitrary constant C, which represents the fact that many curves satisfy the equation. The initial condition — a point (x₀, y₀) that the solution must pass through — allows us to solve for C and determine the unique answer.

1

Separable Equation

A differential equation dy/dx = f(x) · g(y) that can be rewritten as (1/g(y)) dy = f(x) dx, separating the variables onto different sides.
2

General Solution

The family of all solutions obtained after integrating both sides. It contains an arbitrary constant C, representing infinitely many curves.
3

Initial Condition

A specific point (x₀, y₀) where the value of the solution is known. Written as y(x₀) = y₀, it provides the information needed to determine C.
4

Particular Solution

The single solution curve that satisfies both the differential equation and the initial condition. It is found by substituting the initial condition into the general solution.
KEY TAKEAWAY
Think of a general solution as a recipe that tells you how to bake a cake but doesn't specify the pan size. The initial condition is like saying "use a 9-inch pan." Without it, you could end up with any number of different cakes. With it, you get exactly the one you need.

Visual Explanation: The Family of Curves

The diagram below illustrates a family of solution curves for the equation dy/dx = x/y, whose general solution is x² + y² = C (a family of circles centered at the origin). Each circle corresponds to a different value of C. When we apply the initial condition y(3) = 4, we find C = 25, and only one circle — the one with radius 5 — passes through the point (3, 4).

Each circle represents a solution for a different value of C. The bold cyan circle (C = 25) is the particular solution selected by the initial condition y(3) = 4.

Notice how every faint circle satisfies the same differential equation. They are all valid solutions — mathematically correct curves. But only the highlighted circle passes through the pink dot at (3, 4). This is exactly what an initial condition does: it selects the one member of the family that matches the physical or mathematical situation you are modeling.

Mathematical Framework

The procedure for solving a separable equation with an initial condition follows a clear sequence. We'll outline the key equations and then walk through the method.

SEPARABLE FORM
dy/dx = f(x) · g(y) → (1/g(y)) dy = f(x) dx
Rearrange so that all y-terms (including dy) are on the left and all x-terms (including dx) are on the right. This step is valid as long as g(y) ≠ 0.
INTEGRATE BOTH SIDES
∫ (1/g(y)) dy = ∫ f(x) dx + C
Integrate each side with respect to its own variable. The constant of integration C appears because antiderivatives are only determined up to a constant.
APPLY INITIAL CONDITION
y(x₀) = y₀ → Substitute x = x₀, y = y₀ to solve for C
Plug the known point (x₀, y₀) into the general solution. This gives one equation in one unknown (C), which you can solve directly.
PARTICULAR SOLUTION
Replace C with the numerical value found above
The result is the particular solution — a function y(x) with no remaining arbitrary constants. If possible, solve explicitly for y in terms of x.
💡 Important Reminder
You can only add a single constant C on one side of the equation rather than separate constants on both sides. Why? Because C₁ − C₂ is just another constant, so we combine them into one C for simplicity.

Detailed Breakdown: The Four-Step Process

Let's organize the solution method into four clear steps. The flowchart below provides a visual roadmap you can follow every time you encounter a separable equation with an initial condition.

The four-step process: SeparateIntegrateApply initial conditionWrite particular solution.

This process works regardless of the specific functions f(x) and g(y). The first step requires algebraic rearrangement; the second step uses your integration skills; the third step is simple substitution; and the fourth step is algebra again. The hardest part is usually the integration in Step 2, which is why strong antiderivative skills matter.

  • Common pitfall 1: Forgetting the constant C. Every indefinite integral produces a +C, so make sure it appears after integrating.
  • Common pitfall 2: Dividing by g(y) when g(y) = 0. If the initial condition makes g(y₀) = 0, the solution might be a constant function — check separately.
  • Common pitfall 3: Applying the initial condition to the wrong equation. Always substitute into the general solution after integrating, not into the original differential equation.

Worked Example

Let's solve a complete problem from start to finish. We'll solve the differential equation dy/dx = 2xy with the initial condition y(0) = 3.

Solve dy/dx = 2xy, where y(0) = 3
1
Step 1 — Separate the VariablesRewrite dy/dx = 2xy by dividing both sides by y and multiplying both sides by dx. This gives (1/y) dy = 2x dx. Now all y-terms are on the left and all x-terms are on the right.
(1/y) dy = 2x dx
2
Step 2 — Integrate Both SidesIntegrate the left side with respect to y and the right side with respect to x. The left side gives ∫ (1/y) dy = ln|y|. The right side gives ∫ 2x dx = x². Don't forget the constant of integration C.
ln|y| = x² + C
3
Step 3 — Apply the Initial ConditionSubstitute x = 0 and y = 3 into ln|y| = x² + C. This gives ln|3| = 0² + C, so C = ln 3.
C = ln 3
4
Step 4 — Write the Particular SolutionReplace C with ln 3: ln|y| = x² + ln 3. To solve for y explicitly, exponentiate both sides: |y| = e^(x² + ln 3) = e^(x²) × e^(ln 3) = 3e^(x²). Since y(0) = 3 > 0, we can drop the absolute value.
y = 3e^(x²)
5
Step 5 — VerifyCheck: dy/dx = 3 × 2x × e^(x²) = 6xe^(x²). Also, 2xy = 2x × 3e^(x²) = 6xe^(x²). They match! And y(0) = 3e^(0) = 3. ✓
Solution verified ✓
Pro Tip
Always verify your answer by (1) plugging the particular solution back into the original ODE to confirm it satisfies the equation, and (2) checking that y(x₀) = y₀. This two-part check catches algebraic mistakes.

General Solution vs. Particular Solution

Understanding the difference between a general and particular solution is essential. Below is a comparison table that highlights how these two forms relate to one another and when each is used.

Comparison of general and particular solutions
FeatureGeneral SolutionParticular Solution
Contains constant C?Yes — an arbitrary constant C remainsNo — C has a specific numerical value
Number of solutionsInfinitely many (one per value of C)Exactly one
Requires initial condition?No — found by integration aloneYes — initial condition pins down C
Graphical interpretationA family of curvesOne specific curve from the family
Example (from worked example)y = Ae^(x²), A > 0y = 3e^(x²)
KEY TAKEAWAY
Imagine you have a GPS that shows every possible route from your city to a destination — that's the general solution. Now you tell the GPS your starting position and your current street. It immediately highlights just one route: that's the particular solution. The initial condition is your starting location.

Connection to Advanced Methods

Separable equations are just one class of first-order differential equations. As you advance in mathematics, you'll encounter equations that cannot be separated but still require initial conditions. The concept of applying a starting value to determine a unique solution carries over to every type of differential equation, including linear, exact, and even systems of differential equations.

Separable vs. linear first-order equations
FeatureSeparable EquationsLinear First-Order (Advanced)
Standard formdy/dx = f(x) · g(y)dy/dx + P(x)y = Q(x)
Solution techniqueSeparate variables and integrateMultiply by integrating factor μ(x)
Role of initial conditionDetermines the constant CSame — determines the constant C
Difficulty levelIntroductoryIntermediate

The beautiful thing is that the logic you've learned here — solve the equation to get a general solution with a constant, then use the given point to find that constant — is the universal pattern across all initial-value problems. Master it now, and you'll have a strong foundation for every differential equations course that follows.

Practice Problems

PROBLEM 1CONCEPTUAL
In your own words, explain why a general solution to a differential equation has infinitely many curves, while a particular solution has only one. What role does the initial condition play in transitioning from one to the other?
PROBLEM 2BASIC CALCULATION
Solve the initial-value problem dy/dx = 3x², where y(1) = 5.
PROBLEM 3INTERMEDIATE
Solve the initial-value problem dy/dx = y/x, where y(2) = 6.
PROBLEM 4APPLIED
A bacteria population P grows at a rate proportional to its size: dP/dt = 0.5P. At time t = 0, the population is 200 bacteria. Find P(t) and determine the population at t = 4 hours.
PROBLEM 5CRITICAL THINKING
Consider the equation dy/dx = y². The general solution is y = −1/(x + C). If the initial condition is y(0) = 1, find the particular solution and determine the domain on which the solution is valid. What happens as x approaches a certain value?

Lesson Summary

A separable differential equation has the form dy/dx = f(x) · g(y), and it is solved by moving all y-terms to one side and x-terms to the other, then integrating. This produces a general solution containing an arbitrary constant C, representing an infinite family of curves. An initial condition y(x₀) = y₀ specifies a single point that the solution must pass through, allowing you to solve for C and obtain the unique particular solution.

The four-step process — separate, integrate, apply the initial condition, and write the particular solution — is the backbone of solving initial-value problems for separable equations. Always verify your answer by substituting back into the original ODE and confirming the initial condition is satisfied. This technique extends directly to more advanced methods, making it a foundational skill in differential equations.

Varsity Tutors • Differential Equations • Initial Conditions: Separable Equations