Calculate $1^2-2^2+3^2-4^2+...-2018^2+2019^2$.
Problem
Source: Kosovo MO 2019 Grade 9, Problem 1
Tags: algebra
02.03.2019 22:06
2019×1010=...
02.03.2019 22:06
$$2019^2 - 2018^2 + 1017^2 - \cdots + 3^2 - 2^2 + 1^2 - 0^2 = 2019 + 2018 + 2017 + \cdots + 3 + 2 + 1 = \frac{2019(2020)}{2} = \boxed{2039190}$$
02.03.2019 22:07
Noticing that $(n+1)^{2} - (n)^2 = n + n + 1$ We can rewrite $1^{2}+(-2^{2}+3^{2})+(-4^{2}+5^{2})...(-2018^{2}+2019^{2})$ as $=1+2+3+4+5.......+2018+2019$ $=2019*2020/2 = 2039190$ Edit: Snipped
25.04.2019 14:08
We have: $1^2 - 2^2 + 3^2 - 4^2 + ... + 2017^2 - 2018^2 + 2019^2$ $=$ $- 3 - 7 - 11 - 15 - ... - 4035 + 2019^2$ $=$ $- \dfrac{4038 . 1009}{2} + 2019^2 = 2019^2 - 2019 . 1009 = 2019 . 1010 = 2039190$
26.04.2023 21:46
$-x^2+(x+1)^2=-x^2+x^2+2x+1=2x+1=x+(x+1)$ $ \Rightarrow 1^2-2^2+3^2-...-2018^2+2019^2=1+2+3+...+2019$ $1+2+3+...+2019= \frac{2019 \cdot 2020}{2}=2019 \cdot 1010=2039190$ $\blacksquare$
27.10.2024 18:55
My solution is the same as #3, so I'll keep this post for storage and not post anything.
27.10.2024 19:21
Rijadinho wrote: $-x^2+(x+1)^2=-x^2+x^2+2x+1=2x+1=x+(x+1)$ $ \Rightarrow 1^2-2^2+3^2-...-2018^2+2019^2=1+2+3+...+2019$ $1+2+3+...+2019= \frac{2019 \cdot 2020}{2}=2019 \cdot 1010=2039190$ $\blacksquare$ I got the same solution
29.10.2024 15:59
Similar to the Paranaense Math Olympiad 2024 P2 L2
29.10.2024 16:05
Formula for the sum of alternating squares: $S=\frac{n(n+1)(2n+1)-8\lfloor \frac{n}{2} \rfloor (\lfloor \frac{n}{2} \rfloor +1)(2\lfloor \frac{n}{2} \rfloor+1)}{6}$ Therefore, $S=\frac{2019\cdot2020\cdot4039-8\cdot 1009\cdot 1010\cdot 2019}{6}=\boxed{2039190}$