Solution:
Key idea: When limx→af(x) exists but f(a) is not defined, the break is removable: we define f(a) to be that limit. Here we use x3−1=(x−1)(x2+x+1).
Step 1 — Simplify the rule for x not equal to 1.
We factorise both parts and cancel (x−1), which is not zero while x=1.
x3−1x2−1=(x−1)(x2+x+1)(x−1)(x+1)=x2+x+1x+1
Step 2 — Find the one-sided limits.
We put x=1−h and x=1+h in the simplified rule; the denominator tends to 1+1+1=3.
LHL=h→0lim(1−h)2+(1−h)+1(1−h)+1=32
RHL=h→0lim(1+h)2+(1+h)+1(1+h)+1=32
Step 3 — Choose the value at the point.
Both one-sided limits are 32, so limx→1f(x)=32, and defining f(1)=32 makes f continuous at that point.
Therefore, f(1)=32.