Problem 26: Simultaneous integral equations ($\u2713$ $\u2713$) 2002 Paper I

Let

where $0\le a<\frac{3}{4}\pi \phantom{\rule{0.3em}{0ex}}$. By considering $I+J$ and $I-J$, show that $2I=a+ln\left(sina+cosa\right)\phantom{\rule{2.77695pt}{0ex}}.$

Find also:

- (i)
- ${\int}_{0}^{\frac{1}{2}\pi}\frac{cosx}{psinx+qcosx}\phantom{\rule{2.77695pt}{0ex}}\mathrm{d}x\phantom{\rule{0.3em}{0ex}}$, where $p$ and $q$ are positive numbers;
- (ii)
- ${\int}_{0}^{\frac{1}{2}\pi}\frac{cosx+4}{3sinx+4cosx+25}\phantom{\rule{2.77695pt}{0ex}}\mathrm{d}x\phantom{\rule{0.3em}{0ex}}$.

Comments

This is a model for a perfect STEP question: you are told how to do the ﬁrst part, and you have to adapt the idea on your own for the later parts. Note the structure of the question: there is a ‘stem’ (the ﬁrst paragraph) containing material that will be useful for both the later parts.

In the examination, candidates who were successful in parts (i) and (ii) nearly always started off with the statement ‘Now let $I=\cdots \phantom{\rule{0.3em}{0ex}}$ and $J=\cdots \phantom{\rule{2.77695pt}{0ex}}$’. If you are stuck with part (ii), the choice of signiﬁcant numbers (3, 4 and 25) should provide a clue.

When you arrive at an answer for part (i), you will of course check that it agrees with the given result in the opening paragraph when $a=\frac{1}{2}\pi $ and $p=q=1$.

You will no doubt have noticed the restriction $0\le a<\frac{3}{4}\pi \phantom{\rule{0.3em}{0ex}}$ given in the ﬁrst paragraph (and also the restrictions on $p$ and $q$ in part (i)). You should try to work out its purpose because it might provide an insight into the method of tackling the question, though in this case it doesn’t.

Solution to problem 26

For the ﬁrst part, we regard the two integrals essentially as a pair of simultaneous equations, adding and subtracting to simplify them. We have

$$\begin{array}{rcll}I+J& =& {\int}_{0}^{a}\frac{cosx+sinx}{sinx+cosx}\phantom{\rule{0.3em}{0ex}}\mathrm{d}x={\int}_{0}^{a}\mathrm{d}x=a& \text{}\\ I-J& =& {\int}_{0}^{a}\frac{cosx-sinx}{sinx+cosx}\phantom{\rule{0.3em}{0ex}}\mathrm{d}x=ln\left(cosa+sina\right)& \text{}\end{array}$$(in the second integral, the numerator is the derivative of the denominator). Adding these equations gives the required expression for $2I\phantom{\rule{0.3em}{0ex}}$.

(i) Similarly, let $I={\int}_{0}^{\frac{1}{2}\pi}\frac{cosx}{psinx+qcosx}\phantom{\rule{0.3em}{0ex}}\mathrm{d}x$ and $J={\int}_{0}^{\frac{1}{2}\pi}\frac{sinx}{psinx+qcosx}\phantom{\rule{0.3em}{0ex}}\mathrm{d}x\phantom{\rule{2.77695pt}{0ex}}$. Then

$$\begin{array}{rcll}qI+pJ& =& {\int}_{0}^{\frac{1}{2}\pi}\frac{qcosx+psinx}{psinx+qcosx}\phantom{\rule{0.3em}{0ex}}\mathrm{d}x=\frac{1}{2}\pi & \text{}\\ pI-qJ& =& {\int}_{0}^{\frac{\pi}{2}}\frac{pcosx-qsinx}{psinx+qcosx}\phantom{\rule{0.3em}{0ex}}\mathrm{d}x=ln\left(psin\frac{1}{2}\pi +qcos\frac{1}{2}\pi \right)-ln\left(psin0+qcos0\right)=ln\frac{p}{q}\phantom{\rule{2.77695pt}{0ex}}.& \text{}\end{array}$$Now we solve these two equations simultaneously for $I$:

(ii) This time, let $I={\int}_{0}^{\frac{1}{2}\pi}\frac{cosx+4}{3sinx+4cosx+25}\phantom{\rule{0.3em}{0ex}}\mathrm{d}x$ and $J={\int}_{0}^{\frac{1}{2}\pi}\frac{sinx+3}{3sinx+4cosx+25}\phantom{\rule{0.3em}{0ex}}\mathrm{d}x\phantom{\rule{2.77695pt}{0ex}}$. Then

$$\begin{array}{rcll}4I+3J& =& {\int}_{0}^{\frac{1}{2}\pi}\frac{4cosx+3sinx+25}{3sinx+4cosx+25}\phantom{\rule{0.3em}{0ex}}\mathrm{d}x=\frac{\pi}{2}& \text{}\\ 3I-4J& =& {\int}_{0}^{\frac{1}{2}\pi}\frac{3cosx-4sinx}{3sinx+4cosx+25}\phantom{\rule{0.3em}{0ex}}\mathrm{d}x=ln\frac{28}{29}\phantom{\rule{2.77695pt}{0ex}}.& \text{}\end{array}$$Solving simultaneously gives

Post-mortem

I very much like this question. The ﬁrst part appeared on STEP Paper I in 1995 (the second part of the 1995 question was an integral completely unrelated to the ﬁrst part — that wouldn’t happen now) and I was completely taken by surprise.

In order to use it again for STEP in 2002, I added parts (i) and (ii). It took me some time to think of a suitable extension. I was disappointed to ﬁnd that the basic idea is more or less a one-off: there are very few denominators, besides the ones given, that lead to integrands amenable to this trick. But I was pleased with what I came up with. The question leads you through the opening paragraph and the extra parts depend very much on your having understood why the opening paragraph works. The reason for restriction $0\le a<3\pi \u22154\phantom{\rule{0.3em}{0ex}}$ is that the denominator should not be $0$ for any value of $x$ in the range of integration — otherwise, the integral is undeﬁned. Writing $sinx+cosx=\surd 2sin\left(x+\pi \u22154\right)$ shows that the denominator is ﬁrst zero when $x=3\pi \u22154\phantom{\rule{0.3em}{0ex}}$.

You might like to think how you would evaluate these integrals without using the trick method of this question. Perhaps the easiest way is to use the substitution $t=tan\left(\frac{1}{2}x\right)\phantom{\rule{0.3em}{0ex}}$ which converts the denominator to a quadratic in $x\phantom{\rule{0.3em}{0ex}}$.