Skip to content
TheChatArchiveThe Chat Archive
Claudeclaude-3-5-haiku-20241022· AnthropicHugging Face LMArena Human Preference 140K

What is the inverse function of f(x) = (3x - 2)/(x + 4)?

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Claudeclaude-sonnet-4-20250514-thinking-32k’s answer.
  1. User

    What is the inverse function of f(x) = (3x - 2)/(x + 4)?

  2. Claude Assistant

    Let's solve this step by step:

    1. To find the inverse function, we'll first replace f(x) with y: y=3x−2x+4y = \frac{3x - 2}{x + 4}

    2. Swap x and y: x=3y−2y+4x = \frac{3y - 2}{y + 4}

    3. Solve for y: • Multiply both sides by (y+4)(y + 4): x(y+4)=3y−2x(y + 4) = 3y - 2

      • Expand: xy+4x=3y−2xy + 4x = 3y - 2

      • Rearrange to isolate y: xy−3y=−4x−2xy - 3y = -4x - 2

      • Factor out y: y(x−3)=−4x−2y(x - 3) = -4x - 2

      • Divide by (x−3)(x - 3): y=−4x−2x−3y = \frac{-4x - 2}{x - 3}

    4. Simplify the fraction: f−1(x)=−4x−2x−3f^{-1}(x) = \frac{-4x - 2}{x - 3}

    5. The domain of the original function becomes the range of the inverse function, and vice versa.

    Therefore, f−1(x)=−4x−2x−3f^{-1}(x) = \frac{-4x - 2}{x - 3}

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.