I know the first principle,
$$f'(a) = \lim_{x\to a}\frac{f(x)-f(a)}{x-a}.$$
However, I don't know what to do next. Help.
I know the first principle,
$$f'(a) = \lim_{x\to a}\frac{f(x)-f(a)}{x-a}.$$
However, I don't know what to do next. Help.
You do not want to suppose that $x=a,$ for then you have $$\frac{f(x)-f(a)}{x-a}=\frac00,$$ and what in the world does that even mean?
Rather, you want to assume that $x\ne a,$ and consider what happens to $\frac{f(x)-f(a)}{x-a}$ as $x$ tends toward $a.$
As a hint to help you get started, note that $$\sin^2(x)-\sin^2(a)=\bigl(\sin(x)+\sin(a)\bigr)\bigl(\sin(x)-\sin(a)\bigr),$$ and so $$\frac{f(x)-f(a)}{x-a}=\bigl(\sin(x)+\sin(a)\bigr)\cdot\frac{\sin(x)-\sin(a)}{x-a}$$ for all $x\ne a.$ What happens to the parenthetical expression as $x$ tends to $a$? What about the factor $\frac{\sin(x)-\sin(a)}{x-a}$ (which has the form of a difference quotient)?
Hint firts proof that: if $F(x)=\sin(x)\implies F'(a)=\cos(a)$, now if $f(x)=\sin^2(x)$, then $$f'(a)=\lim_{x\to a}\dfrac{\sin^2(x)-\sin^2(a)}{x-a}=\lim_{x\to a}\dfrac{[\sin(x)+\sin(a)][\sin(x)-\sin(a)]}{x-a}=\lim_{x\to a}[\sin(x)+\sin(a)]\cdot\lim_{x\to a}\dfrac{[\sin(x)-\sin(a)]}{x-a} =2\sin(a)\cdot F'(a)=2\sin(a)\cos(a)$$
$\lim_{x\to a}\frac{f(x)-f(a)}{x-a}$. – Cameron Buie Nov 16 '14 at 17:02