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

    First-order linear differential equation

    Solve the equation y′ + ay = b with constant coefficients and one initial condition.

    Calculate the result

    y′+ay=b,y(x0)=y0

    Worked example

    Problem

    Solve the equation y′ + 2y = 6 with y(0) = 1. Use the equilibrium solution or integrating factor.

    The solution of y′ + 2y = 6 with y(0) = 1 is y = 3 − 2e⁻²ˣ.

    1. Find the constant solution

      2y∗=6⟹y∗=3
    2. Solve for the deviation from equilibrium

      y−3=(1−3)e−2x⟹y=3−2e−2x
    Ask AI for a step-by-step solution

    Common mistake

    The expression b/a requires a different from 0. With a = 0 we get the constant derivative y′ = b.