# Prove function is continuous

JG89

## Homework Statement

Prove that the function $$f(x) = \sum_{n=1}^{\infty} \frac{cos(n^2x)}{e^{nx^2}2^n}$$ is continuous on R.

## The Attempt at a Solution

I haven't learned about a series of functions converging to a function yet, but would it be sufficient to show that each function in the infinite sum is differentiable, so each function in the infinite sum is continuous, meaning that the sum of the functions must also be continuous?

Homework Helper
Gold Member

## Homework Statement

Prove that the function $$f(x) = \sum_{n=1}^{\infty} \frac{cos(n^2x)}{e^{nx^2}2^n}$$ is continuous on R.

## The Attempt at a Solution

I haven't learned about a series of functions converging to a function yet, but would it be sufficient to show that each function in the infinite sum is differentiable, so each function in the infinite sum is continuous, meaning that the sum of the functions must also be continuous?

No, it is not enough that each summand be continuous for the sum to be continuous. What one usually does in such types of question is show that the sequence of partial sums is uniformly convergent. There is a variety of tests out there for that purpose. One of the most useful is the so-called Weierstrass M-test and sure enough, it can be used on the series that interests you: http://en.wikipedia.org/wiki/Weierstrass_M-test.

JG89
Thanks for the replies guys.

I haven't learned about uniform convergence yet, so I guess I don't have the proper "machinery" to attack this problem.