Can we have two real valued functions $f_1$ and $f_2$ defined on $[a,b]$ such that $f_1(x)=f_2(x)$ for infinitely many points and $f_1(x)\neq f_2(x)$ for infinitely many points. ?
2026-03-27 18:16:31.1774635391
On
Search for two Real Valued functions.
69 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
3
There are 3 best solutions below
0
On
Consider $$f_1:[a,b]\to \mathbb{R}:x \mapsto \left\{\begin{array}{l l} 1 & \text{if } a \leq x \leq \frac{a+b}{2} \\ 0 & \text{else}\end{array}\right.$$ and $$f_2:[a,b]\to \mathbb{R}:x \mapsto \left\{\begin{array}{l l} 1 & \text{if } a \leq x \leq \frac{a+b}{2} \\ 2 & \text{else}\end{array}\right.$$ then $f_1 ([a,\frac{a+b}{2}])= f_2 ([a,\frac{a+b}{2}])$ and $f_1((\frac{a+b}{2},b]) \neq f_2((\frac{a+b}{2},b])$.
$$f_1(x)=|x|$$ $$f_2(x)=x$$ where $x\in (-1,1)$.
$\forall x\in [0,1) \ f_1(x)=f_2(x)$ but $\forall x \in (-1,0) \ f_1(x)\neq f_2(x)$. Both intervals are dense, therefore have infinitely many points.