CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Find three numbers whose sum is 21 snd whose sum of squares is a minimum. The three numbers are :


Open in App
Solution

Step-1: Formation of required function:

Let the positive numbers be x,yandz.

Given that the sum of numbers is 21

x+y+z=21---(1)z=21-x-y

Let the sum of the squares of the number be S.

S=x2+y2+z2S=x2+y2+(12-x-y)2---(2)

Step-2: Find critical points:

To find the minimum value of S, we will optimize the function and differentiate it partially with respect to xandy and make dSdx=0

Partially differentiating (2) w.r.t x

2x+2(21-x-y)(-1)=02x-42+2x+2y=04x+2y-42=0y=21-2x---(3)

Partially differentiating equation (2) w.r.t y,

2y+2(21-x-y)(-1)=02y-42+2x+2y=04y+2x-42=0x=21-2y---(4)

By substituting the value of y=21-2xin equation (4),

x=21-2(21-2x)x=21-42+4x4x-x=42-213x=21x=7

By substituting x=7in equation (3)

y=21-2(7)y=21-14y=7

By substituting the values of x=7andy=7 in equation (1), we get,

7+7+z=21z=21-14=7

From, we get

S=x2+y2+z2S=72+72+72S=147

Hence, the three numbers are 7,7,7.


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon