Welcome, future engineer! Today, we are going to dismantle a problem that looks like a monster but is actually a masterpiece of symmetry.
When you first see the equation f′(x)+f(x)=∫02f(t)dt, it is natural to feel a bit of hesitation. It looks like a differential equation, but that integral on the right side seems to be holding the function hostage.
But here is the secret: in the world of JEE Advanced, whenever you see an integral with constant limits, you are looking at a hidden constant. Let us embark on this journey together.
Phase 1
The Great Simplification
We look at the term ∫02f(t)dt. Since the limits are 0 and 2, this integral evaluates to a single, unchanging number.
Let us call this number k. Suddenly, the equation transforms from a terrifying integral-differential hybrid into a clean, elegant first-order linear differential equation:
This is the moment the problem shifts from impossible to solvable.
Phase 2
The Machinery of Calculus
Now that we have f′(x)+f(x)=k, we recognize the standard form dxdy+P(x)y=Q(x). Here, our P(x)=1 and our Q(x)=k.
To solve this, we need the Integrating Factor (I.F.). The formula is:
We multiply both sides of our equation by ex, which gives us exf′(x)+exf(x)=kex. Notice the left side? It is the derivative of the product f(x)ex.
So, we have:
Integrating both sides, we get f(x)ex=kex+C. Dividing by ex, we find our general solution:
Phase 3
The Loop of Logic
We have a general solution, but we have two unknowns: the constant k and the integration constant C. We use the initial condition f(0)=e−2 to find C.
Substituting x=0, we get f(0)=k+Ce0, which means e−2=k+C. Therefore, C=e−2−k.
Now, our function is fully defined in terms of k:
But what is k? We go back to our original definition: k=∫02f(t)dt. We substitute our expression for f(t) into this integral:
We integrate term by term: the integral of k is kt, and the integral of (e−2−k)e−t is −(e−2−k)e−t. Evaluating this from 0 to 2:
k=(2k−(e−2−k)e−2)−(0−(e−2−k))
After careful algebraic expansion, we find that the k terms on both sides cancel out, leaving us with a clean equation for k:
Phase 4
The Victory Lap
With k in hand, we can write the final, explicit form of our function:
The question asks for 2f(0)−f(2). We know f(0)=e−2. We calculate f(2):
Finally, we compute the expression:
2f(0)−f(2)=2(e−2)−(2e−2−1)=1
The exponential terms vanish, leaving us with the final answer of 1. It is a beautiful, clean finish. You see, the problem wasn't about brute force; it was about identifying the structure, respecting the constants, and trusting the process.