

Step-by-Step Guide to Solving Linear Differential Equations
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):
3. Find the Integrating Factor (IF):
4. Multiply both sides by IF:
5. Write left side as a product rule:
6. Integrate both sides:
7. Integrate by parts:
\( 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 = \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:
- Write IF as \( e^{\int P(x)dx} \).
- Multiply every term by IF.
- Left side will become derivative of (y × IF).
- 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 How to Solve Linear Differential Equation
1. What is a first-order linear differential equation as per the CBSE Class 12 syllabus?
A first-order linear differential equation is an equation of the form dy/dx + P(x)y = Q(x), where P(x) and Q(x) are either constants or functions of the variable x only. The key characteristic is that the dependent variable 'y' and its derivative 'dy/dx' appear only to the first power and are not multiplied together.
2. What is the importance of writing a linear differential equation in its standard form?
Writing a linear differential equation in its standard form, dy/dx + P(x)y = Q(x), is a crucial first step because it allows for a systematic solution. This form helps to directly identify the functions P(x) and Q(x), which are essential for calculating the integrating factor and proceeding with the standard solution method. Without this form, the solution process cannot be applied correctly.
3. How can you tell the difference between a linear and a non-linear differential equation?
The primary difference lies in how the dependent variable and its derivatives appear in the equation.
- In a linear differential equation, the dependent variable (e.g., y) and its derivatives (e.g., dy/dx) are all raised to the power of one.
- In a non-linear differential equation, this rule is broken. You might see terms like y², (dy/dx)³, y*(dy/dx), or non-linear functions of y such as sin(y). For example, dy/dx + 2y = x is linear, whereas dy/dx + 2y² = x is non-linear.
4. What is the conceptual role of an 'integrating factor' in solving these equations?
The integrating factor (IF) is a specially chosen function that acts as a key to unlock the solution. Its role is to transform the left side of the standard equation, dy/dx + P(x)y, into an exact derivative of a product. Specifically, when you multiply the entire equation by the IF, the left side becomes the result of the product rule applied to d/dx (y * IF). This conversion makes the equation directly integrable, which is the main challenge in its original form.
5. Can the integrating factor method be used to solve any type of differential equation?
No, the integrating factor method is a specialised technique. It is specifically designed for first-order linear differential equations of the form dy/dx + P(x)y = Q(x). It is not applicable to:
- Non-linear differential equations: Where the dependent variable or its derivatives have powers other than one.
- Higher-order linear differential equations: Such as second-order equations, which require different methods like using an auxiliary equation or variation of parameters.
6. Why can't we just integrate each term directly in an equation like dy/dx + P(x)y = Q(x)?
We cannot integrate term-by-term because of the middle term, P(x)y. Since 'y' is itself a function of 'x', we cannot find the integral of P(x)y with respect to 'x' without first knowing what the function 'y' is—which is what we are trying to find in the first place. This is why a special method, like using an integrating factor, is needed to restructure the equation into a form that is directly integrable.
7. How do initial conditions affect the solution of a linear differential equation?
Solving a linear differential equation initially yields a general solution, which includes a constant of integration, '+C'. This solution represents an infinite family of possible curves. An initial condition, such as y(x₀) = y₀, provides a specific point that must lie on the solution curve. By substituting these values into the general solution, we can solve for the specific value of 'C', thus transforming the general solution into a particular solution that uniquely satisfies the given conditions.
8. What are some real-world examples that can be modelled by first-order linear differential equations?
First-order linear differential equations are fundamental for modelling various physical phenomena. Some common examples include:
- RL Circuits: Describing the flow of current in a circuit with a resistor and an inductor.
- Newton's Law of Cooling: Modelling the temperature change of a hot object as it cools down in a surrounding medium.
- Radioactive Decay: Calculating the rate at which a radioactive substance decays over time.
- Population Models: Simple models for population growth where the rate of growth is proportional to the current population.
9. What is the conceptual difference between a homogeneous and a linear differential equation?
The distinction is based on their structure and the corresponding solution method. A linear equation is defined by the linearity of the dependent variable and its derivatives (dy/dx + P(x)y = Q(x)). A homogeneous equation is defined by the property that it can be written in the form dy/dx = F(y/x). While an equation can sometimes be both, their classifications point to different solution strategies. The 'linear' classification tells us to use an integrating factor, whereas the 'homogeneous' classification tells us to use the substitution y = vx.
10. Are second-order linear differential equations also solved using an integrating factor?
No, the integrating factor method is not used for second-order linear differential equations. These equations, typically in the form a(d²y/dx²) + b(dy/dx) + cy = f(x), require more advanced techniques. The standard approach involves finding the solution to the homogeneous part by solving an auxiliary (or characteristic) equation and then finding a particular solution for the non-homogeneous part using methods like undetermined coefficients or variation of parameters.

















