I have downvoted this answer for a couple of reasons: (1) Your answer gives very little insight or explanation. Compare your answer to JC12's, which is an exemplary solution. A good answer should seek to explain. (2) Mathematics should be formatted using MathJax. Please revise your answer to use MathJax. — Xander Henderson 10 secs ago