Solution:
This past paper question is beyond the current ISC syllabus; it is included for extra practice.
Key idea: L'Hospital's rule says that if g(x)f(x) takes the form 00 as x→a, then x→alimg(x)f(x)=x→alimg′(x)f′(x), provided the second limit exists. We may use the rule again as long as the new fraction is still of the form 00.
Step 1 — Check the form of the limit.
When we put x=0, the numerator x−sinx becomes 0 and the denominator x2sinx also becomes 0. So the limit has the form 00, and the rule can be used.
Step 2 — Apply the rule once.
We differentiate the numerator and the denominator separately. The denominator x2sinx is a product, so we use the product rule.
limx→0x2sinxx−sinx=limx→02xsinx+x2cosx1−cosx
When we put x=0, the new numerator 1−cosx and the new denominator both become 0, so the form is still 00.
Step 3 — Apply the rule a second time.
The derivative of 1−cosx is sinx. The derivative of 2xsinx+x2cosx is 2sinx+2xcosx+2xcosx−x2sinx, which we collect as 2sinx+4xcosx−x2sinx.
limx→02xsinx+x2cosx1−cosx=limx→02sinx+4xcosx−x2sinxsinx
At x=0 this is again 00.
Step 4 — Apply the rule a third time.
The derivative of sinx is cosx. The derivative of the denominator is 2cosx+4cosx−4xsinx−2xsinx−x2cosx, which we collect as 6cosx−6xsinx−x2cosx.
limx→02sinx+4xcosx−x2sinxsinx=limx→06cosx−6xsinx−x2cosxcosx
Step 5 — Put x=0.
Now the denominator is not zero at x=0, so we substitute directly. We use cos0=1 and sin0=0.
limx→06cosx−6xsinx−x2cosxcosx=6−0−01
limx→06cosx−6xsinx−x2cosxcosx=61
Watch out: Differentiate the numerator and the denominator separately. Do not use the quotient rule on the whole fraction.
Therefore, x→0limx2sinxx−sinx=61.