๐ŸŽ‰ 75% of content is free forever โ€” Unlock Premium from $10/mo โ†’
CW
NEWSLIVESearch All Content
๐Ÿ’ผ Servicesโ„น๏ธ Aboutโœ‰๏ธ ContactView Pricing Plansfrom $10

Linear Differential Equations

CBSE Class 12 MathsDifferential Equations๐ŸŸข Free Lesson

A first order linear equation becomes manageable the moment it is normalised: divide until the coefficient of the derivative is exactly one, read off two functions, and a single formula returns the solution. Everything below follows from that one act of normalisation, including the two traps that cost the most marks โ€” a minus sign lost while reading , and a factor that is computed but never multiplied through.

where and are functions of (or constants).

Method: Integrating Factor

The solution is:

Why the Integrating Factor Works

The method is an exact-derivative trick in disguise. Multiply both sides of by a function that is still to be chosen, giving . The left side is meant to collapse into , and the product rule expands that as . Comparing the two expressions forces , a separable equation whose solution is , hence . After multiplication the equation reads , so one integration returns , and the constant of integration enters exactly once, at the very end. Since is an exponential it is never zero, so dividing by it at the last step loses no solutions.

Steps to Solve

  1. Write in standard form:
  2. Find the integrating factor:
  3. Multiply both sides by IF
  4. Integrate both sides
  5. Solve for

Reading P and Q Without Sign Errors

The equation must be normalised before the formula is touched, which means the coefficient of has to read . In divide through by first, obtaining , so and rather than and . The minus sign is the most common loss: in the sign is already part of the term, so and , which makes . A fast audit exists: multiply the normalised equation by the factor and check that the left side really becomes ; if it does not, the reading of was wrong and no amount of integration will rescue the answer. Two special readings are worth memorising. A constant gives , and when vanishes the same factor still works, returning the pure decay solution without any integral on the right.

The Case Where Q Vanishes

When the equation is simultaneously linear and separable, which is a useful shortcut to recognise. Dividing by and integrating gives , that is , exactly what the integrating factor formula produces once is absorbed into the constant. For with the solution is : the value falls to of its starting size after a quarter of a time unit, and to about of it after one full unit. Recognising the case turns a five-step procedure into a one-line answer, and the exponential check confirms the sign โ€” a positive inside the factor produces growth, a negative one produces decay.

Example: Basic Linear Equation

Solve .

Example: Linear Equation with Initial Condition

Solve with .

Which Method for Which Equation

The classification is structural rather than numerical: look at where and sit, then decide. If both appear to the first power, with no product between them and nothing beyond a single factor of on the right, the integrating factor settles the problem in five lines. If the right side carries with different from and , the equation is Bernoulli and the substitution converts it into the linear case. If the right side is a function of the ratio , the equation is homogeneous and the integrating factor is the wrong tool entirely.

Equation as printedFirst moveIdentifying featureMethod
already normalised constant, presentIF
divide by coefficient of the derivative exceeds IF with
move terms to the left is negative after normalisingIF
, divide by also appears on the rightset
divide by right side depends on substitute , no IF

Bernoulli's Equation

Example: Bernoulli Equation

Solve .

Solving and Checking in Python

A computer algebra system will solve these equations outright, which makes it an ideal marker for checking a hand derivation before the answer sheet is submitted. The two calls below reproduce the first two worked examples, constants included.

python
from sympy import symbols, Function, dsolve, Eq, exp

x = symbols('x')
y = Function('y')(x)

print(dsolve(Eq(y.diff(x) + 2 * y, exp(3 * x)), y))
print(dsolve(Eq(y.diff(x) + y / x, x**2), y))

The outputs are and , the general solutions already derived by hand; the second becomes the particular solution of the lesson once is imposed.

The second check is independent of any symbolic algebra: it samples the derivative of a candidate solution and compares it with the right-hand side of the equation, so it fails loudly if the factor, the sign or the constant was mishandled.

python
import math

def y(t):
    return math.exp(3 * t) / 5 + 2.0 * math.exp(-2 * t)   # C = 2

def rhs(t):
    return math.exp(3 * t) - 2 * y(t)

h = 1e-5
for t in (0.0, 0.5, 1.0):
    dy = (y(t + h) - y(t - h)) / (2 * h)
    print(f"t = {t}  dy/dx = {dy:+.6f}   e^3x - 2y = {rhs(t):+.6f}")

Both columns agree to five decimal places at every sample, confirming that the particular solution with satisfies on the whole line rather than at a single lucky point.

Where Board Answers Go Wrong

Marks leak at predictable steps. Leaving a coefficient other than in front of the derivative and applying the formula anyway solves a different equation, so the normalisation line belongs in the answer even when it looks trivial. The next slip is sign: writing where the printed equation reads flips the factor from to and inverts the result. The third is the constant, which must be attached after the right side is integrated, not before the factor is applied; a constant added too early is scaled by the factor and lands in the wrong place. Finally, initial conditions are substituted into the completed general solution โ€” in the second worked example only yields once is on the page. A four-mark answer is usually scored as one mark each for standard form, factor, exact derivative, and the final substitution.

Common Mistakes

Applying the integrating factor formula while the coefficient of dy/dx is still not one

Fix: Divide the whole equation by that coefficient first; for 2 dy/dx + 6y = sin x the correct reading is P = 3 and Q = sin x over 2, giving the factor e to the 3x.

Reading P without its sign from an equation printed as dy/dx minus 3y over x

Fix: P equals minus 3/x, so the factor is x to the power minus three, and the check is that multiplying back collapses the left side into the derivative of y times the factor.

Adding the constant of integration before the right-hand side has been integrated

Fix: Multiply by the factor, integrate the right side once, and only then write plus C; a constant introduced earlier gets scaled by the factor.

Key Takeaways

  • Normalise first: divide until the coefficient of dy/dx reads 1, and only then read P and Q, because the formula assumes that form
  • The integrating factor e raised to the integral of P turns the left side into the derivative of a product, so one integration finishes the problem
  • Q equal to zero returns y = C times e to the minus integral of P immediately, while a y to the n term on the right with n not 0 or 1 signals Bernoulli
  • Initial conditions fix the constant only after the general solution is complete, and the substitution must be shown in the answer
CW

ChatWhole Learn Editorial Team

Written by experienced data scientists, software engineers, and educators. All content is reviewed by industry professionals to ensure accuracy and relevance.

Last reviewed: 2026-10-15

โ€”
โ˜†โ˜†โ˜†โ˜†โ˜†
0 ratings

Rate & Feedback

Need Expert CBSE Class 12 Help?

Get personalized tutoring, project support, or professional consulting.

Advertisement