Consider the functions given below:

Consider the functions given below:

  1. A.

     (-(1-x))/x2

  2. B.

    1/x2

  3. C.

    (1-x)/x

  4. D.

    (x2)/-(1-x)

Attempted by 171 students.

Show answer & explanation

Correct answer: A

Given f(x) = x - 1 and g(x) = (x+1)/x.

Compute f(g(x)): f(g(x)) = g(x) - 1 = (x+1)/x - 1 = 1/x.

Compute g(f(x)): g(f(x)) = g(x-1) = x/(x-1).

Now form the quotient: (1/x) ÷ (x/(x-1)) = (1/x) * ((x-1)/x) = (x-1)/x^2.

Therefore the expression simplifies to - (1-x)/x^2.

Domain note: x ≠ 0 and x ≠ 1, since g(x) requires x ≠ 0 and g(f(x)) requires x ≠ 1.

Explore the full course: Dsssb Tgt Computer Science Paper 2