Problems

Filters
Clear Filters
2014 Paper 2 Q8
D: 1600.0 B: 1486.3

For positive integers \(n\), \(a\) and \(b\), the integer \(c_r\) (\(0\le r\le n\)) is defined to be the coefficient of~\(x^r\) in the expansion in powers of \(x\) of \((a+bx)^n\). Write down an expression for \(c_r\) in terms of \(r\), \(n\), \(a\) and~\(b\). For given \(n\), \(a\) and \(b\), let \(m\)~denote a value of~\(r\) for which \(c_r\)~is greatest (that is, \(c_m \ge c_r\) for \(0\le r\le n\)). Show that \[ \frac{b(n+1)}{a+b} - 1 \le m \le \frac {b(n+1)}{a+b} \,. \] Deduce that \(m\) is either a unique integer or one of two consecutive integers. Let \(\.G(n,a,b)\) denote the unique value of~\(m\) (if there is one) or the larger of the two possible values of~\(m\).

  1. Evaluate \(\.G(9,1,3)\) and \(\.G(9,2,3)\).
  2. For any positive integer \(k\), find \(\.G(2k,a,a)\) and \(\.G(2k-1,a,a)\) in terms of~\(k\).
  3. For fixed \(n\) and \(b\), determine a value of~\(a\) for which \(\.G(n,a,b)\) is greatest.
  4. For fixed~\(n\), find the greatest possible value of \(\.G(n,1,b)\). For which values of~\(b\) is this greatest value achieved?

2014 Paper 2 Q9
D: 1600.0 B: 1484.0

A uniform rectangular lamina \(ABCD\) rests in equilibrium in a vertical plane with the \(A\) in contact with a rough vertical wall. The plane of the lamina is perpendicular to the wall. It is supported by a light inextensible string attached to the side \(AB\) at a distance \(d\) from \(A\). The other end of the string is attached to a point on the wall above \(A\) where it makes an acute angle \(\theta\) with the downwards vertical. The side \(AB\) makes an acute angle \(\phi\) with the upwards vertical at \(A\). The sides \(BC\) and \(AB\) have lengths \(2a\) and \(2b\) respectively. The coefficient of friction between the lamina and the wall is \(\mu\).

  1. Show that, when the lamina is in limiting equilibrium with the frictional force acting upwards, \begin{equation} d\sin(\theta +\phi) = (\cos\theta +\mu \sin\theta)(a\cos\phi +b\sin\phi)\,. \tag{\(*\)} \end{equation}
  2. How should \((*)\) be modified if the lamina is in limiting equilibrium with the frictional force acting downwards?
  3. Find a condition on \(d\), in terms of \(a\), \(b\), \(\tan\theta\) and \(\tan\phi\), which is necessary and sufficient for the frictional force to act upwards. Show that this condition cannot be satisfied if \(b(2\tan\theta+ \tan \phi) < a\).


Solution:

TikZ diagram
  1. \begin{align*} \text{N2}(\uparrow): && T \cos \theta + F -W &= 0 \\ && W &= T\cos \theta + \mu R \tag{1} \\ \text{N2}(\rightarrow): && R-T\sin \theta &= 0 \\ && R &= T \sin \theta \tag{2}\\ \\ (1)+(2): && W&=(\cos \theta + \mu \sin \theta)T \tag{3} \\ \overset{\curvearrowright}{A}: && 0 &= W(b\sin \phi + a \cos \phi) - Td\sin(\phi+\theta) \tag{4} \\ \\ (3)+(4): && 0 &= (\cos \theta + \mu \sin \theta)(b\sin \phi + a \cos \phi)-d\sin(\phi+\theta) \\ \Rightarrow && d\sin(\phi+\theta) &= (\cos \theta + \mu \sin \theta)(b\sin \phi + a \cos \phi) \end{align*} as required.
  2. If \(F\) is operating downwards, it's equivalent to \(-\mu\), ie: \[d\sin(\phi+\theta) = (\cos \theta - \mu \sin \theta)(b\sin \phi + a \cos \phi)\]
  3. For the frictional force to be acting upwards, we need \begin{align*} && d\sin(\phi+\theta) &\geq \cos \theta(b\sin \phi + a \cos \phi) \\ \Rightarrow && d &\geq \frac{\cos \theta(b\sin \phi + a \cos \phi)}{\sin(\phi + \theta)} \\ &&&= \frac{\cos \theta(b\sin \phi + a \cos \phi)}{\sin\phi \cos\theta+\cos\phi\sin \theta)}\\ &&&= \frac{(b\sin \phi + a \cos \phi)}{\sin\phi+\cos \phi \tan \theta)}\\ &&&= \frac{a+b\tan \phi}{\tan\theta+\tan\phi }\\ \end{align*} We know that \(d < 2b\), so \begin{align*} && 2b &>\frac{a+b\tan \phi}{\tan\theta+\tan\phi }\\ \Rightarrow && 2b \tan \theta + 2b \tan \phi &> a + b \tan \phi \\ \Rightarrow &&b(2 \tan \theta + \tan \phi) &> a\\ \end{align*} Therefore we will have problems if the inequality is reversed!

2014 Paper 2 Q10
D: 1600.0 B: 1484.0

A particle is projected from a point \(O\) on horizontal ground with initial speed \(u\) and at an angle of \(\theta\) above the ground. The motion takes place in the \(x\)-\(y\) plane, where the \(x\)-axis is horizontal, the \(y\)-axis is vertical and the origin is \(O\). Obtain the Cartesian equation of the particle's trajectory in terms of \(u\), \(g\) and~\(\lambda\), where \(\lambda=\tan\theta\). Now consider the trajectories for different values of \(\theta\) with \(u\)~fixed. Show that for a given value of~\(x\), the coordinate~\(y\) can take all values up to a maximum value,~\(Y\), which you should determine as a function of \(x\), \(u\) and~\(g\). Sketch a graph of \(Y\) against \(x\) and indicate on your graph the set of points that can be reached by a particle projected from \(O\) with speed \(u\). Hence find the furthest distance from \(O\) that can be achieved by such a projectile.

2014 Paper 2 Q11
D: 1600.0 B: 1504.7

A small smooth ring \(R\) of mass \(m\) is free to slide on a fixed smooth horizontal rail. A light inextensible string of length~\(L\) is attached to one end,~\(O\), of the rail. The string passes through the ring, and a particle~\(P\) of mass~\(km\) (where \(k>0\)) is attached to its other end; this part of the string hangs at an acute angle \(\alpha\) to the vertical and it is given that \(\alpha\) is constant in the motion. Let \(x\) be the distance between \(O\) and the ring. Taking the \(y\)-axis to be vertically upwards, write down the Cartesian coordinates of~\(P\) relative to~\(O\) in terms of \(x\), \(L\) and~\(\alpha\).

  1. By considering the vertical component of the equation of motion of \(P\), show that \[ km\ddot x \cos\alpha = T \cos\alpha - kmg\,, \] where \(T\) is the tension in the string. Obtain two similar equations relating to the horizontal components of the equations of motion of \(P\) and \(R\).
  2. Show that \(\dfrac {\sin\alpha}{(1-\sin\alpha)^2_{\vphantom|}} = k\), and deduce, by means of a sketch or otherwise, that motion with \(\alpha\) constant is possible for all values of~\(k\).
  3. Show that \(\ddot x = -g\tan\alpha\,\).

2014 Paper 2 Q12
D: 1600.0 B: 1484.8

The lifetime of a fly (measured in hours) is given by the continuous random variable~\(T\) with probability density function \(\.f(t)\) and cumulative distribution function \(\.F(t)\). The \emph{hazard function}, \(\.h(t)\), is defined, for \(\.F(t)<1\), by \[ \.h(t) = \frac{\.f(t)}{1-\.F(t)}\,. \]

  1. Given that the fly lives to at least time \(t\), show that the probability of its dying within the following \(\delta t\) is approximately \(\.h (t) \, \delta t\) for small values of \(\delta t\).
  2. Find the hazard function in the case \(\.F(t) = t/a\) for \(0< t < a\). Sketch \(\.f(t)\) and \(\.h(t)\) in this case.
  3. The random variable \(T\) is distributed on the interval $t> a\(, where \)a>0\(, and its hazard function is \)t^{-1}$. Determine the probability density function for \(T\).
  4. Show that \(\.h(t)\) is constant for \(t>b\) and zero otherwise if and only if \(\.f(t) =k\.e^{-k(t-b)}\) for \(t>b\), where \(k\)~is a positive constant.
  5. The random variable \(T\) is distributed on the interval \(t> 0\) and its hazard function is given by \[ \.h(t) = \left(\frac{\lambda}{\theta^\lambda}\right)t^{\lambda-1}\,, \] where \(\lambda\) and \(\theta\) are positive constants. Find the probability density function for \(T\).

2014 Paper 2 Q13
D: 1600.0 B: 1469.5

A random number generator prints out a sequence of integers \(I_1, I_2, I_3, \dots\). Each integer is independently equally likely to be any one of \(1, 2, \dots, n\), where \(n\) is fixed. The random variable \(X\) takes the value \(r\), where \(I_r\) is the first integer which is a repeat of some earlier integer. Write down an expression for \(\mathbb{P}(X=4)\).

  1. Find an expression for \(\mathbb{P}(X=r)\), where \(2\le r\le n+1\). Hence show that, for any positive integer \(n\), \[ \frac 1n + \left(1-\frac1n\right) \frac 2 n + \left(1-\frac1n\right)\left(1-\frac2n\right) \frac3 n + \cdots \ = \ 1 \,. \]
  2. Write down an expression for \(\mathbb{E}(X)\). (You do not need to simplify it.)
  3. Write down an expression for \(\mathbb{P}(X\ge k)\).
  4. Show that, for any discrete random variable \(Y\) taking the values \(1, 2, \dots, N\), \[ \mathbb{E}(Y) = \sum_{k=1}^N \mathbb{P}(Y\ge k)\,. \] Hence show that, for any positive integer \(n\), \[ \left(1-\frac{1^2}n\right) + \left(1-\frac1n\right)\left(1-\frac{2^2}n\right) + \left(1-\frac1n\right)\left(1-\frac{2}n\right)\left(1-\frac{3^2}n\right) + \cdots \ = \ 0. \]


Solution: \begin{align*} && \mathbb{P}(X > 4) &= 1 \cdot \frac{n-1}{n} \cdot \frac{n-2}{n} \cdot \frac{n-3}{n} \\ && \mathbb{P}(X > 3) &= 1 \cdot \frac{n-1}{n} \cdot \frac{n-2}{n} \\ \Rightarrow && \mathbb{P}(X =4) &= \mathbb{P}(X > 3) - \mathbb{P}(X > 4) \\ &&&= \frac{(n-1)(n-2)}{n^2} \left (1 - \frac{n-3}{n} \right) \\ &&&= \frac{3(n-1)(n-2)}{n^3} \end{align*}

  1. Notice that \begin{align*} && \mathbb{P}(X > r) &= \frac{n-1}{n} \cdots \frac{n-r+1}{n} \\ \Rightarrow && \mathbb{P}(X = r) &= \frac{n-1}{n} \cdots \frac{n-r+2}{n} \left (1 - \frac{n-r+1}{n} \right) \\ &&&= \frac{(n-1)\cdots(n-r+2)(r-1)}{n^{r-1}} \\ &&&= \left (1 - \frac{1}n \right)\left (1 - \frac{2}{n} \right) \cdots \left (1 - \frac{r-2}{n} \right) \frac{r-1}{n} \\ \Rightarrow && 1 &= \sum \mathbb{P}(X = r) \\ &&&= \sum_{r=2}^{n+1} \mathbb{P}(X = r) \\ &&&= \frac 1n + \left(1-\frac1n\right) \frac 2 n + \left(1-\frac1n\right)\left(1-\frac2n\right) \frac3 n + \cdots \end{align*}
  2. \(\,\) \begin{align*} \mathbb{E}(X) &= \sum_{r=2}^{n+1} r\cdot\mathbb{P}(X = r) \\ &= \frac 2n + \left(1-\frac1n\right) \frac {2\cdot3} n + \left(1-\frac1n\right)\left(1-\frac2n\right) \frac{3\cdot4} n + \cdots \end{align*}
  3. \(\displaystyle \mathbb{P}(X \geq k) = \frac{n-1}{n} \cdots \frac{n-r+2}{n}\)
  4. \(\,\) \begin{align*} && \mathbb{E}(Y) &= \sum_{r=1}^N r \cdot \mathbb{P}(Y = r) \\ &&&= \sum_{r=1}^N \sum_{j=1}^r \mathbb{P}(Y = r) \\ &&&= \sum_{j=1}^N \sum_{r=j}^N \mathbb{P}(Y=r) \\ &&&= \sum_{j=1}^N \mathbb{P}(Y \geq j) \end{align*} Let \(P_k = \left(1-\frac1n\right)\left(1-\frac2n\right) \cdots \left(1-\frac1n\right)\left(1-\frac{k}n\right) \) \begin{align*} && \mathbb{E}(X) &= P_1 \frac{1 \cdot 2 }{n} + P_2 \cdot \frac{2 \cdot 3}{n} + \cdots + P_k \cdot \frac{k(k+1)}{n} + \cdots \\ && &= \sum_{k=1}^{n} \frac{k^2}{n}P_k + \sum_{k=1}^{n} \frac{k}{n}P_k \\ && \text{Using the identity } & \frac{k}{n}P_k = \frac{k}{n} \prod_{i=1}^{k-1} \left(1-\frac{i}{n}\right) = P_k - P_{k+1}: \\ && \sum_{k=1}^{n} \frac{k}{n}P_k &= (P_1 - P_2) + (P_2 - P_3) + \cdots + (P_n - P_{n+1}) \\ && &= P_1 - P_{n+1} = 1 - 0 = 1 \\ \\ \Rightarrow && \mathbb{E}(X) &= \sum_{k=1}^{n} \frac{k^2}{n}P_k + 1 \\ && &= \mathbb{P}(X \geq 1) + \mathbb{P}(X \geq 2) + \mathbb{P}(X \geq 3) + \cdots \\ && &= 1 + P_1 + P_2 + P_3 + \cdots \\ && &= 1 + \sum_{k=1}^{n} P_k \\ \\ \Rightarrow && 1 + \sum_{k=1}^{n} P_k &= \sum_{k=1}^{n} \frac{k^2}{n}P_k + 1 \\ \Rightarrow && \sum_{k=1}^{n} P_k &= \sum_{k=1}^{n} \frac{k^2}{n}P_k \\ \Rightarrow && 0 &= \sum_{k=1}^{n} P_k \left( 1 - \frac{k^2}{n} \right) \end{align*}

2014 Paper 3 Q1
D: 1700.0 B: 1542.2

Let \(a\), \(b\) and \(c\) be real numbers such that \(a+b+c=0\) and let \[(1+ax)(1+bx)(1+cx) = 1+qx^2 +rx^3\,\] for all real \(x\). Show that \(q = bc+ca+ab\) and \(r= abc\).

  1. Show that the coefficient of \(x^n\) in the series expansion (in ascending powers of \(x\)) of \(\ln (1+qx^2+rx^3)\) is \((-1)^{n+1} S_n\) where \[S_n = \frac{a^n+b^n+c^n}{n} \,, \ \ \ \ \ \ \ \ (n\ge1).\]
  2. Find, in terms of \(q\) and \(r\), the coefficients of \(x^2\), \(x^3\) and \(x^5\) in the series expansion (in ascending powers of \(x\)) of \(\ln (1+qx^2+rx^3)\) and hence show that \(S_2S_3 =S_5\).
  3. Show that \(S_2S_5 =S_7\).
  4. Give a proof of, or find a counterexample to, the claim that \(S_2S_7=S_9\).


Solution: \begin{align*} (1+ax)(1+bx)(1+cx) &= (1+(a+b)x+abx^2)(1+cx) \\ &= 1+(a+b+c)x+(ab+bc+ca)x^2+abcx^3 \end{align*} Therefore by comparing coefficients, \(q = bc + ca + ab\) and \(r = abc\) as required.

  1. \begin{align*} \ln (1+qx^2 + rx^3) &= \ln(1+ax) + \ln(1+bx)+\ln(1+cx) \\ &= -\sum_{n=1}^{\infty} \frac{(-ax)^n}{n}-\sum_{n=1}^{\infty} \frac{(-bx)^n}{n}-\sum_{n=1}^{\infty} \frac{(-cx)^n}{n} \\ &= \sum_{n=1}^{\infty} \frac{(-1)^{n+1}(a^n+b^n+c^n)}{n} x^n \\ &= \sum_{n=1}^{\infty} (-1)^{n+1} S_n x^n \\ \end{align*}
  2. \begin{align*} \ln (1 + qx^2 + rx^3) &= (qx^2+rx^3) -\frac{(qx^2+rx^3)^2}{2} + O(x^6) \\ &= qx^2 + rx^3 - \frac12 q^2 x^4 - qr x^5 + O(x^6) \\ \end{align*} Comparing coefficients we see that \(S_2 = -q\) and \(S_3 = r\), we also must have \(S_5 = -qr = S_2S_3\) as required.
  3. \begin{align*} \ln (1 + qx^2 + rx^3) &= (qx^2+rx^3) -\frac{(qx^2+rx^3)^2}{2} +\frac{(qx^2+rx^3)^3}{3}+ O(x^8) \\ &= qx^2 + rx^3 - \frac12 q^2 x^4 - qr x^5 + \frac12 rx^6 + \frac13 q^3 x^6 + q^2r x^7 + O(x^8) \\ &= qx^2 + rx^3 - \frac12 q^2 x^4 - qr x^5 + \left ( \frac12 r+ \frac13 q^3 \right)x^6 + q^2r x^7 \end{align*} Comparing coefficients we see that \(S_2 = -q\) and \(S_5 =-qr\), we also must have \(S_7 = q^2r = S_2S_5\) as required.
  4. Let \(a = b = 1, c = -2\), then \(S_2 = \frac{1^2+1^2 + (-2)^2}{2} = 3, S_7 = \frac{1^2+1^2+(-2)^7}{7} = -18, S_9 = \frac{1^1+1^2+(-2)^9}{9} = \frac{2 - 512}{9} \neq 3 \cdot (-18)\)

2014 Paper 3 Q2
D: 1700.0 B: 1513.2

  1. Show, by means of the substitution \(u=\cosh x\,\), that \[ \int \frac{\sinh x}{\cosh 2x} \d x = \frac 1{2\sqrt2} \ln \left\vert \frac{\sqrt2 \cosh x - 1}{\sqrt2 \cosh x + 1 } \right\vert + C \,.\]
  2. Use a similar substitution to find an expression for \[ \int \frac{\cosh x}{\cosh 2x} \d x \,.\]
  3. Using parts (i) and (ii) above, show that \[ \int_0^1 \frac 1{1+u^4} \d u = \frac{\pi + 2\ln(\sqrt2 +1)}{4\sqrt2}\,. \]


Solution:

  1. \begin{align*} && \int \frac{\sinh x}{\cosh 2x} \d x &= \int \frac{\sinh x}{2\cosh^2 x -1} \d x \\ u = \cosh x, \d u = \sinh x \d x &&&= \int \frac{1}{2u^2 -1} \d u \\ &&&= \int\frac12 \left ( \frac{1}{\sqrt{2}u-1}-\frac{1}{\sqrt{2}u+1} \right) \d u \\ &&&= \frac1{2\sqrt{2}} \left (\ln (\sqrt{2}u-1) - \ln(\sqrt{2}u+1) \right) + C \\ &&&= \frac{1}{2\sqrt{2}} \ln \left ( \frac{\sqrt{2}\cosh x -1}{\sqrt{2}\cosh x +1} \right) + C \end{align*}
  2. \begin{align*} && \int \frac{\cosh x}{\cosh 2x} \d x &= \int \frac{\cosh x}{1+2\sinh^2 x} \d x \\ u = \sinh x && &= \int \frac{1}{1+2u^2} \d u \\ &&&=\frac{1}{\sqrt{2}} \tan^{-1} (\sqrt{2}u) + C \\ &&&= \frac{1}{\sqrt{2}} \tan^{-1}(\sqrt{2}\sinh x) + C \end{align*}
  3. \begin{align*} u = e^x : && \int_0^1 \frac{1}{1+u^4} \d u &= \int_{x=-\infty}^{x=0} \frac{1}{1+e^{4x}}e^{x} \d x \\ &&&= \int_{-\infty}^{0} \frac{e^{-x}}{e^{2x}+e^{-2x}} \d x \\ &&&= \int_{-\infty}^{0} \frac{\cosh x - \sinh x}{2\cosh 2x } \d x \\ &&&= \frac12 \int_{-\infty}^{0} \frac{\cosh x}{\cosh 2x} \d x - \frac12 \int_{-\infty}^{0} \frac{\sinh x}{\cosh 2x} \\ &&&= \frac12 \left [\frac{1}{\sqrt{2}} \tan^{-1}(\sqrt{2}\sinh x) \right]_{-\infty}^{0}-\frac12 \left [ \frac{1}{2\sqrt{2}}\ln \left ( \frac{\sqrt{2}\cosh x -1}{\sqrt{2}\cosh x +1} \right) \right]_{-\infty}^{0} \\ &&&= 0 - \frac1{2\sqrt{2}} \frac{-\pi}{2}-\left (\frac1{4\sqrt{2}} \ln \left (\frac{\sqrt{2}-1}{\sqrt{2}+1} \right) - 0 \right) \\ &&&= \frac{\pi - \ln((\sqrt{2}-1)^2)}{4\sqrt{2}} \\ &&&= \frac{\pi + 2 \ln(1+\sqrt{2})}{4\sqrt{2}} \end{align*}

2014 Paper 3 Q3
D: 1700.0 B: 1500.0

  1. The line \(L\) has equation \(y=mx+c\), where \(m>0\) and \(c>0\). Show that, in the case \(mc>a>0\), the shortest distance between \(L\) and the parabola \(y^2=4ax\) is \[ \frac{mc-a}{m\sqrt{m^2+1}}\,.\] What is the shortest distance in the case that \(mc\le a\)?
  2. Find the shortest distance between the point \((p,0)\), where \(p>0\), and the parabola \(y^2=4ax\), where \(a>0\), in the different cases that arise according to the value of \(p/a\). [\textit{You may wish to use the parametric coordinates \((at^2, 2at)\) of points on the parabola.}] Hence find the shortest distance between the circle $(x-p)^2 + y^2 =b^2\(, where \)p>0\( and \)b>0\(, and the parabola \)y^2=4ax\(, where \)a>0$, in the different cases that arise according to the values of \(p\), \(a\) and~\(b\).

2014 Paper 3 Q4
D: 1700.0 B: 1500.0

  1. Let \[ I = \int_0^1 \bigl((y')^2 -y^2\bigr)\d x \qquad\text{and}\qquad I_1=\int_0^1 (y'+y\tan x)^2 \d x \,, \] where \(y\) is a given function of \(x\) satisfying \(y=0\) at \(x=1\). Show that \(I-I_1=0\) and deduce that \(I\ge0\). Show further that \(I=0\) only if \(y=0\) for all \(x\) (\(0\le x \le 1\)).
  2. Let \[ J = \int_0^1 \bigl((y')^2 -a^2y^2\bigr)\d x \,, \] where \(a\) is a given positive constant and \(y\) is a given function of \(x\), not identically zero, satisfying \(y=0\) at \(x=1\). By considering an integral of the form \[ \int_0^1 (y'+ay\tan bx)^2 \d x \,, \] where \(b\) is suitably chosen, show that \(J\ge0\). You should state the range of values of \(a\), in the form \(a < k\), for which your proof is valid. In the case \(a=k\), find a function \(y\) (not everywhere zero) such that \(J=0\).


Solution:

  1. \begin{align*} && I - I_1 &= \int_0^1 \left ( \left ( y' \right)^2 - y^2 \right) \d x - \int_0^1 \left ( y' + y \tan x \right)^2 \d x\\ &&&= \int_0^1 \left ( \left ( y' \right)^2 - y^2 \right) - \left ( y' + y \tan x \right)^2 \d x\\ &&&= \int_0^1 \left (-y^2-2yy' \tan x - y^2 \tan^2 x \right) \d x\\ &&&= \int_0^1 \left (-2yy' \tan x - y^2(1+ \tan^2 x )\right) \d x\\ &&&= \int_0^1 \left (-2yy' \tan x - y^2 \sec^2 x\right) \d x\\ &&&= \int_0^1 -\frac{\d}{\d x} \left (y^2 \tan x \right) \d x\\ &&&= \left [-y^2 \tan x \right]_0^1 \\ &&&= 0 \\ \\ \Rightarrow && I &= I_1 = \int_0^1 \left ( y' + y \tan x \right)^2 d x \geq 0 \end{align*} The only way \(I_0 = 0\) is is \(y' + y \tan x =0\), so \begin{align*} && \frac{\d y}{\d x} &= - y \tan x \\ \Rightarrow && \int \frac{1}{y} &= \int -\tan x \d x \\ \Rightarrow && \ln |y| &= \ln |\cos x| + C \\ \Rightarrow && y &= A \cos x \\ \Rightarrow && A &= 0 \Rightarrow y = 0 \end{align*}
  2. Let \(J_1 = \int_0^1 (y'+ay\tan ax)^2 \d x\), then \begin{align*} && J-J_1 &= \int_0^1 \left ( \left ( y' \right)^2 - a^2y^2 \right) - \left ( y' + ya \tan ax \right)^2 \d x\\ &&&= \int_0^1 \left (-a^2y^2-2yy' a \tan a x-y^2a^2 \tan^2 ax \right) \d x \\ &&&= \int_0^1 \left (-2yy' a \tan ax - a^2y^2(1+\tan^2 ax) \right) \d x \\ &&&= \int_0^1 \left (-2yy' a \tan ax - a^2y^2\sec^2 ax \right) \d x \\ &&&= \left [ - a y^2 \tan a x \right]_0^1 = 0 \end{align*} This is true if \(a < \frac{\pi}{2}\), since otherwise we might care about the order of the zero for \(y\) at \(x = 1\). Consider \(y = \cos \frac{\pi}{2} x\), then \(y' = -\frac{\pi}{2} \sin^2\frac{\pi}{2} x\) and \begin{align*} && \int_0^1 \frac{\pi^2}{4} \left (\sin^2 \frac{\pi}{2}x - \cos^2 \frac{\pi}{2} x \right) \d x &= -\frac{\pi^2}{4} \int_0^1 \cos(\pi x) \d x \\ &&&= 0 \end{align*}