How an Integrating Factor Turns a Linear Differential Equation Into One Integral
Solve homogeneous first-order differential equations with the substitution y = vx, solve linear equations dy/dx + Py = Q with an integrating factor, and handle the analogous form dx/dy + Px = Q.
What if the variables in a differential equation cannot be separated?
Many first-order equations refuse to separate — x and y stay tangled together. Two common types still have reliable methods: homogeneous equations, solved with the substitution , and linear equations, solved with an integrating factor.
This part covers homogeneous equations, linear equations in y, and linear equations in x.
This part covers homogeneous equations, linear equations in y, and linear equations in x.
How do you solve a homogeneous differential equation of the first order and first degree?
**An equation is homogeneous when F can be written as a function of alone; substituting , so that , makes the variables separable.
Test for homogeneity.** for every non-zero .
Worked example. Solve for .
- Put :
- So , giving
- Integrating: , so
Check. If , then .
Worked example 2. Solve . With : , so . Integrating gives , which simplifies to .
An everyday example. Enlarging a photo on a phone screen keeps every shape's proportions, just as a homogeneous equation keeps its form when x and y are scaled together.
The substance. Homogeneous means every term has the same total degree — and both have degree 2, but does not.
Test for homogeneity.** for every non-zero .
Worked example. Solve for .
- Put :
- So , giving
- Integrating: , so
Check. If , then .
Worked example 2. Solve . With : , so . Integrating gives , which simplifies to .
An everyday example. Enlarging a photo on a phone screen keeps every shape's proportions, just as a homogeneous equation keeps its form when x and y are scaled together.
The substance. Homogeneous means every term has the same total degree — and both have degree 2, but does not.
How do you solve a linear differential equation dy/dx + Py = Q using an integrating factor?
**For , where P and Q are functions of x, multiply through by the integrating factor , which turns the left side into the derivative of , so the solution is .
Worked example.** Solve for .
- , so
-
-
Worked example 2 (particular solution). Solve with . Here , so and . The condition gives , so , which is about 1.73 at .
An everyday example. A water tank filling at a steady rate while leaking in proportion to its level obeys — the level rises and settles at , like the value 2 in the second example.
The substance. Write the equation in standard form first — for , divide by x before reading off P.
Worked example.** Solve for .
- , so
-
-
Worked example 2 (particular solution). Solve with . Here , so and . The condition gives , so , which is about 1.73 at .
An everyday example. A water tank filling at a steady rate while leaking in proportion to its level obeys — the level rises and settles at , like the value 2 in the second example.
The substance. Write the equation in standard form first — for , divide by x before reading off P.
How do you solve a linear differential equation of the form dx/dy + Px = Q?
**When an equation is linear in x rather than y, write it as with P and Q functions of y, use , and the solution is .
Spotting the form.** is not linear in y, but flipping it gives , which is linear in x.
Worked example. Solve for .
- , so
-
-
Check. Differentiating with respect to y gives , which equals .
An everyday example. Working out delivery time as a function of distance, instead of distance as a function of time, swaps the roles of the variables — just as flipping to does.
The substance. Flipping the derivative is worth trying when y appears squared or inside a function but x appears only to the first power — the equation may then be linear in x.
Spotting the form.** is not linear in y, but flipping it gives , which is linear in x.
Worked example. Solve for .
- , so
-
-
Check. Differentiating with respect to y gives , which equals .
An everyday example. Working out delivery time as a function of distance, instead of distance as a function of time, swaps the roles of the variables — just as flipping to does.
The substance. Flipping the derivative is worth trying when y appears squared or inside a function but x appears only to the first power — the equation may then be linear in x.
Exam tip
What earns full marks on homogeneous and linear differential equations?
State the type in words — 'homogeneous' or 'linear in y' — and write P, Q and the integrating factor on separate lines before solving.
- Homogeneous: substitute and
- Linear in y: , then
- Linear in x:
- Replace v by at the end
The trap. Reading P before putting the equation in standard form. **The coefficient of must be 1 first.**
- Homogeneous: substitute and
- Linear in y: , then
- Linear in x:
- Replace v by at the end
The trap. Reading P before putting the equation in standard form. **The coefficient of must be 1 first.**
Did you know
How does a capacitor in a phone charger charge up?
When a capacitor charges through a resistor, the voltage across it obeys a linear differential equation, , of exactly the type solved with an integrating factor.
The solution, , rises quickly at first and then levels off, never quite reaching . After a time of 5RC it is within 1 per cent of full charge.
The same equation describes how a thermometer settles to room temperature and how a medicine drip builds up to a steady level in the blood.
The solution, , rises quickly at first and then levels off, never quite reaching . After a time of 5RC it is within 1 per cent of full charge.
The same equation describes how a thermometer settles to room temperature and how a medicine drip builds up to a steady level in the blood.
Exam relevance
How are homogeneous and linear differential equations tested in JEE Main?
Differential Equations is a recurring JEE Main chapter, and linear equations with an integrating factor are a staple of it.
What gets asked. Solving linear equations and finding y at a given point, homogeneous equations reduced with , and equations that become linear after **flipping to or a substitution.
Question types. Mostly numerical-value questions.
The trap that costs marks. Using the wrong sign of P in ** — P must be read after moving every y-term to the left side.
What gets asked. Solving linear equations and finding y at a given point, homogeneous equations reduced with , and equations that become linear after **flipping to or a substitution.
Question types. Mostly numerical-value questions.
The trap that costs marks. Using the wrong sign of P in ** — P must be read after moving every y-term to the left side.
Key takeaways
What must you be able to do from this part?
- Homogeneous equations: depends only on ; substitute and separate
- Linear in y: and
- Linear in x: the same method with the roles of x and y swapped
Can you solve with ?
- Linear in y: and
- Linear in x: the same method with the roles of x and y swapped
Can you solve with ?