This is a random, silly question. I was writing two versions of my calc 1 final and came across something that is going to bug the crap out of me. I have noticed a different spacing format for one fraction verses another. Anyway, does anyone know why this spacing looks different?
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align*}
\frac{d}{dx}\big[\tan x\big] &= \frac{d}{dx}\left[\frac{\sin x}{\cos x}\right]\\
\frac{d}{dx}\big[\cot x\big] &= \frac{d}{dx}\left[\frac{\cos x}{\sin x}\right]
\end{align*}
\end{document}
The top one formats the brackets perfectly, while the second looks off... But yeah, it's just driving me nuts!