CAT 2017 Slot 2QA Question 32

Basics (Functions)Easy

Let f(x) = 2x – 5 and g(x) = 7 – 2x. Then |f(x) + g(x)| = |f(x)| + |g(x)| if and only if

Answer & solution

Correct answer: 5 2 ≤ x ≤ 7 2

  • A

    52<x<72

  • B

    x52 or x72

  • C

    x<52 or x72

  • 52x72

Solution

Easy

The identity p+q=p+q|p+q|=|p|+|q| holds exactly when pp and qq have the same sign (or either is zero), i.e. when pq0p\,q\ge 0. Apply this to f(x)f(x) and g(x)g(x).

1

State the condition. f(x)+g(x)=f(x)+g(x)|f(x)+g(x)|=|f(x)|+|g(x)| holds if and only if f(x)f(x) and g(x)g(x) do not have opposite signs:

f(x)g(x)0\begin{aligned} &f(x)\,g(x)\ge 0 \end{aligned}
2

Case both 0\ge 0. With f(x)=2x5f(x)=2x-5 and g(x)=72xg(x)=7-2x:

2x50  x5272x0  x72 52x72\begin{aligned} &2x-5\ge 0\ \Rightarrow\ x\ge \tfrac52\\ &7-2x\ge 0\ \Rightarrow\ x\le \tfrac72\\ &\Rightarrow\ \tfrac52\le x\le \tfrac72 \end{aligned}
3

Case both 0\le 0.

2x50  x5272x0  x72\begin{aligned} &2x-5\le 0\ \Rightarrow\ x\le \tfrac52\\ &7-2x\le 0\ \Rightarrow\ x\ge \tfrac72 \end{aligned}

This requires x72x\ge\tfrac72 and x52x\le\tfrac52 simultaneously, which is impossible — no solution here.

4

Combine. Only the first case contributes, so the condition is 52x72\dfrac52\le x\le\dfrac72, which is option (d).

52x72\dfrac{5}{2}\le x\le \dfrac{7}{2}

Related Basics (Functions) questions

See all Functions & Graphs questions →
CAT 2017 Slot 2 QA Q32: Let f(x) = 2x &ndash; 5 and g(x) = 7 &ndash; 2x. Then |f(x) + g(x)| = |f(x)| + |g(x)| if and only if — Solution | TheCATExam