數與數線(10)
Author: 藍邦偉　老師

$ f(x)=-\frac{3}{2}|x+1|+\frac{3}{2}|x-3|+2x-2 $

1° x≥3:f(x)=-\frac{3}{2}(x+1)+\frac{3}{2}(x-3)+2x-2

2° -1≤x<3:f(x)=-\frac{3}{2}(x+1)+\frac{3}{2}(3-x)+2x-2

$ 3° x<-1:f(x)=\frac{3}{2}(x+1)+\frac{3}{2}(3-x)+2x-2 $

折點:(3,f(3))=(3,-2),(-1,f(-1))=(-1,2)

f(x)=2x+4,x<-1

f(x)=-x+1,-1≤x<3

f(x)=2x-8,x≥3

如圖，-2<a<2

$ 與x軸交點:(-2,0),(1,0),(4,0) $

f(x) = -1.5 * abs(x + 1) + 1.5 * abs(x - 3) + 2 * x - 2
n = 0 (slider from 0 to 9, step 1)
A: (-1, f(-1))
B: (3, f(3))
text6: "A" + (LaTeX[A]) + ""
text7: "B" + (LaTeX[B]) + ""
f_1 = Function(f, 3, 10)
f_2 = Function(f, -1, 3)
f_3 = Function(f, -10, -1)
u = Vector((-4, 0), (x(Corner[2]), 0))
v = Vector((0, y(Corner[2])), (0, 5))
C = (-2, 0)
D = (1, 0)
E = (4, 0)
text13: "C" + (LaTeX[C]) + ""
text15: "E" + (LaTeX[E]) + ""
text14: "D" + (LaTeX[D]) + ""