Calculus · real student question

Find the particular solution of the differential equation f''(x) = 2 that satisfies the initial conditions f'(2) = 5 and f(2) = 10.

Question

Find the particular solution of the differential equation that satisfies the given initial conditions:

f(x)=2,f(2)=5,f(2)=10f''(x)=2,\qquad f'(2)=5,\qquad f(2)=10

Step-by-step solution

  1. Plan the two antiderivatives and the two constants. You are given the second derivative, so recovering ff takes two integrations, and each one introduces one arbitrary constant. That is exactly why the problem supplies two conditions — one to kill each constant. Integrate in the order ffff''\to f'\to f and pin down each constant as soon as it appears.

  2. Integrate once to get ff'. The antiderivative of the constant 22 is 2x2x:

    f(x)=2dx=2x+C1f'(x)=\int 2\,dx=2x+C_{1}

  3. Use f(2)=5f'(2)=5 to find C1C_{1}. Substituting x=2x=2:

    f(2)=2(2)+C1=4+C1f'(2)=2(2)+C_{1}=4+C_{1}

    Setting that equal to 55 gives C1=1C_{1}=1, so

    f(x)=2x+1f'(x)=2x+1

    Fixing C1C_1 now, rather than carrying it along, keeps the second integration clean.

  4. Integrate again to get ff. Antidifferentiate 2x+12x+1 term by term:

    f(x)=(2x+1)dx=x2+x+C2f(x)=\int (2x+1)\,dx=x^{2}+x+C_{2}

  5. Use f(2)=10f(2)=10 to find C2C_{2}. Substituting x=2x=2:

    f(2)=22+2+C2=6+C2f(2)=2^{2}+2+C_{2}=6+C_{2}

    Setting that equal to 1010 gives C2=4C_{2}=4, so the particular solution is

    f(x)=x2+x+4f(x)=x^{2}+x+4

  6. Verify all three requirements. Differentiating gives f(x)=2x+1f'(x)=2x+1 and f(x)=2f''(x)=2, so the differential equation holds. At x=2x=2: f(2)=2(2)+1=5f'(2)=2(2)+1=5 and f(2)=4+2+4=10f(2)=4+2+4=10. Both initial conditions check out exactly.

Answer

f(x)=x2+x+4f(x)=x^{2}+x+4

Need to solve a different problem like this? Open the solver →