{tan(x), sec(x)} vs differentiate {tan(x), sec(x)}