Solving Integral Troubles: Tips and Tricks for Integrating Sin and Cos Functions

  • Thread starter Thread starter suspenc3
  • Start date Start date
  • Tags Tags
    Integral
Click For Summary

Homework Help Overview

The discussion revolves around techniques for integrating trigonometric and logarithmic functions, specifically focusing on integrals involving sine and cosine, as well as partial fraction decomposition in rational functions.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants explore integration techniques, including integration by parts and substitution. Questions arise regarding the correctness of their approaches and the application of partial fractions. Some participants express confusion about the relationships between variables in their equations.

Discussion Status

Several participants have provided guidance on integration methods and partial fraction decomposition. There is an ongoing exploration of different approaches, with some participants questioning their own understanding and the validity of their methods.

Contextual Notes

Participants are navigating through various assumptions and definitions related to integration techniques, including the need for polynomial division before applying partial fractions. Some posts indicate uncertainty about the correct forms of equations and relationships between variables.

suspenc3
Messages
400
Reaction score
0
Hi, I've been having trouble with this one its probly easy, but I can't get started.

\int sinxcos(cosx)

I tried integrating by parts,

u=cos(cosx)
du=-sin(cosx)(-sinx)...is this even right?
dv=sinx
v=-cosx
but it looks as if doing that made it a lot harder, can anyone point me in the right direction?thanks
 
Physics news on Phys.org
Did you try a substitution?
 
u=cosx
du=-sinx
-\int cosu du
=-sin u
=-sin(cosx)

I pray this is wrong because if it isn't I'm retarted
 
That's it. (plus a constant, +C)
 
I have another question which isn't explained in the text, when trying to find out A B and C in a partial fraction integral, how do you do it, I read online somewhere about gaussian elimination, it wasnt well explained though, is this how, or is there another way, can you explain?

Thanks
 
Gaussian elimination?

I assume that by "A B and C in a partial fraction integral" you mean, for example, the A, B, C is
\frac{1}{(x-1)(x-2)(x-3)= \frac{A}{x-1}+ \frac{B}{x-2}+ \frac{C}{x-2}

Multiply the entire equation by the denominator (x-1)(x-2)(x-3) and you get
1= A(x-2)(x-3)+ B(x-1)(x-2)+ C(x-1)(x-2)

Now let x= 1, 2, 3 in succession and A, B, C fall out. If you denominators are (x-a)2 or x2+ 1 you might need to let x equal other numbers to get additional equations to solve.
 
There's more than one way to approach it. An example:

\frac{1}{x^2-1}=\frac{1}{(x-1)(x+1)}

The denominator is distinct linear factors, so we know we will have:

\frac{1}{x^2-1}=\frac{A}{x-1}+\frac{B}{x+1}

for some A and B. this becomes:

\frac{1}{x^2-1}=\frac{A(x+1)}{x^2-1}+\frac{B(x-1)}{x^2-1}=\frac{Ax+A+Bx-B}{x^2-1}=\frac{(A+B)x+(A-B)}{x^2-1}

Next equate the numerators:

0x+1=(A+B)x+(A-B)

the 'placeholder' 0x is so you see the linear term is zero on the left.

Equating coefficients you now have a system of 2 equations and 2 variables:

0=A+B
1=A-B

Gaussian elimination is a general method for solving linear systems like this, but you can use whatever you like. Here, A=-B from the first equation, then the second becomes 1=2*A, so A=1/2 and B=-1/2.

Rather than collect terms when you combined the fractions on the right hand side above, you could equate the numerators as:

1=A(x+1)+B(x-1)

and sub in some convenient values for x. x=1 gives 1=A*(2)+B*(0) so A=1/2. x=-1 gives 1=A*(0)+B*(-2), so B=-1/2.
 
i understand what you are saying..heres what I am trying to figure out...

A+B=1
A-B+C=0
4A-6B-3C=0
?
 
Well you can use the first equation to write B in terms of A, giving B=1-A.

Substitute this value of B into the 2nd and 3rd equations and you now have 2 equations with 2 unknowns (A and C). Solve either equation for either A or C and substitute into the remaining equation and you'll have one of the variables. Can you see how to do this and where to go from here?
 
  • #10
yea i think I am getting it...Il see if i can get an answer!
 
  • #11
ok, that wasnt too tough, i think i got it
 
  • #12
one final question..if i have \frac{x^3}{(x+3)^3}..would it be this...\frac{A}{x+3} + \frac{B}{(x+3)^2} + \frac {C}{(x+3)^3}..or would i have A B C and D...\frac{A}{1} + \frac{B}{x+3}and so on?
 
  • #13
In that case you have to do polynomial division first to get the numerator in lower terms than the denominator, and then it's the 3 term decomposition.
 
  • #14
oooooone more..heres my question..\int ln(x^2-1)dx..i let..
u=ln(x^2+1)
du=2x
dv=dx
v=x
so...i kept going and got ln(x^2-1)x - \int \frac{2x^2}{x^2-1}dx..would this partial fraction be A/x+1 +(B/x-1)?if so I am confused because i get A+B=0 and A-B=0
 
Last edited:
  • #15
suspenc3 said:
oooooone more..heres my question..\int ln(x^2-1)dx..i let..
u=ln(x^2+1)
du=2x
dv=dx
v=x
so...i kept going and got ln(x^2-1)x - \int \frac{2x^2}{x^2-1}dx..would this partial fraction be A/x+1 +(B/x-1)?if so I am confused because i get A+B=0 and A-B=0

If u is ln(x^2+1) then du is definitely not 2x. What is the derivative of the natural log?
 
  • #16
yeah my bad..i meant to say 2x \frac{1}{x^2-1}
 
  • #17
suspenc3 said:
oooooone more..heres my question..\int ln(x^2-1)dx..i let..
u=ln(x^2+1)
du=2x
dv=dx
v=x
so...i kept going and got ln(x^2-1)x - \int \frac{2x^2}{x^2-1}dx..would this partial fraction be A/x+1 +(B/x-1)?if so I am confused because i get A+B=0 and A-B=0

Before you try decomposing into partial fractions you should divide 2x2 by x2-1 and that should give you something pluse a linear term over x2-1.
 
  • #18
good thinkin, I thinkI got it, THanks leet
 
  • #19
suspenc3 said:
good thinkin, I thinkI got it, THanks leet

Your welcome, glad I could help.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
27K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 27 ·
Replies
27
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K