# Simple integral

Can somebody explain to me why
$$\int^{1}_{0}sin( \pi x) sin (n \pi x) dx$$ equals 1 if n = 1 and 0 for n >= 2? (n is an integer)

Last edited:

## Answers and Replies

Just to give a hint: trigonometric addition formulas...
If this isn't sufficient to solve it, ask again.