Skip to content

General and particular solutions by separation of variables

Find a general solution, use an initial condition to select a particular solution, and state its largest domain.

It opens on

Which exact curve follows the field dy/dx = xy through (0, 3)?

Why it matters

AP free-response questions award credit for separation, the integration constant, and a justified particular solution.

Good to know first

  • Sketching and reasoning with slope fields: a slope field draws the slope dy/dx at grid points
  • integrating using substitution: ∫xⁿ dx = xⁿ⁺¹/(n+1) + C, and u = g(x), du = g′(x)dx

Step by step

  1. Separate for a family

    Recognize a separable equation and find its general solution.

    For the thread dy/dx = xy on the slope field, when y ≠ 0, the separated equation beneath is dy/y = x dx.

    A common mix-up

    Every differential equation separates.

    In fact: Xy is a product of single-variable factors; x + y is not.

  2. Choose the particular curve

    Use an initial condition immediately after integration, then choose the correct branch.

    In the thread’s integrated line ln|y| = x²/2 + C, the point (0, 3) gives C = ln 3.

    A common mix-up

    Add C after solving for y.

    In fact: Ln|y| = x²/2 + C gives A exp(x²/2), not exp(x²/2) + C.

  3. Find the largest domain

    State the largest solution interval containing the initial x.

    On the number line, the thread’s y = 3exp(x²/2) is defined for every real x; its domain is (−∞, ∞).

    A common mix-up

    The endpoints must be symmetric.

    In fact: y(−π/2) = 1/2 is defined, so −π/2 is not an endpoint.

Try it

Find the general solution of dy/dx = 3xy.Answer

y = A exp(3x²/2), A ∈ ℝ

Hint: Start with dy/y = 3x dx when y ≠ 0

For cooling with y(0) = 90, finish from ln|y − 20| = −0.3t + C.Answer

C = ln 70; y = 20 + 70exp(−0.3t)

Hint: Use y(0) = 90 before isolating y

For dy/dx = y²cos x, change the initial value to y(0) = −2; find y and its domain.Answer

y = −2/(1 + 2sin x), domain (−π/6, 7π/6)

Hint: First find C in −1/y = sin x + C

On the slope field, at (0, 3), what slope does dy/dx = xy assign?Answer

0.

Write (1, −2) into that line; what is C?Answer

2 = 1 + C, so C = 1.

General and particular solutions by separation of variables

30 minutes every month. No card.