Question
Question: If \(f\left( x \right)+2f\left( 1-x \right)={{x}^{2}}+2\ \ \gamma \ \ x\in \text{R}\) then find f (x...
If f(x)+2f(1−x)=x2+2 γ x∈R then find f (x):
A. (x−1)2/3
B. −(x−2)2/3
C. x2−1
D. x2−2
Solution
Since f(x)+2f(1−x)=x2+2 is given. We replace x by (1−x) to get another equation. We solve both the equations to calculate f (x).
Complete step by step solution: We are given that,
f(x)+2f(1−x)=x2+2: →(1)
Replacing x by (1−x) in the above equation (1) to get;
f(1−x)+2f[1−(1−x)]=(1−x)2+2
Solving this equation, we get
f(1−x)+2f(1−1+x)=x2−2x+1+2
Simplifying further we get,
f(1−x)+2f(−x)=x2−2x+3
We have two equations:
f(x)+2f(1−x)=x2+2 → eq (1)
& 2f(x)+f(1−x)=x2−2x+3 → eq (2)
Subtract eq (1) from eq (2) we get
2f(x)+f(1−x)−f(x)−2f(1−x)=x2−2x+3−x2−2
⇒f(x)−f(1−x)=−2x+1 → eq (3)
But we know: 2f(x)+f(1−x)=x2−2x+3 from eq (2)
⇒f(1−x)=x2−2x+3−2f(x)
Substituting this f(1−x)=x2−2x+3−2f(x) in eq (3) to get
⇒f(x)−(x2−2x+3−2f(x))=−2x+1
⇒f(x)−x2+2x−3+2f(x)=−2x+1
⇒3f(x)=−2x+1+x2−2x+3
3f(x)=x2−4x+4
3f(x)=(x−2)2
∴
∴None of the option matches the answer
The answer f(x)=3(x−2)2
Note: In these types of problem, we always replace x by some 1 – x or 1+ x or 2 – x.Whatever the question demands and then we eliminate another variable to calculate f(x).