In an arithmetic progression, the sum of the first \( n \) terms is given by the formula: \[ S_n = \frac{n}{2} (2a + (n - 1) d), \] where \( a \) is the first term and \( d \) is the common difference. We are given \( S_{40} = 1030 \) and \( S_{12} = 57 \).
From these, we can solve for \( a \) and \( d \). Then, we calculate \( S_{30} - S_{10} \) using the same formula.
Final Answer: \( S_{30} - S_{10} = 510 \).
If the domain of the function \( f(x) = \dfrac{1}{\sqrt{10 + 3x - x^2}} + \dfrac{1}{\sqrt{x + |x|}} \) is \( (a, b) \), then \((1 + a)^2 + b^2\) is equal to: