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. A wire of length 20 cm is to be bent into a rectangle. Which of the following statements is/are correct?

    I. The rectangle of the largest area is the square.
    II. It is possible to form a rectangle of an area of $27 \, \text{cm}^2$.

    Select the answer using the code given below.

  5. Consider the following statements :

    Statement-I : 
    The function $f(x) = \frac{x^3 + 128}{x}$ has a minimum value 48 at $x = 4$.

    Statement-II : 
    As $x$ increases through 4, $f'(x)$ changes sign from positive to negative.

    Which one of the following is correct in respect of the above statements?

Need Expert Advice?
Upcoming Exams
RRB ALP
July 28, 2026
RRB Group D
August 03, 2026
Test Series
RRB NTPC img
Railways
RRB NTPC Under Graduate 2026 New Mock Test Series
1459 Tests 2 Tests Free
213 Attempts
4.3(512)
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