Skip to content
    Greek Mathematician Mascot - Daskalos
    Mathimatikos

    60% off your first year

    Terms

    Student Pro: €35.60 for the first year instead of €89

    Teacher Pro: €75.60 for the first year instead of €189

    Code LAG60. One use per account. Renews automatically at the regular price. Cancel anytime.

    View plans

    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

    y′=kyn,y(x0)=y0

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

    1. Separate and integrate the variables

      dyy2=dx⟹−1y=x+C
    2. Apply the initial condition

      C=−1⟹y=11−x
    3. Choose the interval that contains 0

      x∈(−∞,1)
    Ask AI for a step-by-step solution

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