Taking the root of sec^2 in an integral

  • Thread starter Thread starter Mr Davis 97
  • Start date Start date
  • Tags Tags
    Integral Root
Click For Summary

Homework Help Overview

The problem involves evaluating the integral ##\displaystyle \int \sin x \sqrt{1+ \tan ^2 x} dx##, which simplifies to ##\displaystyle \int \sin x \sqrt{\sec ^2 x} dx##. Participants are exploring the implications of taking the square root of secant squared and how it affects the integration process.

Discussion Character

  • Exploratory, Assumption checking

Approaches and Questions Raised

  • Some participants discuss the potential to ignore the absolute value in the expression ##\sqrt{\sec^2 x}##, questioning how this affects the integration of ##\sin x | \sec x |##. Others suggest that this leads to two possible integrands, ##\tan x## and ##-\tan x##, depending on the sign of ##\cos x##.

Discussion Status

The discussion is ongoing, with participants examining the implications of different cases for the absolute value and the conditions under which each case holds. There is recognition that the choice of sign affects the validity of the integrand across different intervals.

Contextual Notes

Participants note that when considering definite integrals, care must be taken regarding the regions where ##\cos x## changes sign, as this may affect the existence of the integral. There is also mention of the complications that arise in the context of indefinite integrals.

Mr Davis 97
Messages
1,461
Reaction score
44

Homework Statement


##\displaystyle \int \sin x \sqrt{1+ \tan ^2 x} dx##

Homework Equations

The Attempt at a Solution


So clearly we have that ##\displaystyle \int \sin x \sqrt{\sec ^2 x} dx##, but I am not sure how to proceed. Isn't it true that ##\sqrt{\sec ^2 x} = | \sec x|##? How would I integrate ##\sin x | \sec x |##?
 
Physics news on Phys.org
i would ignore the absolute value and then try sin.sec = sin/cos = tan. oh wait, it is better to do sin/cos as maybe -log(cos)? then differentiate back and see how close you came.

then just match up the signs according to what interval you are working on. i.e. your original integrand is positive precisely when sin is positive, so tan works for example on intervals where both sin and cos are positive.
 
Last edited:
mathwonk said:
i would ignore the absolute value and then try sin.sec = sin/cos = tan. oh wait, it is better to do sin/cos as maybe -log(cos)? then differentiate back and see how close you came.

then just match up the signs according to what interval you are working on. i.e. your original integrand is positive precisely when sin is positive, so tan works for example on intervals where both sin and cos are positive.
Why am I allowed to just ignore the absolute value?
 
Mr Davis 97 said:
Why am I allowed to just ignore the absolute value?

You will get two possible answers, each valid within different regions. If you take ##\sqrt{\sec^2 x} = \sec x## your integrand is ##\tan x##, and is valid in any region where ##\cos x > 0.##. If you take ##\sqrt{\sec^2 x} = -\sec x## your integrand is ##-\tan x##, and is valid wherever ##\cos x < 0.##

If you were doing a definite integral of the form
$$\int_a^b \sin x \sqrt{\sec^2 x} \, dx,$$
you would need to be extra careful about which of these cases to use. If the integration limits ##a## and ##b## happened to be in different regions (that is, in regions where ##\cos x## changes sign) you would need to worry even more about whether the integral even exists at all, since you would be integrating through a point where the integrand is singular. In such a case an ordinary integral might not exist, but a "principal value" integral might---I am not sure.

Note added in edit: I am now sure a principal-value integral does not exist.
 
Last edited:
Ray Vickson said:
You will get two possible answers, each valid within different regions. If you take ##\sqrt{\sec^2 x} = \sec x## your integrand is ##\tan x##, and is valid in any region where ##\cos x > 0.##. If you take ##\sqrt{\sec^2 x} = -\sec x## your integrand is ##-\tan x##, and is valid wherever ##\cos x < 0.##

If you were doing a definite integral of the form
$$\int_a^b \sin x \sqrt{\sec^2 x} \, dx,$$
you would need to be extra careful about which of these cases to use. If the integration limits ##a## and ##b## happened to be in different regions (that is, in regions where ##\cos x## changes sign) you would need to worry even more about whether the integral even exists at all, since you would be integrating through a point where the integrand is singular. In such a case an ordinary integral might not exist, but a "principal value" integral might---I am not sure.

Note added in edit: I am now sure a principal-value integral does not exist.
By your example I see clearly how this would work in the case of a definite integral, but I don't see which sign of sec to choose in this case where we are working with an indefinite integral.
 
Mr Davis 97 said:
By your example I see clearly how this would work in the case of a definite integral, but I don't see which sign of sec to choose in this case where we are working with an indefinite integral.

You can't: either sign can be true sometimes and false sometimes. All you can do is write "cases" that depend on the sign of ##\cos x.## That will give you a piecewise-defined function that is always "true".
 
  • Like
Likes   Reactions: Mr Davis 97

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
Replies
3
Views
2K
Replies
2
Views
2K
Replies
6
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 105 ·
4
Replies
105
Views
10K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K