01 / 21

Initial Conditions:
Separable Equations

Learn how to solve separable differential equations and use an initial condition to find the unique particular solution from a family of curves.

Differential Equations

What Is a Differential Equation?

A differential equation (DE) is any equation that contains a function and one or more of its derivatives. It describes how a quantity changes in relation to another.

General Solution
A family of curves involving an arbitrary constant \(C\)
Particular Solution
One specific curve chosen by an initial condition

What Makes an Equation Separable?

A first-order ODE is separable if it can be written so that all \(y\)-terms are on one side and all \(x\)-terms are on the other:

The key insight: once separated, you can integrate each side independently with respect to its own variable.

Why Do Initial Conditions Matter?

The Core Method

1
Separate variables: move all \(y\)-terms (including \(dy\)) to one side, all \(x\)-terms (including \(dx\)) to the other.
2
Integrate both sides: \(\displaystyle\int \frac{1}{h(y)}\,dy = \int f(x)\,dx\). Don't forget the constant \(+\,C\).
3
Solve for \(y\) (if possible) to get the general solution.
4
Apply the initial condition: substitute \(x_0\) and \(y_0\) to find the exact value of \(C\).

General vs. Particular Solutions

General Solution Particular Solution
Contains constant \(C\)? Yes: arbitrary \(C\) No: \(C\) is determined
Number of curves Infinitely many Exactly one
Uses initial condition? Not yet applied Applied to find \(C\)
Example \(y = x^2 + C\) \(y = x^2 + 3\)

How to Apply This Method

1
Check separability: Can you write \(\dfrac{dy}{dx}\) as a product \(f(x) \cdot h(y)\)?
2
Separate: Rearrange to \(\dfrac{dy}{h(y)} = f(x)\,dx\). Watch for division by zero.
3
Integrate: Evaluate both antiderivatives. Use a single \(+\,C\) on one side only.
4
Solve for \(y\): Use algebra (exponentiation, square roots, etc.) as needed.
5
Plug in initial condition: Substitute \((x_0, y_0)\), solve for \(C\), and write the final answer.

Example 1: Simple Polynomial

1
Separate: \(dy = 2x\,dx\)
2
Integrate: \(\displaystyle\int dy = \int 2x\,dx \implies y = x^2 + C\)
3
Apply IC: \(y(0) = 5 \implies 5 = 0^2 + C \implies\) \(C = 5\)
4
Particular solution: \(y = x^2 + 5\)

Example 2: Exponential Growth

1
Separate: \(\dfrac{dy}{y} = 3\,dx\)
2
Integrate: \(\ln|y| = 3x + C_1 \implies y = Ae^{3x}\) where \(A = \pm e^{C_1}\)
3
Apply IC: \(y(0) = 2 \implies 2 = Ae^{0} \implies\) \(A = 2\)
4
Particular solution: \(y = 2e^{3x}\)

Visualizing Exponential Growth

Example 3: Product of Functions

1
Separate: \(\dfrac{dy}{y^2} = x\,dx\), i.e., \(y^{-2}\,dy = x\,dx\)
2
Integrate: \(\displaystyle\int y^{-2}\,dy = \int x\,dx \implies -\frac{1}{y} = \frac{x^2}{2} + C\)
3
Apply IC: \(-\frac{1}{1} = \frac{0}{2} + C \implies\) \(C = -1\)
4
Solve for \(y\): \(-\frac{1}{y} = \frac{x^2}{2} - 1 \implies\) \(y = \dfrac{2}{2 - x^2}\)

Graph of \(y = \dfrac{2}{2-x^2}\)

Domain Considerations

When solving separable equations, always check that your solution is valid near the initial condition. Key concerns:

Division by Zero
Separating may require dividing by \(h(y)\). If \(h(y_0) = 0\), the method fails at that point.
Logarithm Domain
If integration produces \(\ln|y|\), the solution requires \(y \neq 0\). Check the initial condition's sign.
Vertical Asymptotes
Rational solutions may blow up. Restrict the domain to the interval containing \(x_0\).

Where Does \(C\) Go?

When you integrate both sides of a separated equation, technically both sides get a constant. But we combine them into one:

Convention: write a single \(+\,C\) on the \(x\)-side. This is mathematically identical to having constants on both sides, since only the difference matters.

Common Mistakes to Avoid

Forgetting \(C\)
Integrating both sides without adding a constant, then having no way to apply the initial condition.
Premature \(C\) substitution
Applying the IC before integrating. You must find the general solution (with \(C\)) first, then use the initial condition to find the specific value of \(C\).
Dropping absolute values
Writing \(\ln y\) instead of \(\ln|y|\) when \(y\) could be negative, then mishandling the sign of the exponential.

Summary of the Process

Step Action Watch For
1. Separate \(g(y)\,dy = f(x)\,dx\) Division by zero in \(h(y)\)
2. Integrate \(G(y) = F(x) + C\) Include exactly one \(C\)
3. Solve for \(y\) Algebra / exponentiation Absolute value signs
4. Apply IC Substitute \((x_0, y_0)\) Domain of the particular solution

Question 1 of 5

Solve \(\dfrac{dy}{dx} = 4x\) with \(y(1) = 3\). What is the particular solution?

Question 2 of 5

Solve \(\dfrac{dy}{dx} = 2y\) with \(y(0) = 5\). What is the particular solution?

Question 3 of 5

Which of these equations is not separable?

Question 4 of 5

Solve \(\dfrac{dy}{dx} = \dfrac{x}{y}\) with \(y(0) = 4\). What is \(y^2\)?

Question 5 of 5

Given \(\dfrac{dy}{dx} = -\dfrac{x}{y}\) with \(y(3) = 4\), the particular solution describes what geometric shape?