All 42 questions UPSC has asked on first order first degree equations in the Mathematics Optional (Paper I, Ordinary Differential Equations) from 2008 to 2026, solved step by step – latest first.
Try them yourself first: the same questions, without solutions, are on our Ordinary Differential Equations topic-wise PYQs page.
How we check these solutions
These are our own solutions, prepared with AI help. UPSC does not publish official answers. Every solution is checked a second way before it goes up, and says how:
- ✓ Checked by computer the answer was worked out again independently with computer algebra (SymPy).
- ✓ Proof checked step by step for “prove that” questions, every step was checked against the definitions.
Spotted a mistake or a neater method? Tell us in the comments below or through Report an error.
Jump to a question (year · question number):
2026 · 5a 2026 · 7c(i) 2025 · 5b 2024 · 5a 2024 · 7a 2023 · 5a 2023 · 7a(i) 2022 · 5a 2022 · 5b 2021 · 8a(i) 2020 · 5a 2020 · 5b 2019 · 5a 2018 · 7d 2018 · 8d 2017 · 5a 2017 · 5b 2017 · 6a(ii) 2016 · 5c 2016 · 5d 2016 · 6a 2015 · 5a 2015 · 5b 2015 · 6a 2014 · 5a 2014 · 5b 2014 · 8a 2013 · 5a 2013 · 5b 2013 · 6a 2012 · 5a 2012 · 5b 2012 · 6a 2011 · 5a 2011 · 5b 2010 · 5a 2010 · 5b 2010 · 6a 2010 · 7a 2009 · 6a 2009 · 6c 2008 · 5a
If and are two solutions of , and , then show that , where is a non-zero constant.
Solution
Since and both satisfy : Expanding the second: , i.e. . Hence Integrating, Writing : Here : if then and , but the two solutions are distinct.
✓ Proof checked step by step A derivation: we checked each step by differentiating back.
Show that is an integrating factor of Hence solve it.
Solution
Let , and .
Exactness. Write . Rather than expanding and , we exhibit a function whose differential is : So is an exact differential, and is an integrating factor.
Solution.
✓ Checked by computer We checked by computer (SymPy): with the factor the equation is exact (), and the solution’s differential reproduces the equation.
Form the differential equation of all ellipses whose axes coincide with coordinate axes.
Solution
The family has two arbitrary constants, so we differentiate twice. Writing , : From the second, . Putting this into the third and dividing by :
✓ Checked by computer We checked by computer (SymPy): every ellipse satisfies the equation.
Find the orthogonal trajectories of the family of curves , where is a parameter.
Solution
Take logarithms: . Differentiating with respect to eliminates : For orthogonal trajectories in polar form, replace by : The orthogonal trajectories are
✓ Checked by computer We checked by computer (SymPy) that the new family cuts the old one at right angles.
State uniqueness theorem for the existence of unique solution of the initial value problem , in the rectangular region , . Test the existence and uniqueness of the solution of the initial value problem , , in a suitable rectangle . If more than one solution exist, then find all the solutions.
Solution
Theorem (existence and uniqueness). Let be continuous in , with there, and let satisfy a Lipschitz condition in on : (This holds, for example, when is continuous on .) Then the problem , has exactly one solution on , where .
The problem , . Take .
- Existence. is continuous on , so a solution exists (Peano’s theorem).
- Uniqueness fails. is unbounded as . Nor is there any Lipschitz constant: with , . So the uniqueness theorem cannot be applied in any rectangle containing .
All solutions. Separating variables where : , so with . A solution may stay at for a while and then leave the axis. With the solutions are:
- ;
- for any (the most common one, , gives for );
- to the left of every solution is : where , increases with , so a solution that is positive at some cannot come down to at .
So there are infinitely many solutions: and the family above, one for each .
✓ Proof checked step by step Proof checked step by step; we also checked both solutions by substitution.
Obtain the solution of the initial-value problem in the form .
Solution
The equation is linear with , so the integrating factor is : Integrate from to , using : Hence
✓ Checked by computer We checked by computer (SymPy): the function satisfies the equation and .
Find the solution of the differential equation :
Solution
Write it as with , so it is exact.
Integrate with respect to : . The terms of free of give . The solution is
✓ Checked by computer We checked by computer (SymPy): the equation is exact and the solution’s differential reproduces it.
Show that the general solution of the differential equation can be written in the form , where , are non-zero functions of and , an arbitrary constant.
Solution
The usual solution of the linear equation is Since , we can write and integrate by parts: So Dividing by and writing :
✓ Proof checked step by step Proof checked step by step (integration by parts).
Show that the orthogonal trajectories of the system of parabolas : belong to the same system.
Solution
Equation of the family. Differentiate : , where . So . Substituting, Orthogonal trajectories. Replace by : This is the same differential equation, so the orthogonal trajectories are again of the form : the system is self-orthogonal.
✓ Checked by computer We checked by computer (SymPy): replacing by gives back the same equation.
Find the orthogonal trajectories of the family of confocal conics ; are constants and is a parameter. Show that the given family of curves is self orthogonal.
Solution
Differentiate the conic, with : Write , , so . From this equation , so . Substituting into : Now put these into : Orthogonal trajectories. Replace by : Multiply by : , the same equation. So the orthogonal trajectories belong to the family itself: the confocal conics are self-orthogonal. (Geometrically, through each point pass one ellipse and one hyperbola of the family, and they cut at right angles.)
✓ Checked by computer We checked by computer (SymPy): eliminating gives this equation, and leaves it unchanged.
Solve the following differential equation :
Solution
Divide the equation by : Now notice that and . So the left side is Hence the solution is
✓ Checked by computer We checked by computer (SymPy): the differential of is the equation divided by .
Find the orthogonal trajectories of the family of circles passing through the points and .
Solution
The family. A circle through and has its centre on the perpendicular bisector, the -axis: Differentiate: , so . Substituting, Orthogonal trajectories. Replace by and multiply by : Try circles : differentiating, , and eliminating gives , exactly the equation above. So the orthogonal trajectories are circles with centres on the -axis (a coaxal system with limiting points ).
✓ Checked by computer We checked by computer (SymPy): both families satisfy the equations shown, and the slopes multiply to .
Solve the differential equation
Solution
Here and . Not exact. But a function of alone, so is an integrating factor. Multiplying, which is . The solution is
✓ Checked by computer We checked by computer (SymPy): with the factor the equation is exact, and the solution’s differential reproduces it.
Find and such that is an integrating factor of and solve the equation.
Solution
Multiply by : , . For exactness, Equating coefficients: So , : the integrating factor is . The equation becomes The solution is
✓ Checked by computer We solved for by computer (SymPy): , ; the solution’s differential reproduces the equation.
Find such that is exact and hence solve.
Solution
Here (the coefficient of ) and . Exactness requires Taking , . Then The solution is (With a general the solution is .)
✓ Checked by computer We checked by computer (SymPy): with the equation is exact and the solution’s differential reproduces it.
Find the differential equation representing all the circles in the – plane.
Solution
Every circle has three constants, so differentiate three times: From the second, . Differentiate the second once more: The differential equation of all circles is
✓ Checked by computer We checked by computer (SymPy): a general circle satisfies the equation.
Suppose that the streamlines of the fluid flow are given by a family of curves . Find the equipotential lines, that is, the orthogonal trajectories of the family of curves representing the streamlines.
Solution
Differentiate : , so . For the orthogonal trajectories, replace by : The equipotential lines are the rectangular hyperbolas .
✓ Checked by computer We checked by computer (SymPy) that the slopes of the two families multiply to .
If the growth rate of the population of bacteria at any time is proportional to the amount present at that time and population doubles in one week, then how much bacterias can be expected after 4 weeks?
Solution
Let be the population at time (in weeks). Then , so .
Doubling in one week: , so , .
After 4 weeks: We can expect 16 times the initial number of bacteria.
✓ Checked by computer We checked the arithmetic by computer: .
Solve :
Solution
Rewrite as a linear equation: The integrating factor is . So (put ). Hence
✓ Checked by computer We checked by computer (SymPy): the solution satisfies the equation.
Show that the family of parabolas is self-orthogonal.
Solution
Equation of the family. Differentiate : , so . Substituting, Orthogonal trajectories. Replace by : The same equation, so the orthogonal trajectories are members of the same family: the family is self-orthogonal.
✓ Checked by computer We checked by computer (SymPy): replacing by gives back the same equation.
Solve :
Solution
Divide by : The integrating factor is So
✓ Checked by computer We checked by computer (SymPy): the solution satisfies the equation.
Solve the differential equation :
Solution
Divide by : The integrating factor is . So
✓ Checked by computer We checked by computer (SymPy): the solution satisfies the equation.
Solve the differential equation :
Solution
, . Not exact. But a function of alone, so is an integrating factor. Then is exact; integrating the first bracket with respect to gives the solution
✓ Checked by computer We checked by computer (SymPy): with the factor the equation is exact, and the solution’s differential reproduces it.
Find the constant so that is the Integrating factor of and hence solve the differential equation.
Solution
Let , , . Then Here and . So the bracket is which vanishes identically only when . The integrating factor is .
The exact equation is , with potential The solution is
✓ Checked by computer We checked by computer (SymPy): exactness holds only for , and the solution’s differential reproduces the equation.
Justify that a differential equation of the form : where is an arbitrary function of , is not an exact differential equation and is an integrating factor for it. Hence solve this differential equation for .
Solution
Not exact. With and , where : They differ by , so the equation is never exact.
Integrating factor. Regroup the equation: Divide by . Since and with : which is exact. So is an integrating factor.
The case . Then , and the solution is
✓ Checked by computer We checked by computer (SymPy): with the solution’s differential is the equation divided by .
Find the curve for which the part of the tangent cut-off by the axes is bisected at the point of tangency.
Solution
Let be the point of tangency and . The tangent meets the axes at is the midpoint of : (The second coordinate gives , the same condition.) Separating, , so a family of rectangular hyperbolas with the axes as asymptotes.
✓ Checked by computer We checked by computer (SymPy): on the tangent’s intercepts are and .
Find the sufficient condition for the differential equation to have an integrating factor as a function of . What will be the integrating factor in that case ? Hence find the integrating factor for the differential equation and solve it.
Solution
Condition. Suppose with is an integrating factor. Exactness of means . Since : So the condition is that be a function of alone. The integrating factor is then , .
Example. , : and . So Multiplying, the equation becomes , so (together with the line , which was removed by the integrating factor and also satisfies the equation).
✓ Checked by computer We checked by computer (SymPy): for the example the ratio is , and with the factor the equation becomes exact.
is a function of , such that the differential coefficient is equal to . Find out a relation between and , which is free from any derivative/differential.
Solution
Put , so . Using half angles, So The required relation is
✓ Checked by computer We checked by computer (SymPy) that the relation satisfies .
Obtain the equation of the orthogonal trajectory of the family of curves represented by , being the plane polar coordinates.
Solution
Take logarithms: . Differentiating with respect to : Replace by : The orthogonal trajectories are
✓ Checked by computer We checked by computer (SymPy) that the two families cut at right angles.
Solve the differential equation .
Solution
, . , : not exact. But so is an integrating factor: Integrating, the solution is
✓ Checked by computer We checked by computer (SymPy): with the factor the equation is exact, and the solution’s differential reproduces it.
Solve
Solution
Since appears throughout, write the equation for and put : With : Separating, The solution is
✓ Checked by computer We checked by computer (SymPy): the relation’s slope equals the right-hand side.
Find the orthogonal trajectories of the family of curves .
Solution
Differentiate : . Eliminate : Replace by : , i.e. This is homogeneous. Rather than substituting, note that circles give , and eliminating : , i.e. . That is exactly our equation. The orthogonal trajectories are circles touching the -axis at the origin.
✓ Checked by computer We checked by computer (SymPy) that the two families cut at right angles.
Show that the differential equation is not exact. Find an integrating factor and hence, the solution of the equation.
Solution
, .
Not exact: , but .
Integrating factor: a function of only, so . The equation becomes which is exact. Integrating,
✓ Checked by computer We checked by computer (SymPy): with the factor the equation is exact, and the solution’s differential reproduces it.
Obtain the solution of the ordinary differential equation , if .
Solution
Put . Then , so At : , so and . Hence :
✓ Checked by computer We checked by computer (SymPy): the solution satisfies the equation and .
Determine the orthogonal trajectory of a family of curves represented by the polar equation being the plane polar coordinates of any point.
Solution
Take logarithms: . Differentiating, Replace by : So . The orthogonal trajectories are the cardioids
✓ Checked by computer We checked by computer (SymPy) that the cardioids and cut at right angles.
Consider the differential equation where is a constant. Show that— (i) if is any solution and , then is a constant; (ii) if , then every solution tends to zero as .
Solution
A note on the question. With , every solution is , and is not constant. The intended equation is .
(i) Let be any solution of and . Then so is a constant, say .
(ii) By (i), every solution is . If , then as , so .
✓ Proof checked step by step Proof checked step by step. As printed, the equation reads ; the question only makes sense for , which we solve.
Show that the differential equation admits an integrating factor which is a function of . Hence solve the equation.
Solution
Write the equation as with , .
Condition for a factor , . Here , . Exactness of gives Now and . So a function of alone. The integrating factor exists and equals .
Solution. Multiplying by and integrating gives the potential . The solution is
✓ Checked by computer We checked by computer (SymPy): with the factor the equation is exact, and the solution’s differential reproduces it.
Verify that Hence show that— (i) if the differential equation is homogeneous, then is an integrating factor unless ; (ii) if the differential equation is not exact but is of the form then is an integrating factor unless .
Solution
The identity. and . So the left side is Dividing by :
(i) Homogeneous equation. If , are homogeneous of degree , then is homogeneous of degree , so it is a function of alone, hence of . Then the last term of is with , an exact differential, and so is . Hence is an integrating factor (provided ).
(ii) , . Then and are functions of . Divide the identity by instead: The ratio is a function of , hence of , so the first term is exact, and so is the second. So is an integrating factor (provided ).
✓ Proof checked step by step Proof checked step by step. In (i) the integrating factor is ; the printed “” has lost its exponent .
Show that the set of solutions of the homogeneous linear differential equation on an interval forms a vector subspace of the real vector space of continuous functions on . What is the dimension of ?
Solution
Let be the set of (differentiable, hence continuous) solutions of on , where is continuous.
Subspace. The zero function is a solution, so . If and , then so . Hence is a subspace of .
Dimension. Let , a non-zero solution. If , then so . Thus is a basis and
✓ Proof checked step by step Proof checked step by step.
Find the differential equation of the family of circles in the -plane passing through and .
Solution
The centre lies on the perpendicular bisector of the two points, the -axis. So the circle is . It passes through : . So the family is with one parameter . Differentiating, , so . Substituting: Simplifying, the required differential equation is
✓ Checked by computer We checked by computer (SymPy): every circle through the two points satisfies the equation.
Solve :
Solution
The right side is homogeneous of degree : . It is easier to treat as the dependent variable and put : With : Separating, So , i.e. . At : . The solution is
✓ Checked by computer We checked by computer (SymPy): the relation satisfies the equation and passes through .
Solve the differential equation
Solution
Group the terms: Divide by : The solution is
✓ Checked by computer We checked by computer (SymPy): the solution’s differential is a multiple of the equation.
More on Ordinary Differential Equations
- Ordinary Differential Equations topic-wise PYQs (questions only, for practice)
- Mathematics PYQ analysis: which units carry the marks year by year
- Year-wise question papers
- Mathematics booklist
Questions: UPSC Civil Services (Main) Examination, Mathematics Paper I, 2008–2026. Solutions: Optional Province. Found an error? Tell us.

