📐 ICSE Class 12 Mathematics

Variable Separable Equations

Start MCQ Practice →

Variable Separable Equations

Subject: Class 12 Mathematics Chapter: Variable Separable Equations Topic: 10.5 Variable Separable Equations – Solve variable separable equations

1. Introduction

The first and simplest method for solving a differential equation is the method of separation of variables. A differential equation is said to be variable separable if the first-order expression dy/dx = f(x, y) can be written in the form dy/dx = g(x) h(y), so that all terms containing y, together with dy, can be separated to one side and all terms containing x, together with dx, to the other side. Once separated, the equation can be integrated directly on both sides, giving the general solution with one arbitrary constant.

This method is the foundation of nearly every other technique in this chapter. The homogeneous substitution and the integrating factor method both ultimately lead to separable forms, so the ability to separate variables quickly and integrate correctly is a skill worth mastering. Because the method is straightforward, it is also the most frequently tested topic in examinations, appearing both as short-answer questions and as the first part of longer problems.

The main challenges in this topic are algebraic: choosing the correct side for each term, handling constants of integration correctly, and simplifying the final answer into an acceptable form. This chapter explains the procedure with worked examples of increasing difficulty, from simple polynomial equations to those involving trigonometric and exponential functions, and includes tables and diagrams that summarise the entire method.

2. The Method of Separation of Variables

A first-order differential equation dy/dx = f(x, y) is separable if f(x, y) can be factored as g(x) h(y). The method proceeds as follows.

Steps to solve a variable separable equation: 1. Write the equation in the form dy/dx = g(x) h(y). 2. Rearrange to separate variables: (1/h(y)) dy = g(x) dx. 3. Integrate both sides: ∫(1/h(y)) dy = ∫g(x) dx + C. 4. Simplify the resulting relation to obtain the general solution.

Example 1 (Solved): Solve dy/dx = x².

Solution: This is already separable with g(x) = x² and h(y) = 1. Integrating both sides: ∫dy = ∫x² dx, giving y = x³/3 + C. This is the general solution of the equation.

Example 2 (Solved): Solve dy/dx = eˣ y.

Solution: Separate variables: (1/y) dy = eˣ dx. Integrating both sides: ln|y| = eˣ + C. Hence y = ±e^(eˣ + C) = A e^(eˣ), where A = ±e^C is an arbitrary constant. This is the general solution.

Example 3 (Solved): Solve dy/dx = (x² + 1)(y² + 1).

Solution: Separate variables: dy/(y² + 1) = (x² + 1) dx. Integrating: tan⁻¹ y = x³/3 + x + C. Hence the general solution is y = tan(x³/3 + x + C).

3. Handling the Constant of Integration

The constant of integration can be placed on either side, and it may be written in any convenient form such as C, ln C, or e^C, depending on which form simplifies the answer. In exponential and logarithmic solutions, it is often helpful to write the constant in a way that absorbs signs and factors.

Example 4 (Solved): Solve dy/dx = (y² + 1)/(x² + 1).

Solution: Separate variables: dy/(y² + 1) = dx/(x² + 1). Integrating both sides: tan⁻¹ y = tan⁻¹ x + C. Therefore the general solution is tan⁻¹ y - tan⁻¹ x = C.

Example 5 (Solved): Solve (x + 1)(dy/dx) = 2y.

Solution: Separate variables: dy/y = 2 dx/(x + 1). Integrating: ln|y| = 2 ln|x + 1| + C = ln(x + 1)² + C. Taking exponentials: y = C(x + 1)², where the constant C absorbs ±e^C. This is the general solution.

Example 6 (Solved): Solve dy/dx + y = 1.

Solution: Rearrange to dy/dx = 1 - y, then separate: dy/(1 - y) = dx. Integrating: -ln|1 - y| = x + C. Hence ln|1 - y| = -x - C, so 1 - y = A e⁻ˣ, giving the general solution y = 1 - A e⁻ˣ.

Particular solutions: When an initial condition y(x₀) = y₀ is given, substitute the values into the general solution to determine the constant and obtain the particular solution.

Example 7 (Solved): Solve dy/dx = 2xy, given y(0) = 1.

Solution: Separating, dy/y = 2x dx. Integrating: ln|y| = x² + C, so y = A e^(x²). Using y(0) = 1 gives A = 1. The particular solution is y = e^(x²).

4. Applications and Special Integrals

Variable separable equations cover a wide range of functions. Recognising standard integrals is essential: ∫dy/y = ln|y|, ∫dy/(1 + y²) = tan⁻¹ y, ∫dy/√(1 - y²) = sin⁻¹ y, and ∫eˣ dx = eˣ. Many equations require algebraic manipulation such as factorisation, cancellation of common terms, or substitution to reveal the separable form.

Example 8 (Solved): Solve x(dy/dx) = y + 2, given y(1) = 2.

Solution: Separate: dy/(y + 2) = dx/x. Integrating: ln|y + 2| = ln|x| + C, so y + 2 = A x. Using y(1) = 2 gives A = 4. The particular solution is y + 2 = 4x.

Example 9 (Solved): Solve (dy/dx) = (xy + x)/(xy - y).

Solution: Factorise the numerator and denominator: xy + x = x(y + 1) and xy - y = y(x - 1). Hence dy/dx = x(y + 1)/(y(x - 1)). Separating: y/(y + 1) dy = x/(x - 1) dx. Write y/(y + 1) = 1 - 1/(y + 1) and x/(x - 1) = 1 + 1/(x - 1). Integrating: y - ln|y + 1| = x + ln|x - 1| + C. This is the general solution.

Example 10 (Solved): Solve dy/dx = tan x tan y.

Solution: Separate: dy/tan y = tan x dx, that is, cot y dy = tan x dx. Integrating: ln|sin y| = -ln|cos x| + C. Hence sin y = A/cos x, giving the general solution sin y cos x = A.

Physical interpretation: Such equations model exponential growth and decay, cooling of bodies, and growth of populations. The solution y = y₀ e^(kt) arises directly from the separable equation dy/dt = k y, and it will be studied in detail in the applications chapter.

5. Quick Revision Tables

Table 1

Equation Separated form General solution
dy/dx = x² dy = x² dx y = x³/3 + C
dy/dx = eˣ y dy/y = eˣ dx y = A e^(eˣ)
dy/dx = (y² + 1)/(x² + 1) dy/(y² + 1) = dx/(x² + 1) tan⁻¹ y = tan⁻¹ x + C
(x + 1) dy/dx = 2y dy/y = 2 dx/(x + 1) y = C(x + 1)²
dy/dx = 2xy dy/y = 2x dx y = A e^(x²)

Table 2

Standard integral Result Used in
∫ dy/y ln y
∫ dy/(1 + y²) tan⁻¹ y Inverse tangent solutions
∫ dy/(1 - y²)^(1/2) sin⁻¹ y Trigonometric forms
∫ eˣ dx eˣ Exponential equations
∫ dy/(y + a) ln y + a

6. Mind Map

flowchart TD
    A[Variable Separable Equations] --> B[Write dy/dx = g(x)h(y)]
    A --> C[Separate variables]
    A --> D[Integrate both sides]
    B --> E[Factor f(x,y) if needed]
    C --> F[dy/h(y) = g(x)dx]
    D --> G[Add constant C]
    D --> H[General solution]
    H --> I[Use initial condition]
    I --> J[Particular solution]

7. Important Diagrams (SVG)

Steps of Separation of Variables Step 1: dy/dx = g(x) h(y) Step 2: dy/h(y) = g(x) dx Step 3: Integrate both sides Step 4: General solution with constant C Step 5: Apply initial condition for particular solution Golden Rule: Move every y term with dy to one side and every x term with dx to the other, then integrate.

Solution Curves of dy/dx = 2xy (0,1) y = e^(x^2) y = e^(x^2) y = -e^(x^2) x-axis y-axis Golden Rule: Each initial condition selects exactly one curve from the family of solutions of a separable equation.

8. Common Mistakes

  1. Forgetting to separate the variables completely before integrating; integrating dy/dx = xy as ∫dy = ∫xy dx is wrong because y still appears on the right.
  2. Dropping the constant of integration; every general solution must contain one arbitrary constant for a first-order equation.
  3. Using the wrong standard integral; for example, writing ∫dy/(1 + y²) = sin⁻¹ y instead of tan⁻¹ y.
  4. Ignoring the absolute value in logarithms; ∫dy/y = ln|y|, and omitting the modulus can produce sign errors in the final solution.
  5. Mishandling the initial condition by substituting before separating, instead of substituting into the general solution after integration.
  6. Failing to simplify the constant; constants like ±e^C should be absorbed into a single arbitrary constant such as A to give the cleanest form of the solution.
  7. Attempting to integrate a product directly without separation; the method works only when the equation can be written as dy/dx = g(x)h(y).

9. Exam Tips

  1. Rearrange the equation into dy/dx = g(x)h(y) first; if this is not possible, the equation is not separable by inspection.
  2. Write the constant of integration on the x-side or y-side, whichever makes the final answer simplest.
  3. Memorise the standard integrals listed in the table and recognise them immediately in problems.
  4. When the solution involves ln, always include the modulus sign and keep the answer in the cleanest exponential form.
  5. For particular solutions, substitute the initial condition only after the general solution has been obtained.
  6. Check the final answer by differentiating it and confirming that it satisfies the original differential equation.

10. Conclusion

The method of separation of variables is the simplest technique for solving first-order differential equations and the gateway to all other methods. By writing the equation as dy/dx = g(x)h(y) and separating the variables, the problem reduces to two ordinary integrations, and the general solution contains exactly one arbitrary constant. Careful attention to standard integrals, the constant of integration, and initial conditions produces correct general and particular solutions. This method is tested directly in examinations and used indirectly in the homogeneous and linear equations that follow, making it an indispensable part of the chapter on differential equations.