Fundamentholfundamenthol

Introduction to Differential Equation

MathsDifferential EquationsFor JEE aspirants

A differential equation is an equation that links an independent variable, a dependent variable and one or more derivatives of the dependent variable, such as . This introduction to differential equations explains ordinary and partial equations, how to read the order and degree, how to form the differential equation of a family of curves, and what general, particular and singular solutions mean. Order, degree and formation are standard questions in JEE Main, JEE Advanced and Class 12 boards.

On this page1What is a DE2Order and degree3Formation4Types of solution5Slope field6Solved examples
Key Formulas - Quick Reference
  1. ★ Must learnOrder = order of the highest derivative present (always a positive integer).
  2. ★ Must learnDegree = power of the highest order derivative, after the equation is made a polynomial in all its derivatives.
  3. Degree is not defined when a derivative sits inside , , and so on, e.g. .
  4. ★ Must learnA family with essential arbitrary constants has a differential equation of order .
  5. ★ Must learnFormation: differentiate times, then eliminate all constants.
  6. General solution: exactly as many arbitrary constants as the order. Particular solution: none left.
  7. (lines through ) ; all non-vertical lines .
  8. First order, first degree form: , or .

1. What is a Differential Equation?

An equation involving independent and dependent variables and the derivatives of the dependent variable(s) is called a differential equation. The unknown in such an equation is not a number but a function: we look for whose derivatives make the equation true. There are two kinds of differential equation: ordinary and partial.

Anatomy of a differential equation: order and degree The equation (second derivative of y) squared plus x times (dy/dx) cubed minus y equals sin x, labelled: the second derivative is the highest derivative so the order is 2, its power 2 is the degree, the cube of the lower derivative does not count, y is the dependent variable and x the independent variable. d2y dx2 2 + x dy dx 3 − y = sin x Highest derivative: order 2 Its power: degree 2 Lower derivative: power 3 ignored dy/dx: first derivative Dependent variable y Independent variable x
Figure 1: In the highest derivative is the second, so order ; its power is 2, so degree . The cube on never decides the degree.

1.1 Ordinary differential equation (ODE)

If the dependent variable(s) depend on only one independent variable , the differential equation is called ordinary.

Examples:

  • (two dependent variables , , one independent variable )

1.2 Partial differential equation (PDE)

If the dependent variable depends on two or more independent variables, the equation contains partial derivatives and is called a partial differential equation.

Examples: and . JEE and board questions use only ordinary differential equations, so from here on "differential equation" means ODE.

Ordinary (ODE)

One independent variable.
Ordinary derivatives , .
Solution: a curve .

Partial (PDE)

Two or more independent variables.
Partial derivatives , .
Solution: a surface .

Classification of differential equations: ordinary and partial Tree diagram. A differential equation is ordinary when the unknown depends on one independent variable and partial when it depends on two or more. Ordinary equations are further linear or non-linear. Differential equation Ordinary (ODE) one independent variable x y = y(x) Partial (PDE) two or more independent variables z = z(x, y) Linear y, y′, y″ in power 1 not multiplied Non-linear y′ + y2 sin x = ln x (y2 breaks linearity) Example ∂2z/∂x2 + ∂2z/∂y2 = 0 outside this chapter
Figure 2: Count the independent variables first: one gives an ODE, two or more give a PDE. JEE and board questions use ODEs only.
Key idea
Count the independent variables: one means ODE. The unknown of a differential equation is a whole function, not a number.

2. Order and Degree of a Differential Equation

2.1 Order

Order is the order of the highest derivative appearing in the differential equation. It is always a positive integer.

In the highest derivative is the third, so the order is 3. Powers do not matter for order: is still of order 1.

2.2 Degree

Degree is the highest power (exponent) of the highest order derivative after the equation is cleared of radicals and fractions as far as the derivatives are concerned.

Note: for the degree to exist, every derivative must appear in polynomial form. An equation of the form

has order and degree . The coefficients may be any functions of and ; only the derivatives need to appear as whole-number powers.

  1. Find the highest derivative: its order is the order of the equation.
  2. If any derivative is inside a transcendental function (, , , , ...), stop: the degree is not defined.
  3. Remove fractional powers and fractions in the derivatives (raise both sides to a power, multiply through).
  4. Read the power of the highest derivative: that is the degree.
Flowchart: finding the order and degree of a differential equation Decision flowchart. Find the highest derivative to get the order. If any derivative sits inside a transcendental function such as sine, exponential or logarithm, the degree is not defined. Otherwise clear radicals and fractions in the derivatives, then the power of the highest derivative is the degree. Yes No Yes then No Given differential equation Highest derivative present → its order is the ORDER Any derivative inside sin, exp, log ...? Degree not defined Radicals or fractions in the derivatives? Clear them: raise to a power, multiply out DEGREE = power of the highest derivative
Figure 3: Order first, then the two degree checks. Example: stops at the first diamond (order 3, degree not defined).
EquationOrderDegreeReason
11already a polynomial in
31 has no derivative inside
22square both sides:
12
3not defined inside an exponential
21 is fine: no derivative inside
Exam Trick

Fractional powers: multiply every exponent by the LCM of the denominators. For the LCM of 3 and 2 is 6, giving : order 3, degree 4. If an option says the degree is a fraction, it is wrong: degree is always a positive integer when it exists.

Only derivatives inside a function spoil the degree. has degree 1, but has no degree. When one whole side is a single function of the derivatives, undo it first: becomes , which has degree 1 (Solved Example 1).
Order

Which derivative is highest?
Counts differentiations.
Always exists.

Degree

What power is that derivative raised to?
Read only after clearing radicals.
May be not defined.

Quick Recall: tap to check
Order and degree of ?
Order 1, degree 3.
Does have a degree?
Yes, degree 1. The exponential holds , not a derivative.
Order and degree of ?
Square: . Order 2, degree 2.
Can the order of a differential equation be 0?
No. An equation with no derivative is not a differential equation; order is at least 1.
Key idea
Order comes from the highest derivative; degree is its power, and only after the equation is a polynomial in the derivatives.

3. Formation of a Differential Equation

A family of curves such as (all lines through the origin) has one equation for every value of its arbitrary constant. The differential equation of the family is a single equation, free of the constant, that every member satisfies. It has two properties:

  • (a) its order is exactly the number of essential arbitrary constants in the equation of the curve;
  • (b) it contains no arbitrary constant.

3.1 Steps

  1. Identify the number of essential arbitrary constants in the equation of the curve.
  2. Differentiate the equation of the curve times.
  3. Eliminate the constants between the equation of the curve and the new equations.
Note (essential constants): if arbitrary constants are joined by addition, subtraction, multiplication or division, club them into one new constant before counting. has one essential constant; has one; has two.
Flowchart: forming the differential equation of a family of curves Steps on the left: count the essential arbitrary constants n, differentiate n times, eliminate the constants, and the result is a differential equation of order n with no constants. The right column traces the steps for the lines y = mx. Family of curves Count essential constants: n Differentiate n times Eliminate all n constants DE of order n, no constants Example: y = mx one constant m n = 1 dy/dx = m put m = y/x x dy/dx = y (order 1) Club constants first: y = a ex + b = (a eb) ex has only ONE essential constant
Figure 4: The order of the formed equation equals the number of essential constants. Merge constants that combine (sum, product) before counting.

Figure 4 runs the steps on (Solved Example 2). Figure 5 draws that family of lines, and Figure 6 another one-constant family: circles touching the -axis at the origin (Solved Example 3).

Family of straight lines through the origin, y = mx Six lines through the origin with slopes minus 2, minus 1, minus one half, one half, 1 and 2. At any point P(x, y) on a line the slope equals y over x, which removes m and gives the differential equation x dy/dx = y. x y O P(x, y) m = -2 m = -1 m = -0.5 m = 0.5 m = 1 m = 2 slope at P = y/x = m so x dy/dx = y for every m -2 -1 1 2 -2 -1 1 2
Figure 5: One arbitrary constant , so one differentiation: . Every line of the family satisfies (Solved Example 2).
Family of circles touching the x-axis at the origin Five circles x squared plus y squared plus lambda y equals 0, for lambda equal to minus 3, minus 2, minus 1, 1 and 2. All touch the x-axis at the origin; centres lie on the y-axis. x y O λ = -1 λ = -2 λ = -3 λ = 1 λ = 2 x2 + y2 + λy = 0 centre (0, −λ/2) radius |λ|/2 tangent: x-axis -2 -1 1 2 -1 1 2
Figure 6: One parameter fixes the size and side of the circle, so the family needs a first order equation: (Solved Example 3).
Family of curvesConstantsDifferential equation
(lines through )1
(all non-vertical lines)2
(circles centred at )1
( fixed)1
2
(circles touching -axis at )1

The parabolas with focus at the origin and axis along the -axis, , also form a one-constant family (Practice Question 6). Figure 7 shows a surprise: two members opening in opposite directions always cut at right angles.

Parabolas with focus at the origin and axis along the x-axis Family y squared equals 4a(x plus a) for a equal to 0.5, 1, 2 opening right and minus 0.5, minus 1, minus 2 opening left. All share the focus at the origin. The parabolas for a equal to 1 and minus 1 cross at (0, 2) at a right angle. x y 90° common focus O y2 = 4a(x + a) a = 0.5 (opens right) a = 1 a = 2 a = -0.5 (opens left) a = -1 a = -2 -3 -2 -1 1 2 3 -2 2
Figure 7: One constant , one differentiation: . Members opening in opposite directions cut at , e.g. at the slopes are and .
Exam Trick

Order = number of essential constants. Before forming anything, count the constants: a two-constant family must give a second order equation, so options of order 1 or 3 drop out at once. Then check a surviving option by putting one easy member (for example ) into it.

JEE Advanced

All circles in the plane, , have three essential constants, so their differential equation is of order 3:

It says the radius of curvature is constant along each curve. Differentiating that ratio and setting the derivative to zero gives the equation above. The family in Figure 7 is self-orthogonal: replacing by leaves its equation unchanged.

Key idea
Count essential constants, differentiate that many times, eliminate them: the order of the result equals the count.

4. Solution of a Differential Equation

Finding the dependent variable from the differential equation is called solving or integrating it. A solution (or integral) is a relation between the dependent and independent variables, free from derivatives, that satisfies the equation.

Note: the solution is also called a primitive, because the differential equation can be regarded as a relation derived from it (by differentiating and eliminating constants, exactly as in Section 3).

4.1 Three types of solution

TypeMeaningExample for
General (complete integral, complete primitive)contains exactly as many independent arbitrary constants as the order
Particularobtained by giving values to the arbitrary constants of the general solution (taking )
Singularsatisfies the equation but cannot be obtained from the general solution for any value of the constants

4.2 General and particular solutions

For the general solution is : one constant for a first order equation. A condition such as (an initial condition) picks one member: , so and .

General solution versus particular solution of dy/dx = 2x The general solution y = x squared plus C is a family of upward parabolas drawn dashed. The condition y(1) = 3 picks the single member y = x squared plus 2, drawn bold through the point (1, 3). x y O C = -2 C = 0 y(1) = 3 fixes C = 2 y = x2 + 2 particular solution -2 -1 1 2 -2 2 3 4
Figure 8: has general solution (one constant, first order). The initial condition gives , the particular solution (bold); dashed curves are other members.
Initial value problem: a differential equation of order together with conditions (values of at given points). The conditions fix the constants of the general solution.

Verifying a solution. To check that a function is a solution, differentiate it and substitute. For and : , , and . It is a solution, but a particular one: it has no arbitrary constant, while the general solution of this second order equation needs two (Solved Example 7).

General solution

Family of curves.
Number of arbitrary constants = order.
Example: .

Particular solution

One curve of the family.
Constants fixed by given conditions.
Example: .

4.3 Singular solution

A singular solution is not obtainable from the general solution. Geometrically, the singular solution is the envelope of the family of curves represented by the general solution: a curve that touches every member. In Figure 9, every line solves (where ), and so does the parabola they all touch. Singular solutions arise in equations of higher degree, such as Clairaut's equation , solved in the next concept.

Singular solution as the envelope of the general solution Straight lines y = cx minus c squared for c from minus 2 to 2 in steps of one half, each touching the parabola y = x squared over 4 at the point (2c, c squared). The parabola is the singular solution of y = x p minus p squared, where p = dy/dx. x y O y = x2/4 singular solution (envelope) member c = 1.5 -4 -2 2 4 -2 2 4
Figure 9: For every grey line is a solution, and so is the parabola that touches each line at . No value of gives it: it is singular.

4.4 Geometric meaning: the direction field

A first order equation tells you the slope of the solution curve at every point. Draw a short dash with that slope at many points and the solution curves appear as the paths that follow the dashes. For the general solution is ; every member approaches the line .

Direction field of dy/dx = x - y with solution curves A grid of short segments shows the slope x minus y at each point. Solution curves y = x minus 1 plus C e to the minus x follow the segments; every curve approaches the straight line y = x minus 1 as x grows. x y O y = x − 1 (C = 0) -2 -1 1 2 3 -2 -1 1 2 3
Figure 10: A first order equation fixes a slope at every point (short dashes). Each solution curve runs along these slopes; through each point passes exactly one member.
Exam Trick

Test options by differentiating, not by solving. If a question offers four candidate solutions, differentiate each and substitute into the equation. A wrong option usually fails at a simple point such as within seconds.

Quick Recall: tap to check
How many arbitrary constants does the general solution of a third order equation have?
Exactly 3.
How many conditions fix a particular solution of a second order equation?
Two, e.g. and .
Is a particular solution of ?
Yes: it is the member of . The parabola is the singular one.
Key idea
General solution = whole family (constants = order); particular = one member picked by conditions; singular = the envelope no constant can give.

5. First Order, First Degree Equations

Most equations in JEE and board papers are of first order and first degree: , often written as with , functions of and . Their solving methods (variables separable, homogeneous, exact, linear, Bernoulli) are the next concept on this site.

Mind map: introduction to differential equations Revision mind map with six branches: what a differential equation is, order, degree, formation from a family of curves, types of solution, and first order first degree equations. What is a DE • has derivatives of y • ODE: one variable x • PDE: two or more Degree • power of top derivative • clear radicals, fractions • none if exp(y′), sin y′ Solutions • general: n constants • particular: values fixed • singular: envelope Order • highest derivative • positive integer • = no. of constants Formation • count essential n • differentiate n times • eliminate constants First order, first degree • dy/dx = f(x, y) • M dx + N dy = 0 • methods: next concept DE basics
Figure 11: The whole concept on one screen. Order and degree classify, formation builds the equation, and the three kinds of solution undo it.

6. Solved Examples

Solved Example 1
Find the order and degree of the following differential equations.
(i)   (ii)
(iii)   (iv)
Solution:

(i) Raise both sides to the power 4:

Highest derivative , power 4: order 2, degree 4.

(ii) Take of both sides: . Order 2, degree 1.

(iii) Take of both sides: . Order 2, degree 1.

(iv) sits inside an exponential, so the equation cannot be written as a polynomial in the derivatives. Order 3, degree not defined.

Solved Example 2
Form the differential equation of the family of straight lines passing through the origin.
Solution:
  1. The family is , where is a parameter (one constant).
  2. Differentiate once with respect to : .
  3. Eliminate using .

Answer: , i.e. (Figure 5).

Solved Example 3
Form the differential equation of the family of circles touching the -axis at the origin.
Solution:
  1. Such a circle has centre and radius : ... (i), where is a parameter.
  2. Differentiate: ... (ii).
  3. From (i), . Put it in (ii) and multiply by : .

Answer: (Figure 6).

Solved Example 4
The order and degree of are respectively
(A)
(B)
(C)
(D)
Solution:

The LCM of the denominators 3 and 2 is 6. Raising both sides to the power 6 gives , a polynomial in the derivatives. Highest derivative: third, power 4.

Answer: (B). Option (A) reads the degree before clearing the radical; a degree is never a fraction.

Solved Example 5
The differential equation of all non-vertical lines in the -plane is
(A)
(B)
(C)
(D)
Solution:
  1. Non-vertical lines: , two essential constants, so the equation is of order 2.
  2. , then : both constants are gone.

Answer: (B). Option (A) describes only horizontal lines, and (D) is the equation of all non-horizontal lines .

Solved Example 6
Form the differential equation of the family , where and are arbitrary constants, and state its order.
Solution:
  1. Club the constants: . Only one essential constant.
  2. Differentiate once: .

Answer: , order 1 (not 2, although two letters appear).

Solved Example 7
Verify that is the general solution of , and find the particular solution with and .
Solution:
  1. , .
  2. . It is a solution with two independent constants for a second order equation, so it is the general solution.
  3. and give , .

Answer: .

Solved Example 8
Form the differential equation of all circles of fixed radius whose centres lie on the -axis. State its order and degree.
Solution:
  1. Family: , with arbitrary ( is fixed): one constant.
  2. Differentiate: , so .
  3. Substitute back: .

Answer: ; order 1, degree 2.

Practice Questions
  1. Find the order and degree: .Answer: order 1, degree 2 (multiply by : ).
  2. Find the order and degree: .Answer: order 5, degree not defined.
  3. Find the order and degree: .Answer: order 2, degree 2.
  4. Obtain the differential equation of the family , where and are arbitrary constants ( fixed).Answer: .
  5. Show that the differential equation of the system of parabolas is .Answer: ; differentiating again, .
  6. Form the differential equation of the family of parabolas with focus at the origin and axis of symmetry along the -axis.Answer: (from ).
  7. Form the differential equation of .Answer: .

Common Mistakes to Avoid

Watch out
  • Reading the degree before clearing radicals: has degree 2, not 1 (square both sides first).
  • Giving a degree when a derivative is inside , , : for the degree is not defined.
  • Taking the largest power anywhere as the degree. In Figure 1 the cube on does not count; only the power of the highest derivative does.
  • Thinking or in an equation kills the degree. Only derivatives inside such functions matter: has degree 1.
  • Counting letters instead of essential constants: gives a first order equation.
  • Leaving an arbitrary constant in the formed equation, or differentiating fewer times than the number of constants.
  • Calling the singular solution a particular solution. A particular solution comes from the general solution; a singular one never does.
  • Using fewer conditions than the order to fix a particular solution: a second order equation needs two.

Frequently Asked Questions

What is a differential equation?

A differential equation is an equation that contains an unknown function and one or more of its derivatives, such as . Solving it means finding the function, usually as a family of curves with arbitrary constants, that makes the equation true for all x in an interval.

What is the difference between the order and degree of a differential equation?

The order is the order of the highest derivative present, for example 2 when the second derivative is the highest. The degree is the power of that highest derivative after the equation has been made a polynomial in all its derivatives by clearing radicals and fractions.

When is the degree of a differential equation not defined?

The degree is not defined when the equation cannot be written as a polynomial in its derivatives, for example when a derivative appears inside an exponential, sine, logarithm or inverse trigonometric function, as in . The order is still defined in such cases.

How do you form a differential equation from a family of curves?

Count the essential arbitrary constants in the equation of the family, say n. Differentiate the equation n times and eliminate all n constants between the n + 1 equations. The result is a differential equation of order n with no arbitrary constants.

What is the difference between the general and particular solution of a differential equation?

The general solution contains as many independent arbitrary constants as the order and represents a whole family of curves. A particular solution is one member of that family, obtained by giving fixed values to the constants, usually from initial conditions such as y(0) = 1.

What is a singular solution of a differential equation?

A singular solution satisfies the differential equation but cannot be obtained from the general solution for any value of its constants. Geometrically it is the envelope of the family given by the general solution, such as the parabola touching every line .

Which differential equation topics are in the JEE Main syllabus?

The NTA syllabus for JEE Main lists ordinary differential equations with their order and degree, solution by separation of variables, and homogeneous and linear equations . Formation of equations from curve families and orthogonal trajectories also appear in JEE Advanced level practice.

Why does the number of arbitrary constants equal the order of the differential equation?

Each differentiation produces one new equation, and eliminating n independent constants needs n extra equations. So a family with n essential constants needs exactly n differentiations, and its differential equation has order n. Conversely, solving an order n equation brings back n constants.

Ready to master Differential Equations?

Take a full mock test, practice concept-by-concept, and get an AI-powered rank prediction — all on Fundamenthol.