EngineeringRise

Let f(x) = 2x - 3 and g(x) = x² + 1 for real x. The sum of all real values of x for which f(g(x)) = g(f(x)) is

Answer: (D) 6 Status: Verified (T1). Checked by code and independent solves on 2026-11-20.

  1. 12
  2. -6
  3. 5.5
  4. 6

Solution

  1. f(g(x)) = 2(x² + 1) - 3 = 2x² - 1.
  2. g(f(x)) = (2x - 3)² + 1 = 4x² - 12x + 10.
  3. Equating: 2x² - 12x + 11 = 0. Discriminant 144 - 88 = 56 > 0, so both roots are real and the sum is 12/2 = 6.

Fast method

Subtract directly: 2x² - 12x + 11 = 0, sum of roots = 12/2 = 6 (check the discriminant is positive).

Expected time: about 110 seconds. Difficulty: medium.

Topic page: Functions: one-one, onto and composition

Test your answers now

Report an error

Think the question, answer or a step is wrong? One tap tells us. We check it and publish the correction.