Ask your own question, for FREE!
Mathematics 24 Online
OpenStudy (anonymous):

medium/hard integral question

OpenStudy (anonymous):

I'll be over there too.

OpenStudy (anonymous):

Is this solvable?

hartnn (hartnn):

did you try the weistrass substitution t = tan(x/2) ?

OpenStudy (anonymous):

I'm not sure how to approach that : o Can you help me a little bit?

hartnn (hartnn):

from my notes : \(\text{ To integrate} \huge \frac{c\sin\:x+d\cos\:x}{a\sin\:x+b\cos\:x} or \frac{ce^x+d}{ae^x+b}\\ \text{express N as} \large A(D)+B\frac{d}{dx}(D) \)

hartnn (hartnn):

N = numerator, D = denominator

hartnn (hartnn):

forget t= tan (x/2) i think that will work for \(\Large \frac{1}{a\sin\:x+b\cos\:x+c} \) form only

hartnn (hartnn):

so lets try : \(169 \sin x = A(5 \sin x+12 \cos x)+B \dfrac{d}{dx} (5 \sin x+12 \cos x)\) can you find A and B ?

OpenStudy (anonymous):

169sin(x) = A+B d/dx (5sinx+12cosx) A+B (d/dx)= 169sin(x) / (5sinx + 12cosx)

hartnn (hartnn):

knowing \(5^2 +12^2 =13^2 =169\) i am tempted to try alternative method. which i will do LATER. firstly, dod you know what that d/dx mean ? heard of derivatives ?

OpenStudy (anonymous):

yes :)

hartnn (hartnn):

good, whats d/dx (5 sin x +12 cos x) ?

OpenStudy (anonymous):

please show me a more efficient method! Always look to improve derivative solving skill.

OpenStudy (anonymous):

=5cos(x) -12sin(x)

hartnn (hartnn):

yes, plug that in \(169 \sin x = A(5 \sin x+12 \cos x)+B \dfrac{d}{dx} (5 \sin x+12 \cos x)\) and then compare the co-efficients of sin x and cos x

hartnn (hartnn):

co-efficient of sin x on right side is 5A -12B and on left it is 129 so, 5A-12B =169 makes sense ?

OpenStudy (anonymous):

Yes :)

OpenStudy (anonymous):

It is looking a little clearer to me :D

hartnn (hartnn):

make another equation in A and B and let me know what values you get for them :)

hartnn (hartnn):

12 A +5B = 0 5A-12B =169

OpenStudy (anonymous):

Sorry I was trying to get the second equation but falied miserably. Can you show me just the setting up of that equation? Thank you so much >.<

OpenStudy (anonymous):

This is really the first time I've seen this type of substitution so. Can I know the name of this method?

OpenStudy (anonymous):

Though the part to get A and B after setting up the equation, I understand. :)

hartnn (hartnn):

\(169 \sin x = A(5 \sin x+12 \cos x)+B \dfrac{d}{dx} (5 \sin x+12 \cos x)\) \(169 \sin x = A(5 \sin x+12 \cos x)+B (5 \cos x-12 \sin x)\) \(169 \sin x+0 \cos x = (5A-12B) \sin x + (12A+5B)\cos x \) \(169 = 5A -12B \\ 0 = 12A+5B\)

hartnn (hartnn):

I have not given any name to that method yet :P you can call it <<insert your name here>> method ;)

OpenStudy (anonymous):

ohhh : o thank you >.< You invented this method??? : O That's amazing!!

hartnn (hartnn):

lol no , i didn't :P my professor gave us in our notes...idk who invented it:P

OpenStudy (anonymous):

The "Got-a-ku" method (Goku) dragon ball :)) <33 sounds like got a clue idk xD

OpenStudy (anonymous):

what can I do next ?

ganeshie8 (ganeshie8):

replace numerator with the first equation, then you will see what can be done next :)

OpenStudy (anonymous):

\[\frac{ 5A-12B }{ 5\sin(x) + 12\cos(x) }\]

hartnn (hartnn):

\(\Large \dfrac{ A(5 \sin x+12 \cos x)+B \dfrac{d}{dx} (5 \sin x+12 \cos x)}{5 \sin x+12 \cos x} \\ \Large \dfrac{A(5 \sin x+12 \cos x)}{5 \cos x+12 \cos x}+\dfrac{B(5\sin x-12\sin x)}{5 \sin x+12 \cos x}\)

hartnn (hartnn):

\(\Large = A+ B\dfrac{(5\sin x-12\sin x)}{5 \sin x+12 \cos x}\)

OpenStudy (anonymous):

oh :o = A+ ( (B(5sinx-12sinx)) / (5sinx + 12cos(x)) )

hartnn (hartnn):

couldn't you find A,B values?

OpenStudy (anonymous):

can I use the 5A-12B=169, or this equation? Sorry, I'm a rookie at this method so :)

ganeshie8 (ganeshie8):

if you haven't noticed the pattern yet : \[169 \sin x = A(5 \sin x+12 \cos x)+B \dfrac{d}{dx} (5 \sin x+12 \cos x)\] is exactly same as : \[\large \text{numerator} = A(\text{denominator })+B \dfrac{d}{dx} (\text{denominator})\] Our goal is to find the constants \(A\) and \(B\) and replace the \(\large \text{numerator}\) with above pattern.

hartnn (hartnn):

169=5A−12B 0=12A+5B its like solving 2 equations in 2 unknowns, just algebra 12A =-5B, A =(-5/12)B plug this value of A in 169=5A−12B

OpenStudy (anonymous):

169= -25/12 (B) -12B 169= -169/12 (B) B= -12

hartnn (hartnn):

correct, what about A ?

OpenStudy (anonymous):

A= 5

OpenStudy (anonymous):

@ganeshie8 thank you! The goal became much clearer :))

hartnn (hartnn):

so now you just have to integrate \(\huge \int 5-12\dfrac{(5\sin x-12\sin x)}{5 \sin x+12 \cos x} dx\) which is much simpler than original integral

OpenStudy (anonymous):

ohhhh I see it now :O we're going to use ln to solve this?

hartnn (hartnn):

yes, (\int \dfrac{f'(x)}{f(x)} dx = ln f(x) +c\) for the 2nd term

hartnn (hartnn):

\(\int \dfrac{f'(x)}{f(x)} dx = ln f(x) +c\)

hartnn (hartnn):

the whole point of doing \(\large \text{numerator} = A(\text{denominator })+B \dfrac{d}{dx} (\text{denominator})\) is to get that form \(\dfrac{f'(x)}{f(x)}\)

OpenStudy (anonymous):

I have a question, it's both sin(x) on top. f'(x) of denominator = 5 cos(x) -12sin(x)

ganeshie8 (ganeshie8):

that was just a typo, work this : \[\huge \int 5-12\dfrac{(5\color{red}{\cos x }-12\sin x)}{5 \sin x+12 \cos x} dx\]

hartnn (hartnn):

yeah, sorry about that

OpenStudy (anonymous):

ok then is 5x -12 ln( 5 sinx +12 cos x) + C Thank you so so much! @hartnn @ganeshie8 You're amazing >.< <333

OpenStudy (anonymous):

I would have no clue of how to work this problem without your Goku method :D

ganeshie8 (ganeshie8):

if you still have gas and good with trig, there is another interesting method to work integrals of this form : \(\dfrac{\sin}{ a\sin + b\cos }\)

ganeshie8 (ganeshie8):

Goku method sounds nice :3

OpenStudy (anonymous):

Please show me :D Well I'm deflated but this can of juice will pump it up.

OpenStudy (anonymous):

xD because I look at hartnn's avi.

ganeshie8 (ganeshie8):

maybe il out the solution here, go thru and see if it makes sense

ganeshie8 (ganeshie8):

*put

OpenStudy (anonymous):

Ok, thank you! x)

ganeshie8 (ganeshie8):

the key thing is the denominator again : \[5\sin x + 12\cos x = \langle 12, 5\rangle \bullet \langle \cos x , \sin x \rangle = \color{red}{13\sin (x-\alpha)} \] \( \alpha = \arctan(5/12)\)

ganeshie8 (ganeshie8):

denominator can be expressed as SINGLE sine function using trig ^^ if you don't like vectors, you may memorize it as formula :)

ganeshie8 (ganeshie8):

Once we're comfortable with writing the denominator as a single sine function, below method will make sense : \[\begin{array}\\ \int \dfrac{169\sin(x)}{5\sin(x) + 12\cos(x)} dx & = \int \dfrac{169\sin(x)}{13\sin(x-\alpha)} dx ~~\color{gray}{ \alpha = \arctan(5/12)} \\ &= 13\int \dfrac{\sin(x-\alpha+\alpha)}{\sin(x-\alpha)} dx \\ &= 13 \left(\int \cos \alpha + \dfrac{\cos(x-\alpha) \sin \alpha}{\sin(x-\alpha)} dx \right) \\ &= 13\cos \alpha \int 1 dx + 13 \sin \alpha \int\cot(x-\alpha) dx \\ \end{array}\]

OpenStudy (anonymous):

Sorry it's 2:27 am here so I'll switch to mobile app. :))

ganeshie8 (ganeshie8):

You should sleep! that trig identity shows up in differential equations a lot.. go thru when you're free... there is not much in that method except for the unfamiliar trig identity

OpenStudy (anonymous):

Wow this method is great! I ask this question too many times, but is there a name for this trig formula? :o

OpenStudy (anonymous):

Thank you ganeshie and hartnn. I learnt alot of new and beneficial methods today from you. Hope you have a super great day/night!

ganeshie8 (ganeshie8):

have good sleep :) they make this formula the important trig identity in differential equations course : http://www.sinclair.edu/centers/mathlab/pub/findyourcourse/worksheets/DiffEq/ConvertingTheForm_asinx.pdf

OpenStudy (anonymous):

Just wanted to point out that there's nothing wrong with using the half-angle sub @hartnn mentioned. Letting \(\tan\dfrac{x}{2}=t\), you have the following reference triangle: |dw:1407082704658:dw| You can work out that \[\sin x=\frac{2t}{1+t^2}\\ \cos x=\frac{1-t^2}{1+t^2}\\ dt=\frac{1}{2}\sec^2\frac{x}{2}~dx~~\iff~~\frac{2~dt}{1+t^2}=dx\] So the integral is \[\int\frac{169\sin x}{5\sin x+12\cos x}~dx=\int\frac{169\left(\dfrac{2t}{1+t^2}\right)}{5\left(\dfrac{2t}{1+t^2}\right)+12\left(\dfrac{1-t^2}{1+t^2}\right)}\frac{2}{1+t^2}~dt\] which reduces to \[\int\frac{676t}{(1+t^2)(10t+12-12t^2)}~dt\\ \int\frac{338t}{(1+t^2)(5t+6-6t^2)}~dt\] Partial fractions from here should be fine.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!