How can I plot 1st, 2nd, 3rd derivatives and the tangent line equation on the given point on a single graph?
f(x)= x^(3) - 2x, x = -1
f[x_] := [[x^(3)-2x, x],{x-> -1}]
Below is the tangent line equation on a given point code:
*In* : Collect[Normal[Series[f[x], {x, a, 1}]], x, Simplify]
*Out*: 2 + x
Below is the Plot code containing 1st, 2nd, and 3rd Derivatives,but how can I add the tangent line equation graph into the line below?
Plot[{f[x],f'[x],f''[x], f'''[x]},{x},PlotLegends->"Expressions"]