Question

If for non-zero xx,

af(x)+bf(1x)=1x−25a f(x) + b f\left(\frac{1}{x}\right) = \frac{1}{x} - 25

where a≠ba \ne b then ∫12f(x)dx\int_1^2 f(x) dx is

Choose one option
Official answer and solution
Official answer
A
From
Official GATE 2015 answer key

Solution

Eliminate the composite term f(1/x) using functional equation substitution and integrate the isolated function f(x).

We are given the functional equation:

af(x)+bf(1x)=1x−25— (1)a f(x) + b f\left(\frac{1}{x}\right) = \frac{1}{x} - 25 \quad \text{--- (1)}

Replace xx with 1x\frac{1}{x} in (1):

af(1x)+bf(x)=x−25— (2)a f\left(\frac{1}{x}\right) + b f(x) = x - 25 \quad \text{--- (2)}

Multiply (1) by aa and (2) by bb:

a2f(x)+abf(1x)=a(1x−25)a^2 f(x) + a b f\left(\frac{1}{x}\right) = a\left(\frac{1}{x} - 25\right)
b2f(x)+abf(1x)=b(x−25)b^2 f(x) + a b f\left(\frac{1}{x}\right) = b(x - 25)

Subtract the second equation from the first:

(a2−b2)f(x)=a(1x−25)−b(x−25)(a^2 - b^2) f(x) = a\left(\frac{1}{x} - 25\right) - b(x - 25)
f(x)=1a2−b2[a(1x−25)−b(x−25)]f(x) = \frac{1}{a^2 - b^2} \left[a\left(\frac{1}{x} - 25\right) - b(x - 25)\right]

Now evaluate the definite integral ∫12f(x)dx\int_1^2 f(x) dx:

∫12f(x)dx=1a2−b2[a∫12(1x−25)dx−b∫12(x−25)dx]\int_1^2 f(x) dx = \frac{1}{a^2 - b^2} \left[a \int_1^2 \left(\frac{1}{x} - 25\right) dx - b \int_1^2 (x - 25) dx\right]
  1. ∫12(1x−25)dx=[ln⁡x−25x]12=(ln⁡2−50)−(0−25)=ln⁡2−25\int_1^2 \left(\frac{1}{x} - 25\right) dx = [\ln x - 25x]_1^2 = (\ln 2 - 50) - (0 - 25) = \ln 2 - 25
  2. ∫12(x−25)dx=[x22−25x]12=(2−50)−(12−25)=−48−(−24.5)=−23.5=−472\int_1^2 (x - 25) dx = \left[\frac{x^2}{2} - 25x\right]_1^2 = (2 - 50) - \left(\frac{1}{2} - 25\right) = -48 - (-24.5) = -23.5 = -\frac{47}{2}

Substituting back:

∫12f(x)dx=1a2−b2[a(ln⁡2−25)−b(−472)]=1a2−b2[a(ln⁡2−25)+47b2]\int_1^2 f(x) dx = \frac{1}{a^2 - b^2} \left[a(\ln 2 - 25) - b\left(-\frac{47}{2}\right)\right] = \frac{1}{a^2 - b^2} \left[a(\ln 2 - 25) + \frac{47b}{2}\right]

This matches Option A.

Final answer

A

Common trap

Sign error when distributing the minus sign on the b integral (-b * (-47/2) = +47b/2).

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2015 Computer Science and Information Technology (CS) Session 3
Question
55 of 65, printed as CS Q.45
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.