The problem requires finding the sum of the squares of the roots for two distinct equations involving absolute values.
$y^2 + y - 2 = 0$
$(y+2)(y-1) = 0$
This gives potential values for $y$: $y=-2$ or $y=1$.
We have $|x-2| = 1$.
This implies either $x-2 = 1$ or $x-2 = -1$.
Sum of squares = $1^2 + 3^2 = 1 + 9 = 10$.
We need to consider two cases based on the sign of $(x-3)$.
$x^2 - 2(x-3) - 5 = 0$
$x^2 - 2x + 6 - 5 = 0$
$x^2 - 2x + 1 = 0$
$(x-1)^2 = 0$
This yields $x=1$.
$x^2 - 2(3-x) - 5 = 0$
$x^2 - 6 + 2x - 5 = 0$
$x^2 + 2x - 11 = 0$
$x = \frac{-2 \pm \sqrt{2^2 - 4(1)(-11)}}{2(1)}$
$x = \frac{-2 \pm \sqrt{4 + 44}}{2}$
$x = \frac{-2 \pm \sqrt{48}}{2}$
$x = \frac{-2 \pm 4\sqrt{3}}{2}$
$x = -1 \pm 2\sqrt{3}$
Sum of squares = $(-2)^2 - 2(-11) = 4 + 22 = 26$.
Add the sum of the squares of the roots from both equations:
Total Sum = (Sum of squares from Eq 1) + (Sum of squares from Eq 2)
Total Sum = $10 + 26 = 36$.
Let f and g be functions satisfying $f(x+y) = f(x)f(y), f(1) = 7$ and $g(x+y) = g(xy), g(1) = 1$, for all $x, y \in \mathbb{N}$. If $\sum_{x=1}^{n} \left(\frac{f(x)}{g(x)}\right) = 19607$, then n is equal to :
Let S be the set of the first 11 natural numbers. Then the number of elements in $A = \{B \subseteq S : n(B) \geq 2$ and the product of all elements of B is even is ________.