Each function is undefined at
x=a. Find the value
f(a) should be given so that
f is continuous at
a.
(a) Factor the difference of cubes and the difference of squares. For
x=±1,
Defining
f(1)=23 makes
f(1)=limx→1f(x), so
f is continuous at
1. The other zero of the denominator,
x=−1, is different: there
x3−1 approaches
−2 while the denominator approaches
0, so the discontinuity is infinite and no value removes it.
(b) Multiply above and below by
1+cosx, and use
1−cos2x=sin2x: