Let $M$ be a differentiable manifold and $TM$ be its tangent bundle. I need to prove the following:
$M$ is orientable if and only if $\det(TM)$ is trivial.
The definition of determinant bundle I'm using is the following:
Given a vector bundle $E$ over $M$ with transition functions $g_{\alpha\beta}$, then the determinant vector bundle $\det(TM)$ over $M$ is the line vector bundle whose transition functions are $\det(g_{\alpha\beta})$.
I get the orientability and $\det(TM)$ are closely related since the transition functions of $\det(TM)$ are just the determinant of the Jacobian matrix of the change of chart for an atlas of $M$.