We have the function
f ( x ) = ∣ cos x x 1 2 sin x x 2 2 x tan x x 1 ∣ . f(x)=\begin{vmatrix}\cos x & x & 1\\[2pt] 2\sin x & x^{2} & 2x\\[2pt] \tan x & x & 1\end{vmatrix}. f ( x ) = cos x 2 sin x tan x x x 2 x 1 2 x 1 .
To evaluate the required limit, we first simplify this determinant. Using the standard expansion along the first row, namely
∣ a 11 a 12 a 13 a 21 a 22 a 23 a 31 a 32 a 33 ∣ = a 11 ∣ a 22 a 23 a 32 a 33 ∣ − a 12 ∣ a 21 a 23 a 31 a 33 ∣ + a 13 ∣ a 21 a 22 a 31 a 32 ∣ , \begin{vmatrix}a_{11}&a_{12}&a_{13}\\ a_{21}&a_{22}&a_{23}\\ a_{31}&a_{32}&a_{33}\end{vmatrix}
=a_{11}\begin{vmatrix}a_{22}&a_{23}\\ a_{32}&a_{33}\end{vmatrix}
-a_{12}\begin{vmatrix}a_{21}&a_{23}\\ a_{31}&a_{33}\end{vmatrix}
+a_{13}\begin{vmatrix}a_{21}&a_{22}\\ a_{31}&a_{32}\end{vmatrix}, a 11 a 21 a 31 a 12 a 22 a 32 a 13 a 23 a 33 = a 11 a 22 a 32 a 23 a 33 − a 12 a 21 a 31 a 23 a 33 + a 13 a 21 a 31 a 22 a 32 ,
we write
f ( x ) = cos x ∣ x 2 2 x x 1 ∣ − x ∣ 2 sin x 2 x tan x 1 ∣ + 1 ∣ 2 sin x x 2 tan x x ∣ . \begin{aligned}
f(x)=&\;\cos x\begin{vmatrix}x^{2}&2x\\ x&1\end{vmatrix}
\;-\;x\begin{vmatrix}2\sin x&2x\\ \tan x&1\end{vmatrix}
\;+\;1\begin{vmatrix}2\sin x&x^{2}\\ \tan x&x\end{vmatrix}.
\end{aligned} f ( x ) = cos x x 2 x 2 x 1 − x 2 sin x tan x 2 x 1 + 1 2 sin x tan x x 2 x .
Each 2 × 2 minor is evaluated with the rule ∣ p q r s ∣ = p s − q r . \begin{vmatrix}p&q\\ r&s\end{vmatrix}=ps-qr. p r q s = p s − q r . Hence
f ( x ) = cos x [ x 2 ⋅ 1 − ( 2 x ) ⋅ x ] − x [ 2 sin x ⋅ 1 − ( 2 x ) ⋅ tan x ] + 1 [ 2 sin x ⋅ x − x 2 ⋅ tan x ] . \begin{aligned}
f(x)=\;&\cos x\,[x^{2}\cdot1-(2x)\cdot x] \\
&-x\,[2\sin x\cdot1-(2x)\cdot\tan x] \\
&+1\,[2\sin x\cdot x-x^{2}\cdot\tan x].
\end{aligned} f ( x ) = cos x [ x 2 ⋅ 1 − ( 2 x ) ⋅ x ] − x [ 2 sin x ⋅ 1 − ( 2 x ) ⋅ tan x ] + 1 [ 2 sin x ⋅ x − x 2 ⋅ tan x ] .
Multiplying out each bracket we get
f ( x ) = cos x ( x 2 − 2 x 2 ) − x ( 2 sin x − 2 x tan x ) a m p + ( 2 x sin x − x 2 tan x ) . \begin{aligned}
f(x)=&\;\cos x\,(x^{2}-2x^{2}) \\
&-x\,(2\sin x-2x\tan x) \\
&+\,(2x\sin x-x^{2}\tan x).
\end{aligned} f ( x ) = cos x ( x 2 − 2 x 2 ) − x ( 2 sin x − 2 x tan x ) am p + ( 2 x sin x − x 2 tan x ) .
Simplify term by term:
cos x ( x 2 − 2 x 2 ) = cos x ( − x 2 ) = − x 2 cos x , \cos x\,(x^{2}-2x^{2})=\cos x\,(-x^{2})=-x^{2}\cos x, cos x ( x 2 − 2 x 2 ) = cos x ( − x 2 ) = − x 2 cos x ,
− x ( 2 sin x − 2 x tan x ) = − 2 x sin x + 2 x 2 tan x , -x\,(2\sin x-2x\tan x)=-2x\sin x+2x^{2}\tan x, − x ( 2 sin x − 2 x tan x ) = − 2 x sin x + 2 x 2 tan x ,
2 x sin x − x 2 tan x 2x\sin x-x^{2}\tan x 2 x sin x − x 2 tan x
Putting them together,
f ( x ) = − x 2 cos x − 2 x sin x + 2 x 2 tan x + 2 x sin x − x 2 tan x = − x 2 cos x + 2 x 2 tan x − x 2 tan x = − x 2 cos x + x 2 tan x . \begin{aligned}
f(x)=&-x^{2}\cos x-2x\sin x+2x^{2}\tan x+2x\sin x-x^{2}\tan x \\
=&-x^{2}\cos x+2x^{2}\tan x-x^{2}\tan x \\
=&-x^{2}\cos x+x^{2}\tan x.
\end{aligned} f ( x ) = = = − x 2 cos x − 2 x sin x + 2 x 2 tan x + 2 x sin x − x 2 tan x − x 2 cos x + 2 x 2 tan x − x 2 tan x − x 2 cos x + x 2 tan x .
Factorising out the common factor x 2 , x^{2}, x 2 , we arrive at the compact form
f ( x ) = x 2 ( tan x − cos x ) . f(x)=x^{2}\bigl(\tan x-\cos x\bigr). f ( x ) = x 2 ( tan x − cos x ) .
Let us denote g ( x ) = tan x − cos x , g(x)=\tan x-\cos x, g ( x ) = tan x − cos x , so that f ( x ) = x 2 g ( x ) . f(x)=x^{2}g(x). f ( x ) = x 2 g ( x ) .
Next, we need the derivative of f ( x ) . f(x). f ( x ) . We first recall the product rule of differentiation: for any functions u ( x ) , v ( x ) u(x),v(x) u ( x ) , v ( x ) we have ( u v ) ′ = u ′ v + u v ′ . (uv)'=u'v+uv'. ( uv ) ′ = u ′ v + u v ′ . Applying it to u = x 2 u=x^{2} u = x 2 and v = g ( x ) , v=g(x), v = g ( x ) , we obtain
f ′ ( x ) = ( x 2 ) ′ g ( x ) + x 2 g ′ ( x ) = 2 x g ( x ) + x 2 g ′ ( x ) . f'(x)=\bigl(x^{2}\bigr)'g(x)+x^{2}g'(x)=2x\,g(x)+x^{2}g'(x). f ′ ( x ) = ( x 2 ) ′ g ( x ) + x 2 g ′ ( x ) = 2 x g ( x ) + x 2 g ′ ( x ) .
The problem asks for the limit
lim x → 0 f ′ ( x ) x = lim x → 0 ( 2 g ( x ) + x g ′ ( x ) ) . \lim_{x\to0}\frac{f'(x)}{x}
=\lim_{x\to0}\Bigl(2\,g(x)+x\,g'(x)\Bigr). lim x → 0 x f ′ ( x ) = lim x → 0 ( 2 g ( x ) + x g ′ ( x ) ) .
We therefore evaluate g ( x ) g(x) g ( x ) and g ′ ( x ) g'(x) g ′ ( x ) at x = 0. x=0. x = 0.
First,
g ( 0 ) = tan 0 − cos 0 = 0 − 1 = − 1. g(0)=\tan0-\cos0=0-1=-1. g ( 0 ) = tan 0 − cos 0 = 0 − 1 = − 1.
Next, we differentiate g ( x ) . g(x). g ( x ) . Using the known derivatives d d x ( tan x ) = sec 2 x \dfrac{d}{dx}(\tan x)=\sec^{2}x d x d ( tan x ) = sec 2 x and d d x ( − cos x ) = sin x , \dfrac{d}{dx}(-\cos x)=\sin x, d x d ( − cos x ) = sin x , we get
g ′ ( x ) = sec 2 x + sin x . g'(x)=\sec^{2}x+\sin x. g ′ ( x ) = sec 2 x + sin x .
Hence at x = 0 x=0 x = 0
g ′ ( 0 ) = sec 2 0 + sin 0 = 1 + 0 = 1. g'(0)=\sec^{2}0+\sin0=1+0=1. g ′ ( 0 ) = sec 2 0 + sin 0 = 1 + 0 = 1.
Now substitute these values back into the expression for the limit:
lim x → 0 f ′ ( x ) x = lim x → 0 ( 2 g ( x ) + x g ′ ( x ) ) = 2 g ( 0 ) + 0 ⋅ g ′ ( 0 ) = 2 ( − 1 ) + 0 = − 2. \lim_{x\to0}\frac{f'(x)}{x}
=\lim_{x\to0}\Bigl(2\,g(x)+x\,g'(x)\Bigr)
=2\,g(0)+0\cdot g'(0)=2(-1)+0=-2. lim x → 0 x f ′ ( x ) = lim x → 0 ( 2 g ( x ) + x g ′ ( x ) ) = 2 g ( 0 ) + 0 ⋅ g ′ ( 0 ) = 2 ( − 1 ) + 0 = − 2.
Thus the limit exists and equals − 2. -2. − 2.
Hence, the correct answer is Option A.