Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I get a Taylor expansion of the Sin[x] function by the power series?

share|improve this question
Look at Series in the documentation. – JohnD Nov 14 '12 at 2:20

If you're new to Mathematica, then it might make sense to explore these kinds of basic things via the natural language interface. Assuming that you're connected to the internet, so Mathematica can access WolframAlpha's servers, just type

= power series sinx

Note that the equals sign will be reformatted to look like it's part of the WolframAlpha input window. The input and output taken together should look like so:

enter image description here

In addition to generating the series, this also shows you the precise Mathematica syntax to get the series - useful for when you graduate to higher level Mathematica usage!

It can be quite good at guessing your intent. In this particular case, we can type in the exact title of your question and get the correct result!

enter image description here

share|improve this answer
+1 very nice intro ;) I would also explore general SeriesCoefficient[Sin[x], {x, 0, n}] – Vitaliy Kaurov Nov 14 '12 at 6:32
+1, and now you've got 110 rep points for not using Mma! Nice! – Dr. belisarius Nov 14 '12 at 13:51
@belisarius Sigh - but no accept! – Mark McClure Nov 14 '12 at 14:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.