Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store

Linear Differential Equation Solution Methods and Explanation

Reviewed by:
ffImage
hightlight icon
highlight icon
highlight icon
share icon
copy icon

How to Solve Linear Differential Equation Using Integrating Factor Method with Formula and Solved Examples

The concept of How to Solve Linear Differential Equation is essential in mathematics, especially in calculus and applications like physics and engineering. Understanding stepwise methods to solve linear differential equations helps students in exams and real-world problem-solving.


What Is How to Solve Linear Differential Equation?

A linear differential equation is an equation that relates a function and its derivatives in a linear manner. This means both the dependent variable and its derivatives appear to the first power and are not multiplied or composed with each other. Common in topics like calculus, electricity and circuits, and population growth, learning to solve linear differential equations gives you tools to tackle a wide range of problems.


Key Formula for How to Solve Linear Differential Equation

Here’s the standard formula for a first-order linear differential equation:
\( \frac{dy}{dx} + P(x)y = Q(x) \)
The general solution is: \( y \cdot IF = \int (Q(x) \cdot IF)dx + C \)
where the Integrating Factor (IF) is \( IF = e^{\int P(x)\,dx} \).


Cross-Disciplinary Usage

How to solve linear differential equation is not only useful in Maths but also plays a big role in Physics (motion, circuits), Chemistry (kinetics), Computer Science (algorithms), and even Biology (population models). For students preparing for JEE, NEET, or board exams, mastering this technique is a must for scoring well.


Step-by-Step Illustration

Let’s solve an example: Solve \( \frac{dy}{dx} + 2y = x \)

1. Start with the standard form: \( \frac{dy}{dx} + 2y = x \)

2. Identify P(x) and Q(x):
P(x) = 2, Q(x) = x

3. Find the Integrating Factor (IF):
\( IF = e^{\int 2dx} = e^{2x} \)

4. Multiply both sides by IF:
\( e^{2x}\frac{dy}{dx} + 2e^{2x}y = x e^{2x} \)

5. Write left side as a product rule:
\( \frac{d}{dx}(y \cdot e^{2x}) = x e^{2x} \)

6. Integrate both sides:
\( y \cdot e^{2x} = \int x e^{2x} dx + C \)

7. Integrate by parts:
Let \( u = x, dv = e^{2x}dx \)
\( du = dx, v = \frac{1}{2}e^{2x} \)
So, \( \int x e^{2x} dx = x \cdot \frac{1}{2}e^{2x} - \int \frac{1}{2}e^{2x} dx = \frac{x}{2}e^{2x} - \frac{1}{4}e^{2x} \)

8. Final solution:
\( y \cdot e^{2x} = \frac{x}{2}e^{2x} - \frac{1}{4}e^{2x} + C \)
\( y = \frac{x}{2} - \frac{1}{4} + C e^{-2x} \)

Speed Trick or Vedic Shortcut

A quick method to solve linear differential equations: Remember, if the equation is already in \( \frac{dy}{dx} + P(x)y = Q(x) \) form, you only need to remember the Integrating Factor (IF) trick:

  1. Write IF as \( e^{\int P(x)dx} \).
  2. Multiply every term by IF.
  3. Left side will become derivative of (y × IF).
  4. Integrate right side, solve for y.

This fast process is excellent for last-minute revision or when solving similar questions back-to-back, like in Olympiads or entrance exams. You can find more such approaches in Vedantu’s live sessions.


Try These Yourself

  • Solve: \( \frac{dy}{dx} - 3y = 6x \)
  • Solve: \( \frac{dy}{dx} + y \tan x = \sin x \)
  • Check if \( \frac{dy}{dx} + \frac{2}{x}y = x^2 \) is linear, and then solve it.
  • Find the integrating factor for \( \frac{dy}{dx} + \frac{1}{x}y = 5 \).

Frequent Errors and Misunderstandings

  • Forgetting to multiply the whole equation by the integrating factor.
  • Not arranging in standard form before starting.
  • Missed signs while integrating or using product rule wrongly.
  • Confusing linear equations with separable/non-linear ones.

Relation to Other Concepts

Solving linear differential equations connects directly with the first order differential equations and integrates knowledge from topics like integration by parts and differential equation types. This foundation is important for studying higher-order or non-homogeneous equations, and applications in engineering and the sciences.


Classroom Tip

A great way to remember the method is “Standardize – IF – Multiply – Integrate – Solve.” Teachers at Vedantu often use the acronym “SIMIS” to help students recall and apply the steps quickly in both school and competitive exams.


We explored how to solve linear differential equation—from the definition and key formula to solved examples, tricks, and common mistakes. Consistent practice with Vedantu’s resources and live tutors will help you master this topic, making exam questions easier and boosting your confidence.


Related reading: Linear Differential Equation and Its Types | First Order Differential Equation | Integration by Parts Rule | Solving Separable Differential Equations

FAQs on Linear Differential Equation Solution Methods and Explanation

1. What is a linear differential equation?

A linear differential equation is a differential equation in which the dependent variable and its derivatives appear only to the first power and are not multiplied together. Its standard first-order form is dy/dx + P(x)y = Q(x).

  • The function P(x) and Q(x) depend only on x.
  • The variable y and its derivative dy/dx are not squared or multiplied by each other.
  • It can be solved using the integrating factor method.

2. What is the standard form of a first-order linear differential equation?

The standard form of a first-order linear differential equation is dy/dx + P(x)y = Q(x).

  • P(x) is called the coefficient of y.
  • Q(x) is called the forcing function or non-homogeneous term.
  • If Q(x) = 0, the equation becomes a homogeneous linear differential equation.
This form is necessary to apply the integrating factor method correctly.

3. How do you solve a first-order linear differential equation?

A first-order linear differential equation is solved using the integrating factor (IF) method.

  • Step 1: Write the equation in standard form dy/dx + P(x)y = Q(x).
  • Step 2: Find the integrating factor: IF = e^{∫P(x)dx}.
  • Step 3: Multiply the entire equation by IF.
  • Step 4: The left side becomes the derivative of (y × IF).
  • Step 5: Integrate both sides and solve for y.
This method gives the general solution of the linear differential equation.

4. What is the integrating factor in a linear differential equation?

The integrating factor (IF) is a function used to convert a linear differential equation into an exact derivative. For dy/dx + P(x)y = Q(x), the integrating factor is IF = e^{∫P(x)dx}.

  • It is derived from the coefficient of y.
  • Multiplying the equation by IF simplifies the left-hand side.
  • It allows direct integration to find the solution.

5. Can you give an example of solving a linear differential equation?

Yes, for example, solve dy/dx + y = e^x.

  • Here, P(x) = 1.
  • Integrating factor: IF = e^{∫1 dx} = e^x.
  • Multiply both sides: e^x dy/dx + e^x y = e^{2x}.
  • Left side becomes d/dx (y e^x).
  • Integrate: y e^x = ∫e^{2x} dx = (1/2)e^{2x} + C.
  • Final solution: y = (1/2)e^x + Ce^{-x}.

6. What is the difference between linear and non-linear differential equations?

A linear differential equation has the dependent variable and its derivatives only to the first power, while a non-linear differential equation involves powers or products of them.

  • Linear example: dy/dx + 3y = x.
  • Non-linear example: dy/dx + y^2 = x.
  • Linear equations can be solved using systematic methods like integrating factors.

7. What is a homogeneous linear differential equation?

A homogeneous linear differential equation is a linear differential equation where the non-homogeneous term is zero, i.e., dy/dx + P(x)y = 0.

  • It can be solved by separation of variables.
  • Solution form: y = Ce^{-∫P(x)dx}.
  • It represents systems without external forcing terms.

8. How do you check if a differential equation is linear?

A differential equation is linear if the dependent variable and all its derivatives appear only to the first degree and are not multiplied together.

  • No terms like y^2, (dy/dx)^2, or y·dy/dx.
  • Coefficients may depend on the independent variable only.
  • It can be rearranged into the form dy/dx + P(x)y = Q(x).

9. What is the general solution of a linear differential equation?

The general solution of a first-order linear differential equation is the expression containing an arbitrary constant C after integration. For dy/dx + P(x)y = Q(x), the solution is:

  • y × IF = ∫(Q(x) × IF) dx + C
  • where IF = e^{∫P(x)dx}.
The constant C represents a family of solutions.

10. What are common mistakes when solving linear differential equations?

Common mistakes in solving linear differential equations include errors in finding the integrating factor and incorrect integration.

  • Not writing the equation in standard form dy/dx + P(x)y = Q(x).
  • Forgetting to multiply every term by the integrating factor.
  • Making sign errors in ∫P(x)dx.
  • Forgetting to include the constant of integration C.
Careful step-by-step application of the integrating factor method avoids these errors.