A(x)= |4-3x|

A'(x)={ ,if x<4/3
,if x>4/3
I have to try to find the derivative of this function using a piecewise function and I'm a bit confused about how to do so. Could someone explain how?

2 answers

Nevermind, I just figured out how to do it! My apologies!!
Since
|x| = x if x >= 0
|x| = -x if x < 0
|4-3x| > 0 if x < 4/3, so A(x) = 4-3x, and A' = -3
For x > 4/3, A(x) = -(4-3x), and A' = 3