11

I am asking this question for my son who is in (equivalent) twelfth grade and I failed to answer his query.

When he tries to integrate $3\sin x\cos x$, he finds that this can be done in at least following three ways. And these three ways do not produce equivalent results.

ONE

Let us assume, $\sin x = z$.

This gives, \begin{align*} \cos x &= \frac{dz}{dx}\\ \cos x dx &= dz \end{align*}

So, we can write,

\begin{align*} \int 3\sin x\cos x dx &=3 \int zdz\\ &=3 \frac{z^2}{2}\\ &=\frac{3}{2} \sin^2 x\\ &=\frac{3}{4}\times 2\sin^2 x\\ &=\frac{3}{4} (1 -\cos 2x)\\ \end{align*}

TWO

Let us assume, $\cos x = z$.

This gives, \begin{align*} -\sin x &= \frac{dz}{dx}\\ \sin x dx &= -dz \end{align*}

So, we can write,

\begin{align*} \int 3\sin x\cos x dx &=-3 \int zdz\\ &=-3 \frac{z^2}{2}\\ &=-\frac{3}{2} \cos^2 x\\ &=-\frac{3}{4}\times 2\cos^2 x\\ &=-\frac{3}{4} (1 +\cos 2x)\\ \end{align*}

THREE

\begin{align*} \int 3\sin x\cos x dx &=\frac{3}{2}\int 2\sin x\cos x dx\\ &=\frac{3}{2}\int \sin 2x dx\\ &=-\frac{3}{2}\times\frac{1}{2} \cos 2x\\ &=-\frac{3}{4} \cos 2x\\ \end{align*}

The results found in above three methods are not the same.

If we try a simple approach of evaluating the integration results at, $x = \frac{\pi}{6}$, we get as follows.

From the first one,

$\frac{3}{4} (1 -\cos 2x) = \frac{3}{4} (1 -\cos \frac{2\pi}{6}) = \frac{3}{4} (1 -\cos \frac{\pi}{3}) = \frac{3}{4} (1 - \frac{1}{2}) = \frac{3}{4}\times\frac{1}{2} = \frac{3}{8}$

From the second one,

$-\frac{3}{4} (1 +\cos 2x) = -\frac{3}{4} (1 +\cos \frac{2\pi}{6}) = -\frac{3}{4} (1 +\cos \frac{\pi}{3}) = -\frac{3}{4} (1 + \frac{1}{2}) = -\frac{3}{4}\times\frac{3}{2} = -\frac{9}{8}$

From the third one,

$-\frac{3}{4} \cos 2x=-\frac{3}{4} \cos \frac{2\pi}{6} = -\frac{3}{4} \cos \frac{\pi}{3} = -\frac{3}{4} \times \frac{1}{2} = -\frac{3}{8} $

Clearly, we are getting some nonequivalent results. We have failed to find the mistakes or explanations behind this. Your help will be appreciated.

Masroor
  • 1,811
  • You can locate an several primitives of a function, they differ in a constant, but that does not mean that the results are wrong. – Hiperion Sep 16 '13 at 05:50
  • Indefinite integration can be 'misleading' in this sense. – copper.hat Sep 16 '13 at 05:52
  • 2
    A great question to ask students to see if they can come up with Zev's answer (or equivalent). – Nathaniel Bubis Sep 16 '13 at 06:01
  • Related: http://math.stackexchange.com/questions/33187/trig-integral-int-cosx-sinx-cosx-dx – Jonas Meyer Sep 16 '13 at 06:07
  • 1
    When I was doing A-levels, I came across a similar example, but the two "different" answers to the integral involved respectively $\tan^2(x)$ and $\sec^2(x)$. Of course, these two expressions differ by a constant, but the explanation was non-obvious to me (and my dad) then, and I had to get my teacher to explain it. – Hammerite Sep 16 '13 at 09:29
  • I have used this (without the factor three) many times in my calculus course as a homework problem. In that setting the students actually get it right easily, because they are able to discuss it in advance. In an exam setting it might be different. – Jyrki Lahtonen Sep 16 '13 at 09:58

3 Answers3

20

You're forgetting that an indefinite integral must include a constant of integration; for any chosen constant $C$, we have that $$\frac{d}{dx}\left(-\frac{3}{4}\cos(2x)+C\right)=3\sin(x)\cos(x),$$ and that is precisely the relationship captured by the statement that

$$\int 3\sin(x)\cos(x)\,dx=-\frac{3}{4}\cos(2x)+C.$$

Zev Chonoles
  • 129,973
  • 1
    Indeed this is a great demonstration of that's so important. – David H Sep 16 '13 at 05:50
  • So, if is asked to solve the problem in the examination, which approach he should follow? His textbook contains only one of the answers. And as you can see, some graders may like only the conventional answers. No disrespect intended. – Masroor Sep 16 '13 at 06:01
  • 5
    @MMA - All the answers are equally "wrong" since non of them contain a constant. When you let the constant C "swallow" the other constant term, all three give the same result. – Nathaniel Bubis Sep 16 '13 at 06:02
  • @nbubis But his text book contains only one of the answers, (I can not get the book now), and given the prevailing circumstances, it will be difficult to modify the system. I can put down the answer which is the book in six/seven hours when the book comes back from school. – Masroor Sep 16 '13 at 06:07
  • @MMA Assuming you do remember the constant of integration though, all three approaches are equally right. There is no recipe for computing integrals like there is for derivatives. The best way to solve an integral is the way in which you can compute it the fastest/easiest/fewest number of steps. In this case, a person who knows an appropriate trig identity or two can save some time. – David H Sep 16 '13 at 06:07
  • @DavidH Do you want to suggest a single one as the more acceptable one? I know that my question is not very proper. But given the system of country wide public (not local ones in the school) examinations in this part of the world, with about one million students taking it, sometimes it becomes difficult (please read absolutely impossible) to get your results improved once published. You do not know who is grading your scripts (which is good), and once the results are published, you can ask for is retotalising only, no regrading (which is absolutely bad). (Sorry for bringing personal issues.) – Masroor Sep 16 '13 at 06:14
  • 3
    @MMA I sympathize with your situation, especially if your particular school has you feeling that cynical towards the system. But I have no way of predicting what which technique a grader would consider most appropriate, because there isn't one (and if the grader doesn't know it then your son knows more calculus than his teacher). He should learn all three methods. Solving integrals is like choosing a golf-club for a given shot. The best one is the one that gets the job done. – David H Sep 16 '13 at 06:23
  • He cannot fail if he simply adds an arbitrary constant $C$ onto the end of either of the three answers. – fretty Sep 16 '13 at 10:01
3

All three answers are correct provided you add a constant to each one of those.

Because from the very definition of integration, it is the area under the curve, so it requires bounds to give a unique value. You can't evaluate the value of an indefinite integral without including constant.

And I am sure that in the examination, your son won't be asked to evaluate the value of an integral without providing limits of integration or providing its value at some other point.

For instance, in question it may be mentioned that evaluate the value of expression at x=π/6 , given its value at x=0 is 1. So in this case, all three answers will give the correct value i.e. 11/8

Anurag
  • 131
1

Actually, we are to find the antiderivative of the given function, and all the functions you have found out to be potential answers are equally correct because any of them is just a constant shifted version of another. The 3 answers plotted And these are not the only candidate to be the answers, we can find infinitely many more. When we differentiate all the results you have found out, we only get $3sinxcosx $ . And this is why when we try to find out the antiderivative of $3sinxcosx $ , we can achieve so many answers having a interesting relationship among them that, any two of them are just a constant value shifted from the other.

NB: Desmos is used to plot the graphs