Calculus 1 • Differential Equations (Intro)

Particular Solutions: Initial Conditions — Finding Particular Solutions Using Initial Conditions and Separation of Variables

Learn how an initial condition pins down the one curve that fits both the equation and a known starting point.

A smooth function curve with a function symbol and rising tangent trend.
Inside this lesson 10 sections 5 questions 9 figures

SECTION 1

Historical Context & Motivation

Differential equations arose from some of the biggest questions in science: How do planets orbit the Sun? How does a hot object cool down? How does a population grow? In every case, scientists knew the rate of change of something, and they needed to work backward to find the quantity itself. That backward step — going from a derivative to the original function — is the heart of solving a differential equation.

But there is a catch. When you reverse a derivative, you get infinitely many possible functions, all differing by a constant. To pick the one function that matches reality, you need extra information — a known value at a specific point. This extra piece of data is called an initial condition, and it transforms a broad family of curves into a single, specific solution.

1660s • Newton & Leibniz Invent Calculus

Isaac Newton and Gottfried Leibniz independently developed the foundations of calculus, including the concept of a derivative and the process of integration. Newton used these tools to describe motion and gravity.

1690s • Separation of Variables

Johann Bernoulli and Leibniz formalized the technique of separating variables, allowing mathematicians to solve differential equations by isolating each variable on its own side of the equation before integrating.

1700s • Euler Systematizes Differential Equations

Leonhard Euler classified differential equations and developed notation still used today. He showed how initial conditions select unique solutions from families of curves, laying the groundwork for physics and engineering.

1800s • Existence & Uniqueness Theorems

Augustin-Louis Cauchy and others proved rigorously that, under certain conditions, an initial condition guarantees exactly one solution to a differential equation — confirming what earlier mathematicians had assumed.

The central question this lesson addresses is straightforward: Given a differential equation and one known point on the solution curve, how do you find the exact function? The tool we will use — separation of variables — is elegant, powerful, and surprisingly approachable once you see the pattern.

SECTION 2

Core Principles & Definitions

Before diving into the mechanics, let's nail down the key vocabulary. A differential equation is any equation that contains a derivative, such as dy/dx = 2x. A general solution is the full family of functions that satisfies the equation, and it always contains an arbitrary constant C. A particular solution is the single member of that family that also satisfies a given initial condition.

1

Differential Equation

An equation involving a function and one or more of its derivatives. Example: dy/dx = 3y tells us the rate of change of y is proportional to y itself.
2

General Solution

The complete set of solutions, written with an arbitrary constant C. It represents an entire family of curves, each one differing only by a vertical or horizontal shift.
3

Initial Condition

A known pair (x₀, y₀) that the solution must pass through. It provides the extra information needed to determine the value of C.
4

Particular Solution

The one specific solution obtained after substituting the initial condition into the general solution and solving for C. It is a single curve, not a family.
5

Separation of Variables

A technique for solving differential equations by algebraically moving all y-terms to one side and all x-terms to the other, then integrating both sides independently.
✦

KEY TAKEAWAY

Think of the general solution as a menu of every possible path a car could take on a highway. The initial condition is your GPS pin — it tells you which specific path you're actually on. Without that pin, you know all the routes but not which one is yours.

SECTION 3

Visual Explanation: Family of Curves vs. Particular Solution

The diagram below shows the general solution to dy/dx = 2x, which is y = x² + C. Each parabola corresponds to a different value of C. Notice how all the curves have the same shape — they are just shifted up or down. The red dot marks the initial condition y(1) = 4, and the bold curve is the particular solution y = x² + 3 that passes through that point.

Family of Curves: y = x² + Cxy0123402468y(1) = 4y = x² + 3C = 0C = 2C = 6C = 4Dashed curves: general solution family | Bold cyan curve: particular solution
Each dashed parabola represents y = x² + C for a different value of C. The bold cyan curve is the particular solution y = x² + 3 that passes through the initial condition (1, 4), shown as the red dot.

This picture captures the whole idea of the lesson. The general solution gives you every curve that satisfies the differential equation. The initial condition acts like a filter — it eliminates all but one curve, the particular solution. In the sections ahead, you will learn the algebraic method for finding that one curve.

SECTION 4

Mathematical Framework: Separation of Variables

The method of separation of variables works when a differential equation can be written so that all y-terms (and dy) appear on one side and all x-terms (and dx) appear on the other. Once separated, you integrate both sides independently and then use the initial condition to find C.

STARTING FORM

dy/dx=f(x)⋅g(y)dy/dx = f(x) · g(y)

The right-hand side must be expressible as a product of a function of x alone and a function of y alone. This is what makes the equation 'separable.'

STEP 1 — SEPARATE

(1/g(y))dy=f(x)dx(1 / g(y)) dy = f(x) dx

Divide both sides by g(y) and multiply both sides by dx. Now each side involves only one variable.

STEP 2 — INTEGRATE

∫(1/g(y))dy=∫f(x)dx+C∫ (1 / g(y)) dy = ∫ f(x) dx + C

Integrate both sides. The constant of integration C captures all the possible vertical shifts you saw in the family of curves. This result is the general solution.

STEP 3 — APPLY INITIAL CONDITION

Substitute(x0,y0)→solveforCSubstitute (x₀, y₀) → solve for C

Plug in the given initial condition y(x₀) = y₀. Solve the resulting equation for C. Substitute that value of C back into the general solution to get the particular solution.

⚠

When Can You Use This Method?

Separation of variables only works when the equation is separable — that is, when dy/dx can be factored into a pure x-part times a pure y-part. Equations like dy/dx = x + y are NOT separable and require different techniques.

SECTION 5

Detailed Breakdown: The Four-Step Process

Let's organize the method into a clear, repeatable checklist. The flowchart below shows the four stages you will follow every time you encounter a separable differential equation with an initial condition.

Four-Step Process: From Differential Equation to Particular SolutionSTARTdy/dx = f(x) · g(y), y(x₀) = y₀STEP 1Separate VariablesMove y-terms (with dy) to the left, x-terms (with dx) to the right.STEP 2Integrate Both SidesEvaluate ∫ h(y) dy and ∫ f(x) dx. Include + C on one side.STEP 3Apply Initial ConditionSubstitute x = x₀ and y = y₀ into the general solution. Solve for C.STEP 4Write the Particular Solution
The four-step process: begin with a separable differential equation and an initial condition, separate variables, integrate, apply the initial condition to find C, and write the particular solution.

Each step has a clear purpose. Step 1 restructures the equation so integration is possible. Step 2 undoes the derivative and produces the general solution with constant C. Step 3 uses the initial condition to pin down C. Step 4 substitutes the value of C back into the general solution, yielding the particular solution.

StepActionWhat You Produce
1 — SeparateRearrange dy/dx = f(x)·g(y) into h(y) dy = f(x) dxTwo sides, each with one variable
2 — IntegrateEvaluate ∫ h(y) dy and ∫ f(x) dxGeneral solution with + C
3 — Initial ConditionSubstitute (x₀, y₀); solve for CNumerical value of C
4 — Particular SolutionReplace C with its valueOne specific function y(x)

Summary of the four-step separation of variables process

SECTION 6

Worked Example

Let's work through a complete problem. Suppose you are given the differential equation dy/dx = 2xy with the initial condition y(0) = 3. Your goal is to find the particular solution.

Find the particular solution to dy/dx = 2xy, y(0) = 3

  1. 1

    Step 1 — Separate Variables

    Divide both sides by y (assuming y ≠ 0) and multiply 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 integral of 1/y is ln|y|, and the integral of 2x is x². Don't forget the constant of integration.
    ln|y| = x² + C
  3. 3

    Step 3 — Solve for y (General Solution)

    Exponentiate both sides to remove the natural log. Since e raised to (x² + C) equals eCe^C · ex2e^{x²}, and eCe^C is just another positive constant, call it A. So y = A·ex2e^{x²}. This is the general solution.
    y = A·ex2e^{x²} where A = eCe^C
  4. 4

    Step 4 — Apply the Initial Condition

    Substitute x = 0 and y = 3 into the general solution: 3 = A·e02e^{0²} = A·e0e^0 = A·1 = A. So A = 3.
    A = 3
  5. 5

    Step 5 — Write the Particular Solution

    Replace A with 3 in the general solution. The particular solution is y = 3ex23e^{x²}. You can verify: dy/dx = 3·2x·ex2e^{x²} = 2x·(3ex23e^{x²}) = 2xy. ✓ Also y(0) = 3·e0e^0 = 3. ✓
    y = 3ex23e^{x²}
✓

CHECK YOUR WORK

Always verify your answer two ways: (1) differentiate your particular solution and confirm it satisfies the original differential equation, and (2) plug in x₀ to confirm you get y₀. If both checks pass, you've found the correct particular solution.

SECTION 7

Strengths and Limitations of Separation of Variables

Separation of variables is a powerful first tool, but it isn't a universal one. Understanding when it works — and when it doesn't — will save you time and frustration. The table below compares its strengths and limitations.

StrengthsLimitations
Straightforward algebraic process — no memorization of special formulas needed.Only works when dy/dx can be factored as f(x)·g(y). Many equations are not separable.
Produces an exact analytical answer (a formula), not just a numerical approximation.The integrals produced may not have nice closed-form solutions (e.g., ∫ ex2e^{x²} dx).
Works for many common models: exponential growth/decay, Newton's law of cooling, logistic growth.Dividing by g(y) can lose solutions where g(y) = 0 (equilibrium solutions). Always check for these.
The verification step (differentiating the answer) is easy and reliable.More complex equations (higher order, non-separable) require entirely different methods.

Strengths vs. limitations of the separation of variables technique

✦

KEY TAKEAWAY

Separation of variables is like a key that opens a specific type of lock. It's incredibly useful when the lock fits — but recognizing which lock you're facing is just as important as knowing how to turn the key. Always test whether the equation is separable before committing to this method.

SECTION 8

Connection to Advanced Theory

In later calculus and differential equations courses, you will encounter equations that cannot be separated. At that stage, you will learn methods such as integrating factors for linear first-order equations, substitution methods for homogeneous equations, and numerical methods like Euler's method for equations that resist closed-form solutions altogether. The concept of an initial condition, however, remains exactly the same in all these settings.

FeatureSeparation of Variables (This Lesson)Advanced Methods (Future Courses)
Equation formdy/dx = f(x)·g(y)dy/dx = F(x, y) in general
Role of initial conditionDetermines C after integrationSame — selects unique solution from family
Integration difficultyTwo single-variable integralsOften harder or impossible in closed form
Prerequisite mathAntiderivatives (Calc 1)Linear algebra, series, and more

Comparison of introductory vs. advanced differential equation techniques

The skills you are building now — separating variables, computing antiderivatives, and applying initial conditions — form the foundation for everything that follows. Mastering this process will make those future methods feel like natural extensions rather than entirely new topics.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

Explain in your own words why the general solution to a differential equation contains an arbitrary constant C, and why an initial condition is needed to find the particular solution.
Show answer
When you integrate a derivative, the process is the reverse of differentiation. Since the derivative of any constant is zero, infinitely many functions share the same derivative — they differ only by a constant. The general solution captures all of these functions at once by including the arbitrary constant C. An initial condition provides a specific point (x₀, y₀) that the solution must pass through, which gives you enough information to solve for C and identify the single function — the particular solution — that fits both the equation and the given point.

Question 2: BASIC CALCULATION

Find the particular solution to dy/dx = 3x² with the initial condition y(1) = 5.
Show answer
This equation is already separated (the right side depends only on x). Integrate both sides: ∫ dy = ∫ 3x² dx, which gives y = x³ + C. Apply the initial condition: 5 = (1)³ + C, so 5 = 1 + C, meaning 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 dy/dx = y/x with the initial condition y(2) = 6. State the particular solution explicitly.
Show answer
Separate variables: (1/y) dy = (1/x) dx. Integrate both sides: ln|y| = ln|x| + C. Exponentiate: |y| = eCe^C · |x|, so y = Ax where A = ±eCe^C. Apply the initial condition: 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) = 3(2) = 6 ✓. Note that the solution is a simple linear function, which makes sense because the differential equation says the slope equals y/x = 3x/x = 3 everywhere along this line.

Question 4: APPLIED

A bacteria population P grows at a rate proportional to its size: dP/dt = 0.5P. At time t = 0, there are 200 bacteria. Find the particular solution P(t) and determine the population at t = 4 hours.
Show answer
Separate variables: (1/P) dP = 0.5 dt. Integrate: ln|P| = 0.5t + C. Exponentiate: P = Ae0.5tAe^{0.5t} where A = eCe^C. Apply the initial condition 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) = 200e0.5×4200e^{0.5×4} = 200e² ≈ 200 × 7.389 ≈ 1477.8. So after 4 hours, there are approximately 1,478 bacteria. This is a classic exponential growth model where the initial condition anchors the curve to the known starting population.

Question 5: CRITICAL THINKING

Consider dy/dx = y² with the initial condition y(0) = 1. (a) Find the particular solution. (b) Determine the domain of the particular solution (i.e., the values of x for which it is valid). (c) Explain why this solution 'blows up' and what that means graphically.
Show answer
(a) Separate variables: 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). (b) The solution is undefined when the denominator equals zero, i.e., when x = 1. Since x = 0 is our initial point and the function is continuous on (−∞, 1), the domain is x < 1. (c) As x approaches 1 from the left, 1 − x approaches 0⁺, so y = 1/(1 − x) → +∞. This is called a 'blow-up' or vertical asymptote. Graphically, the solution curve shoots upward toward infinity in finite time. This demonstrates that not all solutions to differential equations exist for all x — some have limited domains even when the equation itself looks simple.

SUMMARY

Lesson Summary

Summary

A differential equation relates a function to its derivative. Its general solution is a family of curves that all satisfy the equation, differing by an arbitrary constant C. An initial condition — a known point y(x₀) = y₀ — pins down C and selects the unique particular solution from that family.

The method of separation of variables works by rewriting dy/dx = f(x)·g(y) so that all y-terms are on one side and all x-terms are on the other, then integrating both sides. After finding the general solution, you substitute the initial condition to solve for C and write the final particular solution. Always verify your answer by checking that it satisfies both the differential equation and the initial condition.

Varsity Tutors • Calculus 1 • Particular Solutions: Initial Conditions