text stringlengths 0 66.2k |
|---|
Therefore, our assumption of a linear particular solution is invalid. |
Hmm. Maybe we need a quadratic particular solution: E_k = a k² + b k + c. |
Plugging into the equation: |
(N -k)(a(k+1)^2 + b(k+1) + c) -N(a k² +b k +c) +k(a(k-1)^2 +b(k-1)+c) = -N. |
This will take time, but let's proceed step by step. |
First, expand each term: |
First term: (N -k)[a(k² +2k +1) +b(k +1) +c] |
= (N -k)[a k² + 2a k +a +b k +b +c] |
= N[a k² +2a k +a +b k +b +c] -k[a k² +2a k +a +b k +b +c] |
Second term: -N[a k² +b k +c] |
Third term: k[a(k² -2k +1) +b(k -1) +c] |
= k[a k² -2a k +a +b k -b +c] |
= a k³ -2a k² +a k +b k² -b k +c k |
Now, combine all terms: |
First term: |
N[a k² +2a k +a +b k +b +c] -k[a k² +2a k +a +b k +b +c] |
Second term: |
- N[a k² +b k +c] |
Third term: |
a k³ -2a k² +a k +b k² -b k +c k |
Now, expand the first term: |
First part: |
N[a k² +2a k +a +b k +b +c] |
= a N k² + 2a N k + a N +b N k +b N +c N |
Second part: |
- k[a k² +2a k +a +b k +b +c] |
= -a k³ -2a k² -a k -b k² -b k -c k |
Now, combining first and second parts: |
First term total: |
a N k² +2a N k +a N +b N k +b N +c N |
- a k³ -2a k² -a k -b k² -b k -c k |
Second term: |
- N[a k² +b k +c] |
= -a N k² -b N k -c N |
Third term: |
a k³ -2a k² +a k +b k² -b k +c k |
Now, combine all terms: |
Start with the first term total, then add the second term, then add the third term. |
Let's collect terms by degree of k: |
Starting with the highest degree: |
k³ terms: |
From first term: -a k³ |
From third term: +a k³ |
Total: (-a +a)k³ =0 |
k² terms: |
From first term: a N k² -2a k² -b k² |
From second term: -a N k² |
From third term: -2a k² +b k² |
Total: |
(a N -2a -b -a N -2a +b)k² = (a N -a N) + (-2a -2a) + (-b +b) = -4a k² |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.