Problem with the change of variable theorem of integrals

Click For Summary
SUMMARY

The forum discussion revolves around the application of the change of variable theorem for integrals, specifically for the integral \(\int^{1}_{0}x\sqrt{1-x^2}\). The user attempted to solve this integral using the substitution \(g(x)=\cos(x)\) over two intervals: \([0, \frac{\pi}{2}]\) and \([- \frac{\pi}{2}, 0]\). The results differed in sign, yielding \(\frac{1}{3}\) and \(-\frac{1}{3}\) respectively. The discrepancy was identified as a misunderstanding of the absolute value of the sine function in different intervals, specifically that \(\sqrt{\sin^2(x)}\) should be treated as \(|\sin(x)|\).

PREREQUISITES
  • Understanding of integral calculus and the change of variable theorem.
  • Familiarity with trigonometric functions and their properties.
  • Knowledge of continuous functions and their integrability.
  • Basic skills in manipulating definite integrals and substitution methods.
NEXT STEPS
  • Study the change of variable theorem in detail, focusing on its applications in integral calculus.
  • Learn about the properties of trigonometric functions, particularly the behavior of sine and cosine in different quadrants.
  • Explore examples of integrals involving absolute values and their implications on the results.
  • Practice solving integrals using various substitution methods to reinforce understanding.
USEFUL FOR

Students of calculus, mathematics educators, and anyone seeking to deepen their understanding of integral calculus and the change of variable theorem.

IvanT
Messages
6
Reaction score
0

Homework Statement


So I came across the integral \int^{1}_{0}x\sqrt{1-x^2} and I tried to solve it in two ways using the change of variables theorem for integration, however both ways are supposed to give me the same result, but they differ in the sign and I cannot find what I am doing wrong.

Homework Equations


The change of variable theorem states the following: Let I=[a,b]. Let g: I->R be a function of class C^1, with g'(x) different from 0 for x in (a,b). Then the set g(I) is a closed interval J with end points g(a) and g(b) (not necessarily in that order). If f: J->R is continous, then \int^{g(b)}_{g(a)}f=\int^{b}_{a}(f°g)g'

The Attempt at a Solution


So, for the first solution I used g(x)=cos(x) in the interval I=[0,Pi/2]. Clearly cos(I)=[0,1] and g'(x)=-sin(x) is not 0 for any x in (0,pi/2). Since f(x)=x*sqrt(1-x^2) is continuous in [0,1] the hypotheses of the theorem are satisfied and we have \int^{g(pi/2)}_{g(0)}f=\int^{0}_{1}x\sqrt{1-x^2}=-\int^{1}_{0}x\sqrt{1-x^2}=\int^{pi/2}_{0}cos(x)sin(x)(-sin(x))=-sin^3(pi/2)/3+sin^3(0)/3=-1/3 so that \int^{1}_{0}f=1/3.
On the other hand, if I consider the same g(x)=cos(x) but now in the interval I=[-pi/2,0], we have again that cos(I)=[0,1] and the hypotheses are satisfied. However we get \int^{g(0)}_{g(-pi/2)}f=\int^{1}_{0}x\sqrt{1-x^2}=\int^{0}_{-pi/2}cos(x)sin(x)(-sin(x))=-sin^3(0)/3+sin^3(-pi/2)/3=-1/3 so that \int^{1}_{0}f=-1/3!.
I checked every step a few times already and I cannot find the mistake. Any help would be appreciated.
 
Last edited:
Physics news on Phys.org
IvanT said:

Homework Statement


So I came across the integral \int^{1}_{0}x\sqrt{1-x^2} and I tried to solve it in two ways using the change of variables theorem for integration, however both ways are supposed to give me the same result, but they differ in the sign and I cannot find what I am doing wrong.


Homework Equations


The change of variable theorem states the following: Let I=[a,b]. Let g: I->R be a function of class C^1, with g'(x) different from 0 for x in (a,b). Then the set g(I) is a closed interval J with end points g(a) and g(b) (not necessarily in that order). If f: J->R is continous, then \int^{g(b)}_{g(a)}f=\int^{b}_{a}(f°g)g'


The Attempt at a Solution


So, for the first solution I used g(x)=cos(x) in the interval I=[0,Pi/2]. Clearly cos(I)=[0,1] and g'(x)=-sin(x) is not 0 for any x in (0,pi/2). Since f(x)=x*sqrt(1-x^2) is continuous in [0,1] the hypotheses of the theorem are satisfied and we have \int^{g(pi/2)}_{g(0)}f=\int^{0}_{1}x\sqrt{1-x^2}=-\int^{1}_{0}x\sqrt{1-x^2}=\int^{pi/2}_{0}cos(x)sin(x)(-sin(x))=-sin^3(pi/2)/3+sin^3(0)/3=-1/3 so that \int^{1}_{0}f=1/3.
On the other hand, if I consider the same g(x)=cos(x) but now in the interval I=[-pi/2,0], we have again that cos(I)=[0,1] and the hypotheses are satisfied. However we get \int^{g(0)}_{g(-pi/2)}f=\int^{1}_{0}x\sqrt{1-x^2}=\int^{0}_{-pi/2}cos(x)sin(x)(-sin(x))=-sin^3(0)/3+sin^3(-pi/2)/3=-1/3 so that \int^{1}_{0}f=-1/3!.
I checked every step a few times already and I cannot find the mistake. Any help would be appreciated.

When you took √sin2(x), it's |sin(x)|, which in the second region is -sin(x)
 
algebrat said:
When you took √sin2(x), it's |sin(x)|, which in the second region is -sin(x)

Oh xD, I didn't noticed that, thanks a lot : ).
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
Replies
2
Views
2K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 105 ·
4
Replies
105
Views
7K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
3
Views
2K
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K