y'=f
Chapter 9  ·  Class XII Mathematics

Equations That Describe Change Itself

Differential Equations

Solve for the Function, Not the Number — Where Calculus Models the Real World

Chapter Snapshot

9Concepts
10Formulae
6–8%Exam Weight
2–3Avg Q's
Moderate-HighDifficulty

Why This Chapter Matters for Entrance Exams

CBSEJEE MainJEE Advanced

JEE Main tests variable-separable and linear differential equations almost every year, while JEE Advanced favours homogeneous equations disguised in non-obvious forms. CBSE Boards include a 5-mark question on forming or solving a first-order equation.

Key Concept Highlights

Order and Degree of a Differential Equation
General and Particular Solutions
Formation of a Differential Equation
Variable Separable Method
Homogeneous Differential Equations
Linear Differential Equations
Integrating Factor
Initial Value Problems
Verifying a Solution

Important Formula Capsules

$\text{Order = highest derivative present; Degree = power of that derivative}$
$\dfrac{dy}{dx} = f(x)g(y) \Rightarrow \int \dfrac{dy}{g(y)} = \int f(x)\,dx$
$\text{Homogeneous: } \dfrac{dy}{dx} = F\!\left(\dfrac{y}{x}\right),\ \text{substitute } y=vx$
$\dfrac{dy}{dx} + Py = Q\ \text{(linear in y)}$
$\text{Integrating Factor: } I.F. = e^{\int P\,dx}$
$y \cdot I.F. = \int Q \cdot I.F.\,dx + C$
$\dfrac{dx}{dy} + P_1 x = Q_1\ \text{(linear in x)}$

What You Will Learn

Navigate to Chapter Resources

🏆 Exam Strategy & Preparation Tips

The hardest part is classification — spend time recognising variable-separable vs homogeneous vs linear forms before attempting to solve. Memorise the integrating factor formula and practise 15+ linear DE problems; this is the most commonly tested sub-type. Time investment: 1.5 weeks.

Chapter 9 · CBSE · Class XII
📈

Introduction to Differential Equations

Differential Equations Differential Equations Class 12 NCERT Class 12 Mathematics Class 12 Maths Notes CBSE Class 12 Mathematics NCERT Mathematics Notes Order of Differential Equations Degree of Differential Equations General Solution Particular Solution Formation of Differential Equations Variable Separable Method Separation of Variables Homogeneous Differential Equations First Order Differential Equations First Degree Differential Equations Linear Differential Equations Integrating Factor Method Applications of Differential Equations Differential Equation Formulas Solved Examples Step by Step Solutions NCERT Solutions Class 12 CBSE Board Exam Class 12 Maths Board Preparation JEE Main Mathematics JEE Advanced Mathematics CUET UG Mathematics Competitive Exam Preparation
📖 Introduction
📘 Definition
Definition of a Differential Equation
🗂️ Types of Differential Equations
Ordinary Differential Equation (ODE)
Definition: A differential equation involving derivatives of the dependent variable with respect to only one independent variable is called an ordinary differential equation.

\[ 2\frac{d^2y}{dx^2}+ \left(\frac{dy}{dx}\right)^3=0 \]
This is an ordinary differential equation because the dependent variable \(y\) is differentiated only with respect to the single independent variable \(x\).

Other examples include:
\[ \frac{dy}{dx}=e^x \]
\[ \frac{d^2y}{dx^2}+y=0 \]
\[ \frac{d^3y}{dx^3} +x^2\left(\frac{d^2y}{dx^2}\right)^3=0 \]
All these equations are ordinary differential equations because they involve derivatives with respect to only one independent variable.
Partial Differential Equation (PDE)
Definition: A differential equation involving partial derivatives of a dependent variable with respect to two or more independent variables is called a partial differential equation. For example, consider:
\[ \frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2}=0 \]
Here, \(u\) is a dependent variable, whereas \(x\) and \(y\) are independent variables. The equation involves partial derivatives with respect to two independent variables and is therefore a partial differential equation. Another example is the one-dimensional heat equation:
\[ \frac{\partial u}{\partial t} = k\frac{\partial^2u}{\partial x^2} \]
It describes the distribution of temperature \(u\) along a medium with respect to position \(x\) and time \(t\), where \(k\) represents thermal diffusivity.
⚖️ Difference Between Ordinary and Partial Differential Equations
Basis Ordinary Differential Equation Partial Differential Equation
Definition Involves ordinary derivatives of a dependent variable. Involves partial derivatives of a dependent variable.
Independent variables Only one independent variable. Two or more independent variables.
Derivative notation \(\frac{dy}{dx}\), \(\frac{d^2y}{dx^2}\) \(\frac{\partial u}{\partial x}\), \(\frac{\partial^2u}{\partial x^2}\)
Example \(\frac{dy}{dx}+y=0\) \(\frac{\partial u}{\partial t}=k\frac{\partial^2u}{\partial x^2}\)
Applications Motion, population growth and electrical circuits. Heat transfer, wave propagation and fluid dynamics.
📘 Order of a Differential Equation
🎨 SVG Diagram
Visual Representation of Order
Orders of Derivatives First Order dy/dx Highest derivative Order = 1 Second Order d²y/dx² Highest derivative Order = 2 Third Order d³y/dx³ Highest derivative Order = 3
👁️ Observation
Important Observations Regarding Order
📘 Degree of a Differential Equation
✏️ Example
Find the order and degree of the following differential equation:
\[\frac{dy}{dx}+y=0\]
The highest-order derivative is \(\frac{dy}{dx}\), and its exponent is 1.
Identify the highest derivative, then determine its exponent.
  1. The highest-order derivative is \(\frac{dy}{dx}\), which is of the first order. The differential equation is already a polynomial in its derivatives, and the power of the highest-order derivative is 1. Therefore,
    Order= 1, Degree= 1
Find the order and degree of:
\[\left(\frac{d^2y}{dx^2}\right)^3+5\left(\frac{dy}{dx}\right)^2+y=0\]
The order is determined by the highest-order derivative, whereas the degree is determined by the power of that derivative.
Locate the second derivative and determine its exponent.
  1. The highest-order derivative is \(\frac{d^2y}{dx^2}\), which is of the second order. The power of this derivative is 3. Hence,
    Order=2, Degree=3
Determine the order and degree of:
\[\left(\frac{d^3y}{dx^3}\right)^2+4\left(\frac{d^2y}{dx^2}\right)^5+\frac{dy}{dx}=0\]
  1. The highest-order derivative is \(\frac{d^3y}{dx^3}\), which is of the third order. Its exponent is 2. Therefore,
    Order = 3, Degree = 2
Determine the order and degree of:
\[\left(\frac{d^2y}{dx^2}\right)^2+\left(\frac{dy}{dx}\right)^3=0\]
  1. The highest-order derivative is \(\frac{d^3y}{dx^3}\), which is of the third order. Its exponent is 2. Therefore,
    Order = 2, Degree = 2
Find the order and degree of:
\[\sqrt{\frac{d^2y}{dx^2}}+\frac{dy}{dx}=0\]
  1. Squaring both sides, we obtain:
    \[\begin{aligned}\sqrt{\frac{d^2y}{dx^2}}&=-\frac{dy}{dx}\\ \frac{d^2y}{dx^2}&=\left(\frac{dy}{dx}\right)^2\end{aligned}\]
  2. Rearranging,
    \[\frac{d^2y}{dx^2}-\left(\frac{dy}{dx}\right)^2=0\]
  3. The highest-order derivative is the second derivative, and its power is 1, therefore
    \[\boxed{\text{Order}=2,\quad \text{Degree}=1}\]
    📝 Algebraic transformations involving radicals must be handled carefully because squaring may introduce additional solutions. The transformed equation must be considered in the context of the original equation.
⚖️ Difference Between Order and Degree
Order and degree are fundamental characteristics of a differential equation. Although they are often confused, they represent entirely different properties.
Basis Order Degree
Meaning Order of the highest-order derivative. Power of the highest-order derivative.
Determination By identifying the highest derivative. By identifying its exponent after expressing the equation as a polynomial in derivatives.
Dependence Does not depend on the power of the derivative. Depends on the power of the highest-order derivative.
Existence Can be identified even when degree is undefined. Defined only when the equation is polynomial in its derivatives.
Example \(\left(\frac{d^3y}{dx^3}\right)^4=0\): Order 3. \(\left(\frac{d^3y}{dx^3}\right)^4=0\): Degree 4.
🔢 Important Formulae and Mathematical Notation
🌟 Significance and Applications of Differential Equations
Differential equations are not merely abstract mathematical expressions. They provide a systematic way of describing real-world phenomena involving rates of change.
  • Physics: They describe the motion of particles, oscillations, electrical circuits, radioactive decay and heat transfer.
  • Engineering: They are used in control systems, mechanical vibrations, structural analysis, signal processing and circuit design.
  • Biology: They help model population growth, bacterial multiplication and the spread of biological processes.
  • Chemistry: They are used to study reaction rates and changes in concentrations of reactants and products.
  • Economics: They help describe continuous growth, depreciation and dynamic economic models.
  • Environmental science: They are useful in studying pollutant dispersion, temperature variation and ecosystem dynamics.
🗒️ Inportance
  • Understand the precise definitions of differential equations, order and degree.
  • Practise identifying the order and degree of equations containing multiple derivatives.
  • Pay attention to equations involving radicals and fractional powers of derivatives.
  • Learn the distinction between ordinary and partial differential equations.
  • Show the intermediate algebraic steps when determining degree.
JEE Main and JEE Advanced
  • Questions may test conceptual understanding of order and degree.
  • Be prepared for equations involving higher powers of derivatives.
  • Practise identifying the degree after algebraic simplification.
  • Understand cases in which the degree is not defined.
  • Connect differential equations with differentiation, integration and mathematical modelling.
Medical Entrance Examination Aspirants

Differential equations are not included as a direct Mathematics topic in the NEET-UG examination syllabus. Nevertheless, their applications in population dynamics, radioactive decay, biological growth and physical sciences provide useful interdisciplinary mathematical background.

❌ Common Mistakes
  1. Confusing order with degree: Remember that order refers to the highest derivative, whereas degree refers to its power.
  2. Considering the highest power as the order: A third derivative raised to the fourth power still gives an equation of order 3.
  3. Ignoring lower-order derivatives: The degree is determined by the power of the highest-order derivative, not necessarily the largest exponent appearing anywhere in the equation.
  4. Determining degree without checking polynomial form: Degree is not defined if the equation cannot be expressed as a polynomial in its derivatives.
  5. Confusing ordinary and partial derivatives: The notation \(d\) represents ordinary differentiation, whereas \(\partial\) represents partial differentiation.
  6. Ignoring algebraic simplification: Radicals and fractions involving derivatives may need to be eliminated before identifying the degree.
📋 CBSE Case Study and HOTS-Based Questions

Case Study: A mathematical model describing the displacement of a vibrating mechanical system is represented by the following differential equation:

\[ \frac{d^3y}{dx^3} +4\left(\frac{d^2y}{dx^2}\right)^2 +3\frac{dy}{dx}+5y=0 \]

Here, \(y\) represents displacement and \(x\) represents time or another independent parameter.

Answer the following questions:

Question 1: What is the order of the given differential equation?

Answer: The highest-order derivative is \(\frac{d^3y}{dx^3}\). Therefore, the order is 3.

Question 2: What is the degree of the equation?

Answer: The highest-order derivative has power 1. Therefore, the degree is 1.

Question 3: If the third derivative is replaced by its square, what will be the degree?

Answer: The degree will become 2, provided the resulting equation remains polynomial in its derivatives.

Question 4: Will the order change if the second derivative is raised to the fifth power?

Answer: No. The order will remain 3 because the highest derivative is still the third derivative.

Question 5: If the third derivative is replaced by \(\sin\left(\frac{d^3y}{dx^3}\right)\), what happens to the degree?

Answer: The degree is not defined if the equation is no longer polynomial in its derivatives. The order remains 3.

⚡ Quick Revision
  • A differential equation contains an unknown function and one or more of its derivatives.
  • An ordinary differential equation involves only one independent variable.
  • A partial differential equation involves two or more independent variables.
  • The order is the order of the highest derivative present.
  • The degree is the power of the highest-order derivative after expressing the equation as a polynomial in derivatives.
  • The degree is not defined when the differential equation is not polynomial in its derivatives.
  • The power of a derivative does not change the order of a differential equation.
🗒️ Practice Questions

Determine the order and degree of each of the following differential equations wherever the degree is defined.

  1. \[ \frac{dy}{dx}+x^2y=0 \]
  2. \[ \frac{d^2y}{dx^2}+5\frac{dy}{dx}+6y=0 \]
  3. \[ \left(\frac{d^3y}{dx^3}\right)^4+ \left(\frac{dy}{dx}\right)^2=0 \]
  4. \[ \left(\frac{d^2y}{dx^2}\right)^3+ \left(\frac{d^3y}{dx^3}\right)^2=0 \]
  5. \[ \sqrt{\frac{d^3y}{dx^3}}+ \frac{dy}{dx}=0 \]
  6. \[ \sin\left(\frac{d^2y}{dx^2}\right)+y=0 \]

Answers:

Question Order Degree
111
221
334
432
531
62Not defined
📈

Example 1

❓ Question
Find the order and degree, if defined, of each of the following differential equations.
\[ \begin{aligned} (i)\quad &\frac{dy}{dx}-\cos x=0\\[8pt] (ii)\quad &xy\frac{d^2y}{dx^2} +x\left(\frac{dy}{dx}\right)^2 -y\frac{dy}{dx}=0\\[8pt] (iii)\quad &y'''+y^2+e^{y'}=0 \end{aligned} \]
💡 Concept
🧩 Solution
Given:
\[\frac{dy}{dx}-\cos x=0\]
Part (i)
Solution (i)
  1. Identify the highest-order derivative. The only derivative present in the given differential equation is:
    \[\frac{dy}{dx}\]
  2. It is a first-order derivative. Therefore,
    \[\boxed{\text{Order}=1}\]
  3. Determine the degree. The given equation is a polynomial equation in its derivative, and the highest-order derivative occurs with power 1. Therefore,
    \[\boxed{\text{Degree}=1}\]
  4. Hence,
    \[\boxed{\text{Order}=1,\quad \text{Degree}=1}\]
Given:
\[xy\frac{d^2y}{dx^2}+x\left(\frac{dy}{dx}\right)^2-y\frac{dy}{dx}=0\]
Part (ii)
Solution (ii)
  1. Identify the highest-order derivative. The derivatives appearing in the equation are:
    \[\frac{dy}{dx}\quad\text{and}\quad\frac{d^2y}{dx^2}\]
  2. The highest-order derivative is the second derivative, \(\frac{d^2y}{dx^2}\). Hence,
    \[\boxed{\text{Order}=2}\]
  3. Determine the degree. The equation is already a polynomial in its derivatives. The highest-order derivative occurs in the first power, as shown below:
    \[xy\left(\frac{d^2y}{dx^2}\right)^1+x\left(\frac{dy}{dx}\right)^2-y\frac{dy}{dx}=0\]
  4. Thus, the power of the highest-order derivative is 1. Therefore,
    \[\boxed{\text{Degree}=1}\]
  5. Hence,
    \[\boxed{\text{Order}=2,\quad \text{Degree}=1}\]
Given:
\[y'''+y^2+e^{y'}=0\]
Part (iii)
Solution (iii)
  1. Here, the prime notation represents differentiation with respect to the independent variable:
    \[y'=\frac{dy}{dx},\qquad dy'''=\frac{d^3y}{dx^3}\]
  2. Identify the highest-order derivative The derivatives appearing in the equation are \(y'\) and \(y'''\). The highest-order derivative is \(y'''\), which is the third-order derivative. Therefore,
    \[\boxed{\text{Order}=3}\]
  3. Determine the degree. The given differential equation contains the term \(e^{y'}\), in which the first-order derivative occurs in the exponent of an exponential function. Consequently, the equation is not a polynomial equation in its derivatives. Hence, its degree is not defined.
    \[\boxed{\text{Degree is not defined}}\]
  4. Hence,
    \[\boxed{\text{Order}=3,\quad\text{Degree is not defined}}\]
Equation Order Degree
(i) 1 1
(ii) 2 1
(iii) 3 Not defined
⚡ Exam Tip
🔑 Key Takeaway
📈

GENERAL AND PARTICULAR SOLUTIONS OF A DIFFERENTIAL EQUATION

📖 Introduction
📘 Meaning of a Solution of a Differential Equation
🗒️ Solution Curve Or Integral Curve

The graph of a solution \(y=\phi(x)\) of a differential equation is called a solution curve or an integral curve of that differential equation.

When a differential equation has arbitrary constants in its general solution, different choices of these constants may produce different solution curves.

🗒️ General Solution Of A Differential Equation

Definition: A solution of a differential equation containing as many independent arbitrary constants as the order of the differential equation is called its general solution or primitive.

For an ordinary differential equation of order \(n\), the general solution ordinarily contains \(n\) independent arbitrary constants.

Thus,

\[ \boxed{ \text{Number of arbitrary constants in the general solution} =\text{Order of the differential equation} } \]

This is the standard rule for ordinary differential equations under the usual conditions considered at this level.

📘 Particular Solution of a Differential Equation
✏️ Example
Consider the following second-order differential equation:
\[\frac{d^2y}{dx^2}=0\]
We shall obtain its general solution and then construct a particular solution by assigning specific values to the arbitrary constants.
Step 1: Obtain the General Solution
The given differential equation is:
\[\frac{d^2y}{dx^2}=0\]
Integrating both sides with respect to \(x\), we get:
\[\begin{aligned}\frac{dy}{dx}&=\int 0\,dx\\[5pt] &=C_1\end{aligned}\]
where \(C_1\) is an arbitrary constant of integration.

Integrating once again with respect to \(x\),
\[\begin{aligned}y&=\int C_1\,dx\\ &=C_1x+C_2\end{aligned}\]
where \(C_2\) is another arbitrary constant.

Therefore, the general solution is:
\[\boxed{y=C_1x+C_2}\]
Since the given differential equation is of the second order, its general solution contains two independent arbitrary constants, \(C_1\) and \(C_2\).
Step 2: Verify the General Solution
Consider:
\[y=C_1x+C_2\]
Differentiating with respect to \(x\),
\[\frac{dy}{dx}=C_1\]
Differentiating again,
\[\frac{d^2y}{dx^2}=0\]
Substituting into the original differential equation:
\[\text{LHS}=0=\text{RHS}\]
Hence, \(y=C_1x+C_2\) satisfies the given differential equation and is its general solution.
Step 3: Obtain a Particular Solution
Assign the following specific values to the arbitrary constants:
\[C_1=2,\quad C_2=3\]
Substituting these values in the general solution,
\[\begin{aligned}y&=C_1x+C_2\\ &=2x+3\end{aligned}\]
Therefore, the particular solution is:
\[\boxed{y=2x+3}\]
Step 4: Verify the Particular Solution
Given:
\[y=2x+3\]
Differentiating once,
\[\frac{dy}{dx}=2\]
Differentiating again,
\[\frac{d^2y}{dx^2}=0\]
Thus, the particular solution satisfies the original differential equation.
\[\boxed{\text{LHS}=\text{RHS}=0}\]
🔍 Geometrical Interpretation of General and Particular Solutions
⚖️ General Solution and Particular Solution: Comparison
Basis General Solution Particular Solution
Meaning Solution containing arbitrary constants. Solution obtained by assigning specific values to arbitrary constants.
Arbitrary constants Contains arbitrary constants. Contains no arbitrary constants introduced through integration.
Number of constants Ordinarily equal to the order of the differential equation for an nth-order ODE. Zero arbitrary constants after all constants have been specified.
Representation Represents a family of solution curves. Represents a specific solution curve.
Example \(y=C_1x+C_2\) \(y=2x+3\)
🗒️ Role Of Initial And Boundary Conditions

In many practical problems, the general solution alone is insufficient because we need to identify the particular solution that describes the actual physical situation. This is achieved by using initial conditions or boundary conditions.

Initial condition: A condition specifying the value of the dependent variable or its derivative at a particular value of the independent variable is called an initial condition.

For example:

\[ y(0)=3,\quad y'(0)=2 \]

Consider again the general solution:

\[ y=C_1x+C_2 \]

Using the first initial condition,

\[ y(0)=C_2=3 \]

Using the second initial condition,

\[ y'(0)=C_1=2 \]

Therefore, the particular solution is:

\[ \boxed{y=2x+3} \]

Boundary condition: A condition specifying the value of a function or its derivatives at one or more boundary points of a domain is called a boundary condition.

Initial and boundary conditions are important in engineering and mathematical modelling because they help select the solution that satisfies the actual requirements of a given problem.

🔢 Important Formulae and Results
⚡ Exam Tip
❌ Common Mistakes
  1. Using an incorrect general solution: Always differentiate the proposed general solution and substitute it into the original differential equation.
  2. Forgetting integration constants: Every indefinite integration introduces an arbitrary constant.
  3. Incorrectly counting constants: The usual general solution of an nth-order ODE contains n independent arbitrary constants.
  4. Confusing a general solution with a particular solution: The former contains arbitrary constants, whereas the latter has their values specified.
  5. Ignoring initial conditions: A particular solution must satisfy both the differential equation and the prescribed conditions.
📋 CBSE Case Study and HOTS-Based Questions

Case Study: The displacement \(y\) of a particle moving along a straight line is represented by the differential equation:

\[ \frac{d^2y}{dx^2}=0 \]

Its general solution is:

\[ y=C_1x+C_2 \]

Suppose the particle has an initial displacement of 4 units and an initial rate of change of displacement equal to 3 units.

Question 1: How many arbitrary constants occur in the general solution?

Answer: Two, because the differential equation is of the second order.

Question 2: Determine the particular solution if \(y(0)=4\) and \(y'(0)=3\).

Solution:

\[ \begin{aligned} y(0)&=C_2=4\\ y'(x)&=C_1\\ y'(0)&=C_1=3 \end{aligned} \]

Hence,

\[ \boxed{y=3x+4} \]

Question 3: What is the geometrical interpretation of the general solution?

Answer: It represents a family of straight lines.

Question 4: What happens when specific values are assigned to both arbitrary constants?

Answer: A particular straight-line solution is obtained.

Question 5: Can two different particular solutions satisfy the same differential equation?

Answer: Yes. Different values of the arbitrary constants generate different particular solutions, all of which satisfy the same differential equation.

⚡ Quick Revision
  • A solution of a differential equation is a function satisfying the given equation.
  • The graph of a solution is called an integral curve or solution curve.
  • The general solution contains arbitrary constants.
  • The number of independent arbitrary constants in the general solution of an nth-order ODE is ordinarily n.
  • A particular solution is obtained by assigning specific values to the arbitrary constants.
  • Initial and boundary conditions help determine particular solutions.
  • The general solution of \(\frac{d^2y}{dx^2}=0\) is \(y=C_1x+C_2\).
📈

Example 2

❓ Question
Verify that the function
\[y=e^{-3x}\]
is a solution of the differential equation:
\[\frac{d^2y}{dx^2}+\frac{dy}{dx}-6y=0\]
💡 Concept
🧩 Solution
Given:
\[y=e^{-3x}\]
Part (a)
  1. Find the first derivative Differentiating with respect to \(x\), using the chain rule,
    \[\begin{aligned}\frac{dy}{dx}&=\frac{d}{dx}(e^{-3x})\\ &=e^{-3x}\cdot(-3)\end{aligned}\]
  2. Therefore,
    \[\boxed{\frac{dy}{dx}=-3e^{-3x}}\]
  3. Find the second derivative Differentiating the first derivative again with respect to \(x\),
    \[\begin{aligned}\frac{d^2y}{dx^2}&=\frac{d}{dx}(-3e^{-3x})\\ &=-3e^{-3x}(-3)\\&=9e^{-3x}\end{aligned}\]
  4. Thus,
    \[\boxed{\frac{d^2y}{dx^2}=9e^{-3x}}\]
  5. Substitute the values in the given differential equation. The given differential equation is:
    \[\frac{d^2y}{dx^2}+\frac{dy}{dx}-6y=0\]
  6. Substituting the values of \(y\), \(\frac{dy}{dx}\) and \(\frac{d^2y}{dx^2}\), we obtain:
    \[\begin{aligned}\text{LHS}&=9e^{-3x}-3e^{-3x}-6e^{-3x}\\ &=(9-3-6)e^{-3x}\\ &=0\cdot e^{-3x}\\ &=0\end{aligned}\]
  7. Since the right-hand side is also zero,
    \[\text{LHS}=\text{RHS}\]
    \[0=0\]
  8. Hence,
    \[\boxed{y=e^{-3x}}\]
    📝 is verified as a solution of the given differential equation.
⚡ Exam Tip
❌ Common Mistakes

While differentiating \(e^{-3x}\), the derivative of the exponent \(-3x\) must also be multiplied using the chain rule:

\[ \frac{d}{dx}(e^{-3x})=-3e^{-3x} \]

It is incorrect to write \(-3e^{-3}x\). The exponent \(-3x\) must remain intact.

🔑 Key Takeaway
📈

Example 3

❓ Question
Verify that the function \(y=a\cos x+b\sin x\) where \(a,b\in\mathbb{R}\), is a solution of the differential equation:
\[\frac{d^2y}{dx^2}+y=0\]
💡 Concept
🧩 Solution
Given:
\[y=a\cos x+b\sin x\]
where \(a\) and \(b\) are arbitrary real constants.
Part (a)
  1. Find the first derivative Differentiating both sides with respect to \(x\),
    \[\begin{aligned}\frac{dy}{dx}&=\frac{d}{dx}(a\cos x+b\sin x)\\ &=-a\sin x+b\cos x\end{aligned}\]
  2. Therefore,
    \[\boxed{\frac{dy}{dx}=-a\sin x+b\cos x}\]
  3. Find the second derivative. Differentiating again with respect to \(x\),
    \[\begin{aligned}\frac{d^2y}{dx^2}&=\frac{d}{dx}(-a\sin x+b\cos x)\\[5pt] &=-a\cos x-b\sin x\end{aligned}\]
  4. Thus,
    \[\boxed{\frac{d^2y}{dx^2}=-a\cos x-b\sin x}\]
  5. Substitute in the given differential equation. The given differential equation is:
    \[\frac{d^2y}{dx^2}+y=0\]
  6. Substituting the values of \(y\) and its second derivative,
    \[\begin{aligned}\text{LHS}&=(-a\cos x-b\sin x)\\ &\quad +(a\cos x+b\sin x)\\ &=-a\cos x+a\cos x\\ &\quad-b\sin x+b\sin x\\ &=0\end{aligned}\]
  7. Therefore,
    \[\text{LHS}=0=\text{RHS}\]
  8. Hence,
    \[\boxed{y=a\cos x+b\sin x}\]
    📝 is verified as a solution of the given differential equation for all real values of \(a\) and \(b\).
⚡ Exam Tip
❌ Common Mistakes

While calculating the second derivative, students sometimes forget the negative sign arising from differentiating \(\cos x\).

The correct differentiation is:

\[ \begin{aligned} \frac{dy}{dx}&=-a\sin x+b\cos x\\ \frac{d^2y}{dx^2}&=-a\cos x-b\sin x \end{aligned} \]

🔑 Key Takeaway
📈

Methods of Solving First-Order, First-Degree Differential Equations

📖 Differential Equations with Variables Separable
📌 General Form of a First-Order, First-Degree Differential Equation
📘 Definition of a Differential Equation with Variables Separable
🧰 Method of Separation of Variables
Consider the differential equation:
\[\frac{dy}{dx}=g(x)h(y)\]
Assuming \(h(y)\ne 0\), divide both sides by \(h(y)\):
\[\frac{1}{h(y)}\frac{dy}{dx}=g(x)\]
Multiplying both sides by \(dx\), we obtain:
\[\boxed{\frac{1}{h(y)}\,dy=g(x)\,dx}\tag{3}\]
This process is called separation of variables because the terms involving \(y\) and \(dy\) are now on the left-hand side, while the terms involving \(x\) and \(dx\) are on the right-hand side.

Integrating both sides of equation (3), we get:
\[\int\frac{1}{h(y)}\,dy=\int g(x)\,dx\tag{4}\]
Let \(H(y)\) be an antiderivative of \(\frac{1}{h(y)}\), and let \(G(x)\) be an antiderivative of \(g(x)\). Thus,
\[H'(y)=\frac{1}{h(y)}\]
and
\[G'(x)=g(x)\]
Therefore, equation (4) gives:
\[\boxed{H(y)=G(x)+C}\]
where \(C\) is an arbitrary constant of integration.

This equation represents the solution of the given differential equation in implicit form. If possible, it may be further simplified to express \(y\) explicitly as a function of \(x\).
🔢 General Formula
🗒️ Step-by-Step Procedure
  1. Identify the variables: Check whether the differential equation can be expressed as \(\frac{dy}{dx}=g(x)h(y)\).

  2. Separate the variables: Bring all terms involving \(y\) and \(dy\) to one side and all terms involving \(x\) and \(dx\) to the other side.

  3. Integrate both sides: Evaluate the two integrals independently.

  4. Include the integration constant: Introduce an arbitrary constant \(C\).

  5. Simplify the result: Express the solution in implicit or explicit form, as appropriate.

  6. Check excluded cases: If division by \(h(y)\) was performed, examine the values satisfying \(h(y)=0\) separately.

✏️ Example
1
Question
Solve \(\frac{dy}{dx}=xy\).
Separation of variables followed by integration.
Given:
\[\frac{dy}{dx}=xy\]
Part (a)
  1. Separate the variables Dividing both sides by \(y\), assuming \(y\ne 0\), we get:
    \[\frac{dy}{y}=x\,dx\]
  2. Integrate both sides.
    \[\begin{aligned}\int\frac{dy}{y}&=\int x\,dx\\ \log|y|&=\frac{x^2}{2}+C\end{aligned}\]
  3. Simplify the result
    \[\begin{aligned}\log|y|&=\frac{x^2}{2}+C\\ |y|&=e^{\frac{x^2}{2}+C}\\ |y|&=e^C e^{\frac{x^2}{2}}\end{aligned}\]
  4. Since \(e^C\) is a positive constant, absorbing the sign into an arbitrary nonzero constant \(A\), we obtain:
    \[\boxed{y=Ae^{\frac{x^2}{2}}}\]
    📝 The solution \(y=0\), which was excluded when dividing by \(y\), also satisfies the original equation. It is included by allowing \(A=0\).
Final Answer:
\[\boxed{y=Ae^{\frac{x^2}{2}},\quad A\in\mathbb R}\]
2
Question
Solve \(\frac{dy}{dx}=\frac{x}{y}\).
Separating the dependent and independent variables.
Given:
\[\frac{dy}{dx}=\frac{x}{y}\]
  1. Multiplying both sides by \(y\,dx\), we get:
    \[y\,dy=x\,dx\]
  2. Integrate both sides
    \[\begin{aligned}\int y\,dy&=\int x\,dx\\ \frac{y^2}{2}&=\frac{x^2}{2}+C\end{aligned}\]
  3. Simplify Multiplying both sides by 2 and absorbing the constant into a new arbitrary constant,
    \[\boxed{y^2-x^2=C}\]
Final Answer:
\[\boxed{y^2-x^2=C}\]
3
Example
Solve \(\frac{dy}{dx}=(1+x^2)(1+y^2)\).
Separation of variables using standard integration formulas.
Given:
\[\frac{dy}{dx}=(1+x^2)(1+y^2)\]
  1. Separate the variables Dividing both sides by \(1+y^2\) and multiplying by \(dx\),
    \[\frac{dy}{1+y^2}=(1+x^2)\,dx\]
  2. Integrate both sides.
    \[\begin{aligned}\int\frac{dy}{1+y^2}&=\int(1+x^2)\,dx\\[5pt] \tan^{-1}y&=x+\frac{x^3}{3}+C\end{aligned}\]
Final Answer:
\[\boxed{\tan^{-1}y=x+\frac{x^3}{3}+C}\]
4
Question
Solve \(\frac{dy}{dx}=e^x(1+y^2)\).
Given:
\[\frac{dy}{dx}=e^x(1+y^2)\]
  1. Separating the variables,
    \[\frac{dy}{1+y^2}=e^x\,dx\]
  2. Integrating both sides,
    \[\begin{aligned}\int\frac{dy}{1+y^2}&=\int e^x\,dx\\ \tan^{-1}y&=e^x+C\end{aligned}\]
Final Answer:
\[\boxed{\tan^{-1}y=e^x+C}\]
🗒️ Special Case: When \(h(y)=0\)

While separating variables, we divide the differential equation by \(h(y)\). Therefore, values of \(y\) for which \(h(y)=0\) must be checked separately.

Consider:

\[ \frac{dy}{dx}=y(1-y) \]

Separating the variables gives:

\[ \frac{dy}{y(1-y)}=dx \]

This division assumes \(y\ne 0\) and \(y\ne 1\). However, the original equation also has the constant solutions:

\[ \boxed{y=0\quad\text{and}\quad y=1} \]

These solutions are obtained directly by substituting the constant values into the original differential equation.

This illustrates why excluded values should always be checked after division.

🔢 Formula
🗒️ Important Points To Remember
  • A separable differential equation can be expressed as \(\frac{dy}{dx}=g(x)h(y)\).
  • All terms involving \(y\) and \(dy\) must be placed on one side, and all terms involving \(x\) and \(dx\) on the other.
  • Integrate both sides with respect to their respective variables.
  • Use the absolute value in \(\log|y|\) when integrating \(\frac{1}{y}\).
  • The arbitrary constant of integration must be included in the final solution.
  • Check values excluded by division before finalising the complete solution.
  • The final answer need not always be expressed explicitly as \(y=f(x)\); an implicit relation between \(x\) and \(y\) is also a valid solution.
❌ Common Mistakes
Common Mistake Correct Approach
Integrating both sides with respect to the same variable. Integrate the left side with respect to \(y\) and the right side with respect to \(x\).
Writing \(\int g(x)\,dy\) after separating variables. Write \(\int g(x)\,dx\).
Forgetting the arbitrary constant. Include \(+C\) after integration.
Writing \(\log y\) without considering the sign of \(y\). Use \(\log|y|\) for real-valued integration over intervals where \(y\ne0\).
Dividing by a factor that may be zero without checking. Check the excluded constant solutions in the original equation.
Making errors while simplifying the integrated expression. Apply standard integration formulae carefully and verify the result by differentiation.
🗒️ Examination Oriented Practice Questions

Question 1. Solve:

\[ \frac{dy}{dx}=3xy \]

Answer:

\[ \boxed{y=Ce^{\frac{3x^2}{2}}} \]

Question 2. Solve:

\[ \frac{dy}{dx}=\frac{1+x^2}{1+y^2} \]

Answer:

\[ \boxed{y+\frac{y^3}{3}=x+\frac{x^3}{3}+C} \]

Question 3. Solve:

\[ \frac{dy}{dx}=e^x\sin y \]

Answer:

\[ \boxed{\log\left|\tan\frac{y}{2}\right|=e^x+C} \]

Question 4. Solve:

\[ \frac{dy}{dx}=\frac{x}{1+y^2} \]

Answer:

\[ \boxed{y+\frac{y^3}{3}=\frac{x^2}{2}+C} \]

⚡ Quick Revision

A first-order, first-degree differential equation is separable if it can be written as:

\[ \frac{dy}{dx}=g(x)h(y) \]

Separating the variables:

\[ \frac{dy}{h(y)}=g(x)\,dx \]

Integrating both sides:

\[ \int\frac{dy}{h(y)}=\int g(x)\,dx+C \]

Hence, the general solution is:

\[ \boxed{H(y)=G(x)+C} \]

where \(H(y)\) and \(G(x)\) are antiderivatives of \(\frac{1}{h(y)}\) and \(g(x)\), respectively, on suitable intervals.

🗒️ Learning Outcomes

After studying this topic, students should be able to:

  • Recognise first-order, first-degree differential equations that are separable.
  • Express a differential equation as a product of functions of \(x\) and \(y\).
  • Separate dependent and independent variables correctly.
  • Integrate both sides using standard integration formulae.
  • Obtain general solutions in implicit or explicit form.
  • Identify and check constant solutions that may be excluded during separation.
📈

Example 4

❓ Question
Find the general solution of the differential equation:
\[\frac{dy}{dx}=\frac{x+1}{2-y},\qquad y\ne 2\]
💡 Concept
🧩 Solution
Given:
\[\frac{dy}{dx}=\frac{x+1}{2-y}\]
  1. Cross-multiplying, we get:
    \[(2-y)\,dy=(x+1)\,dx\]
    📝 Thus, the variables are separated
  2. Integrate both sides Integrating with respect to the respective variables,
    \[\int(2-y)\,dy=\int(x+1)\,dx\]
  3. Using the standard integration formulae,
    \[\begin{aligned}2y-\frac{y^2}{2}&=\frac{x^2}{2}+x+C_1\end{aligned}\]
  4. Simplify the equation Multiplying both sides by 2,
    \[4y-y^2=x^2+2x+2C_1\]
  5. Rearranging all terms to the left-hand side,
    \[x^2+y^2+2x-4y+2C_1=0\]
  6. Since \(2C_1\) is also an arbitrary constant, we can replace it with another arbitrary constant \(C\). Therefore,
    \[\boxed{x^2+y^2+2x-4y+C=0}\]
  7. <strong>Hence, the general solution of the given differential equation is:</strong>
    \[\boxed{x^2+y^2+2x-4y+C=0}\]
📈

Example 5

❓ Question
Find the general solution of the differential equation:
\[\frac{dy}{dx}=\frac{1+y^2}{1+x^2}\]
💡 Concept
🧩 Solution
Given:
\[\frac{dy}{dx}=\frac{1+y^2}{1+x^2}\]
  1. Separate the variables Rearranging the equation, we obtain:
    \[\boxed{\frac{dy}{1+y^2}=\frac{dx}{1+x^2}}\]
    📝 Now, all terms involving \(y\) are on the left-hand side, and all terms involving \(x\) are on the right-hand side
  2. Integrate both sides. Integrating with respect to the respective variables,
    \[\begin{aligned}\int\frac{dy}{1+y^2}&=\int\frac{dx}{1+x^2}\\ \tan^{-1}y&=\tan^{-1}x+C\end{aligned}\]
  3. <strong>Hence, the general solution of the given differential equation is:</strong>
    \[\boxed{\tan^{-1}y=\tan^{-1}x+C}\]
❌ Common Mistakes
  • Interchanging \(x\) and \(y\) while separating the variables.
  • Using \(\tan^{-1}x\) as the integral of \(\frac{1}{1+y^2}\), instead of \(\tan^{-1}y\).
  • Forgetting the arbitrary constant of integration.
  • Applying the tangent addition formula with an incorrect sign in the denominator.
📈

Example 6

❓ Question
Find the particular solution of the differential equation
\[\frac{dy}{dx}=-4xy^2\]
💡 Concept
🧩 Solution
Given:
\[\frac{dy}{dx}=-4xy^2\]
  1. Separate the variables Dividing both sides by \(y^2\) and multiplying by \(dx\),
    \[\boxed{\frac{dy}{y^2}=-4x\,dx}\]
  2. Integrate both sides. Integrating with respect to the respective variables,
    \[\begin{aligned}\int\frac{dy}{y^2}&=-4\int x\,dx\\ \int y^{-2}\,dy&=-4\cdot\frac{x^2}{2}+C_1\\ -\frac{1}{y}&=-2x^2+C_1\end{aligned}\]
  3. Multiplying both sides by \(-1\),
    \[\frac{1}{y}=2x^2-C_1\]
  4. Since \(-C_1\) is also an arbitrary constant, replacing it with \(C\), we get:
    \[\boxed{\frac{1}{y}=2x^2+C}\]
    📝 This is the general solution of the differential equation for \(y\ne0\).
  5. Apply the given initial condition We are given:
    \[y=1\quad\text{when}\quad x=0\]
  6. Substituting these values in the general solution,
    \[\begin{aligned}\frac{1}{y}&=2x^2+C\\ \frac{1}{1}&=2(0)^2+C\\ 1&=C\end{aligned}\]
  7. Therefore,
    \[\boxed{C=1}\]
  8. Obtain the particular solution Substituting \(C=1\) into the general solution,
    \[\begin{aligned}\frac{1}{y}&=2x^2+1\\[5pt] y&=\frac{1}{2x^2+1}\end{aligned}\]
  9. <strong>Hence, the required particular solution is:</strong>
    \[\boxed{y=\frac{1}{1+2x^2}}\]
❌ Common Mistakes
  • Forgetting the negative sign while integrating \(y^{-2}\).
  • Making a sign error while rearranging the arbitrary constant.
  • Substituting the initial condition before obtaining the general solution.
  • Confusing the general solution with the particular solution.
  • Not verifying that the final answer satisfies the given initial condition.
📈

Example 7

❓ Question
Find the equation of the curve passing through the point \((1,1)\), whose differential equation is:
\[x\,dy=(2x^2+1)\,dx\]
💡 Concept
🧩 Solution
Given:
\[x\,dy=(2x^2+1)\,dx\]
  1. Separate the variables Dividing both sides by \(x\), where \(x\ne0\), we get:
    \[\begin{aligned}dy&=\frac{2x^2+1}{x}\,dx\\[5pt] dy&=\left(2x+\frac{1}{x}\right)dx\end{aligned}\]
  2. Integrate both sides Integrating with respect to the respective variables,
    \[\begin{aligned}\int dy&=\int\left(2x+\frac{1}{x}\right)dx\\[5pt] y&=2\int x\,dx+\int\frac{1}{x}\,dx\\[5pt] y&=2\cdot\frac{x^2}{2}+\log|x|+C\\[5pt] y&=x^2+\log|x|+C\end{aligned}\]
  3. Thus, the general solution is:
    \[\boxed{y=x^2+\log|x|+C}\]
  4. Apply the given condition The curve passes through the point \((1,1)\). Therefore,
    \[x=1,\quad y=1\]
  5. Substituting these values into the general solution,
    \[\begin{aligned}1&=1^2+\log|1|+C\\ 1&=1+0+C\\ C&=0\end{aligned}\]
    📝 Hence, the arbitrary constant is zero.
  6. Obtain the required equation of the curve. Substituting \(C=0\) into the general solution,
    \[\boxed{y=x^2+\log|x|}\]
  7. Since the curve passes through \(x=1\), we consider the branch \(x>0\). Thus, the required equation can also be written as:
    \[\boxed{y=x^2+\log x,\qquad x>0}\]
  8. interpretation

    The equation

    \[ y=x^2+\log x,\qquad x>0 \]

    represents the required curve. It is defined only for positive values of \(x\) because of the logarithmic term.

    The given point \((1,1)\) fixes the arbitrary constant and selects one particular curve from the family represented by the general solution.

❌ Common Mistakes
  • Forgetting to divide every term on the right-hand side by \(x\).
  • Making an error while simplifying \(\frac{2x^2+1}{x}\).
  • Writing \(\log x\) without considering the domain of the logarithmic function.
  • Substituting the given point incorrectly while calculating the constant.
  • Confusing the general solution with the particular equation of the required curve.
📈

Example 8

❓ Question
Find the equation of a curve passing through the point \((-2,3)\), given that the slope of the tangent to the curve at any point \((x,y)\) is:
\[\frac{2x}{y^2}\]
💡 Concept
🧩 Solution
  1. Form the differential equation. We know that the slope of the tangent to a curve at any point \((x,y)\) is:
    \[\frac{dy}{dx}\]
  2. According to the question,
    \[\boxed{\frac{dy}{dx}=\frac{2x}{y^2}}\]
  3. Separate the variables Multiplying both sides by \(y^2\,dx\), we obtain:
    \[y^2\,dy=2x\,dx\]
    📝 Thus, the variables are separated.
  4. Integrate both sides Integrating with respect to the respective variables,
    \[\begin{aligned}\int y^2\,dy&=\int 2x\,dx\\[5pt] \frac{y^3}{3}&=2\cdot\frac{x^2}{2}+C\\[5pt] \frac{y^3}{3}&=x^2+C\end{aligned}\]
  5. Multiplying both sides by 3,
    \[y^3=3x^2+3C\]
  6. Since \(3C\) is also an arbitrary constant, replacing it with a new arbitrary constant \(K\), we get:
    \[\boxed{y^3=3x^2+K}\]
    📝 This is the general solution
  7. Apply the given condition The required curve passes through the point \((-2,3)\). Therefore,
    \[x=-2,\quad y=3\]
  8. Substituting these values into the general solution,
    \[\begin{aligned}3^3&=3(-2)^2+K\\ 27&=3(4)+K\\ 27&=12+K\\ K&=27-12\\ K&=15\end{aligned}\]
  9. Therefore, the arbitrary constant is:
    \[\boxed{K=15}\]
  10. Obtain the particular solution Substituting \(K=15\) into the general solution,
    \[\boxed{y^3=3x^2+15}\]
  11. Hence, the required equation of the curve is:
    \[\boxed{y^3=3x^2+15}\]
🔍 Geometrical Interpretation
❌ Common Mistakes
  • Writing the slope of the tangent as \(\frac{dx}{dy}\) instead of \(\frac{dy}{dx}\).
  • Separating the variables incorrectly.
  • Forgetting the arbitrary constant during integration.
  • Making an error while substituting the negative value \(x=-2\).
  • Confusing the general solution with the particular equation of the required curve.
📈

Example 9

❓ Question
In a bank, the principal increases continuously at the rate of 5% per year. In how many years will a principal of ₹1000 double itself?
💡 Concept
🧩 Solution
  1. Define the variables Let \(P\) be the principal at any time \(t\) years.
    According to the question:
    • Initial principal = ₹1000
    • Continuous annual growth rate = 5%
    • Required principal = ₹2000
  2. Form the differential equation Since the principal increases continuously at the rate of 5% per year, its rate of increase is proportional to the principal at that instant. Therefore,
    \[\begin{aligned}\frac{dP}{dt}&=\frac{5}{100}P\\[5pt] \frac{dP}{dt}&=\frac{P}{20}\end{aligned}\]
  3. Separate the variables Rearranging,
    \[\boxed{\frac{dP}{P}=\frac{1}{20}\,dt}\]
  4. Integrate both sides Integrating with respect to the respective variables,
    \[\begin{aligned}\int\frac{dP}{P}&=\frac{1}{20}\int dt\\[5pt] \log|P|&=\frac{t}{20}+C_1\end{aligned}\]
  5. Since the principal is positive, we can write:
    \[\log P=\frac{t}{20}+C_1\]
  6. Taking exponentials on both sides,
    \[\begin{aligned}P&=e^{\frac{t}{20}+C_1}\\[5pt] P&=e^{C_1}e^{\frac{t}{20}}\end{aligned}\]
  7. Replacing \(e^{C_1}\) by a positive arbitrary constant \(C\), we obtain:
    \[\boxed{P=Ce^{\frac{t}{20}}}\]
    📝 This is the general solution.
  8. Apply the initial condition Initially, the principal is ₹1000. Therefore, when \(t=0\), \(P=1000\). Substituting these values,
    \[\begin{aligned}1000&=Ce^{\frac{0}{20}}\\[5pt] 1000&=C(1)\\[5pt] C&=1000\end{aligned}\]
  9. Thus, the principal at any time \(t\) is:
    \[\boxed{P=1000e^{\frac{t}{20}}}\]
  10. Calculate the doubling time Let \(t\) be the time required for the principal to double. When the principal doubles,
    \[P=2\times1000=2000\]
  11. Substituting this value into the equation,
    \[\begin{aligned}2000&=1000e^{\frac{t}{20}}\\[5pt] 2&=e^{\frac{t}{20}}\end{aligned}\]
  12. Taking natural logarithms on both sides,
    \[\begin{aligned}\log 2&=\frac{t}{20}\\[5pt] t&=20\log 2\end{aligned}\]
  13. Using \(\log 2\approx0.6931\),
    \[\begin{aligned}t&=20(0.6931)\\ t&\approx13.862\end{aligned}\]
  14. <strong>Hence, the principal will double in approximately:</strong>
    \[\boxed{13.86\text{ years}}\]
Final Answer
The time required for ₹1000 to become ₹2000 under continuous growth at 5% per year is:
\[\boxed{t=20\log 2\approx13.86\text{ years}}\]
❌ Common Mistakes
  • Using 5 instead of 0.05 as the growth rate in the differential equation.
  • Writing \(\int\frac{dt}{P}\) instead of \(\int\frac{dP}{P}\).
  • Forgetting to apply the initial condition \(P=1000\) at \(t=0\).
  • Using the simple-interest formula instead of the continuous-growth model.
  • Confusing the natural logarithm with the common logarithm. Here, \(\log\) denotes the natural logarithm.
📈

Homogeneous Differential Equations

📘 Definition
✏️ Example
  1. Replacing \(x\) by \(\lambda x\) and \(y\) by \(\lambda y\),
    \[\begin{aligned}F(\lambda x,\lambda y)&=(\lambda x)^2+(\lambda x)(\lambda y)+(\lambda y)^2\\ &=\lambda^2x^2+\lambda^2xy+\lambda^2y^2\\ &=\lambda^2(x^2+xy+y^2)\\ &=\lambda^2F(x,y)\end{aligned}\]
  2. Therefore, \(F(x,y)\) is a homogeneous function of degree 2.
1
Question
Consider the function
\[F(x,y)=\frac{x+y}{x-y}\]
Replacing \(x\) and \(y\) by \(\lambda x\) and \(\lambda y\),
\[\begin{aligned}F(\lambda x,\lambda y)&=\frac{\lambda x+\lambda y}{\lambda x-\lambda y}\\[5pt] &=\frac{\lambda(x+y)}{\lambda(x-y)}\\[5pt] &=\frac{x+y}{x-y}\\[5pt] &=F(x,y)\end{aligned}\]
Therefore, \(F(x,y)\) is a homogeneous function of degree 0, wherever the denominator is nonzero.
📘 Homogeneous Differential Equation
🧰 Method of Solving Homogeneous Differential Equations

To solve a homogeneous differential equation of the form (1), we use the substitution:

\[ \boxed{y=vx} \tag{2} \]

where \(v\) is a new dependent variable and is a function of \(x\).

Step 1: Differentiate the substitution.

Differentiating equation (2) with respect to \(x\), using the product rule, we get:

\[ \boxed{\frac{dy}{dx}=v+x\frac{dv}{dx}} \tag{3} \]

Step 2: Substitute in the given differential equation.

Substituting \(y=vx\) and \(\frac{dy}{dx}=v+x\frac{dv}{dx}\) in equation (1), we obtain:

\[ \begin{aligned} v+x\frac{dv}{dx}&=g(v)\\[5pt] x\frac{dv}{dx}&=g(v)-v \end{aligned} \]

Therefore,

\[ \boxed{x\frac{dv}{dx}=g(v)-v} \tag{4} \]

Step 3: Separate the variables.

Rearranging equation (4), we get:

\[ \boxed{\frac{dv}{g(v)-v}=\frac{dx}{x}} \tag{5} \]

This equation is now a differential equation with separable variables.

Step 4: Integrate both sides.

Integrating equation (5),

\[ \begin{aligned} \int\frac{dv}{g(v)-v} &=\int\frac{dx}{x}\\[5pt] \int\frac{dv}{g(v)-v} &=\log|x|+C \end{aligned} \]

Step 5: Substitute the original variable.

Since \(v=\frac{y}{x}\), replacing \(v\) by \(\frac{y}{x}\), we obtain:

\[ \boxed{ \int\frac{d\left(\frac{y}{x}\right)} {g\left(\frac{y}{x}\right)-\frac{y}{x}} =\log|x|+C } \]

This relation gives the general solution of the homogeneous differential equation, subject to the usual domain restrictions and any solutions excluded during separation.

🗒️ Standard Procedure At A Glance
  1. Express the given differential equation in the form \(\frac{dy}{dx}=g\left(\frac{y}{x}\right)\).
  2. Put \(y=vx\).
  3. Differentiate to obtain \(\frac{dy}{dx}=v+x\frac{dv}{dx}\).
  4. Substitute in the given equation and simplify.
  5. Separate the variables \(v\) and \(x\).
  6. Integrate both sides.
  7. Replace \(v\) by \(\frac{y}{x}\) to obtain the solution in terms of \(x\) and \(y\).
👁️ Important Mathematical Observations
📌 A Useful Alternative Form
❌ Common Mistakes
  • Confusing a homogeneous function of degree zero with a homogeneous function of any other degree.
  • Using \(y=vx\) without differentiating it correctly.
  • Forgetting that \(v\) is a function of \(x\).
  • Failing to replace \(y\) by \(vx\) in every occurrence of the differential equation.
  • Omitting the absolute value in \(\log|x|\).
  • Dividing by \(g(v)-v\) without checking whether it can be zero.
🔑 Key Takeaway
📈

Example 10

❓ Question
Show that the differential equation
\[(x-y)\frac{dy}{dx}=x+2y\]
is homogeneous and solve it.
💡 Concept
🧩 Solution
  1. Express the differential equation in standard form. The given equation is:
    \[(x-y)\frac{dy}{dx}=x+2y\]
  2. Dividing both sides by \(x-y\), we get:
    \[\boxed{\frac{dy}{dx}=\frac{x+2y}{x-y}}\tag{1}\]
    📝 Here, \(x-y\ne0\).
  3. Let
    \[F(x,y)=\frac{x+2y}{x-y}\]
  4. Replacing \(x\) by \(\lambda x\) and \(y\) by \(\lambda y\), we obtain:
    \[ \begin{aligned} F(\lambda x,\lambda y) &=\frac{\lambda x+2\lambda y}{\lambda x-\lambda y}\\[5pt] &=\frac{\lambda(x+2y)}{\lambda(x-y)}\\[5pt] &=\frac{x+2y}{x-y}\\[5pt] &=\lambda^0F(x,y) \end{aligned} \]
  5. Thus,
    \[\boxed{F(\lambda x,\lambda y)=\lambda^0F(x,y)}\]
    📝 Therefore, \(F(x,y)\) is a homogeneous function of degree zero. Hence, the given differential equation is a homogeneous differential equation.
  6. Express the equation in terms of \(\frac{y}{x}\). Dividing the numerator and denominator of equation (1) by \(x\), we get:
    \[ \begin{aligned} \frac{dy}{dx} &=\frac{x+2y}{x-y}\\[5pt] &=\frac{1+\frac{2y}{x}}{1-\frac{y}{x}}\\[5pt] &=g\left(\frac{y}{x}\right) \end{aligned} \]
  7. Apply the standard substitution Put
    \[\boxed{y=vx}\tag{2}\]
  8. Differentiating equation (2) with respect to \(x\), using the product rule, we get:
    \[\boxed{\frac{dy}{dx}=v+x\frac{dv}{dx}}\tag{3}\]
  9. Substitute the values of \(y\) and \(\frac{dy}{dx}\). Using equations (2) and (3) in equation (1),
    \[\begin{aligned}v+x\frac{dv}{dx}&=\frac{x+2vx}{x-vx}\\[5pt] &=\frac{1+2v}{1-v}\end{aligned}\]
  10. Therefore,
    \[ \begin{aligned} x\frac{dv}{dx} &=\frac{1+2v}{1-v}-v\\[5pt] &=\frac{1+2v-v(1-v)}{1-v}\\[5pt] &=\frac{1+2v-v+v^2}{1-v}\\[5pt] &=\frac{v^2+v+1}{1-v} \end{aligned} \]
  11. Hence,
    \[\boxed{x\frac{dv}{dx}=\frac{v^2+v+1}{1-v}}\]
  12. Separate the variables Rearranging, we obtain:
    \[\boxed{\frac{1-v}{v^2+v+1}\,dv=\frac{dx}{x}}\tag{4}\]
  13. Integrate both sides Integrating equation (4),
    \[\int\frac{1-v}{v^2+v+1}\,dv=\int\frac{dx}{x}\]
  14. We can write the numerator as:
    \[1-v=\frac{1}{2}(1-2v)\]
  15. For convenient integration, express it as:
    \[1-v=-\frac12(2v+1)+\frac32\]
  16. Therefore,
    \[ \begin{aligned} &-\frac12\int\frac{2v+1}{v^2+v+1}\,dv +\frac32\int\frac{dv}{v^2+v+1}\\[5pt] &=\log|x|+C_1 \end{aligned} \]
  17. For the first integral, putting \(u=v^2+v+1\), we get:
    \[\int\frac{2v+1}{v^2+v+1}\,dv=\log(v^2+v+1)\]
  18. For the second integral, completing the square in the denominator,
    \[ \begin{aligned} v^2+v+1 &=\left(v+\frac12\right)^2+\frac34\\ &=\left(v+\frac12\right)^2+ \left(\frac{\sqrt3}{2}\right)^2 \end{aligned} \]
  19. Using the standard integral formula
    \[\int\frac{du}{u^2+a^2}=\frac1a\tan^{-1}\left(\frac{u}{a}\right)+C\]
  20. we obtain:
    \[ \begin{aligned} \int\frac{dv}{v^2+v+1} &=\frac{2}{\sqrt3} \tan^{-1}\left(\frac{2v+1}{\sqrt3}\right) \end{aligned} \]
  21. Substituting both integrals,
    \[ \begin{aligned} &-\frac12\log(v^2+v+1) +\frac32\cdot\frac{2}{\sqrt3} \tan^{-1}\left(\frac{2v+1}{\sqrt3}\right)\\[5pt] &=\log|x|+C_1 \end{aligned} \]
  22. Simplifying,
    \[-\frac12\log(v^2+v+1)+\sqrt3\tan^{-1}\left(\frac{2v+1}{\sqrt3}\right)=\log|x|+C_1\]
  23. Multiplying both sides by \(-2\) and absorbing the constant into a new arbitrary constant \(C\)
    \[\boxed{\log(v^2+v+1)+2\log|x|-2\sqrt3\tan^{-1}\left(\frac{2v+1}{\sqrt3}\right)=C}\]
  24. Replace \(v\) by \(\frac{y}{x}\). Since \(v=\frac{y}{x}\), we have:
    \[ \begin{aligned} &\log\left(\frac{y^2}{x^2}+\frac{y}{x}+1\right) +2\log|x|\\[5pt] &\qquad-2\sqrt3\tan^{-1} \left(\frac{\frac{2y}{x}+1}{\sqrt3}\right)=C \end{aligned} \]
  25. Using logarithmic properties,
    \[ \begin{aligned} &\log\left[ \left(\frac{y^2}{x^2}+\frac{y}{x}+1\right)x^2 \right]\\[5pt] &\qquad-2\sqrt3\tan^{-1} \left(\frac{2y+x}{\sqrt3x}\right)=C \end{aligned} \]
  26. Simplifying the expression inside the logarithm,
    \[\boxed{\log(x^2+xy+y^2)-2\sqrt3\tan^{-1}\left(\frac{2y+x}{\sqrt3x}\right)=C}\]
Final Answer
The given differential equation is homogeneous because its right-hand side is a homogeneous function of degree zero.
Its general solution is:
\[ \boxed{ \log(x^2+xy+y^2) = 2\sqrt3\tan^{-1} \left(\frac{2y+x}{\sqrt3x}\right)+C } \]
👁️ Observation
❌ Common Mistakes
  • Incorrectly expanding \((1+2v)-v(1-v)\). The correct numerator is \(v^2+v+1\).
  • Introducing an incorrect negative sign while separating the variables.
  • Forgetting the factor \(\frac{1}{2}\) when integrating a numerator that is the derivative of the denominator.
  • Incorrectly completing the square in \(v^2+v+1\).
  • Forgetting the absolute value in \(\log|x|\).
  • Omitting the arbitrary constant after integration.
📈

Example 11

❓ Question
Show that the differential equation
\[ x\cos\left(\frac{y}{x}\right)\frac{dy}{dx} =y\cos\left(\frac{y}{x}\right)+x\]
is homogeneous and solve it.
💡 Concept
🧩 Solution
Part (a)
  1. Express the differential equation in standard form. The given equation is:
    \[x\cos\left(\frac{y}{x}\right)\frac{dy}{dx}=y\cos\left(\frac{y}{x}\right)+x\]
  2. Dividing both sides by \(x\cos\left(\frac{y}{x}\right)\), we get:
    \[\boxed{\frac{dy}{dx}=\frac{y\cos\left(\frac{y}{x}\right)+x}{x\cos\left(\frac{y}{x}\right)}}\tag{1}\]
  3. Show that the differential equation is homogeneous. Let
    \[F(x,y)=\frac{y\cos\left(\frac{y}{x}\right)+x}{x\cos\left(\frac{y}{x}\right)}\]
  4. Replacing \(x\) by \(\lambda x\) and \(y\) by \(\lambda y\), where \(\lambda\ne0\), we obtain:
    \[ \begin{aligned} F(\lambda x,\lambda y) &= \frac{\lambda y\cos\left(\frac{\lambda y}{\lambda x}\right)+\lambda x} {\lambda x\cos\left(\frac{\lambda y}{\lambda x}\right)}\\[5pt] &= \frac{\lambda y\cos\left(\frac{y}{x}\right)+\lambda x} {\lambda x\cos\left(\frac{y}{x}\right)}\\[5pt] &= \frac{\lambda\left[y\cos\left(\frac{y}{x}\right)+x\right]} {\lambda x\cos\left(\frac{y}{x}\right)}\\[5pt] &=F(x,y) \end{aligned} \]
  5. Thus,
    \[\boxed{F(\lambda x,\lambda y)=\lambda^0F(x,y)}\]
    📝 Therefore, \(F(x,y)\) is a homogeneous function of degree zero, and hence the given differential equation is homogeneous.
  6. Apply the standard substitution Put
    \[\boxed{y=vx}\tag{2}\]
  7. Differentiating equation (2) with respect to \(x\), using the product rule, we get:
    \[\boxed{\frac{dy}{dx}=v+x\frac{dv}{dx}}\tag{3}\]
  8. Substitute the values of \(y\) and \(\frac{dy}{dx}\). Substituting \(y=vx\) and \(\frac{dy}{dx}=v+x\frac{dv}{dx}\) in equation (1),
    \[ \begin{aligned} v+x\frac{dv}{dx} &= \frac{vx\cos\left(\frac{vx}{x}\right)+x} {x\cos\left(\frac{vx}{x}\right)}\\[5pt] &= \frac{vx\cos v+x}{x\cos v}\\[5pt] &= \frac{v\cos v+1}{\cos v} \end{aligned} \]
  9. Therefore,
    \[ \begin{aligned} x\frac{dv}{dx} &=\frac{v\cos v+1}{\cos v}-v\\[5pt] &=\frac{v\cos v+1-v\cos v}{\cos v}\\[5pt] &=\frac{1}{\cos v} \end{aligned} \]
  10. Hence,
    \[\boxed{x\frac{dv}{dx}=\frac{1}{\cos v}}\]
  11. Separate the variables Rearranging, we get:
    \[\boxed{\cos v\,dv=\frac{dx}{x}}\tag{4}\]
  12. Integrate both sides Integrating equation (4),
    \[ \begin{aligned} \int\cos v\,dv &=\int\frac{dx}{x}\\[5pt] \sin v&=\log|x|+C \end{aligned} \]
    where \(C\) is an arbitrary constant.
  13. Replace \(v\) by \(\frac{y}{x}\) Since \(v=\frac{y}{x}\), substituting this value, we obtain:
    \[\boxed{\sin\left(\frac{y}{x}\right)=\log|x|+C}\]
Final Answer

The given differential equation is homogeneous because its right-hand side is a homogeneous function of degree zero.

Its general solution is:

\[ \boxed{ \sin\left(\frac{y}{x}\right)=\log|x|+C } \]

👁️ Observation
❌ Common Mistakes
  • Failing to cancel the common factor \(\lambda\) while checking homogeneity.
  • Forgetting the product rule when differentiating \(y=vx\).
  • Incorrectly simplifying the expression \(\frac{v\cos v+1}{\cos v}-v\).
  • Writing \(\log x\) instead of \(\log|x|\) without specifying \(x>0\).
  • Confusing the arbitrary additive constant \(C\) with a multiplicative constant inside the logarithm.
📈

Example 12

❓ Question
Show that the differential equation
\[2ye^{\frac{x}{y}}\,dx+\left(y-2xe^{\frac{x}{y}}\right)\,dy=0\]
is homogeneous and find its particular solution, given that \(x=0\) when \(y=1\).
💡 Concept
🧩 Solution
  1. Express the differential equation in standard form. The given differential equation is:
    \[2ye^{\frac{x}{y}}\,dx+\left(y-2xe^{\frac{x}{y}}\right)\,dy=0\]
  2. Rearranging,
    \[2ye^{\frac{x}{y}}\,dx=\left(2xe^{\frac{x}{y}}-y\right)\,dy\]
  3. Dividing both sides by \(2ye^{\frac{x}{y}}\,dy\), we get:
    \[\boxed{\frac{dx}{dy}=\frac{2xe^{\frac{x}{y}}-y}{2ye^{\frac{x}{y}}}}\tag{1}\]
  4. Show that the differential equation is homogeneous. Let
    \[F(x,y)=\frac{2xe^{\frac{x}{y}}-y}{2ye^{\frac{x}{y}}}\]
  5. Replacing \(x\) by \(\lambda x\) and \(y\) by \(\lambda y\), where \(\lambda\ne0\), we obtain:
    \[ \begin{aligned} F(\lambda x,\lambda y) &= \frac{2\lambda x e^{\frac{\lambda x}{\lambda y}}-\lambda y} {2\lambda y e^{\frac{\lambda x}{\lambda y}}}\\[5pt] &= \frac{2\lambda x e^{\frac{x}{y}}-\lambda y} {2\lambda y e^{\frac{x}{y}}}\\[5pt] &= \frac{\lambda\left(2xe^{\frac{x}{y}}-y\right)} {2\lambda ye^{\frac{x}{y}}}\\[5pt] &= \frac{2xe^{\frac{x}{y}}-y} {2ye^{\frac{x}{y}}}\\[5pt] &=F(x,y) \end{aligned} \]
  6. Thus,
    \[\boxed{F(\lambda x,\lambda y)=\lambda^0F(x,y)}\]
    📝 Therefore, \(F(x,y)\) is a homogeneous function of degree zero. Hence, the given differential equation is homogeneous.
  7. Apply the standard substitution. Since the equation is expressed in terms of \(\frac{x}{y}\), put:
    \[\boxed{x=vy}\tag{2}\]
  8. Differentiating equation (2) with respect to \(y\), using the product rule, we get:
    \[\boxed{\frac{dx}{dy}=v+y\frac{dv}{dy}}\tag{3}\]
  9. Substitute the values of \(x\) and \(\frac{dx}{dy}\). Substituting \(x=vy\) and \(\frac{dx}{dy}=v+y\frac{dv}{dy}\) in equation (1),
    \[ \begin{aligned} v+y\frac{dv}{dy} &= \frac{2vy e^{\frac{vy}{y}}-y} {2ye^{\frac{vy}{y}}}\\[5pt] &= \frac{2vy e^v-y}{2ye^v}\\[5pt] &= \frac{2ve^v-1}{2e^v} \end{aligned} \]
  10. Therefore,
    \[ \begin{aligned} v+y\frac{dv}{dy} &=v-\frac{1}{2e^v}\\[5pt] y\frac{dv}{dy} &=-\frac{1}{2e^v} \end{aligned} \]
  11. Hence,
    \[\boxed{2e^v\,dv=-\frac{dy}{y}}\tag{4}\]
  12. Integrate both sides. Integrating equation (4),
    \[ \begin{aligned} 2\int e^v\,dv &=-\int\frac{dy}{y}\\[5pt] 2e^v&=-\log|y|+C \end{aligned} \]
  13. Rearranging,
    \[\boxed{2e^v+\log|y|=C}\]
  14. Replace \(v\) by \(\frac{x}{y}\). Since \(v=\frac{x}{y}\), we obtain the general solution:
    \[\boxed{2e^{\frac{x}{y}}+\log|y|=C}\tag{5}\]
  15. Apply the given condition to find the particular solution. Substituting \(x=0\) and \(y=1\) in equation (5),
    \[ \begin{aligned} 2e^{\frac{0}{1}}+\log|1|&=C\\[5pt] 2e^0+0&=C\\[5pt] 2(1)&=C\\[5pt] C&=2 \end{aligned} \]
  16. Substituting \(C=2\) in equation (5), we get:
    \[\boxed{2e^{\frac{x}{y}}+\log|y|=2}\]
Final Answer: Particular Solution
The required particular solution of the given differential equation is:
\[\boxed{2e^{\frac{x}{y}}+\log|y|=2}\]
👁️ Observation
❌ Common Mistakes
  • Using \(y=vx\) instead of \(x=vy\) when the equation is being solved in terms of \(\frac{dx}{dy}\).
  • Forgetting to differentiate \(x=vy\) using the product rule.
  • Incorrectly simplifying \(\frac{2ve^v-1}{2e^v}-v\). The correct result is \(-\frac{1}{2e^v}\).
  • Dropping the negative sign while separating the variables.
  • Substituting the initial condition before obtaining the general solution.
🔑 Key Takeaway
📈

Example 13

❓ Question
Show that the family of curves for which the slope of the tangent at any point \((x,y)\) on it is
\[\frac{x^2+y^2}{2xy}\]
is given by
\[\boxed{x^2-y^2=cx}\]
where \(c\) is an arbitrary constant.
💡 Concept
🧩 Solution
  1. Form the differential equation. According to the question, the slope of the tangent at any point \((x,y)\) is:
    \[\frac{x^2+y^2}{2xy}\]
  2. Therefore,
    \[\boxed{\frac{dy}{dx}=\frac{x^2+y^2}{2xy}}\tag{1}\]
  3. Dividing the numerator and denominator by \(x^2\), we can write:
    \[\frac{dy}{dx}=\frac{1+\frac{y^2}{x^2}}{2\frac{y}{x}}\]
  4. The right-hand side depends only on the ratio \(\frac{y}{x}\). Hence, the differential equation is homogeneous. Apply the standard substitution. Put
    \[\boxed{y=vx}\tag{2}\]
  5. Differentiating equation (2) with respect to \(x\), using the product rule, we get:
    \[\boxed{\frac{dy}{dx}=v+x\frac{dv}{dx}}\tag{3}\]
  6. Substitute the values of \(y\) and \(\frac{dy}{dx}\). Substituting \(y=vx\) and \(\frac{dy}{dx}=v+x\frac{dv}{dx}\) in equation (1),
    \[ \begin{aligned} v+x\frac{dv}{dx} &=\frac{x^2+v^2x^2}{2x(vx)}\\[5pt] &=\frac{x^2(1+v^2)}{2v x^2}\\[5pt] &=\frac{1+v^2}{2v} \end{aligned} \]
  7. Therefore,
    \[ \begin{aligned} x\frac{dv}{dx} &=\frac{1+v^2}{2v}-v\\[5pt] &=\frac{1+v^2-2v^2}{2v}\\[5pt] &=\frac{1-v^2}{2v} \end{aligned} \]
  8. Hence,
    \[\boxed{x\frac{dv}{dx}=\frac{1-v^2}{2v}}\]
  9. Separate the variables. Rearranging, we get:
    \[\boxed{\frac{2v}{1-v^2}\,dv=\frac{dx}{x}}\tag{4}\]
  10. Integrate both sides. Integrating equation (4),
    \[\int\frac{2v}{1-v^2}\,dv=\int\frac{dx}{x}\]
  11. For the left-hand side, put \(u=1-v^2\), so that \(du=-2v\,dv\). Therefore,
    \[\begin{aligned}-\log|1-v^2|&=\log|x|+C_1\end{aligned}\]
  12. Rearranging,
    \[ \begin{aligned} \log|1-v^2|+\log|x|&=C_2\\ \log\left|x(1-v^2)\right|&=C_2 \end{aligned} \]
  13. Taking antilogarithms and absorbing the sign into the arbitrary constant,
    \[\boxed{x(1-v^2)=C}\]
  14. Equivalently, we may write:
    \[\boxed{x(v^2-1)=C}\]
  15. Replace \(v\) by \(\frac{y}{x}\). Since \(v=\frac{y}{x}\), substituting this value,
    \[ \begin{aligned} x\left(\frac{y^2}{x^2}-1\right)&=C\\[5pt] x\left(\frac{y^2-x^2}{x^2}\right)&=C\\[5pt] \frac{y^2-x^2}{x}&=C\\[5pt] y^2-x^2&=Cx \end{aligned} \]
  16. Multiplying by \(-1\) and replacing \(-C\) by another arbitrary constant \(c\), we obtain:
    \[\boxed{x^2-y^2=cx}\]
Final Answer

The required family of curves is:

\[\boxed{x^2-y^2=cx}\]

where \(c\) is an arbitrary constant.

👁️ Observation
Important Observation: Special Solutions
❌ Common Mistakes
  • Forgetting that the slope of the tangent is \(\frac{dy}{dx}\).
  • Incorrectly simplifying the denominator after substituting \(y=vx\). It becomes \(2vx^2\).
  • Writing \(2\theta\) instead of \(2v\).
  • Forgetting the negative sign while integrating \(\frac{2v}{1-v^2}\).
  • Changing the sign of the arbitrary constant without explaining that it remains arbitrary.
  • Ignoring the values \(v=\pm1\) after dividing by \(1-v^2\).
🔑 Key Takeaway
📈

Linear Differential Equations

📖 Introduction
📌 Another Form of First-Order Linear Differential Equation
📐 Derivation of the Integrating Factor
📎 General Solution of a First-Order Linear Differential Equation
We have obtained the integrating factor:
\[\text{I.F.}=e^{\int P\,dx}\]
Multiplying equation (1) by the integrating factor,
\[e^{\int P\,dx}\frac{dy}{dx}+Pe^{\int P\,dx}y=Qe^{\int P\,dx}\]
Since
\[\frac{d}{dx}\left(e^{\int P\,dx}\right)=Pe^{\int P\,dx}\]
the left-hand side becomes the derivative of the product of \(y\) and the integrating factor.
Therefore,
\[\boxed{\frac{d}{dx}\left(ye^{\int P\,dx}\right)=Qe^{\int P\,dx}}\]
Integrating both sides with respect to \(x\),
\[ \begin{aligned} \int d\left(ye^{\int P\,dx}\right) &=\int Qe^{\int P\,dx}\,dx\\ ye^{\int P\,dx} &=\int Qe^{\int P\,dx}\,dx+C \end{aligned} \]
Hence, the general solution is:
\[\boxed{ye^{\int P\,dx}=\int Qe^{\int P\,dx}\,dx+C}\]
Alternatively, dividing both sides by the integrating factor,
\[\boxed{y=e^{-\int P\,dx}\left[\int Qe^{\int P\,dx}\,dx+C\right]}\]
This is the required general solution of the first-order linear differential equation.
🧰 Steps to Solve a First-Order Linear Differential Equation
To solve a differential equation of the form
\[ \frac{dy}{dx}+Py=Q \]
follow these steps:
  1. Write the equation in standard form. Rearrange the given equation so that the coefficient of \(\frac{dy}{dx}\) is 1:
    \[ \frac{dy}{dx}+P(x)y=Q(x) \]
  2. Identify \(P(x)\) and \(Q(x)\). Identify the coefficient of \(y\) as \(P(x)\) and the right-hand side as \(Q(x)\).
  3. Calculate the integrating factor.
    \[ \boxed{\text{I.F.}=e^{\int P(x)\,dx}} \]
  4. Multiply the entire equation by the integrating factor. The left-hand side becomes the derivative of the product of \(y\) and the integrating factor.
  5. Integrate both sides.
    \[ \boxed{ y(\text{I.F.})=\int Q(\text{I.F.})\,dx+C } \]
  6. Simplify the result. Obtain the required general solution. If an initial condition is given, substitute it to determine the arbitrary constant \(C\).
📌 Linear Differential Equation in the Form \(\frac{dx}{dy}+P_1x=Q_1\)
⚡ Quick Reference: Important Formulae
Type of Equation Integrating Factor General Solution
\(\frac{dy}{dx}+Py=Q\) \(e^{\int P\,dx}\) \(y(\text{I.F.})=\int Q(\text{I.F.})\,dx+C\)
\(\frac{dx}{dy}+P_1x=Q_1\) \(e^{\int P_1\,dy}\) \(x(\text{I.F.})=\int Q_1(\text{I.F.})\,dy+C\)
👁️ Observation
❌ Common Mistakes
  • Not dividing the equation by the coefficient of the first derivative before identifying \(P\) and \(Q\).
  • Using \(Q\) instead of \(P\) while calculating the integrating factor.
  • Forgetting that the integrating factor is an exponential function.
  • Using \(dx\) instead of \(dy\), or vice versa, in the integration.
  • Forgetting the arbitrary constant of integration.
  • Applying the linear differential equation method to a nonlinear equation without first checking whether it can be rearranged into standard linear form.
🔑 Key Takeaway
📈

Example 14

❓ Question
Find the general solution of the differential equation:
\[\boxed{\frac{dy}{dx}-y=\cos x}\]
💡 Concept
🧩 Solution
Given: The given differential equation is:
\[\frac{dy}{dx}-y=\cos x\]
  1. Identify \(P(x)\) and \(Q(x)\). Comparing given with the standard form:
    \[\frac{dy}{dx}+Py=Q\]
  2. we get:
    \[\boxed{P=-1,\qquad Q=\cos x}\]
  3. Calculate the integrating factor. We know that:
    \[\text{I.F.}=e^{\int P\,dx}\]
  4. Substituting \(P=-1\),
    \[\begin{aligned}\text{I.F.}&=e^{\int -1\,dx}\\ &=e^{-x}\end{aligned}\]
  5. Therefore,
    \[\boxed{\text{I.F.}=e^{-x}}\]
  6. Multiply the differential equation by the integrating factor. Multiplying both sides of the given equation by \(e^{-x}\),
    \[e^{-x}\frac{dy}{dx}-ye^{-x}=e^{-x}\cos x\]
  7. Using the product rule of differentiation,
    \[\frac{d}{dx}(ye^{-x})=e^{-x}\frac{dy}{dx}-ye^{-x}\]
  8. Hence, the equation becomes:
    \[\boxed{\frac{d}{dx}(ye^{-x})=e^{-x}\cos x}\tag{1}\]
  9. Integrate both sides. Integrating equation (1) with respect to \(x\),
    \[\begin{aligned}\int\frac{d}{dx}(ye^{-x})\,dx&=\int e^{-x}\cos x\,dx\\ ye^{-x}&=\int e^{-x}\cos x\,dx+C\end{aligned}\]
  10. Let
    \[I=\int e^{-x}\cos x\,dx\]
  11. Evaluate the integral using integration by parts. Using the formula:
    \[\int u\,dv=uv-\int v\,du\]
  12. Choose:
    \[u=\cos x,\qquad dv=e^{-x}\,dx\]
  13. Then,
    \[du=-\sin x\,dx,\qquad v=-e^{-x}\]
  14. Therefore,
    \[\begin{aligned}I&=-e^{-x}\cos x-\int e^{-x}\sin x\,dx\end{aligned}\]
  15. Now, apply integration by parts again to the remaining integral:
    \[J=\int e^{-x}\sin x\,dx\]
  16. Choose:
    \[u=\sin x,\qquad dv=e^{-x}\,dx\]
  17. Then,
    \[du=\cos x\,dx,\qquad v=-e^{-x}\]
  18. Thus,
    \[\begin{aligned}J&=-e^{-x}\sin x+\int e^{-x}\cos x\,dx\\ &=-e^{-x}\sin x+I\end{aligned}\]
  19. Substituting this value of \(J\) in the expression for \(I\),
    \[\begin{aligned}I&=-e^{-x}\cos x-J\\ &=-e^{-x}\cos x+e^{-x}\sin x-I\end{aligned}\]
  20. Rearranging,
    \[\begin{aligned}2I&=e^{-x}(\sin x-\cos x)\\ I&=\frac{e^{-x}}{2}(\sin x-\cos x)\end{aligned}\]
  21. Hence,
    \[\boxed{\int e^{-x}\cos x\,dx=\frac{e^{-x}}{2}(\sin x-\cos x)+C}\]
  22. Substitute the value of the integral. We obtained:
    \[ye^{-x}=\int e^{-x}\cos x\,dx+C\]
  23. Substituting the evaluated integral,
    \[ye^{-x}=\frac{e^{-x}}{2}(\sin x-\cos x)+C\]
  24. Multiplying both sides by \(e^x\),
    \[\begin{aligned}y&=\frac{\sin x-\cos x}{2}+Ce^x\end{aligned}\]
Final Answer

The general solution of the given differential equation is:

\[ \boxed{ y=\frac{\sin x-\cos x}{2}+Ce^x } \]

where \(C\) is an arbitrary constant.

👁️ Observation
❌ Common Mistakes
  • Using \(e^x\) instead of \(e^{-x}\) as the integrating factor.
  • Writing the derivative of the product incorrectly. The correct expression is \(\frac{d}{dx}(ye^{-x})\).
  • Integrating with respect to \(y\) instead of \(x\).
  • Forgetting the negative sign in \(\int e^{-x}\,dx=-e^{-x}+C\).
  • Omitting the arbitrary constant of integration.
🔑 Key Takeaway
📈

Example 15

❓ Question
Find the general solution of the differential equation:
\[\boxed{x\frac{dy}{dx}+2y=x^2,\qquad x\ne 0}\]
💡 Concept
🧩 Solution
  1. Convert the equation into standard form. The given differential equation is:
    \[x\frac{dy}{dx}+2y=x^2\tag{1}\]
  2. Dividing both sides by \(x\), since \(x\ne0\),
    \[\boxed{\frac{dy}{dx}+\frac{2}{x}y=x}\tag{2}\]
  3. This is a first-order linear differential equation of the standard form:
    \[\frac{dy}{dx}+Py=Q\]
  4. Comparing equations (2) and the standard form, we obtain:
    \[\boxed{P=\frac{2}{x},\qquad Q=x}\]
  5. Calculate the integrating factor We know that:
    \[\text{I.F.}=e^{\int P\,dx}\]
  6. Substituting \(P=\frac{2}{x}\),
    \[ \begin{aligned} \text{I.F.} &=e^{\int\frac{2}{x}\,dx}\\[5pt] &=e^{2\ln|x|}\\[5pt] &=e^{\ln(x^2)}\\[5pt] &=x^2 \end{aligned} \]
  7. Therefore,
    \[\boxed{\text{I.F.}=x^2}\]
  8. Multiply the differential equation by the integrating factor. Multiplying equation (2) by \(x^2\),
    \[x^2\frac{dy}{dx}+2xy=x^3\]
  9. Using the product rule of differentiation,
    \[\frac{d}{dx}(x^2y)=x^2\frac{dy}{dx}+2xy\]
  10. Therefore, the equation becomes:
    \[\boxed{\frac{d}{dx}(x^2y)=x^3}\tag{3}\]
  11. Integrate both sides. Integrating equation (3) with respect to \(x\),
    \[\begin{aligned}\int\frac{d}{dx}(x^2y)\,dx&=\int x^3\,dx\\[5pt] x^2y&=\frac{x^4}{4}+C\end{aligned}\]
  12. Obtain the general solution Dividing both sides by \(x^2\),
    \[\begin{aligned}y&=\frac{x^4}{4x^2}+\frac{C}{x^2}\\[5pt] y&=\frac{x^2}{4}+Cx^{-2}\end{aligned}\]
Final Answer

The general solution of the given differential equation is:

\[ \boxed{ y=\frac{x^2}{4}+\frac{C}{x^2} } \]

where \(C\) is an arbitrary constant and \(x\ne0\).

👁️ Observation
❌ Common Mistakes
  • Forgetting to divide every term by \(x\) while converting the equation into standard form.
  • Taking \(P=2\) instead of \(P=\frac{2}{x}\).
  • Calculating the integrating factor incorrectly.
  • Forgetting the product rule when converting the left-hand side into a derivative.
  • Making an error while dividing the integrated equation by \(x^2\).
🔑 Key Takeaway
📈

Example 16

❓ Question
Find the general solution of the differential equation:
\[\boxed{y\,dx-(x+2y^2)\,dy=0}\]
💡 Concept
🧩 Solution
  1. Convert the equation into standard linear form. The given differential equation is:
    \[y\,dx-(x+2y^2)\,dy=0\]
  2. Expanding and rearranging,
    \[\begin{aligned}y\,dx-x\,dy-2y^2\,dy&=0\\ y\,dx-x\,dy&=2y^2\,dy\end{aligned}\]
  3. Dividing both sides by \(dy\), and then by \(y\), where \(y\ne0\),
    \[\begin{aligned}y\frac{dx}{dy}-x&=2y^2\\ \frac{dx}{dy}-\frac{x}{y}&=2y\end{aligned}\]
  4. Thus,
    \[\boxed{\frac{dx}{dy}-\frac{1}{y}x=2y}\tag{1}\]
  5. This is a first-order linear differential equation of the standard form:
    \[\frac{dx}{dy}+P_1x=Q_1\]
  6. Comparing, we obtain:
    \[\boxed{P_1=-\frac{1}{y},\qquad Q_1=2y}\]
  7. Calculate the integrating factor. We know that:
    \[\text{I.F.}=e^{\int P_1\,dy}\]
  8. Substituting \(P_1=-\frac{1}{y}\),
    \[ \begin{aligned} \text{I.F.} &=e^{\int-\frac{1}{y}\,dy}\\[5pt] &=e^{-\ln|y|}\\[5pt] &=\frac{1}{|y|} \end{aligned} \]
  9. On any interval where \(y\) has a fixed sign, a nonzero constant multiple of an integrating factor is also an integrating factor. We may therefore choose:
    \[\boxed{\text{I.F.}=\frac{1}{y}}\]
  10. Multiply the differential equation by the integrating factor. Multiplying equation (1) by \(\frac{1}{y}\),
    \[\frac{1}{y}\frac{dx}{dy}-\frac{x}{y^2}=2\]
  11. Using the product rule,
    \[\frac{d}{dy}\left(\frac{x}{y}\right)=\frac{1}{y}\frac{dx}{dy}-\frac{x}{y^2}\]
  12. Therefore, the equation becomes:
    \[\boxed{\frac{d}{dy}\left(\frac{x}{y}\right)=2}\tag{2}\]
  13. Integrate both sides. Integrating equation (2) with respect to \(y\),
    \[\begin{aligned}\int\frac{d}{dy}\left(\frac{x}{y}\right)\,dy&=\int 2\,dy\\[5pt] \frac{x}{y}&=2y+C\end{aligned}\]
  14. Obtain the general solution. Multiplying both sides by \(y\),
    \[\begin{aligned}x&=2y^2+Cy\end{aligned}\]
👁️ Observation
Important Observation
❌ Common Mistakes
  • Using \(\frac{dy}{dx}\) instead of \(\frac{dx}{dy}\) when treating \(x\) as the dependent variable.
  • Taking \(P_1=\frac{1}{y}\) instead of \(P_1=-\frac{1}{y}\).
  • Using \(Q\) instead of \(Q_1\) when identifying the coefficients of this form.
  • Forgetting the absolute value in \(\ln|y|\) during the integrating factor calculation.
  • Applying the product rule incorrectly while simplifying the left-hand side.
🔑 Key Takeaway
📈

Example 17

❓ Question
\[\boxed{\frac{dy}{dx}+y\cot x=2x+x^2\cot x}\]
given that \(y=0\) when \(x=\frac{\pi}{2}\).
💡 Concept
🧩 Solution
Given:
\[\frac{dy}{dx}+y\cot x=2x+x^2\cot x\]
  1. Identify \(P(x)\) and \(Q(x)\). Comparing given differential equation with the standard form
    \[\frac{dy}{dx}+Py=Q\]
  2. we obtain:
    \[\boxed{P=\cot x,\qquad Q=2x+x^2\cot x}\]
  3. Calculate the integrating factor. We know that:
    \[\text{I.F.}=e^{\int P\,dx}\]
  4. Substituting \(P=\cot x\),
    \[\begin{aligned}\text{I.F.}&=e^{\int\cot x\,dx}\\ &=e^{\ln|\sin x|}\\ &=|\sin x|\end{aligned}\]
  5. Since the initial condition is given at \(x=\frac{\pi}{2}\), we work on the interval \(0<x<\pi\), where \(\sin x\) is positive. Hence, we can take:
    \[\boxed{\text{I.F.}=\sin x}\]
  6. Multiply the differential equation by the integrating factor. Multiplying both sides by \(\sin x\),
    \[\sin x\frac{dy}{dx}+y\sin x\cot x=2x\sin x+x^2\cos x\]
  7. Since \(\sin x\cot x=\cos x\),
    \[\sin x\frac{dy}{dx}+y\cos x=2x\sin x+x^2\cos x\]
  8. Using the product rule,
    \[\frac{d}{dx}(y\sin x)=\sin x\frac{dy}{dx}+y\cos x\]
  9. Therefore,
    \[\boxed{\frac{d}{dx}(y\sin x)=2x\sin x+x^2\cos x}\tag{1}\]
  10. Integrate both sides Integrating equation (1) with respect to \(x\),
    \[\begin{aligned}\int\frac{d}{dx}(y\sin x)\,dx&=\int(2x\sin x+x^2\cos x)\,dx\\ y\sin x&=\int 2x\sin x\,dx+\int x^2\cos x\,dx\end{aligned}\]
  11. Observe that, by the product rule of differentiation,
    \[\frac{d}{dx}(x^2\sin x)=2x\sin x+x^2\cos x\]
  12. Therefore,
    \[\begin{aligned}y\sin x&=x^2\sin x+C\end{aligned}\]
  13. Hence, the general solution is:
    \[\boxed{y\sin x=x^2\sin x+C}\tag{2}\]
  14. Apply the given condition. It is given that:
    \[y=0\quad\text{when}\quad x=\frac{\pi}{2}\]
  15. Substituting these values in equation (2),
    \[\begin{aligned}0\cdot\sin\frac{\pi}{2}&=\left(\frac{\pi}{2}\right)^2\sin\frac{\pi}{2}+C\\[5pt] 0&=\frac{\pi^2}{4}+C\end{aligned}\]
  16. Therefore,
    \[\boxed{C=-\frac{\pi^2}{4}}\]
  17. Obtain the particular solution. Substituting the value of \(C\) in equation (2),
    \[y\sin x=x^2\sin x-\frac{\pi^2}{4}\]
  18. Dividing both sides by \(\sin x\),
    \[\boxed{y=x^2-\frac{\pi^2}{4\sin x}}\]
Final Answer

The required particular solution is:

\[ \boxed{ y=x^2-\frac{\pi^2}{4}\csc x } \]

valid on the interval containing \(x=\frac{\pi}{2}\) where \(\sin x\ne0\), in particular \(0

👁️ Important Observations
❌ Common Mistakes
  • Forgetting the absolute value in the intermediate integration \(\int\cot x\,dx=\ln|\sin x|+C\).
  • Making a sign error while differentiating or integrating trigonometric expressions.
  • Failing to recognise the product derivative \(\frac{d}{dx}(x^2\sin x)\).
  • Substituting the initial condition before obtaining the general solution.
  • Forgetting to divide the final equation by \(\sin x\), while retaining the restriction \(\sin x\ne0\).
🔑 Key Takeaway
📈

Example 18

❓ Question
Find the equation of a curve passing through the point \((0,1)\), if the slope of the tangent to the curve at any point \((x,y)\) is equal to the sum of the \(x\)-coordinate (abscissa) and the product of the \(x\)-coordinate and \(y\)-coordinate (ordinate) of that point.
🗒️ Concepts
The slope of the tangent to a curve at any point is given by:
\[ \frac{dy}{dx} \]
The resulting differential equation is a first-order linear differential equation of the form:
\[ \frac{dy}{dx}+P(x)y=Q(x) \]
It can be solved using the integrating factor:
\[ \boxed{\text{I.F.}=e^{\int P(x)\,dx}} \]
The given point is used to determine the arbitrary constant and obtain the required particular solution.
🧩 Solution
  1. Form the differential equation According to the question, the slope of the tangent at any point \((x,y)\) is equal to the sum of:
    • The abscissa \(x\).
    • The product of the abscissa and ordinate, \(xy\).
  2. Therefore,
    \[\frac{dy}{dx}=x+xy\]
  3. Rearranging,
    \[\boxed{\frac{dy}{dx}-xy=x}\tag{1}\]
  4. Identify \(P(x)\) and \(Q(x)\) Comparing equation (1) with the standard linear differential equation:
    \[\frac{dy}{dx}+Py=Q\]
  5. we obtain:
    \[\boxed{P=-x,\qquad Q=x}\]
  6. Calculate the integrating factor. We know that:
    \[\text{I.F.}=e^{\int P\,dx}\]
  7. Substituting \(P=-x\),
    \[\begin{aligned}\text{I.F.}&=e^{\int -x\,dx}\\ &=e^{-\frac{x^2}{2}}\end{aligned}\]
  8. Therefore,
    \[\boxed{\text{I.F.}=e^{-x^2/2}}\]
  9. Multiply the differential equation by the integrating factor. Multiplying equation (1) by \(e^{-x^2/2}\),
    \[e^{-x^2/2}\frac{dy}{dx}-xye^{-x^2/2}=xe^{-x^2/2}\]
  10. Using the product rule,
    \[\frac{d}{dx}\left(ye^{-x^2/2}\right)=e^{-x^2/2}\frac{dy}{dx}-xye^{-x^2/2}\]
  11. Hence,
    \[\boxed{\frac{d}{dx}\left(ye^{-x^2/2}\right)=xe^{-x^2/2}}\tag{2}\]
  12. Integrate both sides. Integrating equation (2) with respect to \(x\),
    \[\begin{aligned}\int\frac{d}{dx}\left(ye^{-x^2/2}\right)\,dx&=\int xe^{-x^2/2}\,dx\\[5pt] ye^{-x^2/2}&=\int xe^{-x^2/2}\,dx+C\end{aligned}\]
  13. To evaluate the integral, put:
    \[u=-\frac{x^2}{2}\]
  14. Then,
    \[du=-x\,dx\]
  15. Therefore,
    \[\begin{aligned}\int xe^{-x^2/2}\,dx&=-\int e^u\,du\\ &=-e^u\\ &=-e^{-x^2/2}\end{aligned}\]
  16. Substituting this result,
    \[ye^{-x^2/2}=-e^{-x^2/2}+C\]
  17. Multiplying both sides by \(e^{x^2/2}\),
    \[\boxed{y=-1+Ce^{x^2/2}}\]
    📝 This is the general solution of the differential equation.
  18. Apply the given condition The curve passes through the point \((0,1)\). Therefore,
    \[x=0,\qquad y=1\]
  19. Substituting these values in the general solution,
    \[\begin{aligned}1&=-1+Ce^{0}\\ 1&=-1+C\\ C&=2\end{aligned}\]
  20. Obtain the required equation of the curve. Substituting \(C=2\) in the general solution,
    \[\boxed{y=2e^{x^2/2}-1}\]
Final Answer

The required equation of the curve passing through \((0,1)\) is:

\[ \boxed{y=2e^{x^2/2}-1} \]

👁️ Important Observations
❌ Common Mistakes
  • Interpreting the product of the abscissa and ordinate as \(x+y\) instead of \(xy\).
  • Writing \(P=x\) instead of \(P=-x\) after rearranging the differential equation.
  • Using an incorrect sign while calculating the integrating factor.
  • Forgetting the negative sign in the integral \(\int xe^{-x^2/2}\,dx\).
  • Not substituting the given point to determine the arbitrary constant.
🔑 Key Takeaway
· Updated
📚
ACADEMIA AETERNUM तमसो मा ज्योतिर्गमय · Est. 2025
Sharing this chapter
NCERT Class 12 Maths Chapter 9: Differential Equations Notes
NCERT Class 12 Maths Chapter 9: Differential Equations Notes — Complete Notes & Solutions · academia-aeternum.com
Differential Equations is an important chapter in NCERT Class 12 Mathematics that introduces the mathematical study of relationships between unknown functions and their derivatives. These equations help describe how quantities change with respect to time, position, or other variables, making them useful in physics, engineering, economics, biology, and many real-life applications. These comprehensive Differential Equations Class 12 Notes cover fundamental concepts such as order and degree,…
🎓 Class 12 📐 Mathematics 📖 NCERT ✅ Free Access 🏆 CBSE · JEE
Share on
academia-aeternum.com/class-12/mathematics/differential-equations/notes/ Copy link
💡
Exam tip: Sharing chapter notes with your study group creates a reinforcement loop. Teaching a concept is the fastest path to mastering it.

Recent posts

    differential-equations — Learning Resources

    Frequently Asked Questions

    A differential equation is an equation involving an unknown function and one or more of its derivatives with respect to one or more independent variables.

    The order is the highest order of the derivative present in the equation. The degree is the power of the highest-order derivative when the equation is expressed as a polynomial in its derivatives.

    A general solution contains arbitrary constants equal in number to the order of the differential equation, whereas a particular solution is obtained by assigning specific values to these constants using given conditions.

    The order is determined by identifying the highest-order derivative appearing in the differential equation. For example, an equation containing d²y/dx² as its highest derivative is of order two.

    The method of separation of variables involves rearranging a differential equation so that all terms involving one variable appear on one side and all terms involving the other variable appear on the opposite side, followed by integration.

    A first-order differential equation is homogeneous if it can be expressed as dy/dx = F(y/x), or equivalently, as a ratio of two homogeneous functions of the same degree.

    A homogeneous differential equation is generally solved by substituting y = vx, where v is a function of x, and using dy/dx = v + x(dv/dx) to reduce it to a separable differential equation.

    A first-order linear differential equation has the standard form dy/dx + P(x)y = Q(x), where P(x) and Q(x) are functions of the independent variable x.

    An integrating factor is a function used to convert a first-order linear differential equation into an exact derivative. For dy/dx + P(x)y = Q(x), the integrating factor is e^(?P(x)dx).

    The important methods include separation of variables, solving homogeneous differential equations using the substitution y = vx, and solving first-order linear differential equations using an integrating factor.

    Get in Touch

    Let's Connect

    Questions, feedback, or suggestions?
    We'd love to hear from you.