LaTex and solution for an infinite series

In summary, the infinite sum for 1-2-1/2+3-1/2-4-1/2+5-1/2 . . . is equal to 1-1/sqrt(2)+1/sqrt(3)-1/sqrt(4)+..., and it converges as it follows an alternating Leibnitz series. A helpful LaTeX guide for this equation can be found at the link provided.
  • #1
Loren Booda
3,125
4
What is the LaTex and infinite sum for 1-2-1/2+3-1/2-4-1/2+5-1/2 . . .

Does it converge anyway?

I am too old for this to be a school assignment.
 
Physics news on Phys.org
  • #2
Loren Booda said:
What is the LaTex and infinite sum for 1-2-1/2+3-1/2-4-1/2+5-1/2 . . .

Does it converge anyway?

I am too old for this to be a school assignment.

A PF contributor that doesn't know LaTeX? Strange...anyway: [tex]1-2^{-1/2}+3^{-1/2}-4^{-1/2}+...=1-\frac{1}{\sqrt{2}}+\frac{1}{\sqrt{3}}-\frac{1}{\sqrt{4}}+...=\sum_{n=1}^\infty\frac{(-1)^{n-1}}{\sqrt{n}}[/tex]

The sum converges as it is an alternating Leibnitz series: the general term sequence converges monotonically to zero and we have alternating signs.

DonAntonio
 
  • #5


LaTex is a typesetting language used in mathematics and science to write and format complex equations and formulas. It is widely used in scientific research and publications.

The given infinite series is known as the Alternating Harmonic Series and it can be represented in LaTex as:

$$ \sum_{n=1}^{\infty} (-1)^{n+1}\frac{n}{2} $$

To determine if this series converges, we can use the Alternating Series Test. This test states that if the terms of an alternating series decrease in absolute value and approach zero, then the series converges.

In this case, the terms do decrease in absolute value as n increases and approach zero. Therefore, the series converges to a finite value. This can also be verified by using the Ratio Test or the Comparison Test.

In conclusion, the LaTex representation for the given infinite series is $$ \sum_{n=1}^{\infty} (-1)^{n+1}\frac{n}{2} $$ and it does converge to a finite value.
 

1. What is LaTex and how is it used?

LaTex is a typesetting language used for creating documents with mathematical and scientific content. It allows for the creation of complex equations and symbols, making it a popular choice for academic publications and technical writing.

2. How does LaTex handle infinite series?

LaTex has built-in commands and packages for handling infinite series. The most commonly used package is "amsmath", which provides various commands for formatting and typesetting infinite series. Additionally, LaTex allows for the use of subscript and superscript notation to represent infinite series.

3. What is the syntax for writing an infinite series in LaTex?

The syntax for writing an infinite series in LaTex involves using the "\sum" command, followed by the expression to be summed and the limits of the series. For example, "\sum_{n=1}^{\infty} \frac{1}{n^2}" represents the infinite series of 1/n^2 where n starts at 1 and goes to infinity.

4. How can I control the appearance of an infinite series in LaTex?

LaTex offers various commands and options for controlling the appearance of an infinite series. For example, the "\displaystyle" command can be used to enlarge the symbols in the series, while the "\limits" command can be used to display the limits above and below the summation symbol. Additionally, the "amsmath" package offers commands for adjusting the spacing and alignment of the series.

5. Are there any common errors when writing infinite series in LaTex?

One common error when writing infinite series in LaTex is forgetting to include the "\limits" command, which can result in the limits being displayed to the side instead of above and below the summation symbol. Another common error is using the wrong syntax for the limits, such as using parentheses instead of curly braces. It is always important to double-check the syntax and formatting of an infinite series in LaTex to avoid these errors.

Similar threads

  • General Math
Replies
7
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
2
Views
998
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
907
  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
351
  • Calculus and Beyond Homework Help
Replies
1
Views
255
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
2
Replies
36
Views
906
  • MATLAB, Maple, Mathematica, LaTeX
Replies
11
Views
5K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
6
Views
852
Replies
20
Views
1K
Back
Top