Integral, hmm where did i mess up?

  • Thread starter Thread starter rocomath
  • Start date Start date
  • Tags Tags
    Integral
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
19 replies · 4K views
rocomath
Messages
1,752
Reaction score
1
[SOLVED] Integral, hmm ... where did i mess up?

ok, i typed this integral into mathematica, my last part is wrong or perhaps it's equivalent, but not obvious to me

thanks for the help!

in mathematic ... (x^2 -1)/(x^2 + 1)^3

http://www.mathlinks.ro/Forum/latexrender/pictures/a/f/f/affbb15186b375255a388df46ab0b2701a8798dc.gif
 
Last edited by a moderator:
Physics news on Phys.org
I believe where you have [tex]\int^{1}_{0} \frac{tan^2 \theta}{sec^4 \theta} - \frac{1}{sec^4 \theta}[/tex], you should have [tex]sec^5 \theta[/tex], instead of to the 4th power.
 
hotcommodity said:
I believe where you have [tex]\int^{1}_{0} \frac{tan^2 \theta}{sec^4 \theta} - \frac{1}{sec^4 \theta}[/tex], you should have [tex]sec^5 \theta[/tex], instead of to the 4th power.

if i have

[tex](\sec^{2}{\theta})^{3}[/tex]

isn't that the power rule? so

[tex]\sec^{6}{\theta}[/tex]
 
Oops, yes you're correct. But it still wouldn't be to the 4th power.
 
hotcommodity said:
Oops, yes you're correct. But it still wouldn't be to the 4th power.
why not? and what should it be?
 
D H said:
You forgot to transform the integration limits when you switch from integrating wrt x to integrating wrt theta.

But it looks like he changed it back to "x," so it wouldn't matter right?
 
rocophysics said:
why not? and what should it be?

Well if [tex]x = tan \theta[/tex], and [tex]tan^2 \theta + 1 = sec^2 \theta[/tex], then you have [tex](sec^2 \theta)^3[/tex] in the denominator.
 
i simplified

[tex]\int[\frac{tan^{2}{\theta}\sec^{2}{\theta}}{\sec^{6}{\theta}}-\frac{\sec^{2}{\theta}}{\sec^{6}{\theta}}]d{\theta}[/tex]
 
OK ok, I see, let me go back and re-work it.
 
hotcommodity said:
OK ok, I see, let me go back and re-work it.
thanks a lot :-] i just don't know wth is wrong with that last part, lol.
 
Roco, you did the trig part right. The problem is the integration limits.

Ok.

hotcommodity said:
But it looks like he changed it back to "x," so it wouldn't matter right?

He made the same mistake twice, yet another example of two wrongs making a right. I answered this question,

rocophysics said:
my last part is wrong or perhaps it's equivalent, but not obvious to me

Upon switching the integration variable from [itex]x[/itex] to [itex]\theta[/itex], roco, you should have switch the integration limits as well:

[tex]\int_0^1 \frac{x^2-1}{(x^2+1)^3}dx[/tex]

[tex]\int_{\tan^{-1} 0}^{\tan^{-1} 1} 1+2\cos2\theta + \cos4\theta d\theta[/tex]

Evaluating the limits, [itex]\tan^{-1} 0=0[/itex] but [itex]\tan^{-1} 1=\pi/4[/itex], not 1.

BTW, this integrates directly to

[tex]-\;\frac 1 4 \left.\left(\theta + \sin2\theta+\frac 1 4\sin4\theta\right)\right|_0^{\pi/4}[/tex]
 
Last edited:
D H said:
Roco, you did the trig part right. The problem is the integration limits.

IN WORK.
why would they change? i re-substituted or whatever you call it. hmm
 
D H said:
He made the same mistake twice, yet another example of two wrongs making a right. I answered this question,

Upon switching the integration variable from [itex]x[/itex] to [itex]\theta[/itex], roco, you should have switch the integration limits as well
but that's not what I'm trying to do. when using trig subst. i don't HAVE TO switch limits do i?

i fix my limits for other problems, but I'm just trying to work this one all the way.
 
http://www.mathlinks.ro/Forum/latexrender/pictures/4/1/0/410c7ab5ddcc2586a7250b56ba46df50369f6fbf.gif
 
Last edited by a moderator:
D H said:
Roco, you did the trig part right. The problem is the integration limits.

Ok.



He made the same mistake twice, yet another example of two wrongs making a right. I answered this question,



Upon switching the integration variable from [itex]x[/itex] to [itex]\theta[/itex], roco, you should have switch the integration limits as well:

[tex]\int_0^1 \frac{x^2-1}{(x^2+1)^3}dx[/tex]

[tex]\int_{\tan^{-1} 0}^{\tan^{-1} 1} 1+2\cos2\theta + \cos4\theta d\theta[/tex]

Evaluating the limits, [itex]\tan^{-1} 0=0[/itex] but [itex]\tan^{-1} 1=\pi/4[/itex], not 1.

BTW, this integrates directly to

[tex]-\;\frac 1 4 \left.\left(\theta + \sin2\theta+\frac 1 4\sin4\theta\right)\right|_0^{\pi/4}[/tex]


can someone link me to a site describing well the transformation of integral limits, I've been shown a lot but never understood it well, thanks.

anyway i got up to [tex]\int \frac {d \theta}{sec^4 \theta}[/tex]
i don't know what limits to put in there
 
all you do is evaluate your current limits with your substitution

[tex]\int_0^1 \frac{x^2-1}{(x^2+1)^3}dx[/tex]

my limits are from 0 to 1

my chosen substitution is tangent, so i set my current limits equal to my substitution

tangent = 0 and tangent = 1

where does tangent equal 0 and 1? solve for that, and those are your new limits, respectively

thus

[tex]\int_{0}^{\frac{\pi}{4}}(1+2\cos{2\theta}+\cos{4\theta})d\theta[/tex]

this is done so that there is no need to re-substitute.
 
Suppose you can rewrite some function [itex]f(x)[/itex] as [itex]h(g(x))g'(x)[/itex]. This is what makes u-substitution viable for solving a integration problem. Applying the u-substitution [itex]u=g(x)[/itex] to the indefinite integral of f(x),

[tex] \int f(x) dx = \int h(g(x))g'(x)dx<br /> \begin{matrix} \\[-8pt] \longrightarrow \\[-10pt] ^{u=g(x)} \end{matrix}<br /> \int h(u) du[/tex]

In applying the u-substitution to a definite integral, you must apply the substitution to the integration limits as well as to the integrand:

[tex] \int_{x=a}^{x=b} f(x) dx = \int_{x=a}^{x=b} h(g(x))g'(x)dx<br /> \begin{matrix} \\[-8pt] \longrightarrow \\[-10pt] ^{u=g(x)} \end{matrix}<br /> \int_{u=g(a)}^{u=g(b)} h(u) du[/tex]

In this case, the u-substitution is [itex]x=\tan\theta[/itex] or [itex]u=\tan^{-1}x[/itex]. Applying the u-substitution to this problem,

[tex] \int_{x=0}^{x=1} \frac{x^2-1}{(x^2+1)^3}dx\,<br /> \begin{matrix} \\[-8pt] \longrightarrow \\[-8pt] ^{\theta=\tan^{-1}(x)} \end{matrix}\,<br /> \int_{\theta=\tan^{-1} (0)}^{\theta=\tan^{-1} (1)} 1+2\cos2\theta + \cos4\theta d\theta[/tex]

Finally [itex]\tan^{-1}(0) = 0[/itex] and [itex]\tan^{-1}(1) = \pi/4[/itex].