📚 StudyOS CBSE Class 5–12 AI Tutor

Differential Equations

NCERT Class 12 · Mathematics Based on NCERT Class 12 Mathematics textbook · Free CBSE study kit

Chapter Notes

DIFFERENTIAL EQUATIONS — COMPREHENSIVE CHAPTER NOTES

Introduction and Definition

A **differential equation** is an equation involving derivatives of a dependent variable with respect to one or more independent variables. It arises naturally in modelling real-world phenomena in physics, chemistry, biology, economics, and engineering.

**Key distinction**: Unlike algebraic equations where solutions are numbers, solutions to differential equations are functions.

**Example**: The equation dy/dx = x + y involves the derivative dy/dx, making it a differential equation.

An **ordinary differential equation (ODE)** involves derivatives with respect to only one independent variable. A **partial differential equation (PDE)** involves derivatives with respect to multiple independent variables. In this chapter, we study only ordinary differential equations.

---

Order of a Differential Equation

The **order** of a differential equation is the order of the highest derivative present in the equation.

**Rules for identifying order:**

  • Find the highest derivative in the equation
  • The power of that derivative gives the order
  • Order is always a positive integer
  • **Examples:**

  • dy/dx = e^x has order 1 (first-order derivative dy/dx is highest)
  • d²y/dx² + y = 0 has order 2 (second-order derivative d²y/dx² is highest)
  • d³y/dx³ + 2d²y/dx² + dy/dx = 0 has order 3
  • **Notation**: For nth order derivatives, use the symbol y^(n) or d^n y/dx^n.

    ---

    Degree of a Differential Equation

    The **degree** of a differential equation is the highest power (positive integral exponent) of the highest-order derivative, **provided the equation is a polynomial equation in all its derivatives**.

    **Important condition**: The equation must be polynomial in its derivatives (not involving trigonometric, exponential, or other non-polynomial functions of derivatives).

    **When degree is NOT defined:**

  • If the equation is not polynomial in derivatives
  • If any derivative appears inside a trigonometric, exponential, or non-polynomial function
  • Example: sin(dy/dx) + y = 0 has no defined degree
  • **Examples:**

  • (d²y/dx²)³ + (dy/dx)² + y = 0 has order 2, degree 3 (highest power of d²y/dx² is 3)
  • d³y/dx³ + 2d²y/dx² + dy/dx = 5 has order 3, degree 1
  • cos(d²y/dx²) + y = 0 has order 2, degree not defined (polynomial condition violated)
  • **Key fact**: Order and degree (when defined) are always positive integers.

    ---

    General and Particular Solutions

    **General solution (primitive)**: A solution containing arbitrary constants. The number of arbitrary constants equals the order of the differential equation.

  • A first-order DE has one arbitrary constant
  • A second-order DE has two arbitrary constants
  • An nth-order DE has n arbitrary constants
  • **Particular solution**: A solution obtained from the general solution by assigning specific values to the arbitrary constants, usually using given initial or boundary conditions.

    **Verification**: To verify a function is a solution:

    1. Differentiate the function as many times as the order of the DE

    2. Substitute into the original equation

    3. Check if LHS = RHS

    **Example: Verify y = a cos x + b sin x solves d²y/dx² + y = 0**

    y = a cos x + b sin x

    dy/dx = −a sin x + b cos x

    d²y/dx² = −a cos x − b sin x = −y

    Substituting: d²y/dx² + y = −y + y = 0 ✓

    This is the general solution (contains two constants a and b for a second-order equation).

    If we set a = 1, b = 0, we get y = cos x, a particular solution.

    ---

    Formation of Differential Equations

    To form a DE from a given family of curves:

    1. Write the equation of the family: F(x, y, c₁, c₂, ..., cₙ) = 0

    2. Differentiate successively n times (where n = number of constants)

    3. Eliminate the arbitrary constants using the original equation and derivatives

    4. The resulting equation is the differential equation

    **Example: Form a DE for the family y = ae^(2x) + be^(−3x)**

    y = ae^(2x) + be^(−3x) ... (1)

    dy/dx = 2ae^(2x) − 3be^(−3x) ... (2)

    d²y/dx² = 4ae^(2x) + 9be^(−3x) ... (3)

    From (1): ae^(2x) + be^(−3x) = y

    From (3): 4ae^(2x) + 9be^(−3x) = d²y/dx²

    Multiply (1) by 4: 4ae^(2x) + 4be^(−3x) = 4y

    Subtract: 5be^(−3x) = d²y/dx² − 4y

    From (2): 2ae^(2x) − 3be^(−3x) = dy/dx

    Solving these gives: **d²y/dx² − dy/dx − 6y = 0**

    ---

    Variables Separable Method

    This is the simplest method for solving first-order, first-degree DEs of the form dy/dx = F(x, y).

    **Condition for separability**: F(x, y) can be written as a product g(x)·h(y), where g depends only on x and h depends only on y.

    **Solution process:**

    1. Write the DE as: dy/dx = g(x)·h(y)

    2. If h(y) ≠ 0, separate: [1/h(y)]dy = g(x)dx

    3. Integrate both sides: ∫[1/h(y)]dy = ∫g(x)dx + C

    4. Result is: H(y) = G(x) + C, where H and G are antiderivatives

    **Example 1: Solve dy/dx = (1 + x)/(2 − y), y ≠ 2**

    Separate: (2 − y)dy = (1 + x)dx

    Integrate: ∫(2 − y)dy = ∫(1 + x)dx

    2y − y²/2 = x + x²/2 + C

    General solution: **x² + y² + 2x − 4y + C = 0**

    **Example 2: Solve dy/dx = (1 + y²)/(1 + x²)**

    Separate: dy/(1 + y²) = dx/(1 + x²)

    Integrate: ∫dy/(1 + y²) = ∫dx/(1 + x²)

    tan⁻¹y = tan⁻¹x + C

    General solution: **tan⁻¹y − tan⁻¹x = C** or **y = tan(tan⁻¹x + C)**

    **Example 3: Particular solution with initial condition**

    Solve dy/dx = −4xy² with y = 1 when x = 0

    Separate: dy/y² = −4x dx

    Integrate: −1/y = −2x² + C

    When x = 0, y = 1: −1 = 0 + C, so C = −1

    Particular solution: **y = 1/(2x² + 1)**

    **Real-life application (Exponential growth):**

    If dP/dt = rP (population growth), separate: dP/P = r dt

    Integrate: ln P = rt + C

    P = Ae^(rt) where A = e^C

    If principal increases at 5% per year (dP/dt = 0.05P), and P₀ = Rs 1000, to find when it doubles:

    2000 = 1000·e^(0.05t)

    2 = e^(0.05t)

    t = ln(2)/0.05 ≈ 13.86 years

    ---

    Homogeneous Differential Equations

    **Homogeneous function of degree n**: A function F(x, y) such that:

    F(λx, λy) = λ^n F(x, y) for any nonzero constant λ

    **Examples:**

  • F(x, y) = x² + 2xy is homogeneous of degree 2: F(λx, λy) = λ²(x² + 2xy) = λ²F(x, y)
  • F(x, y) = sin(y/x) is homogeneous of degree 0: F(λx, λy) = sin(λy/λx) = sin(y/x) = λ⁰F(x, y)
  • F(x, y) = x + y + 1 is NOT homogeneous
  • **Homogeneous differential equation**: An equation dy/dx = F(x, y) where F is homogeneous of degree zero.

    **Solution method using substitution y = vx:**

    1. Let y = vx where v is a function of x

    2. Then dy/dx = v + x(dv/dx)

    3. Substitute into the original equation: v + x(dv/dx) = F(x, vx) = F(x, y)

    4. Since F is homogeneous of degree 0: F(x, vx) = x⁰·F(1, v) = f(v)

    5. This gives: v + x(dv/dx) = f(v)

    6. Rearrange: x(dv/dx) = f(v) − v

    7. Separate: dv/[f(v) − v] = dx/x

    8. Integrate both sides

    9. Substitute back v = y/x to get the solution in terms of x and y

    **Example: Solve (x + y)dx − (x − y)dy = 0**

    Rewrite: dy/dx = (x + y)/(x − y)

    Check: F(λx, λy) = (λx + λy)/(λx − λy) = (x + y)/(x − y) = λ⁰F(x, y) ✓ (homogeneous of degree 0)

    Let y = vx, so dy/dx = v + x(dv/dx)

    v + x(dv/dx) = (x + vx)/(x − vx) = (1 + v)/(1 − v)

    x(dv/dx) = (1 + v)/(1 − v) − v = (1 + v − v(1 − v))/(1 − v) = (1 + v²)/(1 − v)

    Separate: (1 − v)/(1 + v²) dv = dx/x

    Integrate: ∫(1 − v)/(1 + v²) dv = ∫dx/x

    ∫1/(1 + v²) dv − ∫v/(1 + v²) dv = ln|x| + C

    tan⁻¹v − (1/2)ln(1 + v²) = ln|x| + C

    Substitute v = y/x: **tan⁻¹(y/x) − (1/2)ln(1 + y²/x²) = ln|x| + C**

    Or simplified: **tan⁻¹(y/x) − (1/2)ln(x² + y²) = C**

    ---

    Linear First-Order Differential Equations

    A **linear first-order differential equation** has the standard form:

    **dy/dx + P(x)y = Q(x)**

    where P(x) and Q(x) are functions of x alone.

    **Solution using integrating factor:**

    1. Write the equation in standard form: dy/dx + P(x)y = Q(x)

    2. Find the **integrating factor (IF)**: IF = e^(∫P(x)dx)

    3. Multiply the entire equation by IF:

    e^(∫P(x)dx) · dy/dx + e^(∫P(x)dx) · P(x)y = e^(∫P(x)dx) · Q(x)

    4. Observe that the left side is the derivative of [y · e^(∫P(x)dx)]:

    d/dx[y · e^(∫P(x)dx)] = e^(∫P(x)dx) · Q(x)

    5. Integrate both sides:

    y · e^(∫P(x)dx) = ∫e^(∫P(x)dx) · Q(x) dx + C

    6. Solve for y:

    **y = e^(−∫P(x)dx)[∫e^(∫P(x)dx) · Q(x) dx + C]**

    **Example 1: Solve dy/dx + y = e^(−x)**

    Here P(x) = 1, Q(x) = e^(−x)

    IF = e^(∫1 dx) = e^x

    Multiply: e^x·dy/dx + e^x·y = e^x·e^(−x) = 1

    d/dx[y·e^x] = 1

    Integrate: y·e^x = x + C

    Solution: **y = (x + C)e^(−x)**

    **Example 2: Solve dy/dx − y/x = x, x ≠ 0**

    Here P(x) = −1/x, Q(x) = x

    IF = e^(∫−1/x dx) = e^(−ln|x|) = 1/|x| = 1/x (taking x > 0)

    Multiply: (1/x)·dy/dx − (1/x²)·y = 1

    d/dx[y/x] = 1

    Integrate: y/x = x + C

    Solution: **y = x² + Cx**

    ---

    Applications of Differential Equations

    **1. Exponential growth and decay:**

    If the rate of change is proportional to the quantity present: dy/dt = ky

    Solution: y = Ae^(kt) where A = y(0)

    **2. Newton's Law of Cooling:**

    dT/dt = −k(T − T_m) where T is temperature, T_m is surrounding temperature

    Solution: T = T_m + (T₀ − T_m)e^(−kt)

    **3. Population growth:**

    dP/dt = rP (unrestricted)

    Solution: P(t) = P₀e^(rt)

    **4. Bacterial growth:**

    If bacteria doubles in certain time with growth rate proportional to population, use dN/dt = kN

    Example: If 100,000 bacteria increase by 10% in 2 hours, find time to reach 200,000.

    N = N₀e^(kt)

    110,000 = 100,000·e^(2k)

    e^(2k) = 1.1

    k = (ln 1.1)/2 ≈ 0.0477

    For N = 200,000:

    200,000 = 100,000·e^(0.0477t)

    2 = e^(0.0477t)

    t = ln(2)/0.0477 ≈ **14.5 hours**

    **5. Radioactive decay:**

    dM/dt = −λM (where λ is decay constant)

    Solution: M(t) = M₀e^(−λt)

    **6. Mixing problems:**

    Rate of change of substance = Rate in − Rate out

    ---

    Key Points for Board Exams

  • **Always identify the type** of DE before solving (variables separable, homogeneous, or linear)
  • **Check initial conditions** carefully for particular solutions
  • **Verify your solution** by substituting back into the original equation
  • **Simplify final answers** to the simplest form (combine logs, simplify constants)
  • For **homogeneous equations**, substitute y = vx systematically
  • For **linear equations**, the integrating factor method is always reliable
  • **Real-life problems** typically lead to variables-separable or exponential-growth DEs
  • **Degree may not be defined** — always check if the equation is polynomial in derivatives before stating degree
  • ---

    **Common mistakes to avoid:**

  • Confusing order and degree
  • Forgetting the arbitrary constant after integration
  • Not simplifying the integrating factor correctly
  • Misidentifying whether an equation is homogeneous
  • Arithmetic errors when combining logarithmic constants
  • Forgetting to substitute back v = y/x in homogeneous equations
  • MCQs — 10 Questions with Answers

    Q1. The order of the differential equation d⁴y/dx⁴ + d²y/dx² − 5dy/dx + y = 0 is:

    • A. 4 ✓
    • B. 2
    • C. 1
    • D. 0

    Answer: A — The highest derivative present is d⁴y/dx⁴, so the order is 4.

    Q2. The degree of (d²y/dx²)³ + (dy/dx)² + sin(y) = 0 is:

    • A. 2
    • B. 3
    • C. 1
    • D. Not defined ✓

    Answer: D — The equation is not polynomial in derivatives due to sin(y) term, so degree is not defined.

    Q3. Which of the following is an ordinary differential equation?

    • A. ∂u/∂x + ∂u/∂y = 0
    • B. dy/dx + 2y = e^x ✓
    • C. ∂²u/∂x² + ∂²u/∂y² = 0
    • D. ∂z/∂t = ∂²z/∂x²

    Answer: B — An ordinary differential equation has derivatives with respect to only one independent variable; option B has only dy/dx (derivative with respect to x only).

    Q4. The order and degree of d²y/dx² + (dy/dx)² − 3y = 0 are respectively:

    • A. 1, 2
    • B. 2, 1
    • C. 2, 2 ✓
    • D. 1, 1

    Answer: C — Highest derivative is d²y/dx² (order 2); highest power of d²y/dx² is 1, but highest power of dy/dx is 2, so degree is 2.

    Q5. For the differential equation sin(d²y/dx²) + d²y/dx² − y = 0, the degree is:

    • A. 1
    • B. 2
    • C. 3
    • D. Not defined ✓

    Answer: D — The presence of sin(d²y/dx²) makes the equation non-polynomial in derivatives, so degree is not defined.

    Q6. Which differential equation has order 3 and degree 2?

    • A. (d³y/dx³)² + dy/dx = 0 ✓
    • B. d³y/dx³ + (d²y/dx²)² = 0
    • C. (d²y/dx²)³ + dy/dx = 0
    • D. d³y/dx³ + d²y/dx² + dy/dx = 0

    Answer: A — Option A has highest derivative d³y/dx³ raised to power 2, giving order 3 and degree 2.

    Q7. The equation dy/dx + xy = cos(x) is a differential equation of order and degree:

    • A. Order 2, Degree 1
    • B. Order 1, Degree 1 ✓
    • C. Order 1, Degree 2
    • D. Order 2, Degree 2

    Answer: B — Highest derivative is dy/dx (order 1); highest power of dy/dx is 1 (degree 1).

    Q8. Which statement is NOT correct about the order and degree of differential equations?

    • A. Order is always a positive integer
    • B. Degree may not exist for all differential equations
    • C. Degree is always greater than or equal to order ✓
    • D. Degree is the highest power of the highest derivative only when polynomial in derivatives

    Answer: C — Statement C is incorrect; degree need not be greater than or equal to order—for example, d³y/dx³ + y = 0 has order 3 but degree 1.

    Q9. Given the differential equation [d²y/dx² − (dy/dx)³]² + y = 0, identify its order and degree: (i) Order is 2 (ii) Degree is 2

    • A. Both (i) and (ii) are correct
    • B. Only (i) is correct ✓
    • C. Only (ii) is correct
    • D. Neither is correct

    Answer: B — Order is 2 (highest derivative d²y/dx²); degree is 6 because when expanded, the highest power of d²y/dx² is 2 × 3 = 6 from (dy/dx)³ inside the square bracket.

    Q10. A general solution of a differential equation d²y/dx² + y = 0 is y = A cos(x) + B sin(x). The number of arbitrary constants in this solution and its significance is:

    • A. 2 constants; equals the degree of the equation
    • B. 2 constants; equals the order of the equation ✓
    • C. 1 constant; equals the order minus 1
    • D. Cannot be determined without solving the equation

    Answer: B — A general solution of an nth order differential equation contains n arbitrary constants; here order 2 means 2 arbitrary constants (A and B).

    Flashcards

    What is a differential equation?

    An equation involving a dependent variable, an independent variable, and derivatives of the dependent variable with respect to the independent variable.

    Define order of a differential equation.

    The order is the highest order derivative of the dependent variable present in the differential equation.

    Define degree of a differential equation.

    When a differential equation is a polynomial in derivatives, the degree is the highest power of the highest order derivative involved.

    When is the degree of a differential equation not defined?

    The degree is not defined when the differential equation is not a polynomial equation in its derivatives.

    What is the difference between general and particular solutions?

    A general solution contains arbitrary constants and represents a family of solution curves; a particular solution has specific values for these constants and represents a single curve.

    Example of finding order: What is the order of d²y/dx² + dy/dx = 0?

    The order is 2 because the highest derivative present is d²y/dx² (second order).

    Example of finding degree: What is the degree of (d²y/dx²)³ + (dy/dx)² + y = 0?

    The degree is 3 because the highest power of the highest order derivative d²y/dx² is 3.

    Why are arbitrary constants important in general solutions?

    Arbitrary constants represent the infinitely many solution curves of a differential equation; each value combination produces a different particular solution.

    What must be true for a differential equation to have a defined degree?

    The equation must be a polynomial equation in the derivatives (y′, y″, y‴, etc.) when written in simplified form.

    Example: Find order and degree of y′′′ + 2y″ + y′ = 0.

    Order is 3 (highest derivative is y′′′) and degree is 1 (highest power of y′′′ is 1, and it is polynomial in all derivatives).

    Important Board Questions

    Define a differential equation and classify the equation dy/dx + 2xy = e^(−x²) as ordinary or partial. Also find its order and degree. [2 marks]

    Define DE as an equation involving derivatives of dependent variable. This is ordinary (one independent variable x only). Identify highest derivative for order and its power for degree.

    Find the order and degree (if defined) of each of the following differential equations and justify your answer: (i) (d²y/dx²)³ + 2(dy/dx) + y = 0 (ii) sin(dy/dx) + cos(dy/dx) = x (iii) [d²y/dx² − (dy/dx)²]² + y = 0 [5 marks]

    For each, identify the highest order derivative (order), check if polynomial in derivatives, then find highest power of highest derivative (degree). For (ii), recognize it is non-polynomial and degree is undefined. Show all steps.

    Explain what is meant by the general solution and particular solution of a differential equation. If y = C₁e^(2x) + C₂e^(−x) is the general solution of a differential equation of order 2, find a particular solution satisfying the initial conditions y(0) = 5 and y'(0) = 4. Show all working. [6 marks]

    General solution has arbitrary constants (C₁, C₂ here); particular solution assigns specific values to these constants. Use initial conditions y(0) = 5 and y'(0) = 4 to set up two equations in C₁ and C₂, solve simultaneously to find specific values, then substitute back into general form.

    Next chapterVector Algebra →

    Practice with interactive flashcards, mind maps, upload your own chapters and get AI study kits instantly

    Try StudyOS Free →