General Solution of a Differential Equation
On this page· 13 sections
Source & scope. This article continues NCERT Class 12 Mathematics, Chapter 9 (Differential Equations), Section 9.3. It builds on Solution Curve (Integral Curve) of a Differential Equation and is the direct counterpart of Particular Solution of a Differential Equation, with which it is always discuss...
Source & scope. This article continues NCERT Class 12 Mathematics, Chapter 9 (Differential Equations), Section 9.3. It builds on Solution Curve (Integral Curve) of a Differential Equation and is the direct counterpart of Particular Solution of a Differential Equation, with which it is always discussed in contrast.
The general solution (also called the primitive) of a differential equation is a solution that contains arbitrary constants, with as many arbitrary constants as the order of the differential equation. It describes the entire family of solution curves at once, rather than a single curve.
At a glance
- The general solution contains arbitrary constants — it is not one curve but a whole family.
- The number of arbitrary constants equals the order of the differential equation.
- y = a sin(x + b) is the general solution of d²y/dx² + y = 0: two arbitrary constants (a, b) for an order-2 equation.
- y = a cos x + b sin x is also a valid general solution of the same equation — different-looking families can both be "general solutions" of the same equation.
- A function with no arbitrary constants is never a general solution, no matter how complex it looks.
Learning objectives
- State the definition of the general solution (primitive) of a differential equation.
- Verify that a given function with arbitrary constants is a general solution of a given differential equation.
- Explain the rule connecting the number of arbitrary constants to the order of the equation.
- Distinguish a "general solution" from a merely "one example of a solution with no free constants."
Prerequisite knowledge
The reader should already know what a solution curve is (see Solution Curve (Integral Curve) of a Differential Equation) and be comfortable differentiating sine and cosine functions.
Core explanation
The definition
NCERT states: "The solution which contains arbitrary constants is called the general solution (primitive) of the differential equation." The chapter summary sharpens this further: "The solution which contains as many arbitrary constants as the order of the differential equation is called a general solution." So the rule of thumb is: count the order, and the general solution should contain that many independent arbitrary constants.
Worked derivation: y = a cos x + b sin x solves d²y/dx² + y = 0
NCERT verifies this directly (Example 3). Start with
Differentiating once:
Differentiating again:
Substitute into the left-hand side of d²y/dx² + y = 0:
So y = a cos x + b sin x satisfies the differential equation for any real values of a and b. Since this equation is order 2 (the highest derivative present is d²y/dx²), and the solution y = a cos x + b sin x carries exactly two independent arbitrary constants (a and b), this is a valid general solution of the equation.
A solution with no free constants is NOT automatically the general solution
By contrast, NCERT's Example 2 verifies that y = satisfies the different equation d²y/dx² + dy/dx − 6y = 0 (differentiating: dy/dx = −; d²y/dx² = ; substituting gives − − = 0 ✓). This equation is also order 2, but y = contains zero arbitrary constants — so, however valid it is as a solution, it is only a particular solution, not the general solution. Because the equation is order 2, its actual general solution must carry two arbitrary constants; by inspecting the equation's characteristic pattern (m² + m − 6 = 0, with roots m = 2 and m = −3), the true general solution is y = + , of which y = is simply the particular case C₁ = 0, C₂ = 1. This contrast is the clearest possible illustration that "a solution" and "the general solution" are not the same claim.
Key terms
- General solution (primitive) — a solution of a differential equation containing as many independent arbitrary constants as the order of the equation.
- Primitive — NCERT's alternative name for the general solution.
- Arbitrary constant — a constant that may take any real value while the function remains a solution; it is "free" until further information (an initial condition) pins it down.
- Order-matching rule — the number of independent arbitrary constants in a genuine general solution equals the order of the differential equation.
Diagram / figure guidance
A labelled family-of-curves sketch: plot y = a cos x + b sin x for 3–4 different (a, b) pairs on one set of axes in different colours, with a caption "Each curve is one member of the general solution family; the whole family together is the general solution of d²y/dx² + y = 0."
Worked example
Verify that y = a cos x + b sin x, where a, b ∈ ℝ, is the general solution of d²y/dx² + y = 0.
(This is the derivation already shown in Core explanation — repeated here in full as the dedicated worked example per the standard article template.)
Given y = a cos x + b sin x. Differentiate once: dy/dx = −a sin x + b cos x. Differentiate again: d²y/dx² = −a cos x − b sin x.
Substitute y and d²y/dx² into the left-hand side of d²y/dx² + y = 0:
The equation holds identically for every real a, b, confirming y = a cos x + b sin x is a solution. Since the equation has order 2, and this solution carries exactly 2 independent arbitrary constants, it qualifies as the general solution of d²y/dx² + y = 0.
Common misconceptions
- "Any function with letters like a, b, C in it is automatically a general solution." False — the letters must genuinely be independent arbitrary constants that can take any real value while the function keeps solving the equation; moreover, there must be exactly as many of them as the order of the equation.
- "A solution with zero arbitrary constants, like y = , can still be called the general solution if it looks complicated enough." False — however elaborate the function looks, zero free constants means it is at most a particular solution (see Particular Solution of a Differential Equation), never the general solution of an order-2 (or higher) equation.
- "There is only one possible 'general solution' for a given differential equation." False — a general solution can be written in more than one equivalent form (e.g., y = a cos x + b sin x can also be written as y = R sin(x + φ) for suitable constants R, φ); what matters is that the constant count matches the order and the family covers all solution curves.
- "The number of arbitrary constants can be more than the order." False — a genuine general solution has exactly as many independent arbitrary constants as the order, no more and no fewer.
Exam application (JEE)
JEE frequently asks for "the number of arbitrary constants in the general solution of a differential equation of order n" as a direct, almost definitional, question — the answer is simply n. It is also common to give a candidate general solution and ask for verification by substitution, exactly as shown above; always differentiate the right number of times (matching the order) before substituting.
Frequently asked questions
- What is the general solution of a differential equation? It is a solution containing arbitrary constants, with the number of independent arbitrary constants equal to the order of the differential equation.
- Why is y = a cos x + b sin x the general solution of d²y/dx² + y = 0? Because it satisfies the equation for every choice of the two constants a, b, and the equation is order 2 — matching the required count of arbitrary constants.
- Is "primitive" a different concept from "general solution"? No — NCERT uses "general solution" and "primitive" as synonyms for the same concept.
- If a function solves a differential equation but has no arbitrary constants, is it the general solution? No — a solution with no free constants is, at best, a particular solution; the general solution of an order-n equation must carry n independent arbitrary constants.
- How many arbitrary constants should the general solution of a 4th-order differential equation have? Exactly 4, since the number of arbitrary constants in a general solution equals the order of the equation.
Practice questions (original practice questions)
- What is the number of arbitrary constants in the general solution of a differential equation of order 3? (a) 1 (b) 2 (c) 3 (d) 6 Ans (c). The number of independent arbitrary constants in the general solution always equals the order of the differential equation.
- Which of the following CANNOT be the general solution of d²y/dx² + y = 0? (a) y = a cos x + b sin x (b) y = R sin(x + φ) (c) y = (d) y = a sin(x + b) Ans (c). y = has zero arbitrary constants, so it cannot serve as the general solution of an order-2 equation, which requires two independent arbitrary constants.
- If a function y = f(x, C₁, C₂, C₃) with three independent arbitrary constants satisfies a differential equation, what is the most likely order of that equation? (a) 1 (b) 2 (c) 3 (d) Cannot be determined Ans (c). Since the general solution's arbitrary-constant count equals the order, three independent constants point to an order-3 differential equation.
- Verify: for y = a cos x + b sin x, what is d²y/dx² equal to? (a) y (b) −y (c) 2y (d) 0 Ans (b). Differentiating twice gives d²y/dx² = −a cos x − b sin x = −y, which is exactly why d²y/dx² + y = 0 holds.
- A differential equation of order 2 has candidate solution y = C (a single constant, no second constant). This candidate is: (a) Always the general solution (b) Never a valid solution at all (c) At best a particular case, not the general solution, since it has only 1 constant where 2 are required (d) The same as the particular solution of any order-2 equation Ans (c). A genuine general solution of an order-2 equation needs exactly 2 independent arbitrary constants; a single constant falls short, so it cannot be the general solution (though it might still happen to satisfy the equation as one specific case).
Quick revision
- General solution (primitive) = a solution containing arbitrary constants, with exactly as many as the order of the equation.
- y = a cos x + b sin x is the general solution of d²y/dx² + y = 0: 2 constants for an order-2 equation.
- A solution with zero arbitrary constants is never the general solution of an order ≥ 1 equation — it is, at most, a particular solution.
- The same differential equation can have more than one equivalent way of writing its general solution.
- Always match: order of equation = count of independent arbitrary constants in the general solution.
Related articles
- Builds on: Solution Curve (Integral Curve) of a Differential Equation
- Next: Particular Solution of a Differential Equation
- See also: How to Verify That a Function Is a Solution of a Differential Equation
- See also: Order of a Differential Equation
- Related topics: Degree of a Differential Equation, Differential Equations with Variables Separable, Exponential Growth: The Law of Natural Growth (Continuous Compounding), Finding the Equation of a Curve from Its Differential Equation, Historical Note: Leibniz, the Bernoullis, and the Origin of Differential Equations, Homogeneous Differential Equation: Definition and Test