All Exams Test series for 1 year @ ₹349 only
Question

If $a_1, a_2, a_3, \dots, a_n \in R$, then $(x - a_1)^2 + (x - a_2)^2 + \dots + (x - a_n)^2 = 0$ assumes its least value at:

This question was previously asked in
RRB NTPC 2019 CBT 1 Question Paper (8-Mar-2021) (Shift 2)
The correct answer is
$x = \frac{(a_1+a_2+a_3+\dots+a_n)}{n}$

Finding the Least Value of Sum of Squares

We are given the expression $f(x) = (x - a_1)^2 + (x - a_2)^2 + \dots + (x - a_n)^2$. We need to find the value of $x$ where this expression is minimized.

Minimization using Calculus

This expression represents a sum of squared differences. To find the minimum value, we can use calculus by finding the derivative of $f(x)$ with respect to $x$ and setting it to zero.

  1. Define the function: Let $f(x) = \sum_{i=1}^{n} (x - a_i)^2$.

  2. Calculate the first derivative $f'(x)$: $f'(x) = \frac{d}{dx} \left( \sum_{i=1}^{n} (x - a_i)^2 \right)$ $f'(x) = \sum_{i=1}^{n} \frac{d}{dx} (x - a_i)^2$ $f'(x) = \sum_{i=1}^{n} 2(x - a_i)$ $f'(x) = 2 \sum_{i=1}^{n} (x - a_i)$ $f'(x) = 2 \left( \sum_{i=1}^{n} x - \sum_{i=1}^{n} a_i \right)$ $f'(x) = 2 \left( nx - (a_1 + a_2 + \dots + a_n) \right)$

  3. Set the derivative to zero to find critical points: $f'(x) = 0$ $2 \left( nx - (a_1 + a_2 + \dots + a_n) \right) = 0$ $nx - (a_1 + a_2 + \dots + a_n) = 0$ $nx = a_1 + a_2 + \dots + a_n$

  4. Solve for $x$: $x = \frac{a_1 + a_2 + \dots + a_n}{n}$

  5. Verify it's a minimum: The second derivative is $f''(x) = \frac{d}{dx} \left( 2 \left( nx - \sum_{i=1}^{n} a_i \right) \right) = 2n$. Since $n \ge 1$, $f''(x) > 0$, confirming that this value of $x$ corresponds to a minimum.

Therefore, the expression assumes its least value when $x$ is the average (mean) of $a_1, a_2, \dots, a_n$. This matches option 1.

Was this answer helpful?

Similar Questions

  1. If $a^2 + b^2 + c^2 + d^2 = 1$, what will be the maximum value of the product abcd?

Important Questions from Maxima and Minima

  1. Four small squares of side x are cut out of a square of side 12 cm to make a tray by folding the edges. What is the value of x so that the tray has the maximum volume?

  2. If 3 ≤ x ≤ 10 and 5 ≤ y ≤ 15 , then maximum value of \(\left(\frac{x}{y}\right)\) is-

  3. If N is a four digit number formed by digits x 1, x 2, x 3and x 4, then maximum value of \(\frac{N}{x_{1}+x_{2}+x_{3}+x_{4}}\) is-

  4. The minimum value of the expression max {$p^2 - 2p + 4, -p^2 + 2p - 4$} in the range $0 \le p \le 1$ is:
  5. If $a^2 + b^2 + c^2 + d^2 = 1$, what will be the maximum value of the product abcd?
Need Expert Advice?
Upcoming Exams
RRB NTPC
September 27, 2026
Test Series
RRB NTPC img
Railways
RRB NTPC Under Graduate 2026 New Mock Test Series
1459 Tests 2 Tests Free
276 Attempts
4.3(515)
English, Hindi, Telugu +7 More

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App