Integrate 1/cos(x): Wolfram Alpha Guide

  • Thread starter Thread starter soopo
  • Start date Start date
  • Tags Tags
    Integrate
Click For Summary
SUMMARY

The integration of 1/cos(x), also known as sec(x), can be approached using various methods as discussed in the forum. The correct integral is ∫ sec(x) dx = ln|sec(x) + tan(x)| + C. Several substitution techniques are highlighted, including using u = sin(x) and u = sec(x) + tan(x). The discussion emphasizes the importance of recognizing the properties of rational functions of sine and cosine for effective integration.

PREREQUISITES
  • Understanding of trigonometric functions, specifically sine and cosine.
  • Familiarity with integration techniques, including substitution and integration by parts.
  • Knowledge of logarithmic functions and their properties.
  • Basic calculus concepts, particularly related to integrals of trigonometric functions.
NEXT STEPS
  • Study the integration of trigonometric functions using substitution methods.
  • Learn about the properties of rational functions involving sine and cosine.
  • Explore advanced integration techniques, such as integration by parts and partial fractions.
  • Investigate the applications of integrals in solving real-world problems involving trigonometric functions.
USEFUL FOR

Students and professionals in mathematics, particularly those studying calculus, as well as educators looking for effective methods to teach integration techniques involving trigonometric functions.

soopo
Messages
222
Reaction score
0
How can you intgertate the 1/cos(x)?

The right answer can be found in Wolfram alpha at http://www.wolframalpha.com/input/?i=1/cos(x)

My first wrong answer was ln(cos(x)).
It suggests me that you cannot use the rule, ln(x), for trigonometric functions
 
Physics news on Phys.org
There are several ways to integrate 1/cosx, or secx; just look on Google. You can try
\frac{1}{cosx}*\frac{cosx}{cosx} = \frac{cosx}{cos^2x} = \frac{cosx}{1-sin^2x}
and use u = sinx. Or working with secx, use the "clever substitution," as my calc book says, u = secx + tanx, du = sec2x + secxtanx dx. Then substitute u into the previous equation, get u and du together, and integrate.
 
Hi soopo
you can integrata as follows:
sec x + tan x
∫ (1/cos x) dx=∫ sec x dx=∫ sec x ______________ dx
sec x + tan x

(sec x)^2 + sec x tan x
∫ ___________________ dx
sec x + tan x
= ln(sec x + tan x) + C since the numerator is the derivative of the denominator.
Best Regards
Riad Zaidan
 
Bohrok said:
There are several ways to integrate 1/cosx, or secx; just look on Google. You can try
\frac{1}{cosx}*\frac{cosx}{cosx} = \frac{cosx}{cos^2x} = \frac{cosx}{1-sin^2x}
and use u = sinx. Or working with secx, use the "clever substitution," as my calc book says, u = secx + tanx, du = sec2x + secxtanx dx. Then substitute u into the previous equation, get u and du together, and integrate.

Thanks Bohrok!

I use this

cosx / (1 - (sinx)^2)

I get

1 / (1-u) du = ln|1-u|

Then, putting u=sinx back to the equation

1 / (1 - sinx) + C

---

This answer seems to differ from the answer in Wolfram Alpha.
 
soopo said:
Thanks Bohrok!

I use this

cosx / (1 - (sinx)^2)

I get

1 / (1-u) du = ln|1-u|
No, you get 1/(1- u^2) du

Then, putting u=sinx back to the equation

1 / (1 - sinx) + C

---

This answer seems to differ from the answer in Wolfram Alpha.
 
This may be worth remembering - the general substitution for integrating a rational function of sin, cos R(sin(x),cos(x)), which always works, is:

- t=cos(x) if R(-u,v)=-R(u,v)
- t=sin(x) if R(u,-v)=-R(u,v)
- t=tg(x) if R(-u,-v)=R(u,v)
- t=tg(x/2) in general
 
HallsofIvy said:
No, you get 1/(1- u^2) du

Thanks for the correction.

I get

I [ 1 / (1 - u^2) = .5 ln (1+sinx) - .5 ln (1 - sinx) + C
 
Preno said:
This may be worth remembering - the general substitution for integrating a rational function of sin, cos R(sin(x),cos(x)), which always works, is:

- t=cos(x) if R(-u,v)=-R(u,v)
- t=sin(x) if R(u,-v)=-R(u,v)
- t=tg(x) if R(-u,-v)=R(u,v)
- t=tg(x/2) in general

1. What is tg?

2. What is R(-u, v) = -R(u,v)?
 
tg = tan

R(u,v) is the rational function into which you plug sin(x) and cos(x) respectively. If R is "odd with respect to sin", you substitute for cos, and vice versa. t=tan(x/2) is the general substitution which always works (but can be rather cumbersome).
 
  • #10
edit, never mind :)
 

Similar threads

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