Find \(f \circ f\) for Given Piecewise Function
📺 Video Explanation
📝 Question
Let:
\[
f(x)=
\begin{cases}
1+x, & 0\le x\le 2 \\[4pt]
3-x, & 2
Find:
\[
f\circ f
\]
By definition:
\[
(f\circ f)(x)=f(f(x))
\]
We first find range of \(f(x)\).
So overall:
\[
0\le f(x)\le3
\]
Thus, composition is defined on:
\[
0\le x\le3
\]
Here:
\[
f(x)=1+x
\]
So:
\[
(f\circ f)(x)=f(1+x)
\]
Now split again:
Then:
\[
1+x\le2
\]
Use first rule:
\[
f(1+x)=1+(1+x)=x+2
\]
Then:
\[
2<1+x\le3
\]
Use second rule:
\[
f(1+x)=3-(1+x)=2-x
\]
Here:
\[
f(x)=3-x
\]
Since:
\[
0\le3-x<1
\]
Use first rule:
\[
f(3-x)=1+(3-x)=4-x
\]
✅ Solution
🔹 Step 1: Write composite function
🔹 Step 2: Range of \(f(x)\)
🔹 Step 3: Case I: \(0\le x\le2\)
• If \(0\le x\le1\)
• If \(1
🔹 Step 4: Case II: \(2
🚀 Exam Shortcut