The sum of all the roots of the equation |x2-8x+15|-2x+7=0 is [2023]
(3)
Given equation is |x2-8x+15|-2x+7=0
x2-8x+15≥0
⇒(x-3)(x-5)≥0⇒x≤3 or x≥5
When x≤3 or x≥5
x2-8x+15-2x+7=0⇒x2-10x+22=0
∴ x=5+3 [5-3 is rejected]
When 3<x<5
-(x2-8x+15)-2x+7=0⇒x2-8x+15+2x-7=0
⇒x2-6x+8=0⇒(x-4)(x-2)=0
⇒x=4 [2 does not lie between 3 and 5, so rejected]
Sum of roots=5+3+4=9+3