Mathematics · Definite Integration

JEE Main 2026 — 24 January, Evening Shift — Question 21

If f(x)\mathrm{f}(\mathrm{x}) satisfies the relation f(x)=ex+∫01(y+xex)f(y)dy\mathrm{f}(\mathrm{x})=\mathrm{e}^{\mathrm{x}}+\int_{0}^{1}\left(\mathrm{y}+\mathrm{xe}^{\mathrm{x}}\right) f(y) d y, then e+f(0)e+f(0) is equal to ____\_\_\_\_ .

Answer: 2

Numerical answer — enter this value.

Step-by-step solution

f(x)=ex+∫01yf(y)dy+xex∫01f(y)dyf(x)=e^{x}+\int_{0}^{1} y f(y) d y+x e^{x} \int_{0}^{1} f(y) d y

f(x)=ex+A+Bxex\mathrm{f}(\mathrm{x})=\mathrm{e}^{\mathrm{x}}+\mathrm{A}+\mathrm{Bxe}^{\mathrm{x}}

A=∫01yf(y)dy=∫01y(A+ey+Byey)dy\mathrm{A}=\int_{0}^{1}\mathrm{yf}(\mathrm{y}) \mathrm{dy}=\int_{0}^{1} \mathrm{y}\left(\mathrm{A}+\mathrm{e}^{\mathrm{y}}+\mathrm{By}\mathrm{e}^{\mathrm{y}}\right) \mathrm{dy}

A=A2+(0−(−1))+B(e−1)\mathrm{A}=\frac{\mathrm{A}}{2}+(0-(-1))+\mathrm{B}(\mathrm{e}-1)

A2+B(1−e)=1\frac{\mathrm{A}}{2}+\mathrm{B}(1-\mathrm{e})=1 B=∫01f(y)dyB=\int_{0}^{1} f(y) d y

B=∫01(ey+A+Byey)dy\mathrm{B}=\int_{0}^{1}\left(\mathrm{e}^{\mathrm{y}}+\mathrm{A}+\mathrm{By} \mathrm{e}^{\mathrm{y}}\right) \mathrm{dy}

B=(e−1)+A+B(0−(−1))\mathrm{B}=(\mathrm{e}-1)+\mathrm{A}+\mathrm{B}(0-(-1))

B=e−1+A+B⇒A=1−e\mathrm{B}=\mathrm{e}-1+\mathrm{A}+\mathrm{B} \Rightarrow \mathrm{A}=1-\mathrm{e}

f(x)=ex+A+Bxex\mathrm{f}(\mathrm{x})=\mathrm{e}^{\mathrm{x}}+\mathrm{A}+\mathrm{Bxe}^{\mathrm{x}}

f(0)=1+A=1−e+1=2−e\mathrm{f}(0)=1+\mathrm{A}=1-\mathrm{e}+1=2-\mathrm{e}

e+f(0)=2\mathrm{e}+\mathrm{f}(0)=2

Answer key and solution verified before publishing.

Practise Definite Integration

Start with this question, then two more from the same chapter — with a tutor that explains every step. Free.

Exam
JEE Main 2026
Subject
Mathematics
Chapter
Definite Integration
Topic
Determination of Function using Integration
If f ( x ) satisfies the relation f ( x )= e x +int 0 1 ( y + xe x )… | JEE Main 2026 PYQ with Solution · DhiX AI