In the following notes: http://mathematics.stanford.edu/wp-content/uploads/2013/08/Mooney-Honors-Thesis-2011.pdf, the author (on page 5) says that $T$ and $N$ are related by the Frenet formula $\partial_x N = -s'(x)\kappa T$ where $N,T$ are given by some curve parameterized by $x\mapsto \gamma(x)$ and $s$ is the arclength parameter.
I'm not quite sure how the author derived this formula. Any help would be much appreciated.
$T$ and $N$ form an orthonormal frame, so $$ T \cdot T = 1, \quad T \cdot N = 0, \quad N \cdot N = 1. $$ Differentiating gives $T \cdot T' = 0$, $N \cdot N' = 0$, and $ T \cdot N' = - N \cdot T' $. But $T' = s'\kappa N$ by the chain rule and the definition of the curvature, so it follows that $N'$ is parallel to $T$ and $T \cdot N' = -s'\kappa$, whence the formula you ask about.