Evaluating Sum Expression - Help Needed

  • Thread starter vladimir69
  • Start date
  • Tags
    Sum
In summary: N+1)\delta_{k,j} + C_1 sin(\theta N) + C_2 cos(\theta N)And you can find C_1 and C_2 from the initial conditions.In summary, the conversation discusses the evaluation of a specific equation using trigonometric identities and recurrence relations. The final solution is given as (N+1)\delta_{k,j} + C_1 sin(\theta N) + C_2 cos(\theta N), where C_1 and C_2 can be found using initial conditions.
  • #1
vladimir69
130
0
hi,
i am trying to evaluate the following
[tex]
A=\sum_{m=-N}^{N} \cos(\frac{mk\pi}{N+1})\cos(\frac{mj\pi}{N+1})[/tex]

to give you an idea of the sort of answer i am after i present to you the following
[tex]
\sum_{m=-N}^{N} \sin(\frac{mk\pi}{N+1})\sin(\frac{mj\pi}{N+1})=(N+1)\delta_{k,j}[/tex]

hopefully there are some knowledgeable people that can shed some light on the matter
thanks.

i come up with the following
A=2N+1 if k=j=0
A=N if k=j, k not equal to 0
A=1 if (k+j) is even
A=-1 if (k+j) is odd
but i am not sure how to get this into one nice function so to speak like the example i gave above
 
Last edited:
Mathematics news on Phys.org
  • #2
The statements you have at the end can't all be true. k + j is always either even or odd, but A is not always -1 or 1.

Since the example is so similar to what you have, you may be able to use trigonometric identities to write your problem in terms of sums in the example form and sums that you know. For example
cos x cos y = sin x sin y + cos (x + y), so if you can sum the case when j or k = 0, you can find A.
 
  • #3
In fact, summing cos(x + y) is in a standard form for a recurrence relation. You have
(with [tex]\theta = \frac{(k + j) \pi}{N+1}[/tex])
[tex]a_n = a_{n-1}+2cos(\theta n)[/tex]
And [tex]a_0 = 1[/tex]
The homogenous solution to this is of the form [tex]C_0[/tex], and the particular solution is of the form [tex]C_1 sin(\theta n) + C_2 cos(\theta n)[/tex]
So the solution to your whole problem, N, is
[tex](N+1)\delta_{k,j} + a_N[/tex]
 

FAQ: Evaluating Sum Expression - Help Needed

What is a sum expression?

A sum expression is a mathematical expression that represents the sum of a series of terms. It is denoted by the symbol ∑ (sigma) and is commonly used in mathematics and computer science to simplify and evaluate large sets of data.

How do you evaluate a sum expression?

To evaluate a sum expression, you need to determine the values of the variables or terms in the expression and then add them together. This can be done manually or by using a calculator or computer program.

What is the purpose of evaluating sum expressions?

The purpose of evaluating sum expressions is to find the total value of a series of terms. This is useful in many applications, such as calculating the total cost of a purchase, finding the average of a set of numbers, or determining the total amount of a loan with interest.

What are some common mistakes when evaluating sum expressions?

One common mistake when evaluating sum expressions is forgetting to include all of the terms in the sum. Another mistake is incorrectly calculating the values of the terms, such as forgetting to distribute a negative sign or making a calculation error.

Can sum expressions be evaluated with variables?

Yes, sum expressions can be evaluated with variables. In fact, this is often the case in mathematics and computer science, where the values of the variables may change and need to be added together in a sum expression. In such cases, the sum expression cannot be fully simplified, and the result will include the variables.

Similar threads

Replies
8
Views
2K
Replies
1
Views
995
Replies
2
Views
2K
Replies
14
Views
2K
Replies
9
Views
1K
Replies
8
Views
1K
Back
Top