Calculus · real student question

Solve the system x″ + y″ = t², x″ − y″ = 4t with x(0) = 8, x′(0) = 0, y(0) = 0, y′(0) = 0.

Question

Solve

x+y=t2,xy=4tx'' + y'' = t^2, \qquad x'' - y'' = 4t

subject to x(0)=8x(0) = 8, x(0)=0x'(0) = 0, y(0)=0y(0) = 0, y(0)=0y'(0) = 0.

Step-by-step solution

  1. Decouple the system by adding and subtracting. The two equations involve only the sum and the difference of xx'' and yy'', so linear combinations separate them immediately — no Laplace transform or matrix method is needed:

    add: 2x=t2+4t,subtract: 2y=t24t\text{add: } 2x'' = t^2 + 4t, \qquad \text{subtract: } 2y'' = t^2 - 4t

    Hence

    x=12t2+2t,y=12t22tx'' = \tfrac{1}{2}t^2 + 2t, \qquad y'' = \tfrac{1}{2}t^2 - 2t

  2. Integrate x″ once and apply x′(0) = 0.

    x=t36+t2+C1x' = \frac{t^3}{6} + t^2 + C_1

    Setting t=0t = 0 gives 0=C10 = C_1, so

    x=t36+t2x' = \frac{t^3}{6} + t^2

    Applying each condition as soon as its constant appears keeps the two constants from getting mixed up.

  3. Integrate again and apply x(0) = 8.

    x=t424+t33+C2,C2=8x = \frac{t^4}{24} + \frac{t^3}{3} + C_2, \qquad C_2 = 8

    x(t)=t424+t33+8x(t) = \frac{t^4}{24} + \frac{t^3}{3} + 8

  4. Repeat for y with both initial values zero.

    y=t36t2+C3,y(0)=0C3=0y' = \frac{t^3}{6} - t^2 + C_3, \qquad y'(0) = 0 \Rightarrow C_3 = 0

    y=t424t33+C4,y(0)=0C4=0y = \frac{t^4}{24} - \frac{t^3}{3} + C_4, \qquad y(0) = 0 \Rightarrow C_4 = 0

    y(t)=t424t33y(t) = \frac{t^4}{24} - \frac{t^3}{3}

    Only the sign of the cubic term and the constant 88 distinguish yy from xx — exactly the asymmetry introduced by the ±4t\pm 4t.

  5. Verify both differential equations and all four initial conditions. Differentiating twice:

    x=t22+2t,y=t222tx'' = \frac{t^2}{2} + 2t, \qquad y'' = \frac{t^2}{2} - 2t

    x+y=t2 ,xy=4t x'' + y'' = t^2 \ \checkmark, \qquad x'' - y'' = 4t \ \checkmark

    At t=0t = 0: x=8x = 8, x=0x' = 0, y=0y = 0, y=0y' = 0 — all four match. Note that xy=2t33+8x - y = \frac{2t^3}{3} + 8 and x+y=t412+8x + y = \frac{t^4}{12} + 8, the two decoupled combinations.

Answer

x(t)=t424+t33+8,y(t)=t424t33x(t) = \frac{t^4}{24} + \frac{t^3}{3} + 8, \qquad y(t) = \frac{t^4}{24} - \frac{t^3}{3}

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