Vẽ đồ thị hàm số:
a) $y=[2x]-2[x]$
b) y={x}+{-x}
Ps: Mới vào lớp 10 mà thấy khổ quá
$a$) $x=\left \lfloor x \right \rfloor+\left \{ x \right \}$
$0\leq \left \{ x \right \}<\frac{1}{2}$: $\left \lfloor 2x \right \rfloor=2\left \lfloor x \right \rfloor \Rightarrow y=0$
$\frac{1}{2}\leq \left \{ x \right \}<1$: $\left \lfloor 2x \right \rfloor=2\left \lfloor x \right \rfloor+1 \Rightarrow y=1$
$b$) $x\in \mathbb{Z}$: $\left \{ x \right \}=\left \{ -x \right \}=0 \Rightarrow y=0$
$x\notin \mathbb{Z}$: $\left \{ x \right \}+\left \{ -x \right \}=1 \Rightarrow y=1$
P/s: Nên dùng $\left \lfloor x \right \rfloor$ để ký hiệu phần nguyên nhé
0 thành viên, 1 khách, 0 thành viên ẩn danh