Solving Integral Problem: dx/cos(x) with exp(ix)=t method

  • Context: Graduate 
  • Thread starter Thread starter eljose
  • Start date Start date
  • Tags Tags
    Integral
Click For Summary

Discussion Overview

The discussion revolves around the integral of dx/cos(x), with participants exploring various methods for solving it, including the substitution exp(ix)=t and the use of half-angle formulas. The conversation includes technical reasoning and alternative approaches to the integral.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant expresses difficulty in calculating the integral dx/cos(x) using the substitution exp(ix)=t, arriving at a solution of (2/i)artan(exp(ix)) but seeks the real number solution.
  • Another participant suggests using half-angle formulas to simplify the integral, proposing a substitution of u=tan(x/2) for easier evaluation.
  • A different participant points out that dx/cos(x) is equivalent to sec(x)dx, implying that the integral should be straightforward to handle.
  • Several participants present various methods for integrating sec(x), including using the identity sec(x) = 1/cos(x) and making substitutions involving sin(x) and tan(x).
  • One participant critiques another's method as overly complicated, arguing for a more elegant approach to the integral.
  • Another participant responds to the critique by clarifying that their intention was merely to provide an additional method rather than to present the most elegant solution.
  • Further exchanges include challenges regarding the methods proposed, with participants defending their approaches and questioning the necessity of certain techniques.

Areas of Agreement / Disagreement

Participants present multiple competing views on how to approach the integral, with no consensus reached on the best method or the correctness of any specific approach.

Contextual Notes

Some methods rely on specific substitutions or identities that may not be universally accepted or understood, and there are unresolved mathematical steps in the various approaches discussed.

Who May Find This Useful

This discussion may be of interest to students and educators in mathematics, particularly those looking for different techniques to solve integrals involving trigonometric functions.

eljose
Messages
484
Reaction score
0
I have some problems in calculating the integral dx/cos(x) i have made the change exp(ix)=t and get the solution (2/i)artan(exp(ix)) but what is the real number solution?.thanks
 
Physics news on Phys.org
It's better to use the half-angle formulas:
[tex]\cos^{2}(\frac{x}{2})-\sin^{2}(\frac{x}{2})=\cos(x)[/tex]
[tex]\cos^{2}(\frac{x}{2})+\sin^{2}(\frac{x}{2})=1[/tex]
Your integral is then easy to evaluate with respect to the variable:
[tex]u=tan(\frac{x}{2})[/tex]
 
eljose said:
I have some problems in calculating the integral dx/cos(x) i have made the change exp(ix)=t and get the solution (2/i)artan(exp(ix)) but what is the real number solution?.thanks


Maybe I am missing something, but isn't dx/cos(x) = sec(x)dx. Doing that integral is very easy, you should be able to handle it.
 
1/cos(x)dx
=cos(x)/(1-sin^2(x))dx
=1/(1-sin^2(x))d(sin(x))
 
To SomeRandomGuy,

Do you tutor? I have a kid who could use some help with his math homework. No doubt he could benefit from your penetrating insight and clarity of exposition.
 
PBRMEASAP said:
To SomeRandomGuy,

Do you tutor? I have a kid who could use some help with his math homework. No doubt he could benefit from your penetrating insight and clarity of exposition.
:smile:

Here's yet another method to do this integral:

[tex]\int \sec x \; dx = \int \sec x \; \frac{\sec x+\tan x}{\sec x+\tan x} \; dx[/tex]

[tex]\int \frac{\sec^{2}x + \sec x\tan x}{\sec x+\tan x}\;dx[/tex]

Take [itex]u=\sec x+\tan x[/itex], then [itex]\frac{du}{dx}=\sec x\tan x+\sec^{2}x[/itex].

[tex]\int \frac{\sec^{2}x + \sec x\tan x}{\sec x+\tan x} \; dx = \int \frac{1}{u} \; du = \ln(u) \; + \; C = \ln(\sec x+\tan x) \; + \; C[/tex]
 
PBRMEASAP said:
To SomeRandomGuy,

Do you tutor? I have a kid who could use some help with his math homework. No doubt he could benefit from your penetrating insight and clarity of exposition.

I am one to appreciate sarcasm as I am a very sarcastic individual myself. I am a tutor, actually, and I will rarely complete an integral or a problem for someone I tutor. Instead, I try to have them figure it out for themselves. That way, it is more likely they will remember the process and what to look for.
 
devious_ said:
:smile:

Here's yet another method to do this integral:

[tex]\int \sec x \; dx = \int \sec x \; \frac{\sec x+\tan x}{\sec x+\tan x} \; dx[/tex]

[tex]\int \frac{\sec^{2}x + \sec x\tan x}{\sec x+\tan x}\;dx[/tex]

Take [itex]u=\sec x+\tan x[/itex], then [itex]\frac{du}{dx}=\sec x\tan x+\sec^{2}x[/itex].

[tex]\int \frac{\sec^{2}x + \sec x\tan x}{\sec x+\tan x} \; dx = \int \frac{1}{u} \; du = \ln(u) \; + \; C = \ln(\sec x+\tan x) \; + \; C[/tex]

Why complicate ?
[tex]\int \frac{dx}{\cos x}=\int \frac{d(\sin x)}{1-\sin^2 x}=\frac{1}{2}[\int \frac{d(\sin x)}<br /> {1-\sin x} +\int \frac{d(\sin x)}{1+\sin x}] =...=\frac{1}{2} \ln(\frac{1+\sin x}{1-\sin x})+C<br /> =...=\ln [\frac{\tan(\frac{x}{2})+1}{\tan(\frac{x}{2})-1}]+C.[/tex]
 
dextercioby, your method was already posted. I was only suggesting another method, which I personally don't think is complicated.
 
  • #10
devious_ said:
dextercioby, your method was already posted. I was only suggesting another method, which I personally don't think is complicated.

Maybe it was posted...
Check out that horrible trick u pulled in order to integrate secant of x.You wouldn't expect someone to think of it as simple...Obvious...Besides,it requires a lotta derivatives and it uses the secant function which is (as stated by me) unnecessary...
It don't matter really how u pull an integral off.The trick is to do it as elegantly as possible.As comprehendable as possible.I assume u're not a teacher/never be one. :wink:
 
  • #11
Erm.. I wasn't trying to do the integral "as elegantly as possible". I was merely providing another another way to do it, in addition to the two methods already posted...
 
  • #12
devious_ said:
Erm.. I wasn't trying to do the integral "as elegantly as possible". I was merely providing another another way to do it, in addition to the two methods already posted...

Well,Mr.Devious,apparently u challanged me:
[tex]\begin {array} {cc} \int \frac{dx}{\cos x} = \int \sec x dx = \int \sec x (\frac {\tan x}{\tan x })dx<br /> =^{d(\sec x)=\sec x\tan x dx} \int \frac{d(\sec x)}{\sin x \sec x} <br /> \\=^{\sin x=\sqrt{1-\frac{1}{\sec^{2} x}}} \int \frac{d(\sec x)}{\sqrt{\sec^{2} x-1}}<br /> =^{\sec x= \cosh \lambda ; \lambda=\cosh^{-1}(\sec x)}<br /> \int \frac{(\sinh \lambda) d\lambda}{\sinh \lambda}<br /> \\=\lambda +C= \cosh^{-1}(\sec x) +C = \ln(\sec x+\tan x)+C \end{array}[/tex]
,where,of course,the expression [tex]f^{-1}(x)[/tex] strands for the inverse of the function [tex]f(x)[/tex].It stood for "argcosh (sec x)",but i couldn't find the function,so that's why i used this notation.

Daniel.
 
Last edited:
  • #13
Challenged you? Why are you taking this personally? :smile:

[tex]\int \sec x \; dx = \int \frac{\cos x}{\cos^{2} x} \; dx = \int \frac{\cos x}{1-\sin^{2} x} \; dx[/tex]

Take [itex]u=\sin x[/itex], then [itex]du=\cos x\;dx[/itex]. So:

[tex]\int \sec x \; dx = \int \frac{1}{1-u^{2}} \; du = \tanh^{-1} u \; + \; C = \tanh^{-1}(\sin x) \; + \; C[/tex]

:-p
 
Last edited:

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K