QlarIITy

MathematicsJEE Main 2023 · 1 FebruaryInteger

Let f:R→Rf : \mathbb{R} \to \mathbb{R} be a differentiable function such that f′(x)+f(x)=∫02f(t)dtf^{\prime}(x) + f(x) = \int_0^2 f(t)dt. If f(0)=e−2f(0) = e^{-2}, then 2f(0)−f(2)2f(0) - f(2) is equal to ______.

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. A definite integral of the unknown function is a constant, and it is found from its own definition after the equation is solved.

Concept refresher. For constants a≠0a \neq 0 and bb, the solutions of dydx=ay+b\dfrac{dy}{dx} = ay + b are

y=Ceax−bay = Ce^{ax} - \dfrac{b}{a}

with an arbitrary constant CC.

Picture the situation. Put K=∫02f(t)dtK = \int_0^2 f(t)dt, a constant. The equation is f′(x)=−f(x)+Kf^{\prime}(x) = -f(x) + K, and by the refresher with a=−1a = -1 and b=Kb = K, f(x)=K+Ce−xf(x) = K + Ce^{-x}.

Approach. Use the definition of the constant and the value at 0 to find both constants.

  1. Step 1: The definition of K

    The number KK is the integral of the solution itself from 0 to 2, so

    K=∫02(K+Ce−x)dx=2K+C(1−e−2)\begin{aligned} K &= \int_0^2\left(K + Ce^{-x}\right)dx \\[4pt] &= 2K + C\left(1 - e^{-2}\right) \end{aligned}

    which gives K=−C(1−e−2)K = -C\left(1 - e^{-2}\right).

  2. Step 2: The constants

    The condition f(0)=e−2f(0) = e^{-2} gives K+C=e−2K + C = e^{-2}, that is Ce−2=e−2Ce^{-2} = e^{-2}. So C=1C = 1 and K=e−2−1K = e^{-2} - 1. Then f(2)=K+e−2=2e−2−1f(2) = K + e^{-2} = 2e^{-2} - 1, and 2f(0)−f(2)=2e−2−2e−2+1=12f(0) - f(2) = 2e^{-2} - 2e^{-2} + 1 = 1.

Answer. 1

Sanity check. For f(x)=e−2−1+e−xf(x) = e^{-2} - 1 + e^{-x}, f′+f=e−2−1f^{\prime} + f = e^{-2} - 1, and

∫02f(t)dt=2e−2−2+1−e−2=e−2−1\begin{aligned} \int_0^2 f(t)dt &= 2e^{-2} - 2 + 1 - e^{-2} \\[4pt] &= e^{-2} - 1 \end{aligned}

the same number.

Common wrong answers

  • -1: Computing f(2)−2f(0)f(2) - 2f(0) in place of 2f(0)−f(2)2f(0) - f(2) gives −1-1.

Key takeaway

The trap. The right side does not depend on x, although it contains the unknown function.

How toppers think. They name the integral, solve, and then close the loop with one integration.

Remember. f(x)=K+Ce−xf(x) = K + Ce^{-x} with K=∫02f(t)dtK = \int_0^2 f(t)dt

More on Linear Differential Equations