题目
Problem
Given that y = tan 2 x y = \tan^2 x y = tan 2 x
(a) show that
d 3 y d x 3 = 8 tan x sec 2 x ( p sec 2 x + q ) \begin{align*}
\frac{\mathrm{d}^3y}{\mathrm{d}x^3}
= 8\tan x \sec^2 x (p \sec^2 x + q)
\end{align*} d x 3 d 3 y = 8 tan x sec 2 x ( p sec 2 x + q )
where p p p and q q q are integers to be determined.
(5)
(b) Hence determine the Taylor series expansion about π 3 \frac{\pi}{3} 3 π of tan 2 x \tan^2 x tan 2 x in ascending powers of ( x − π 3 ) \left( x - \frac{\pi}{3} \right) ( x − 3 π ) up to and including the term in ( x − π 3 ) 3 \left( x - \frac{\pi}{3} \right)^3 ( x − 3 π ) 3 , giving each coefficient in simplest form.
(3)
解答
(a)
解法一
思路
展开
先求一阶、二阶、三阶导数。二阶导数可以先写成含 tan x \tan x tan x 和 sec x \sec x sec x 的形式,三阶导数再整理成题目要求的
8 tan x sec 2 x ( p sec 2 x + q ) . \begin{align*}
8\tan x\sec^2x(p\sec^2x+q).
\end{align*} 8 tan x sec 2 x ( p sec 2 x + q ) .
答题过程
展开
Given
y = tan 2 x . \begin{align*}
y=\tan^2x.
\end{align*} y = tan 2 x .
Differentiate:
d y d x = 2 tan x sec 2 x . \begin{align*}
\frac{\mathrm{d}y}{\mathrm{d}x}
=&\,2\tan x\sec^2x.
\end{align*} d x d y = 2 tan x sec 2 x .
Differentiate again using the product rule:
d 2 y d x 2 = 2 sec 2 x sec 2 x + 2 tan x ( 2 sec 2 x tan x ) = 2 sec 4 x + 4 sec 2 x tan 2 x . \begin{align*}
\frac{\mathrm{d}^2y}{\mathrm{d}x^2}
=&\,2\sec^2x\sec^2x
+2\tan x\left(2\sec^2x\tan x\right)\\[2mm]
=&\,2\sec^4x+4\sec^2x\tan^2x.
\end{align*} d x 2 d 2 y = = 2 sec 2 x sec 2 x + 2 tan x ( 2 sec 2 x tan x ) 2 sec 4 x + 4 sec 2 x tan 2 x .
Now differentiate once more:
d 3 y d x 3 = 2 ( 4 sec 4 x tan x ) + 4 [ ( 2 sec 2 x tan x ) tan 2 x + sec 2 x ( 2 tan x sec 2 x ) ] = 8 sec 4 x tan x + 8 sec 2 x tan 3 x + 8 sec 4 x tan x . \begin{align*}
\frac{\mathrm{d}^3y}{\mathrm{d}x^3}
=&\,2\left(4\sec^4x\tan x\right)\\[2mm]
&\,\hspace{2pt}+4\left[
\left(2\sec^2x\tan x\right)\tan^2x
+\sec^2x\left(2\tan x\sec^2x\right)
\right]\\[2mm]
=&\,8\sec^4x\tan x
+8\sec^2x\tan^3x\\[2mm]
&\,\hspace{2pt}+8\sec^4x\tan x.
\end{align*} d x 3 d 3 y = = 2 ( 4 sec 4 x tan x ) + 4 [ ( 2 sec 2 x tan x ) tan 2 x + sec 2 x ( 2 tan x sec 2 x ) ] 8 sec 4 x tan x + 8 sec 2 x tan 3 x + 8 sec 4 x tan x .
So
d 3 y d x 3 = 16 sec 4 x tan x + 8 sec 2 x tan 3 x . \begin{align*}
\frac{\mathrm{d}^3y}{\mathrm{d}x^3}
=&\,16\sec^4x\tan x
+8\sec^2x\tan^3x.
\end{align*} d x 3 d 3 y = 16 sec 4 x tan x + 8 sec 2 x tan 3 x .
Use
tan 2 x = sec 2 x − 1. \begin{align*}
\tan^2x=\sec^2x-1.
\end{align*} tan 2 x = sec 2 x − 1.
Then
8 sec 2 x tan 3 x = 8 sec 2 x tan x ( sec 2 x − 1 ) . \begin{align*}
8\sec^2x\tan^3x
=&\,8\sec^2x\tan x(\sec^2x-1).
\end{align*} 8 sec 2 x tan 3 x = 8 sec 2 x tan x ( sec 2 x − 1 ) .
Therefore
d 3 y d x 3 = 16 sec 4 x tan x + 8 sec 2 x tan x ( sec 2 x − 1 ) = 24 sec 4 x tan x − 8 sec 2 x tan x = 8 tan x sec 2 x ( 3 sec 2 x − 1 ) . \begin{align*}
\frac{\mathrm{d}^3y}{\mathrm{d}x^3}
=&\,16\sec^4x\tan x
+8\sec^2x\tan x(\sec^2x-1)\\[2mm]
=&\,24\sec^4x\tan x
-8\sec^2x\tan x\\[2mm]
=&\,8\tan x\sec^2x(3\sec^2x-1).
\end{align*} d x 3 d 3 y = = = 16 sec 4 x tan x + 8 sec 2 x tan x ( sec 2 x − 1 ) 24 sec 4 x tan x − 8 sec 2 x tan x 8 tan x sec 2 x ( 3 sec 2 x − 1 ) .
Hence
p = 3 , q = − 1. \begin{align*}
p=3,\qquad q=-1.
\end{align*} p = 3 , q = − 1.
解法二
思路
展开
二阶导数也可以先用 tan 2 x = sec 2 x − 1 \tan^2x=\sec^2x-1 tan 2 x = sec 2 x − 1 化成只含 sec x \sec x sec x 的形式:
d 2 y d x 2 = 6 sec 4 x − 4 sec 2 x . \begin{align*}
\frac{\mathrm{d}^2y}{\mathrm{d}x^2}
=6\sec^4x-4\sec^2x.
\end{align*} d x 2 d 2 y = 6 sec 4 x − 4 sec 2 x .
这样求三阶导数会更短。
答题过程
展开
From
y = tan 2 x , \begin{align*}
y=\tan^2x,
\end{align*} y = tan 2 x ,
we get
d y d x = 2 tan x sec 2 x . \begin{align*}
\frac{\mathrm{d}y}{\mathrm{d}x}
=&\,2\tan x\sec^2x.
\end{align*} d x d y = 2 tan x sec 2 x .
Then
d 2 y d x 2 = 2 sec 4 x + 4 sec 2 x tan 2 x . \begin{align*}
\frac{\mathrm{d}^2y}{\mathrm{d}x^2}
=&\,2\sec^4x+4\sec^2x\tan^2x.
\end{align*} d x 2 d 2 y = 2 sec 4 x + 4 sec 2 x tan 2 x .
Use tan 2 x = sec 2 x − 1 \tan^2x=\sec^2x-1 tan 2 x = sec 2 x − 1 :
d 2 y d x 2 = 2 sec 4 x + 4 sec 2 x ( sec 2 x − 1 ) = 6 sec 4 x − 4 sec 2 x . \begin{align*}
\frac{\mathrm{d}^2y}{\mathrm{d}x^2}
=&\,2\sec^4x
+4\sec^2x(\sec^2x-1)\\[2mm]
=&\,6\sec^4x-4\sec^2x.
\end{align*} d x 2 d 2 y = = 2 sec 4 x + 4 sec 2 x ( sec 2 x − 1 ) 6 sec 4 x − 4 sec 2 x .
Differentiate this:
d 3 y d x 3 = 6 ( 4 sec 4 x tan x ) − 4 ( 2 sec 2 x tan x ) = 24 sec 4 x tan x − 8 sec 2 x tan x = 8 tan x sec 2 x ( 3 sec 2 x − 1 ) . \begin{align*}
\frac{\mathrm{d}^3y}{\mathrm{d}x^3}
=&\,6\left(4\sec^4x\tan x\right)
-4\left(2\sec^2x\tan x\right)\\[2mm]
=&\,24\sec^4x\tan x
-8\sec^2x\tan x\\[2mm]
=&\,8\tan x\sec^2x(3\sec^2x-1).
\end{align*} d x 3 d 3 y = = = 6 ( 4 sec 4 x tan x ) − 4 ( 2 sec 2 x tan x ) 24 sec 4 x tan x − 8 sec 2 x tan x 8 tan x sec 2 x ( 3 sec 2 x − 1 ) .
Therefore
p = 3 , q = − 1. \begin{align*}
p=3,\qquad q=-1.
\end{align*} p = 3 , q = − 1.
(b)
解法一
思路
展开
Taylor series about x = π 3 x=\dfrac{\pi}{3} x = 3 π 需要
y , y ′ , y ′ ′ , y ′ ′ ′ \begin{align*}
y,\quad y',\quad y'',\quad y'''
\end{align*} y , y ′ , y ′′ , y ′′′
在 x = π 3 x=\dfrac{\pi}{3} x = 3 π 的值。这里
tan π 3 = 3 , sec 2 π 3 = 4. \begin{align*}
\tan\frac{\pi}{3}=\sqrt3,
\qquad
\sec^2\frac{\pi}{3}=4.
\end{align*} tan 3 π = 3 , sec 2 3 π = 4.
答题过程
展开
At
x = π 3 , \begin{align*}
x=\frac{\pi}{3},
\end{align*} x = 3 π ,
we have
tan x = 3 , sec 2 x = 4. \begin{align*}
\tan x=\sqrt3,
\qquad
\sec^2x=4.
\end{align*} tan x = 3 , sec 2 x = 4.
So
y = tan 2 x = 3. \begin{align*}
y
=&\,\tan^2x=3.
\end{align*} y = tan 2 x = 3.
Also
y ′ = 2 tan x sec 2 x = 2 ( 3 ) ( 4 ) = 8 3 . \begin{align*}
y'
=&\,2\tan x\sec^2x\\[2mm]
=&\,2(\sqrt3)(4)\\[2mm]
=&\,8\sqrt3.
\end{align*} y ′ = = = 2 tan x sec 2 x 2 ( 3 ) ( 4 ) 8 3 .
From part (a),
y ′ ′ ′ = 8 tan x sec 2 x ( 3 sec 2 x − 1 ) . \begin{align*}
y'''
=&\,8\tan x\sec^2x(3\sec^2x-1).
\end{align*} y ′′′ = 8 tan x sec 2 x ( 3 sec 2 x − 1 ) .
At x = π 3 x=\dfrac{\pi}{3} x = 3 π ,
y ′ ′ ′ = 8 ( 3 ) ( 4 ) ( 3 ⋅ 4 − 1 ) = 352 3 . \begin{align*}
y'''
=&\,8(\sqrt3)(4)(3\cdot4-1)\\[2mm]
=&\,352\sqrt3.
\end{align*} y ′′′ = = 8 ( 3 ) ( 4 ) ( 3 ⋅ 4 − 1 ) 352 3 .
We also need y ′ ′ y'' y ′′ . From part (a),
y ′ ′ = 6 sec 4 x − 4 sec 2 x . \begin{align*}
y''
=&\,6\sec^4x-4\sec^2x.
\end{align*} y ′′ = 6 sec 4 x − 4 sec 2 x .
Therefore
y ′ ′ = 6 ( 4 2 ) − 4 ( 4 ) = 96 − 16 = 80. \begin{align*}
y''
=&\,6(4^2)-4(4)\\[2mm]
=&\,96-16\\[2mm]
=&\,80.
\end{align*} y ′′ = = = 6 ( 4 2 ) − 4 ( 4 ) 96 − 16 80.
The Taylor series is
y = y 0 + y 0 ′ ( x − π 3 ) + y 0 ′ ′ 2 ! ( x − π 3 ) 2 + y 0 ′ ′ ′ 3 ! ( x − π 3 ) 3 + ⋯ . \begin{align*}
y
=&\,y_0+y_0'\left(x-\frac{\pi}{3}\right)
+\frac{y_0''}{2!}\left(x-\frac{\pi}{3}\right)^2\\[2mm]
&\,\hspace{2pt}+\frac{y_0'''}{3!}
\left(x-\frac{\pi}{3}\right)^3+\cdots.
\end{align*} y = y 0 + y 0 ′ ( x − 3 π ) + 2 ! y 0 ′′ ( x − 3 π ) 2 + 3 ! y 0 ′′′ ( x − 3 π ) 3 + ⋯ .
Hence
tan 2 x = 3 + 8 3 ( x − π 3 ) + 40 ( x − π 3 ) 2 + 176 3 3 ( x − π 3 ) 3 + ⋯ . \begin{align*}
\tan^2x
=&\,3+8\sqrt3\left(x-\frac{\pi}{3}\right)
+40\left(x-\frac{\pi}{3}\right)^2\\[2mm]
&\,\hspace{2pt}+\frac{176\sqrt3}{3}
\left(x-\frac{\pi}{3}\right)^3+\cdots.
\end{align*} tan 2 x = 3 + 8 3 ( x − 3 π ) + 40 ( x − 3 π ) 2 + 3 176 3 ( x − 3 π ) 3 + ⋯ .