Integrate 1 + sinx/cos x

Maths and statistics discussion, revision, exam and homework help.

Announcements Posted on
TSR launches Learn Together! - Our new subscription to help improve your learning 16-05-2013
IMPORTANT: You must wait until midnight (morning exams)/4.30AM (afternoon exams) to discuss Edexcel exams and until 1pm/6pm the following day for STEP and IB exams. Please read before posting, including for rules for practical and oral exams. 28-04-2013
Sign in to Reply
  1. raheem94's Avatar
    • TSR Demigod
    • Posts: 5,512
    Re: Integrate 1 + sinx/cos x
    (Original post by James A)
    have you learnt the integration rule, where if you differentiate the denominator, you get the value that appears in the numerator. hence ln(your original function)

    have you come across this before?

    this could prove useful here.

    someone else correct me if im wrong

    WHOOPS PARTIAL FRACTIONS ARE THE WAY FORWARD :woo:
    Look at post no. 9, i have hinted towards this method.
  2. James A's Avatar
    • You guessed it, I'm a big F1 fan :yep:
    • Location: Enfield, London
    • Posts: 9,186
    Re: Integrate 1 + sinx/cos x
    (Original post by blacklistmember)
    I'm sorry but i'm too busy to help you
    you wally.
  3. blacklistmember's Avatar
    • Exalted and Worshipped Member
    • Posts: 1,113
    Re: Integrate 1 + sinx/cos x
    (Original post by f1mad)
    Why post then?
    no idea
  4. f1mad's Avatar
    • TSR Demigod
    • Posts: 5,423
    Re: Integrate 1 + sinx/cos x
    (Original post by James A)
    WHOOPS PARTIAL FRACTIONS ARE THE WAY FORWARD :woo:
    It's not.
  5. James A's Avatar
    • You guessed it, I'm a big F1 fan :yep:
    • Location: Enfield, London
    • Posts: 9,186
    Re: Integrate 1 + sinx/cos x
    (Original post by raheem94)
    Look at post no. 9, i have hinted towards this method.
    yeah i know, but i forgot to include your post in my response. Sorry.
  6. blacklistmember's Avatar
    • Exalted and Worshipped Member
    • Posts: 1,113
    Re: Integrate 1 + sinx/cos x
    (Original post by James A)
    you wally.
    i had to look that up :P
  7. James A's Avatar
    • You guessed it, I'm a big F1 fan :yep:
    • Location: Enfield, London
    • Posts: 9,186
    Re: Integrate 1 + sinx/cos x
    (Original post by f1mad)
    It's not.
  8. raheem94's Avatar
    • TSR Demigod
    • Posts: 5,512
    Re: Integrate 1 + sinx/cos x
    (Original post by f1mad)
    It's not.
    Both ways, can be used. Your method is faster, but doing partial fractions also takes moments.
  9. nuodai's Avatar
    • PS Helper
    • TSR Legend
    Re: Integrate 1 + sinx/cos x
    (Original post by This Honest)
    integrate: 1 +u/1-u^2 ??
    Please put in brackets with things like this, i.e. (1+u)/(1-u²). Not doing so has led to some misleading advice because people think you mean 1+\dfrac{u}{1-u^2} and 1 + \dfrac{\sin x}{\cos x} instead of \dfrac{1+u}{1-u^2} and \dfrac{1+\sin x}{\cos x}.

    Anyway, you got the right answer -\ln \left| 1 - \sin x \right| + C.

    (In fact you can remove the mod signs since 1-\sin x \ge 0 for all x.)
  10. f1mad's Avatar
    • TSR Demigod
    • Posts: 5,423
    Re: Integrate 1 + sinx/cos x
    (Original post by raheem94)
    Both ways, can be used. Your method is faster, but doing partial fractions also takes moments.
    I beg to differ: your partial fraction isn't the same as the function of the substitution (see Nuodai's post).
  11. This Honest's Avatar
    • TSR Demigod
    • Location: London | Posts: -1 | Position: TSR babe
    • Warning points: 10
    Re: Integrate 1 + sinx/cos x
    (Original post by nuodai)
    Please put in brackets with things like this, i.e. (1+u)/(1-u²). Not doing so has led to some misleading advice because people think you mean 1+\dfrac{u}{1-u^2} and 1 + \dfrac{\sin x}{\cos x} instead of \dfrac{1+u}{1-u^2} and \dfrac{1+\sin x}{\cos x}.

    Anyway, you got the right answer -\ln \left| 1 - \sin x \right| + C.

    (In fact you can remove the mod signs since 1-\sin x \ge 0 for all x.)
    Sound like my maths teacher now
    Thanks, I will next time :yep:
  12. raheem94's Avatar
    • TSR Demigod
    • Posts: 5,512
    Re: Integrate 1 + sinx/cos x
    (Original post by f1mad)
    I beg to differ: your partial fraction isn't the same as the function of the substitution (see Nuodai's post).
    So we were solving the wrong question. The question was different, right?
  13. nuodai's Avatar
    • PS Helper
    • TSR Legend
    Re: Integrate 1 + sinx/cos x
    (Original post by This Honest)
    Sound like my maths teacher now
    Thanks, I will next time :yep:
    I've been made grumpy with age :p:
  14. This Honest's Avatar
    • TSR Demigod
    • Location: London | Posts: -1 | Position: TSR babe
    • Warning points: 10
    Re: Integrate 1 + sinx/cos x
    (Original post by raheem94)
    So we were solving the wrong question. The question was different, right?
    Yeah..sorry that was my fault. As noudai said...I caused confusion in the way I wrote it out
  15. TheGrinningSkull's Avatar
    • Overlord in Training
    • Posts: 2,070
    Re: Integrate 1 + sinx/cos x
    (Original post by nuodai)
    If you substitute u=\cos x then you get dx = \dfrac{du}{\cos x}, so you get \cos^2 x on the denominator. How might you write \cos^2 x in terms of u?
    Why have you made u equal to cos x here?
  16. raheem94's Avatar
    • TSR Demigod
    • Posts: 5,512
    Re: Integrate 1 + sinx/cos x
    (Original post by This Honest)
    Yeah..sorry that was my fault. As noudai said...I caused confusion in the way I wrote it out
    No problem, but please learn LaTeX, it only takes a few minutes to learn it.
  17. This Honest's Avatar
    • TSR Demigod
    • Location: London | Posts: -1 | Position: TSR babe
    • Warning points: 10
    Re: Integrate 1 + sinx/cos x
    (Original post by raheem94)
    No problem, but please learn LaTeX, it only takes a few minutes to learn it.
    I'll try and learn it when I'm having difficulty with C4 again before I post the problem
  18. nuodai's Avatar
    • PS Helper
    • TSR Legend
    Re: Integrate 1 + sinx/cos x
    (Original post by TheGrinningSkull)
    Why have you made u equal to cos x here?
    Typo; I'd set u=\sin x. If I'd actually set u=\cos x then I wouldn't have got dx = \dfrac{du}{\cos x}, after all.
  19. Farhan.Hanif93's Avatar
    • Section Moderator
    • PS Helper
    • TSR Idol
    • Location: Cambridge
    Re: Integrate 1 + sinx/cos x
    An alternative approach would be to notice that \dfrac{1+\sin x}{\cos x} \equiv \dfrac{1+\cos (\frac{\pi}{2} -x)}{\sin (\frac{\pi}{2} - x)} \equiv \dfrac{2\cos^2 (\frac{\pi}{4} - \frac{x}{2})}{2\sin (\frac{\pi}{4} - \frac{x}{2})\cos (\frac{\pi}{4} - \frac{x}{2})}, which after a bit of cancelling leads to logs directly.

    EDIT: just realised the OP was asked for a specific sub, so this can be ignored.
    Last edited by Farhan.Hanif93; 01-04-2012 at 18:58.
  20. This Honest's Avatar
    • TSR Demigod
    • Location: London | Posts: -1 | Position: TSR babe
    • Warning points: 10
    Re: Integrate 1 + sinx/cos x
    (Original post by Farhan.Hanif93)
    An alternative approach would be to notice that \dfrac{1+\sin x}{\cos x} \equiv \dfrac{1+\cos (\frac{\pi}{2} -x)}{\sin (\frac{\pi}{2} - x)} \equiv \dfrac{2\cos^2 (\frac{\pi}{4} - \frac{x}{2})}{2\sin (\frac{\pi}{4} - \frac{x}{2})\cos (\frac{\pi}{4} - \frac{x}{2})}, which after a bit of cancelling leads to logs directly.
    :cry2: thanks for that.
    I'd stick with my method though
Sign in to Reply
Share this discussion:  
Article updates
Moderators

We have a brilliant team of more than 60 volunteers looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

Reputation gems:
The Reputation gems seen here indicate how well reputed the user is, red gem indicate negative reputation and green indicates a good rep.
Post rating score:
These scores show if a post has been positively or negatively rated by our members.