It can be shown using trig identities that $\cos(2\theta) = \cos^2\theta-\sin^2\theta$.
But if we let $f(x) = \sin(2x)$, we can differentiate two ways:
1) $$f(x) = \sin(2x) \rightarrow f(x) = 2\sin(x)\cos(x)$$ Differentiating using the product rule we see that : $$f^{'}(x) = 2[\cos(x)\cos(x)-\sin(x)\sin(x)] = 2[\cos^2(x)-\sin^2(x)]$$
2) If we differentiate $f(x)$ as is, then : $$\frac{d}{dx}f(x) = 2\cos(2x) $$ Therefore: $2\cos(2x) = 2[\cos^2(x) - \sin^2(x)] \rightarrow \cos(2x) = \cos^2(x) -\sin^2(x)$
Is this a viable proof?
Thanks in Advance!
Sure, totally valid. There are other interesting ways like this that also work for verifying other trig identities. I recall proving one through Fourier series back in August for a class, an example.
A bit overkill, obviously, but 100% valid, as with your method.