Let f:R→R be defined by a piecewise sine-type rule (matched to sinπx near x=1 and x=−1). If f(x) is continuous on R, then a+b equals
Solutions · 1
Official solution
Continuity at x=1 gives ∣a+1+b∣=sinπ=0⇒a+b=−1 ... (i)
Continuity at x=−1 gives 2sin(2−π)(−1)=a−1+b⇒2=∣a+b−1∣ ... (ii), which is satisfied by (i).
Hence a+b=−1.