Firstly - convert the fraction into a linear equation;
\(1/(x^2+1)\) goes to \(1\times{(x^2+1)}^{-1}\)
Now you can just use the chain rule - or whatever you have been taught
let \(u=x^2+1\)
therefore \(f(x) = 1+ {(u)}^{-1}\)
therefore\(\frac{dy}{dx}(1+{(u)}^{-1})=-1{(u)}^{-2}\)
thats part one \o/
Part two;
if \(u=x^2+1\)
therefore \(\frac{dy}{dx}(x^2+1)=2x^1+0\)
Combine part two and part one;
\((2x)(-1){(u)}^{-2}\)
sub in for \(u\)
\((2x)(-1){(x^2+1)}^{-2}\)
simplifiy brackets
\(-2x{(x^2+1)}^{-2}\)
turn into a fraction
\(\frac{-2x}{(x^2+1){}^{2}}\)
ta dah!