JEE Main 2025MathematicsDifferential EquationsMediumMCQ

JEE Main 2025Differential Equations Question with Solution

JEE Main 2025 (8 Apr Shift 2)

Question

Let and for . If , then is :-

Choose an option

Show full solutionCorrect option: C
Correct answer
C

Step-by-step explanation

$\begin{aligned}
& f(x)=x-1 \\ & f(f(x))=f(x)-1=x-1-1=x-2 \\ & g(f(f(x)))=e^{x-2} \\ & \therefore \frac{d y}{d x}=e^{-2 \sqrt{x}} \times e^{x-2}-\frac{1}{\sqrt{x}} y \\ & \frac{d y}{d x}+\frac{1}{\sqrt{x}} y=e^{x-2 \sqrt{x}-2} \text { which is L.D.E } \\ & \text { I.F. }=e^{\int \frac{d y}{\sqrt{x}}}=e^{2 \sqrt{x}}
\end{aligned}\begin{aligned}
& y \times e^{2 \sqrt{x}}=\int e^{2 \sqrt{x}} \times e^{x-2 \sqrt{x}-2} d x+c \\ & y \times e^{2 \sqrt{x}}=\int e^{x-2} d x+c \\ & y \times e^{2 \sqrt{x}}=e^{x-2}+c
\end{aligned}\text { Given } \mathrm{x}=0, \mathrm{y}=0 \Rightarrow 0=\mathrm{e}^{-2}+\mathrm{c} \quad ; \mathrm{c}=-\mathrm{e}^{-2}\therefore \mathrm{y} \times \mathrm{e}^{2 \sqrt{\mathrm{x}}}=\mathrm{e}^{\mathrm{x}-2}-\mathrm{e}^{-2}\text { when } \mathrm{x}=1, \mathrm{y} \times \mathrm{e}^2=\mathrm{e}^{-1}-\mathrm{e}^{-2}y=\frac{e^{-1}-e^{-2}}{e^2}=\frac{\frac{1}{e}-\frac{1}{e^2}}{e^2}=\frac{e^2-e}{e^5}=\frac{e-1}{e^4}$
Option (1) is correct

Practice this on the real CBT interface

Solve this JEE Main question (and the rest of the Differential Equations chapter) on PrepSharp's TCS iON-style CBT player — with timer, bookmarks and session analytics.

Solve interactively →

About this question

This is a previous-year question from JEE Main 2025, covering the Differential Equations chapter of Mathematics. PrepSharp catalogues every PYQ from JEE Main with a verified answer key and step-by-step solution prepared by IIT alumni — so you can search by chapter, topic or year and revise efficiently.