202210141629 Solution to 1976-CE-AMATH-II-XX

By using

\displaystyle{\int_{a}^{b}f(x)\,\mathrm{d}x = \int_{a}^{c}f(x)\,\mathrm{d}x + \int_{c}^{b}f(x)\,\mathrm{d}x}

or otherwise, evaluate

\displaystyle{\int_{0}^{\pi}\cos^{7}x\,\mathrm{d}x}.


Warm-up.

\begin{aligned} f(x) & =\cos^7x \\ f(-x) & = \cos^7(-x) \\ & = \cos^7(x) \\ & = f(x) \\ \end{aligned}

\therefore f(x) is an even function such that

\displaystyle{\int_{-a}^{a}f(x)\,\mathrm{d}x = 2\int_{0}^{a}f(x)\,\mathrm{d}x=2\int_{-a}^{0}f(x)\,\mathrm{d}x}.

Assume f(x+T)=f(x) is a periodic function for some T\in (0,2\pi ].

\begin{aligned} & x\overset{f} \longrightarrow \cos^7x \\ \sim\enspace & x\overset{g}\longrightarrow \cos x\overset{h}\longrightarrow \cos^7x \\ \end{aligned}

where g(x)=\cos x, h(x)=x^7, and f=h\circ g.

g:[0,\pi ]\to [-1,1] by x\mapsto \cos x is one-to-one and onto.

h:[-1,1]\to [-1,1] by x\mapsto x^7 is injective and surjective as well.

Hence f, the composition h\circ g of bijections g and h, is also bijective. Besides f:[0,\pi ]\to [-1,1] is a continuously differentiable function that f(0)=1, f(\frac{\pi}{2}) =0, and f(\pi )=-1.

How do you evaluate the integral below:

\displaystyle{F(\theta )=\int_{0}^{\theta}f(x)\,\mathrm{d}x}

where F is an odd function such that

\begin{aligned} F(0) & = F(2\pi ) = 0 \\ F(\theta ) & = -F(-\theta ) \\ \end{aligned}

The curve of function f is flat at point(s) whose slope f' is zero, i.e.,

\begin{aligned} f'(x) & = 0 \\ \frac{\mathrm{d}}{\mathrm{d}x}(\cos^7x) & = 0 \\ -7\cos^6x\sin x & = 0 \\ x & = 0,\frac{\pi}{2}, \pi \\ \end{aligned}

Roughwork. Show

    Integrating by parts,

    \begin{aligned} \int_{0}^{\pi}\cos^7x\,\mathrm{d}x & = \int_{0}^{\pi}\cos^6x\,\mathrm{d}(\sin x) \\ & = \big[\cos^6x\sin x\big]\big|_{0}^{\pi} - \int_{0}^{\pi}\sin x\,\mathrm{d}(\cos^6x)\\ & = 0 + \int_{0}^{\pi}6\sin^2x\cos^5x\,\mathrm{d}x \\ & = \int_{0}^{\pi}6(1-\cos^2x)\cos^5x\,\mathrm{d}x \\ & = \int_{0}^{\pi}6\cos^5x\,\mathrm{d}x - \int_{0}^{\pi}6\cos^7x\,\mathrm{d}x \\ \int_{0}^{\pi}7\cos^7x\,\mathrm{d}x & = \int_{0}^{\pi}6\cos^5x\,\mathrm{d}x \\ \int_{0}^{\pi}\cos^7x\,\mathrm{d}x & = \frac{6}{7}\int_{0}^{\pi}\cos^5x\,\mathrm{d}x \\ & = \frac{6}{7}\int_{0}^{\pi}\cos^4x\,\mathrm{d}(\sin x) \\ &= \frac{6}{7}\bigg\{ \big[\cos^4x\sin x\big]\big|_{0}^{\pi} - \int_{0}^{\pi}\sin x\,\mathrm{d}(\cos^4x)\bigg\} \\ &= \frac{6}{7}\bigg\{ 0 + \int_{0}^{\pi}4\sin^2 x\cos^3x\,\mathrm{d}x\bigg\} \\ & = \frac{24}{7}\int_{0}^{\pi} (1-\cos^2x)\cos^3x\,\mathrm{d}x \\ \frac{30}{7}\int_{0}^{\pi}\cos^5x\,\mathrm{d}x & = \frac{24}{7} \int_{0}^{\pi}\cos^3x\,\mathrm{d}x \\ \int_{0}^{\pi}\cos^5x\,\mathrm{d}x & = \frac{4}{5}\int_{0}^{\pi}\cos^3x\,\mathrm{d}x \\ \end{aligned}

    \begin{aligned} \int_{0}^{\pi}\cos^7x\,\mathrm{d}x & = \frac{6}{7}\bigg\{ \frac{4}{5}\int_{0}^{\pi}\cos^3x\,\mathrm{d}x \bigg\} \\ & = \frac{24}{35} \int_{0}^{\pi} \cos^2x\,\mathrm{d}(\sin x) \\ & = \frac{24}{35}\bigg\{ \big[ \cos^2x\sin x\big]\big|_{0}^{\pi} - \int_{0}^{\pi}\sin x\,\mathrm{d}(\cos^2x) \bigg\} \\ & = \frac{24}{35} \bigg\{ 0 + \int_{0}^{\pi}2\sin^2x\cos x\,\mathrm{d}x \bigg\} \\ & = \frac{48}{35} \int_{0}^{\pi}(1-\cos^2x)\cos x\,\mathrm{d}x \\ \bigg(\frac{24}{35}+\frac{48}{35}\bigg) \int_{0}^{\pi} \cos^3x\,\mathrm{d}x & = \frac{48}{35}\int_{0}^{\pi}\cos x\,\mathrm{d}x \\ \int_{0}^{\pi} \cos^3x\,\mathrm{d}x & = \frac{2}{3}\int_{0}^{\pi}\cos x\,\mathrm{d}x \\ \int_{0}^{\pi}\cos^7x\,\mathrm{d}x & = \frac{24}{35}\bigg\{ \frac{2}{3}\int_{0}^{\pi}\cos x\,\mathrm{d}x \bigg\} \\ & = \frac{16}{35}\big[ \sin x\big]\big|_{0}^{\pi} \\ & = 0 \\ \end{aligned}

    Solution.

    \begin{aligned} \int_{0}^{\pi}\cos^7x\,\mathrm{d}x & = \int_{0}^{\frac{\pi}{2}}\cos^7x\,\mathrm{d}x + \int_{\frac{\pi}{2}}^{\pi}\cos^7x\,\mathrm{d}x \\ & = \int_{0}^{\frac{\pi}{2}}\cos^7x\,\mathrm{d}x + \int_{0}^{\frac{\pi}{2}}\cos^7(x-\pi /2)\,\mathrm{d}(x-\pi /2) \\ & = \int_{0}^{\frac{\pi}{2}}\cos^7x\,\mathrm{d}x - \int_{0}^{\frac{\pi}{2}}\sin^7x\,\mathrm{d}x \\ & = \int_{0}^{\frac{\pi}{2}}(\cos^7x-\sin^7x)\,\mathrm{d}x \\ \end{aligned}

    The rest is left as an exercise to the reader.

202207051339 Solution to 1974-CE-AMATH-I-XX

(a) In the figure below, ABCDEF is a regular hexagon. Which one of the 6 vectors \overrightarrow{AD}, \overrightarrow{DA}, \overrightarrow{FC}, \overrightarrow{CF}, \overrightarrow{EB}, \overrightarrow{BE} is equal to \overrightarrow{AB}+\overrightarrow{BC}+\overrightarrow{DC}?

(b) \mathbf{u} and \mathbf{v} are unit vectors making an angle 60^\circ with each other as shown in the figure below. AB is a vector making an angle 30^\circ with \mathbf{u} and |\overrightarrow{AB}|=2. Express \overrightarrow{AB} in terms of \mathbf{u} and \mathbf{v}.

(c) In the figure below, \angle B=90^\circ and m(\overrightarrow{AB})=10. Calculate \overrightarrow{AB}\cdot\overrightarrow{AC}.


(a)

\begin{aligned} \mathbf{AD} & = -\mathbf{DA} \\ |\mathbf{AD}| & = |\mathbf{DA}| \\ \mathbf{FC} & = -\mathbf{CF} \\ |\mathbf{FC}| & = |\mathbf{CF}| \\ \mathbf{EB} & = -\mathbf{BE} \\ |\mathbf{EB}| & = |\mathbf{BE}| \\ \end{aligned}

Ans. \mathbf{FC} \textrm{\scriptsize{OR}} \overrightarrow{FC} by inspection.

Working.

\begin{aligned} &\quad \mathbf{AB} + \mathbf{BC} + \mathbf{DC} \\ & = (\mathbf{AB} + \mathbf{BC}) + \mathbf{DC} \\ & = \mathbf{AC} + \mathbf{DC} \\ \dots & \textrm{ as }\mathbf{AC}=\mathbf{FD} \enspace\dots \\ & = \mathbf{FD} + \mathbf{DC} \\ & = \mathbf{FC} \\ \end{aligned}


(b)

Write, in Cartesian components of unit vectors \hat{\mathbf{i}} and \hat{\mathbf{j}}, the following:

\begin{aligned} \mathbf{AB} & = |\mathbf{AB}|\cos 30^\circ\,\hat{\mathbf{i}} + |\mathbf{AB}|\sin 30^\circ\,\hat{\mathbf{j}} \\ & = 2\cos 30^\circ\,\hat{\mathbf{i}} + 2\sin 30^\circ\,\hat{\mathbf{j}} \\ & = \sqrt{3}\,\hat{\mathbf{i}} + 1\,\hat{\mathbf{j}} \\ \end{aligned}

and similarly,

\begin{aligned} \mathbf{u} & = |\mathbf{u}|\,\hat{\mathbf{i}} \\ \mathbf{v} & = |\mathbf{v}|\cos 60^\circ\,\hat{\mathbf{i}} + |\mathbf{v}|\sin 60^\circ\,\hat{\mathbf{j}}\\ & \\ \because\enspace & \mathbf{u}, \mathbf{v}\textrm{ are unit vectors} \\ \therefore\enspace & |\mathbf{u}|=|\mathbf{v}|=1 \\ & \\ \mathbf{u} & = \hat{\mathbf{i}} \\ \mathbf{v} & = \frac{1}{2}\,\hat{\mathbf{i}} + \frac{\sqrt{3}}{2} \hat{\mathbf{j}} \\ \end{aligned}

\begin{aligned} \begin{bmatrix} \mathbf{u} \\ \mathbf{v} \end{bmatrix} & = \begin{bmatrix} 1 & 0 \\ \frac{1}{2} & \frac{\sqrt{3}}{2} \end{bmatrix} \begin{bmatrix} \hat{\mathbf{i}} \\ \hat{\mathbf{j}} \end{bmatrix} \\ \begin{bmatrix} \hat{\mathbf{i}} \\ \hat{\mathbf{j}} \end{bmatrix} & = \begin{bmatrix} 1 & 0 \\ \frac{1}{2} & \frac{\sqrt{3}}{2} \end{bmatrix}^{-1}\begin{bmatrix} \mathbf{u} \\ \mathbf{v} \end{bmatrix} \\ \end{aligned}

Lemma. (Inversion of 2-by-2 matrices)

For 2\times 2 matrices, inversion can be done as follows:

\begin{aligned} \mathbf{A}^{-1} & = \begin{bmatrix} a & b \\ c & d \end{bmatrix}^{-1} \\ & = \frac{1}{\mathrm{det}\mathbf{A}}\begin{bmatrix} d & -b \\ -c & a \end{bmatrix} \\ & = \frac{1}{ad-bc}\begin{bmatrix} d & -b \\ -c & a \end{bmatrix} \\ \end{aligned}

Wikipedia on Invertible matrix

Then,

\begin{bmatrix} 1 & 0 \\ \frac{1}{2} & \frac{\sqrt{3}}{2}\end{bmatrix}^{-1} = \begin{bmatrix} 1 & 0 \\ -\frac{1}{\sqrt{3}} & \frac{2}{\sqrt{3}} \end{bmatrix}

so that

\begin{bmatrix} \hat{\mathbf{i}} \\ \hat{\mathbf{j}} \end{bmatrix} = \begin{bmatrix} 1 & 0 \\ -\frac{1}{\sqrt{3}} & \frac{2}{\sqrt{3}} \end{bmatrix}\begin{bmatrix}\mathbf{u} \\ \mathbf{v}\end{bmatrix}

Thus

\begin{aligned} \mathbf{AB} & =\begin{pmatrix} \sqrt{3} & 1\end{pmatrix}\begin{bmatrix}\hat{\mathbf{i}} \\ \hat{\mathbf{j}} \end{bmatrix} \\ & = \begin{pmatrix} \sqrt{3} & 1\end{pmatrix} \begin{bmatrix} 1 & 0 \\ -\frac{1}{\sqrt{3}} & \frac{2}{\sqrt{3}} \end{bmatrix} \begin{bmatrix}\mathbf{u} \\ \mathbf{v}\end{bmatrix} \\ & = \begin{bmatrix} \frac{2}{\sqrt{3}} & \frac{2}{\sqrt{3}} \end{bmatrix}\begin{bmatrix}\mathbf{u} \\ \mathbf{v}\end{bmatrix} \\ &=\frac{2}{\sqrt{3}}\,\mathbf{u}+\frac{2}{\sqrt{3}}\,\mathbf{v} \\ \end{aligned}

There might be some mistake if conceptually.


(c)

I don’t know how. Skip it.

202203061208 Solution to 1973-CE-AMATH-I-XX

A circle passes through the points (-1,-1), (3,3), and (7,-1). Find the equation of this circle.


Solution.

Let the centre of this circle be located at point (a,b) and its radius be R long. The equation of this circle is thus in the form

(x-a)^2+(y-b)^2=R^2,

where a, b, and R are three unknowns to be obtained in the following three equations:

\begin{aligned} (-1-a)^2+(-1-b)^2 & = R^2 \\ (3-a)^2+(3-b)^2 & = R^2 \\ (7-a)^2+(-1-b)^2 & = R^2 \\ \end{aligned}

\begin{aligned} (a^2+2a+1) + (b^2+2b+1) & = R^2 \\ (a^2-6a+9) + (b^2-6b+9) & = R^2 \\ (a^2-14a+49) + (b^2+2b+1) & = R^2 \\ \end{aligned}

\begin{aligned} a & = 3 \\ b & = -1 \\ R & = 4 \\ \end{aligned}

\therefore The equation of this circle is

(x-3)^2+(y+1)^2=16.