• NEET
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • JEE
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • Class 6-10
      • Class 6th
      • Class 7th
      • Class 8th
      • Class 9th
      • Class 10th
    • View All Options
      • Online Courses
      • Distance Learning
      • Hindi Medium Courses
      • International Olympiad
    • NEET
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • JEE (Main+Advanced)
      • Class 11th
      • Class 12th
      • Class 12th Plus
    • JEE Main
      • Class 11th
      • Class 12th
      • Class 12th Plus
  • Classroom
    • NEET
      • 2025
      • 2024
      • 2023
      • 2022
    • JEE
      • 2025
      • 2024
      • 2023
      • 2022
    • Class 6-10
    • JEE Main
      • Previous Year Papers
      • Sample Papers
      • Result
      • Analysis
      • Syllabus
      • Exam Date
    • JEE Advanced
      • Previous Year Papers
      • Sample Papers
      • Mock Test
      • Result
      • Analysis
      • Syllabus
      • Exam Date
    • NEET
      • Previous Year Papers
      • Sample Papers
      • Mock Test
      • Result
      • Analysis
      • Syllabus
      • Exam Date
      • College Predictor
      • Counselling
    • NCERT Solutions
      • Class 6
      • Class 7
      • Class 8
      • Class 9
      • Class 10
      • Class 11
      • Class 12
    • CBSE
      • Notes
      • Sample Papers
      • Question Papers
    • Olympiad
      • NSO
      • IMO
      • NMTC
  • NEW
    • TALLENTEX
    • AOSAT
  • ALLEN E-Store
    • ALLEN for Schools
    • About ALLEN
    • Blogs
    • News
    • Careers
    • Request a call back
    • Book home demo
Home
JEE Maths
Linear Differential Equations

Linear Differential Equations: Definition, Form, Methods & Examples  

1.0Introduction to Linear Differential Equations

Linear differential equations are a crucial topic for the JEE Main and Advanced examinations. Mastering this concept is essential as questions from this section are frequently asked and are generally scoring. A first-order linear differential equation is of the form:

dxdy​+P(x)y=Q(x)

where P(x) and Q(x) are constants or continuous functions of x. The first step in recognizing and resolving these equations is comprehending this form. Once the given equation has been rearranged into this standard format, the key is to correctly identify P(x) and Q(x).

2.0What is a Linear Differential Equation?

A differential equation is one that has an unknown function and its derivatives. A linear differential equation is one in which the unknown function and its derivatives only show up in the first degree, and there are no products of the unknown function and its derivatives. We mostly study first-order linear differential equations for the JEE. The "linearity" comes from the fact that the variables and their derivatives are raised to the first power.

3.0General Form & Identification

The standard form of a first-order linear differential equation is:

dxdy​+P(x)y=Q(x)

Here,

  • dxdy​ is the first derivative of y with respect to x.
  • P(x) is a function of x (or a constant) and is the coefficient of y.
  • Q(x) is a function of x (or a constant) and is the term on the right-hand side of the equation.

Important: Before you can apply the solution method, always rearrange the given equation to match this standard form.

4.0Step-by-Step Method to Solve Linear Differential Equations

Solving a linear differential equation is a systematic three-step process.

Step 1: The Standard Form

Ensure the equation is in the form dxdy​+P(x)y=Q(x) . If the coefficient of dxdy​ is not 1, divide the entire equation by that coefficient.

Step 2: Finding the Integrating Factor (I.F.)

The integrating factor (I.F.) is a crucial term that simplifies the equation. It is calculated using the formula:

I.F.=e∫P(x)dx

The integration here is simple, and you don't need to add the constant of integration.

Step 3: The General Solution

Once you have the I.F., the general solution to the differential equation is given by the formula:

y⋅(I.F.)=∫Q(x)⋅(I.F.)dx+C

where C is the constant of integration. This formula directly gives the solution for y in terms of x.

5.0Working with the Integrating Factor

The integrating factor is a function that, when multiplied throughout the linear differential equation, makes the left-hand side a perfect derivative of the product of the dependent variable (y) and the integrating factor itself.

Formula for I.F.

I.F.=e∫P(x)dx

Example Calculation

Consider the equation: dxdy​+ycot(x)=sin(x)

Here, P(x)=cot(x).

The integral of P(x) is ∫cot(x)dx=ln∣sin(x)∣.

So, the integrating factor is:

I.F.=e∫cot(x)dx=eln∣sin(x)∣=∣sin(x)∣

For the JEE, we can usually assume sin(x) is positive in the given domain, so we use sin(x).

6.0Solved Examples on Linear Differential Equations (JEE-Level)

Example 1: Basic Application

Problem: Solve the differential equation xdxdy​+y=x3

Solution:

  1. Standard Form: Divide by x:
    dxdy​+x1​y=x2

    Comparing with dy/dx ​+P(x)y=Q(x), we get P(x)=x1​​ and Q(x)=x2​.
  2. Integrating Factor: I.F.=e∫x1​dx=eln(x)=x
  3. General Solution:

y⋅(x)=∫x2⋅(x)dx+Cxy=∫x3dx+Cxy=4x4​+C
The final solution is y=4x2​+xC​

Example 2: A Slightly More Complex Problem

Problem: Solve dxdy​+1+x22x​y=1+x21​

Solution:

  1. Standard Form: The equation is already in the standard form. Here, ​ and P(x)=1+x22x​andQ(x)=1+x21​.

Integrating Factor:
I.F. = e∫1+x22x​dx
Let so dt=2xdx.

∫1+x22x​dx=∫tdt​=ln∣t∣=ln(1+x2)I.F.=eln(1+x2)=1+x2

  1. General Solution:

y⋅(1+x2)=∫1+x21​⋅(1+x2)dx+Cy(1+x2)=∫1dx+Cy(1+x2)=x+C
Final solution: y=1+x2x+C​

Example 3: Non-Standard Form

Problem: Solve sin(x)dxdy​+ycos(x)=xsin(x).

Solution:

  1. Standard Form: Divide the entire equation by sin(x) to make the coefficient of dxdy​ equal to 1.

dxdy​+ysin(x)cos(x)​=x

dxdy​+ycot(x)=x

Now, P(x)=cot(x) and Q(x)=x.

  1. Integrating Factor:
    I.F. = e∫cot(x)dx=eln∣sin(x)∣=sin(x)
    General Solution:

y⋅sin(x)=∫x⋅sin(x)dx+C
Use integration by parts for ∫xsin(x)dx:

∫xsin(x)dx=x(−cos(x))−∫1⋅(−cos(x))dx

=−xcos(x)+∫cos(x)dx

=−xcos(x)+sin(x)
So, ysin(x)=−xcos(x)+sin(x)+C.
Final solution: y=sin(x)−xcos(x)+sin(x)+C​=−xcot(x)+1+Ccsc(x)

7.0Alternative Form: Equation in x and y

A linear differential equation can also be written in the form:

dydx​+P(y)x=Q(y)

Here, P(y) and Q(y) are functions of y (or constants).

The solution method remains the same, but with a slight change:

  • Integrating Factor: I.F.=e∫P(y)dy
  • General Solution: x⋅(I.F.)=∫Q(y)⋅(I.F.)dy+C 

8.0Key Tips & Tricks for JEE

  • Recognition is Key: The first and most important step is to correctly identify the equation as a linear differential equation. Look for the standard form dxdy​+P(x)y=Q(x).
  • Coefficient of dxdy​ : Always ensure the coefficient of dxdy​ is 1 before finding P(x) and Q(x).
  • Integration Skills: A strong grasp of integration, especially methods like integration by parts and substitution, is crucial for solving these problems.
  • Practice with Multiple Forms: Practice problems where the equation is not in the standard form and requires manipulation. This is a common trick in JEE questions.

9.0Common Mistakes to Avoid

  • Not converting to the standard form: This is the most frequent error. Always divide by the coefficient of dxdy​ first.
  • Incorrectly identifying P(x) and Q(x): Make sure you correctly identify the function that is the coefficient of y and the function on the right-hand side.
  • Errors in Integration: Be careful while calculating the integrating factor and the final integral. A small mistake can lead to a completely wrong answer.
  • Forgetting the Constant of Integration (C): The constant of integration is essential for a general solution. Don't forget to add it at the end. For problems with initial conditions, use this constant to find the particular solution.

10.0Practice Problems on Linear Differential Equations

1. Solve: (1+x2)dxdy​+2xy=cos(x)

2. Solve: xln(x)dxdy​+y=2ln(x)

3. Solve: dxdy​+ytan(x)=sec(x)

4. Solve: dydx​+yx​=y2(This is an example of the alternative form!)

Table of Contents


  • 1.0Introduction to Linear Differential Equations
  • 2.0What is a Linear Differential Equation?
  • 3.0General Form & Identification
  • 4.0Step-by-Step Method to Solve Linear Differential Equations
  • 4.1Step 1: The Standard Form
  • 4.2Step 2: Finding the Integrating Factor (I.F.)
  • 4.3Step 3: The General Solution
  • 5.0Working with the Integrating Factor
  • 5.1Formula for I.F.
  • 5.2Example Calculation
  • 6.0Solved Examples on Linear Differential Equations (JEE-Level)
  • 6.1Example 1: Basic Application
  • 6.2Example 2: A Slightly More Complex Problem
  • 6.3Example 3: Non-Standard Form
  • 7.0Alternative Form: Equation in x and y
  • 8.0Key Tips & Tricks for JEE
  • 9.0Common Mistakes to Avoid
  • 10.0Practice Problems on Linear Differential Equations

Frequently Asked Questions

A linear differential equation has the dependent variable (y) and its derivatives only in the first power. In a non-linear equation, the powers are greater than one, or there are products of the dependent variable and its derivatives.

No, you should not add a constant of integration when calculating the integrating factor. You only need to add the constant of integration (C) in the final step when you are finding the general solution.

The method remains the same. You will just need to apply the appropriate integration rules for those specific functions when calculating the integrating factor and the final integral. Common integrals like ∫tan(x)dx or ∫ln(x)dx might be required.

Join ALLEN!

(Session 2025 - 26)


Choose class
Choose your goal
Preferred Mode
Choose State
  • About
    • About us
    • Blog
    • News
    • MyExam EduBlogs
    • Privacy policy
    • Public notice
    • Careers
    • Dhoni Inspires NEET Aspirants
    • Dhoni Inspires JEE Aspirants
  • Help & Support
    • Refund policy
    • Transfer policy
    • Terms & Conditions
    • Contact us
  • Popular goals
    • NEET Coaching
    • JEE Coaching
    • 6th to 10th
  • Courses
    • Online Courses
    • Distance Learning
    • Online Test Series
    • International Olympiads Online Course
    • NEET Test Series
    • JEE Test Series
    • JEE Main Test Series
  • Centers
    • Kota
    • Bangalore
    • Indore
    • Delhi
    • More centres
  • Exam information
    • JEE Main
    • JEE Advanced
    • NEET UG
    • CBSE
    • NCERT Solutions
    • Olympiad
    • NEET Previous Year Papers
    • NEET Sample Papers
    • JEE Main Sample Papers
    • CBSE Sample Papers

ALLEN Career Institute Pvt. Ltd. © All Rights Reserved.

ISO