EZ Tuitions Logo
EZ Tuitions

Solve a variable separable equation

If dy/dx can be written as a product of a function of x and a function of y, separate the variables and integrate both sides.

This is original written practice with invented equations. Each solution is checked by differentiating it and putting the result back into the original equation, and by testing the starting value.

Separate, integrate, apply the starting value, then differentiate back

  1. Move all y terms to one side and all x terms to the other.
  2. Integrate both sides and add a constant.
  3. Use the starting value to find the constant.
  4. Check: differentiate the solution and compare with the equation.

dy/dx = 2x with y = 1 at x = 0

dy = 2x dx, so y = x² + C. C = 1, so y = x² + 1.

Check: dy/dx = 2x. At x = 0, y = 1.

dy/dx = x / y with y = 1 at x = 0

y dy = x dx, so y²/2 = x²/2 + C. C = 1/2, so y² = x² + 1.

Check: Differentiate: 2y y′ = 2x, so y′ = x / y. At x = √3, y = 2 and y′ = √3 / 2 = x / y.

dy/dx = y with y = 2 at x = 0

dy / y = dx, so ln y = x + C. C = ln 2, so y = 2eˣ.

Check: dy/dx = 2eˣ = y. At x = 0, y = 2.

Counterexample: forgetting the constant

A student solves the first equation as y = x² and says it fits.

The check fails at the starting value. y(0) would be 0, but it should be 1. The constant C = 1 is needed.

Try one yourself

Solve dy/dx = 3x² with y = 2 at x = 1, and check.

Show the worked self-check

y = x³ + C. At x = 1, 1 + C = 2, so C = 1 and y = x³ + 1. Check: dy/dx = 3x², and at x = 1, y = 2.

Scope and limits

  • The page covers first-order separable equations with simple integrals.
  • It does not cover homogeneous or linear equations.
  • The equations are invented, and the questions are practice, not an exam key.
  • Every solution is checked by differentiating back.

Common questions

What is a particular solution?

It is the one found from a starting value.

What is the general solution?

It is the one with the constant left in.

Why separate the variables?

So each side can be integrated on its own.

Do I need a constant on both sides?

One constant is enough.

Sources and scope

Sources checked . They support the formula or law used. The numbers, worked examples and self-check above are original EZT practice.

Read the Class 12 differential equations chapterBrowse tuition and practice pages