Integral Problem Homework: Solving \int\frac{dx}{cos(x)-1}

  • Thread starter just_see
  • Start date
  • Tags
    Integral
In summary: Trigonometry" is your best bet.The Attempt at a SolutionI've had extreme problems in even attempting to begin this problem. I initially tried to multiply by the conjugate to get int[(cosx+1)/(cos^2(x)-1)], but this doesn't seem to be leading me anywhere. Since then, I've tried looking for a possible substitution to make, but have been coming up blank. Using the search function on physics forums I found a similar problem in which the substitution u=tan(x/2) was suggested. However I have not been able to figure out if (or how) this same substitution would apply in this case.Can you
  • #1
just_see
6
0

Homework Statement



[tex]\int\frac{dx}{cos(x)-1}[/tex]

Homework Equations


None

The Attempt at a Solution


I've had extreme problems in even attempting to begin this problem. I initially tried to multiply by the conjugate to get int[(cosx+1)/(cos^2(x)-1)], but this doesn't seem to be leading me anywhere.

Since then, I've tried looking for a possible substitution to make, but have been coming up blank. Using the search function on physics forums I found a similar problem in which the substitution u=tan(x/2) was suggested. However I have not been able to figure out if (or how) this same substitution would apply in this case.
 
Physics news on Phys.org
  • #2
Can you simplify cos2(x)-1 at all?
 
  • #3
let u = cosx - 1

now tell me what you get when you substitute
 
  • #4
um... cos^2(x)-1 = -sin^2(x)...

int[cotxcscxdx] - int[csc^2(x)]

-cscx + cotx?

Or did I drop something somewhere? (which is quite possible)
 
  • #5
How to Exit Trigonometry

the substitution u=tan(x/2) is a great suggestion, I was about to recommend it!

I don't know the proof in it's entirety but here are the formula's:

This can only be used if you have ONLY trig functions along with *, /, +, - a constant, if you have a ln (x), e^x, etc... you have to find another way.

[tex]
tan(\frac{x}{2}) = y [/tex] then:

[tex]
sin(x) = \frac{2y}{1+y^2}
[/tex]

[tex]
cos(x) = \frac{1-y^2}{1+y^2}
[/tex]

[tex]
dx = \frac{2dy}{1+y^2}
[/tex]

This method to "Exit Trigonometry" is unbelievably helpful I think.

These formula's are nicer, but there's a catch. They only work on EVEN powers with respect to sin and cos.

[tex]
tan (x) = y
[/tex]

[tex]
sin^2 (x) = \frac{y^2}{1+y^2}
[/tex]

[tex]
cos^2 (x) = \frac{1}{1+y^2}
[/tex]

[tex]
cos(x)sin(x) = \frac{y}{1+y^2}
[/tex]

[tex]
dx = \frac{dy}{1+y^2}
[/tex]
 
Last edited:
  • #6
I think you missed a minus sign. You should have the integral of (cos(x)+1)/(-sin2(x))=-(csc(x)cot(x)+csc2(x)).
 
  • #7
ima go ahead and show some of my work (practicing latex) so ur in luck

[tex]\int\frac{dx}{\cos{x}-1} \ \ \ \ \ u=\cos{x}-1 \ \ \ \ \ -\csc{x}du=dx[/tex]

[tex]-\csc{x}\int\frac{du}{u}[/tex]

integrating

[tex]-\csc{x}\ln{|\cos{x}-1|}+C[/tex]

it can also be written as (power rule)

[tex]\ln{|\cos{x}-1|}^{-\csc{x}}+C[/tex]

differentiating to check work

[tex]\frac{-\csc{x}(-\sin{x})}{\cos{x}-1}[/tex]
 
Last edited:
  • #8
rocophysics said:
ima go ahead and show some of my work (practicing latex) so ur in luck

[tex]\int\frac{dx}{\cos{x}-1} \ \ \ \ \ u=\cos{x}-1 \ \ \ \ \ -\csc{x}du=dx[/tex]

[tex]\-csc{x}\int\frac{du}{u}[/tex]

integrating

You can not pull functions of x outside of an integral like that. So from the very start this is the wrong way to a solution.

rocophysics said:
integrating

[tex]-\csc{x}\ln{|\cos{x}-1|}+C[/tex]

it can also be written as (power rule)

[tex]\ln{|\cos{x}-1|}^{-\csc{x}}+C[/tex]

Your integral is correct, but since it was based on a false premise of being able to pull out the cosecant function it will not give the correct answer to this problem.

rocophysics said:
differentiating to check work

[tex]\frac{-\csc{x}(-\sin{x})}{\cos{x}-1}[/tex]

How did you differentiate this? You either didn't use the chain rule correctly, or did not use the product rule correctly because that is not the derivative you should end up with.
 
  • #9
lol ... my baddd, it's been 2 days since I've gotten back into Calculus ... damn

edit: ok i re-did it, the last part i understand why it was incorrect, the check i forgot the product rule, the first part i don't get.
 
Last edited:
  • #10
hehe at least you didn't do that on a test :s

@just_see try using the substitutions I posted. of the top formulas all you need is cos (x) and dx, well tan x/2 = y also to go back to x when you're done integrating.
 
  • #11
is this a Cal 2 problem? i do not remember learning any of those things you posted bob.
 
  • #12
rocophysics said:
lol ... my baddd, it's been 2 days since I've gotten back into Calculus ... damn

edit: ok i re-did it, the last part i understand why it was incorrect, the check i forgot the product rule, the first part i don't get.

You can't pull a function of x outside of an integral with respect to x. dx is part of that integral, and after you made your substitution you factored part of it outside of the integral, that isn't allowed.

du=-sin(x)dx, however you don't have a sin(x) in the original integral. The goal is to do some work on the original expression so that you CAN transform dx into du.
 
  • #13
so the only things i can pull outside of an integral are constants, gotcha.
 
  • #14
Those formula's aren't usually taught nowadays. I heard years ago they were stressed in high school but not now :/.
In my Calc book (Stewart) they're not shown explicitly, the derivation is given as one of the problems in some chapter so nobody really pays attention.

My Calc 2/3 teacher uses those formula's all the time. If there's no formula to reduce to a nice trig function then just "Exit Trigonometry".
 
  • #15
bob1182006 said:
the substitution u=tan(x/2) is a great suggestion, I was about to recommend it!

I don't know the proof in it's entirety but here are the formula's:

This can only be used if you have ONLY trig functions along with *, /, +, - a constant, if you have a ln (x), e^x, etc... you have to find another way.

[tex]
tan(\frac{x}{2}) = y [/tex] then:

[tex]
sin(x) = \frac{2y}{1+y^2}
[/tex]

[tex]
cos(x) = \frac{1-y^2}{1+y^2}
[/tex]

[tex]
dx = \frac{2dy}{1+y^2}
[/tex]

We know that [tex]\tan (2x) =\frac{2 \tan x}{1- \tan^2 x}[/tex]
Letting x=y/2, [tex]\tan y = \frac{2\tan (y/2)}{1-\tan^2 (y/2)}[/tex].

And again, let t= tan (y/2)
[tex]\tan y = \frac{ 2t}{1-t^2}[/tex].

To get the expressions for sine and cosine of y, we draw A right angled triangle, with one of the acute angles being y. Then we know the opposite side is 2t, and the adjacent side is 1-t^2. By Pythagoras, the hypotenuse is 1+t^2. Its simple to see what sin and cos y are from that.

As for the derivative:
Using the chain rule and Trig Pythagorean identities;
[tex] \frac{d}{dx} \tan (x/2) = \frac{1}{2} \sec^2 (x/2) = \frac{1}{2} (\tan^2 (x/2) + 1) = \frac{t^2+1}{2}[/tex] so the expression for dx follows.
 

FAQ: Integral Problem Homework: Solving \int\frac{dx}{cos(x)-1}

What is an integral problem?

An integral problem is a type of mathematical problem that involves finding the area under a curve or the inverse of a derivative. It is commonly used in calculus to solve for the total change in a function over a given interval.

What does the notation \int represent?

The notation \int represents the integral symbol, which is used to denote integration in mathematics. It is used to represent the accumulation of a quantity, such as the area under a curve or the total change in a function.

How do you solve an integral problem?

To solve an integral problem, you must first identify the function being integrated and the limits of integration. Then, you can use various integration techniques, such as substitution or integration by parts, to find the antiderivative of the function. Finally, you can evaluate the antiderivative at the limits of integration to find the solution to the integral problem.

What is the purpose of solving an integral problem?

The purpose of solving an integral problem is to find the accumulation of a quantity or the inverse of a derivative. This can be useful in a variety of applications, such as calculating the work done by a force, finding the average value of a function, or determining the rate of change of a function.

How do you solve the integral problem \int\frac{dx}{cos(x)-1}?

To solve this specific integral problem, you can use the substitution method by letting u = cos(x)-1. Then, du = -sin(x) dx and the integral becomes \int\frac{dx}{cos(x)-1} = \int\frac{-du}{u} = -ln|u| + C = -ln|cos(x)-1| + C, where C is the constant of integration.

Similar threads

Replies
22
Views
2K
Replies
5
Views
2K
Replies
12
Views
2K
Replies
54
Views
10K
Replies
5
Views
2K
Back
Top