((3*x^2+1)/x).factor().show() # factorization
((3*x^2+1)/x).diff(x).factor().show() # f' and factorization
((3*x^2+1)/x).diff(x,2).factor().show() # f'' and factorization
factor (3x^2+1)/x
differentiate (3x^2+1)/x
second derivative of (3x^2+1)/x
Precalculus, Calculus; PDF slides from the lecture
Calculus; PDF slides from the lecture