Results 1 to 3 of 3

Math Help - Which answer is correct?

  1. #1
    Member
    Joined
    Sep 2011
    From
    Mumbai, Globally also known as 'Bombay', India
    Posts
    136
    Thanks
    2

    Which answer is correct?

    Evaluate \int \frac{dx}{sin(x)+sin(2x)} Wolfram alpha gave me this answer -\frac23log\left(\frac{3-tan^2\frac x2}{\sqrt tan\frac x2\right)}+c. When I solved this problem, I got this answer \frac16log(1- cos x)+\frac12 log(1+cos x)-\frac23 log (1+2cos x)+c. Answer calculated by me is matching with the answer given in the study material.Can any member of this forum tell me which answer is correct? OR both are one and the same?
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Senior Member
    Joined
    Mar 2012
    From
    Sheffield England
    Posts
    440
    Thanks
    76

    Re: Which answer is correct?

    They will be the same. Use of laws of logs and trig formulae gets your answer to be the same as the other answer.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    MHF Contributor
    Prove It's Avatar
    Joined
    Aug 2008
    Posts
    11,829
    Thanks
    1602

    Re: Which answer is correct?

    Quote Originally Posted by Vinod View Post
    Evaluate \int \frac{dx}{sin(x)+sin(2x)} Wolfram alpha gave me this answer -\frac23log\left(\frac{3-tan^2\frac x2}{\sqrt tan\frac x2\right)}+c. When I solved this problem, I got this answer \frac16log(1- cos x)+\frac12 log(1+cos x)-\frac23 log (1+2cos x)+c. Answer calculated by me is matching with the answer given in the study material.Can any member of this forum tell me which answer is correct? OR both are one and the same?
    \displaystyle \begin{align*} \int{\frac{1}{\sin{x} + \sin{2x}}\,dx} &= \int{\frac{1}{\sin{x} + 2\sin{x}\cos{x}}\,dx} \\ &= \int{\frac{1}{\sin{x}(1 + 2\cos{x})}\,dx} \end{align*}

    Now applying Partial Fractions...

    \displaystyle \begin{align*} \frac{A}{\sin{x}} + \frac{B}{1 + 2\cos{x}} &\equiv \frac{1}{\sin{x}(1 + 2\cos{x})} \\ \frac{A(1 + 2\cos{x}) + B\sin{x}}{\sin{x}(1 + 2\cos{x})} &\equiv \frac{1}{\sin{x}(1 + 2\cos{x})} \\ A(1 + 2\cos{x}) + B\sin{x} &\equiv 1 \end{align*}

    Letting \displaystyle \begin{align*} x = -\frac{\pi}{3} \end{align*} gives

    \displaystyle \begin{align*} A\left[1 + 2\cos{\left(-\frac{\pi}{3}\right)}\right] + B\sin{\left(-\frac{\pi}{3}\right)} &\equiv 1 \\ -\frac{\sqrt{3}}{2}B &\equiv 1 \\ B &\equiv \frac{2}{\sqrt{3}} \end{align*}

    and letting \displaystyle \begin{align*} x = 0 \end{align*} gives

    \displaystyle \begin{align*} A[1 + 2\cos{(0)}] + B\sin{(0)} &\equiv 1 \\ 3A &\equiv 1 \\ A &\equiv \frac{1}{3} \end{align*}

    Therefore \displaystyle \begin{align*} \frac{1}{\sin{x}(1 + 2\cos{x})} &\equiv \frac{1}{3\sin{x}} + \frac{2}{\sqrt{3}(1 + 2\cos{x})} \end{align*}

    The first integral is standard and the second integral can be evaluated using the Wierstrauss Substitution
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 15
    Last Post: July 29th 2011, 02:39 AM
  2. Replies: 1
    Last Post: October 4th 2010, 05:46 PM
  3. Is my answer correct?
    Posted in the Calculus Forum
    Replies: 2
    Last Post: September 18th 2010, 06:50 AM
  4. Is my answer correct?
    Posted in the Geometry Forum
    Replies: 2
    Last Post: October 3rd 2009, 11:09 AM
  5. I can't seem to get the correct answer!
    Posted in the Calculus Forum
    Replies: 1
    Last Post: September 1st 2009, 07:33 PM

Search Tags


/mathhelpforum @mathhelpforum