Differential equation with separable variables
Solve the initial value problem y′ = kyⁿ for n from 1 to 3. See the maximal interval containing the initial value.
Calculate the result
Worked example
Problem
Solve the equation y′ = y² with initial condition y(0) = 1. Find the maximal interval of definition containing 0.
For y′ = y² and y(0) = 1, the solution is y = 1/(1 − x) on the interval (−∞, 1).
Separate and integrate the variables
Apply the initial condition
Choose the interval that contains 0
Common mistake
Before you divide by a power of y, check the equilibrium solution y = 0. For a nonzero solution, keep the interval that contains x₀.
