wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

The range of the function f(x)=|x-1|+|x-2|,-1x3, is


A

[2,5]

No worries! We‘ve got your back. Try BYJU‘S free classes today!
B

[1,5]

Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C

[3,5]

No worries! We‘ve got your back. Try BYJU‘S free classes today!
D

None of these

No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B

[1,5]


Find the range of the given function

Given, f(x)=x-1+x-2

For, -1x1

f(x)=-(x-1)-(x-2)=-2x+3

For, 1x2

f(x)=(x-1)-(x-2)

=1

For, 2x3

f(x)=(x-1)+(x-2)=2x-3

f(x) has the maximum value at, x=-1

f(-1)=-2(-1)+3=5

f(x)has the minimum value at, x=1 and 2

ƒ(1)=1ƒ(2)=2(2)-3=1

f(1)=f(2)=1

The range of the function is 1,5

Hence, the correct answer is B, 1,5.


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