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.

A changing curve with sigma and variable symbols for differential equations
Inside this lesson 10 sections 5 questions 8 figures

SECTION 1

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?

SECTION 2

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.

SECTION 3

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).

Family of Solutions: x² + y² = CxyC=4C=9C=16C=25(3, 4)r = 5C=36Faint circles = general solution (many C values)Bold circle = particular solution passing through (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.

SECTION 4

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)dxdy/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∫ (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(x0)=y0→Substitutex=x0,y=y0tosolveforCy(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

ReplaceCwiththenumericalvaluefoundaboveReplace 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.

SECTION 5

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.

Solving Separable Equations with Initial ConditionsSTEP 1: SeparateMove y-terms to the left, x-terms to the rightSTEP 2: Integrate Both Sides∫ h(y) dy = ∫ f(x) dx + CSTEP 3: Apply Initial ConditionSubstitute (x₀, y₀) and solve for CSTEP 4: Write Particular SolutionReplace C with the value found; simplifyResult: A unique curve that satisfies both the ODE and y(x₀) = y₀
The four-step process: Separate → Integrate → Apply initial condition → Write 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.

SECTION 6

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. 1

    Step 1 — Separate the Variables

    Rewrite 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. 2

    Step 2 — Integrate Both Sides

    Integrate 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. 3

    Step 3 — Apply the Initial Condition

    Substitute x = 0 and y = 3 into ln|y| = x² + C. This gives ln|3| = 0² + C, so C = ln 3.
    C = ln 3
  4. 4

    Step 4 — Write the Particular Solution

    Replace C with ln 3: ln|y| = x² + ln 3. To solve for y explicitly, exponentiate both sides: |y| = ex2+ln3e^{x² + ln 3} = ex2e^{x²} × eln3e^{ln 3} = 3ex23e^{x²}. Since y(0) = 3 > 0, we can drop the absolute value.
    y = 3ex23e^{x²}
  5. 5

    Step 5 — Verify

    Check: dy/dx = 3 × 2x × ex2e^{x²} = 6xex26xe^{x²}. Also, 2xy = 2x × 3ex23e^{x²} = 6xex26xe^{x²}. They match! And y(0) = 3e03e^{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.

SECTION 7

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.

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 = Aex2Ae^{x²}, A > 0y = 3ex23e^{x²}

Comparison of general and particular solutions

✦

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.

SECTION 8

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.

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

Separable vs. linear first-order equations

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.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

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?
Show answer
When we integrate a differential equation, the process introduces an arbitrary constant C. Each different value of C produces a different curve, so there are infinitely many solutions in the general solution family. The initial condition y(x₀) = y₀ gives us a specific point that the solution must pass through. Substituting this point into the general solution produces an equation with C as the only unknown, which we solve to get one specific number. Replacing C with that number leaves a single, unique curve — the particular solution.

Question 2: BASIC CALCULATION

Solve the initial-value problem dy/dx = 3x², where y(1) = 5.
Show answer
This is separable (trivially, since g(y) = 1). Integrate both sides: ∫ dy = ∫ 3x² dx, giving y = x³ + C. Apply the initial condition: 5 = 1³ + C, so C = 4. The particular solution is y = x³ + 4. You can verify: dy/dx = 3x² ✓ and y(1) = 1 + 4 = 5 ✓.

Question 3: INTERMEDIATE

Solve the initial-value problem dy/dx = y/x, where y(2) = 6.
Show answer
Separate: (1/y) dy = (1/x) dx. Integrate: ln|y| = ln|x| + C. Exponentiate: |y| = eCe^C · |x|, or y = Ax where A = ±eCe^C. Apply y(2) = 6: 6 = A · 2, so A = 3. The particular solution is y = 3x. Verification: dy/dx = 3, and y/x = 3x/x = 3 ✓. Also y(2) = 6 ✓. This shows that the solution curves for dy/dx = y/x are straight lines through the origin, and the initial condition selected the line with slope 3.

Question 4: APPLIED

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.
Show answer
Separate: (1/P) dP = 0.5 dt. Integrate: ln|P| = 0.5t + C. Exponentiate: P = Ae0.5tAe^{0.5t} where A = eCe^C. Apply P(0) = 200: 200 = Ae0Ae^0 = A, so A = 200. The particular solution is P(t) = 200e0.5t200e^{0.5t}. At t = 4: P(4) = 200e2200e^{2} = 200 × 7.389 ≈ 1477.8, or approximately 1478 bacteria. This exponential growth model is one of the most common applications of separable equations with initial conditions.

Question 5: CRITICAL 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?
Show answer
Separate: (1/y²) dy = dx, i.e., y⁻² dy = dx. Integrate: −1/y = x + C, so y = −1/(x + C). Apply y(0) = 1: 1 = −1/(0 + C), giving C = −1. The particular solution is y = −1/(x − 1) = 1/(1 − x). The domain is x < 1, because at x = 1 the denominator is zero and y → ∞. This is a finite-time blow-up: the solution becomes unbounded at x = 1. This example shows that initial-value problems for nonlinear separable equations can have solutions that only exist on a limited interval, unlike the exponential growth equation which exists for all t. It highlights that finding the particular solution also means identifying where that solution is valid.

SUMMARY

Lesson Summary

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