Differential Equations
Every calculus problem you have solved so far asked you to find a number, or a single function, that satisfies some equation. This chapter asks for something new: find a function whose own derivative, or a combination of its derivatives, is prescribed to you in advance. The simplest possible instance is one you already know how to finish — is solved the moment you integrate both sides. Dress that idea up, generalise it, and give it a name, and you have the whole chapter in miniature. An equation that involves an unknown function together with its derivatives is called a differential equation, and this chapter builds the vocabulary to classify such equations and the machinery to solve the first order, first degree kind. Two numbers classify a differential equation before you attempt to solve it: its order (how many times the dependent variable was differentiated) and its degree (the power of the highest derivative, but only when the equation is a polynomial in its derivatives at all — otherwise degree is simply not defined). Solving a differential equation does not return one number the way solving does; it returns an entire family of functions, the general solution, carrying as many arbitrary constants as the order of the equation. Pin down those constants with an initial condition — a point the curve must pass through — and the family collapses to one particular solution. The chapter's real payload is three complementary methods for the first order, first degree case: variables separable, where the two variables can be herded onto opposite sides of the equals sign and integrated directly; homogeneous equations, tamed by the substitution ; and linear equations, solved by multiplying through by an integrating factor that turns the left side into the derivative of a single product. Every exercise in this chapter is one of these three disguises, and learning to recognise which disguise you are looking at — before you touch a pencil to the algebra — is the actual skill being tested.
- A differential equation relates a dependent variable to the derivative or derivatives of itself with respect to one or more independent variables; restricting to a single independent variable gives an ordinary differential equation, the only kind this chapter studies.
- The order of a differential equation is the order of its highest derivative; the degree is the highest power of that highest derivative, defined only when the equation is a polynomial equation in its derivatives.
- A function that satisfies a differential equation is its solution; a solution carrying arbitrary constants equal in number to the order is the general solution (primitive), and a solution obtained by assigning particular values to those constants is a particular solution.
- Solving by variables separable: rewrite as and integrate both sides independently.
- A differential equation is homogeneous exactly when is a homogeneous function of degree zero, i.e. ; the substitution then reduces it to a variables separable equation in and .
- A linear differential equation has the standard form with functions of alone (or the mirror form ); multiplying by the integrating factor makes the left side an exact derivative.
- The general solution of a linear equation is , obtained by integrating both sides once the integrating factor has collapsed the left side to .
- Verifying that a given function solves a differential equation is pure differentiation: differentiate the candidate the required number of times and substitute into the equation to confirm both sides match identically, for every value of the arbitrary constants.
- Key idea: classify a first order first degree equation as separable, homogeneous, or linear by its algebraic form before solving, since each disguise has its own fixed recipe — separate the variables, substitute y = vx, or multiply by e to the integral of P dx.
A differential equation relates a function to its own derivatives and is classified by order and degree before being solved; first order first degree equations are recognised as one of three standard forms — variables separable, homogeneous (), or linear (integrating factor ) — each of which reduces the equation to something directly integrable.
What this chapter covers
The chapter builds in a fixed order, and it pays to keep the stages distinct in your head. It opens with classification — Sections 9.2.1 and 9.2.2 in the NCERT text — where every differential equation is assigned an order (from its highest derivative) and, when the equation is polynomial in its derivatives, a degree (the power that derivative is raised to). Next comes the idea of a solution itself (Section 9.3): unlike an algebraic equation, whose solution is a number, a differential equation's solution is a function, and the chapter draws a sharp line between the general solution (carrying arbitrary constants equal in number to the order) and a particular solution (those constants pinned to specific values by a given condition). The bulk of the chapter, Section 9.4, is a toolkit of three methods for first order, first degree equations, presented in the order you should try them when facing an unfamiliar problem. Variables separable (9.4.1) applies when the two variables can be physically separated onto opposite sides of the equation. Homogeneous equations (9.4.2) apply when the right-hand side is a ratio of same-degree expressions in and , tamed by writing . Linear equations (9.4.3) apply when the dependent variable and its derivative appear only to the first power, unmultiplied by each other, solved with an integrating factor. The worked examples and derivations below trace this exact order — order and degree first, then general versus particular solutions, then the three methods each in turn — and the miscellaneous examples at the end of the chapter mix all three ideas together, which is exactly how competitive exams test the chapter.
The core ideas
Order and degree of a differential equation
An equation involving derivatives of a dependent variable with respect to an independent variable is a differential equation; when only one independent variable is involved, it is called an ordinary differential equation, and that is the only kind this chapter studies (equations with derivatives with respect to more than one independent variable are partial differential equations, outside this chapter's scope). NCERT's own shorthand for derivatives is worth adopting immediately: , , , and for still higher derivatives, .
where: order is read straight off the equation — count how many times has been differentiated in the highest term present, nothing more. has order one; has order two. Degree is subtler, because it is only defined when the differential equation is a polynomial equation in its derivatives — meaning , , and so on appear only raised to non-negative integer powers, never inside a sine, a logarithm, a square root, or a denominator.
where: the definition applies only when the equation is polynomial in its derivatives. An equation such as is not a polynomial equation in at all — you cannot write as a finite sum of integer powers of — so its degree is simply not defined, not zero, not undefined-but-approximately-something. Order and degree, whenever degree exists, are always positive integers.
| Equation | Order | Degree |
|---|---|---|
| not defined |
General and particular solutions, and solution curves
A number satisfies an algebraic equation like ; a function satisfies a differential equation. Substitute the function and its derivatives into the equation and, if the left side reduces to the right side identically, the function is a solution, and the curve it traces is called a solution curve or integral curve. Consider : the function , for any real , satisfies it — substitute and the two derivative terms cancel exactly. Because this family carries two arbitrary constants (matching the order, two), it is the general solution, also called the primitive. Fix and and you obtain , one single curve with no free constants left — a particular solution.
where: "independent" matters — two constants that always appear as a single combination (like ) count as one effective constant, not two, and would signal that the family is really only a first order general solution in disguise. A particular solution is any member of the family obtained by assigning specific numerical values to every arbitrary constant, typically fixed by an initial condition such as " when " (an initial value problem) or by requiring the curve to pass through a named point.
Variables separable differential equations
A first order, first degree equation is separable when the right-hand side factors cleanly into a function of alone times a function of alone.
where: the middle step is only valid when ; any constant value of that makes is itself a solution (often lost silently if you divide by without checking), and is the general solution once both antiderivatives are found. This is the method behind NCERT's Examples 4 through 9 — from a purely algebraic separation such as to modelling continuously compounding interest, where separates into and integrates to the familiar exponential growth law .
Homogeneous differential equations
A function is homogeneous of degree if scaling both inputs by the same nonzero constant scales the output by : . A differential equation is called homogeneous precisely when is homogeneous of degree zero — equivalently, when can be written as a function of the single ratio alone.
where: degree-zero homogeneity is the test — check , unchanged by the scaling. The substitution , developed in full in the first derivation below, converts equation (5) into a variables separable equation in and ; when the equation is more naturally written as , the mirror substitution is used instead.
Linear differential equations and the integrating factor
An equation is a first order linear differential equation when the dependent variable and its first derivative appear only to the first power, with no product of and between them.
where: the mirror form , with functions of alone, is used whenever the equation is more naturally linear in than in — recognising this alternate form, as in NCERT Example 22, is a favourite competitive-exam trick. The integrating factor, derived in full below, is , and multiplying equation (6) through by it collapses the left side to , so the solution follows by direct integration:
where: you must always divide through so the coefficient of is exactly before reading off and — forgetting this step (as in , where only after dividing by ) is the single most common arithmetic slip in this section.
Derivations
The goal is to prove that the substitution always converts a homogeneous differential equation into an equation whose variables separate cleanly, deriving the general working formula NCERT quotes as its equation (6) in Section 9.4.2. This single substitution is the master technique behind every homogeneous-type example in the chapter, from the algebraic to the trigonometric , so proving it once in general saves re-deriving it for every new right-hand side.
Step 1. Start from where is homogeneous of degree zero, meaning for every nonzero . Choosing (valid whenever ) gives , a function of the single ratio alone; call it . The entire two-variable right-hand side has collapsed to a function of one variable, .
Step 2. Substitute , treating as a new unknown function of . Differentiate the product with respect to using the product rule: , since .
Step 3. Substitute both and into the original equation, which becomes , since the right-hand side only ever depended on in the first place.
Step 4. Isolate the derivative term: . This is now an equation in exactly two variables, and , and — crucially — the right side is a pure function of while the coefficient on the left is a pure function of , which is exactly the separable form of equation (4).
Step 5. Separate and integrate, provided : . Replacing by throughout recovers the general solution of the original homogeneous equation in and .
Step 6. Note the symmetric case. When the equation is naturally written instead, the identical argument with the roles of and exchanged justifies the substitution , giving and the matching separable equation . Choosing between and is simply a matter of which derivative, or , the equation was given in.
Go deeper · Derivation B · 2 minDeriving the integrating factor for a first order linear differential equation
The goal is to construct, from scratch, the function that NCERT calls the integrating factor and to prove that multiplying the standard linear equation by it turns the left-hand side into the derivative of a single product — the one move that makes the entire equation directly integrable. This is the most heavily used result in the chapter, underlying every linear-type worked example including the "linear in " trick tested at competitive level.
Step 1. Suppose some unknown positive function , multiplied through the equation, will make life easier. Multiplying both sides of by gives .
Step 2. Demand that the left-hand side be exactly the derivative of the product . By the product rule, . Comparing this term by term against the left side of Step 1 forces — the coefficient of must match the derivative of itself.
Step 3. This condition on is itself a variables separable equation: . Integrating both sides with respect to , and noting the left side is exactly by the chain rule, gives (taking so no modulus is needed).
Step 4. Exponentiate both sides to solve for explicitly: . This function is defined to be the integrating factor, written , and it was constructed to be exactly the multiplier that turns the left side of the original equation into an exact derivative.
Step 5. With substituted back, the original equation reads , by construction from Step 2. Integrate both sides directly with respect to : , which is the general solution formula quoted as equation (7) above.
Step 6. Check that the arbitrary constant produced while computing in Step 3 never matters. Adding any constant there multiplies the integrating factor by the fixed nonzero number ; this same factor multiplies every term of the equation in Step 5 uniformly and cancels out, leaving the same general solution. This is why you should always take the simplest antiderivative of when building the integrating factor — any other choice works too, but adds no new information.
Go deeper · Derivation C · 1 minVerifying that a two-parameter family solves a second order linear differential equation
The goal is to verify, by direct and systematic differentiation, that — a function carrying two independent arbitrary constants — satisfies the second order linear equation for every choice of and . Beyond confirming NCERT's own miscellaneous Example 19, this derivation demonstrates the general technique for every "verify that the given function is a solution" question in Exercise 9.2, and it illustrates concretely why a second order equation's general solution needs exactly two arbitrary constants, matching its order.
Step 1. Write and differentiate once using the product rule, treating and the bracketed trigonometric sum as the two factors. The trigonometric part differentiates to , so , which collects into .
Step 2. Differentiate this result once more, again by the product rule, to obtain . The trigonometric bracket in Step 1 differentiates to , and adding the -multiplied copy of the Step 1 result and collecting cosine and sine terms separately gives .
Step 3. Substitute , and from Steps 1 and 2 into the left side of the differential equation, , keeping every term together and every term together (both are multiplied throughout by the common factor , which never vanishes and can be factored out).
Step 4. Collect the coefficient of : . Expanding the middle term gives , and adding all three groups: — every term cancels exactly.
Step 5. Collect the coefficient of the same way: . Expanding the middle term gives , and adding: — this also cancels exactly.
Step 6. Since both coefficients vanish identically, the entire left side reduces to , matching the right side for every value of and — not for special values, but as an algebraic identity. This confirms is a genuine general solution of the order-two equation, carrying exactly two independent arbitrary constants, consistent with the count-equals-order rule.
Worked examples
Board level - Solving an initial value problem by variables separable, NCERT Example 6
Find the particular solution of , given that when .
Step 1. Confirm the equation is separable and, for , separate the variables by dividing through by and multiplying by : .
Step 2. Integrate both sides independently: gives , which rearranges to , i.e. .
Step 3. Apply the initial condition at : , so , giving .
Step 4. Substitute back into the general solution: . Answer: .
Board level - Solving a first order linear differential equation, NCERT Example 15
Find the general solution of , for .
Step 1. Divide throughout by so the coefficient of becomes exactly : . This is now in the standard linear form with and .
Step 2. Compute the integrating factor: .
Step 3. Multiply the standard-form equation through by and integrate, using the fact that the left side collapses to : .
Step 4. Solve for by dividing through by : . Answer: .
Competitive level (JEE / NEET) - Recognising a linear-in-x equation, NCERT Example 22
Solve .
Step 1. This equation is not separable and not homogeneous in the usual sense — the trap is spending time forcing it into one of those two moulds. Instead, rewrite it as a relation between and : dividing both sides by gives , which rearranges to — linear, but in as a function of , with and .
Step 2. Compute the integrating factor with respect to : .
Step 3. Multiply through and integrate: . Substitute , so , turning the integral into by integration by parts, i.e. .
Step 4. Substitute back and divide through by : , so . Answer: . Timing note: under three minutes once the linear-in-x recognition is made. The entire time cost sits in Step 1 — spotting that the equation is unworkable as but clean as linear. Never spend more than thirty seconds trying separation or the substitution before checking whether flipping the derivative reveals a hidden linear form; this exact trap appears whenever an inverse trigonometric function of sits multiplied against .
Common traps
- Confusing order with degree. Order counts how many times you differentiated; degree is the power of the highest derivative, and only exists when the equation is a polynomial in its derivatives — an equation with , , or under a square root has an order but no degree at all.
- Forgetting the arbitrary constant while integrating. Writing without the silently throws away the general solution and returns only one particular member of the family.
- Losing solutions when dividing by or during separation. Any constant value of that makes is itself a solution and can vanish from view the moment you divide it away without checking for it separately.
- Testing homogeneity by eyeballing rather than by the check. A right side that merely looks balanced in and is not automatically degree zero; always verify the scaling condition or rewrite the ratio as a function of explicitly before proceeding.
- Using when is the natural substitution, or vice versa. Match the substitution to the derivative the equation was actually given in: a -form homogeneous equation takes ; a -form equation takes .
- Reading off and before the coefficient of the derivative is . In , is not ; you must divide through by first to get , exactly the slip in NCERT Example 15.
- Sign errors inside the exponent of the integrating factor. A negative or fractional , such as in Example 16's , is easy to mishandle; always simplify fully — using laws where needed — before exponentiating.
- Assuming every differential equation in this chapter can be solved by one universal recipe. Only three specific first order, first degree forms are covered; recognising which of the three (or, as in Example 22, a form that becomes one of the three after flipping the derivative) an equation belongs to is itself half the problem.
- Forgetting the constant-count check. The number of independent arbitrary constants in a general solution always equals the order of the equation — a quick sanity check that catches an under- or over-integrated answer immediately, and is directly tested in Exercise 9.2 and the Miscellaneous Exercise.
You should be able to…
- State the order and degree of a given differential equation, and recognise when degree is not defined because the equation is not polynomial in its derivatives.
- Explain, using the count of arbitrary constants, the difference between the general solution and a particular solution of a differential equation.
- Verify by direct differentiation and substitution that a given function (explicit or implicit) satisfies a stated differential equation.
- Recognise whether a first order first degree equation is variables separable, homogeneous, or linear, from its algebraic form alone.
- Solve a variables separable equation, correctly handling the constant of integration and any solutions lost by dividing through .
- Show that a given is homogeneous of degree zero and solve the resulting equation using the substitution (or ).
- Reduce a first order linear differential equation to standard form, compute its integrating factor, and write down the general solution.
- Recognise the "linear in " trick when an equation resists separation and homogeneity in its given form.
- Find a particular solution satisfying a given initial condition, and find the equation of a curve passing through a specified point.
Ask the tutor: Want to work through a few more mixed-type equations — where you have to decide separable, homogeneous, or linear before solving — until the recognition step becomes instant?
What is actually the difference between order and degree, in plain terms
Order tells you how many times the function has been differentiated — it is simply the label on the highest derivative present, and every ordinary differential equation has one. Degree tells you the power that highest derivative is raised to, but only when the whole equation can be written as a polynomial in its derivatives with non-negative integer powers. If a derivative sits inside a sine, an exponential, a logarithm, or under a square root, the equation is not a polynomial in its derivatives, and degree is simply not defined for it — order can still be found perfectly well in that same equation.
Why does a second order equation need two arbitrary constants but a first order equation only needs one
Each order of differentiation you undo by integrating introduces exactly one fresh constant of integration, because indefinite integration is only ever determined up to an additive constant. Solving a first order equation involves one integration, so one constant appears. A second order equation, like , effectively needs two integrations to get back to itself, so two independent constants survive, as shown explicitly in the third derivation above for . This is why "count the constants, compare to the order" is such a reliable self-check.
How do I decide whether an equation is separable, homogeneous, or linear before I start solving it
Work through three quick checks in order. First, try to physically separate the variables — can every -term be herded to one side and every -term to the other, even after some algebraic rearrangement? If yes, it is separable. If not, check whether the right side of is unchanged when you replace by and by — if so, it is homogeneous and applies. If neither works, look for the linear pattern: does (or ) and its own first derivative appear only to the first power, with no product? If so, divide to standard form and read off and . Example 22 shows the fourth possibility worth remembering: an equation that fails all three tests in form can still be linear once you rewrite it in terms of instead.
Do I always have to use y equals v x for homogeneous equations, or can I use x equals v y
Either substitution works on a genuinely homogeneous equation, but one is usually far less messy than the other, and NCERT's own convention is to match the substitution to the form the derivative is given in. If the equation is written as , use , since is already the dependent variable being solved for. If it is more naturally , use instead. Using the "wrong" one still gets you to a correct answer eventually, but usually after considerably messier algebra, since you would be fighting the natural direction of the equation the whole way.
Why does multiplying by the integrating factor suddenly make the equation solvable
Because the integrating factor is not chosen at random — it is constructed, in the second derivation above, to be exactly the function that makes the left side of collapse into the derivative of a single product, . Once the left side is a single exact derivative, the entire equation becomes "the derivative of something equals a known function of ," which integration undoes directly. The apparent magic of the integrating factor is really just running the product rule in reverse, engineered on purpose by solving for the right multiplier in the first place.