Need help solving this indefinite integral via integration by substitution

In summary: You can split that up into2\int \frac{t^2}{t^2 +...} dtwhich is equal to2\int \frac{t^2 + ...}{t^2 +...} dt - 2\int \frac{...}{t^2 +...} dtThe first of those integrals is just 2t. The second is the one you've been working on. You do know that the\int \frac{dx}{x^2 + a^2}is equal to1/a arctan(x/a) + C, right? Let's go back to your first attempt:By using the following substitution: t=\
  • #1
lo2
55
0

Homework Statement



Calculate the following integral:

[itex] \int{\frac{\sqrt{x+1}}{x+5}dx} \ , x ≥ 1[/itex]

By using the following substitution:

[itex] t=\sqrt{x+1}[/itex]

Homework Equations


Well using the integration by substitution formula.

The Attempt at a Solution


So I have [itex]t=\sqrt{x+1} \Rightarrow \frac{dx}{dt}=\frac{1}{2\sqrt{x+1}} \Rightarrow dx=dt \frac{1}{2\sqrt{x+1}} [/itex]

But I do not really have this "piece" inside the integral, so I guess you have to apply some special technique which I have forgotten about. So can someone help me?
 
Physics news on Phys.org
  • #2
lo2 said:

Homework Statement



Calculate the following integral:

[itex] \int{\frac{\sqrt{x+1}}{x+5}dx} \ , x ≥ 1[/itex]

By using the following substitution:

[itex] t=\sqrt{x+1}[/itex]

Homework Equations


Well using the integration by substitution formula.

The Attempt at a Solution


So I have [itex]t=\sqrt{x+1} \Rightarrow \frac{dx}{dt}=\frac{1}{2\sqrt{x+1}} \Rightarrow dx=dt \frac{1}{2\sqrt{x+1}} [/itex]

But I do not really have this "piece" inside the integral, so I guess you have to apply some special technique which I have forgotten about. So can someone help me?

Homework Statement


Homework Equations


The Attempt at a Solution


You need to put everything purely in terms of t, if possible. You can rearrange [itex]t = \sqrt{x+1}[/itex] to give you [itex]x + 5[/itex] in terms of t

The expression for [itex]dx[/itex] can also be expressed purely in terms of t. Rewrite it this way, then substitute it back into the integral and you should find a fairly simple integral wrt t after things cancel out.
 
  • #3
lo2 said:

Homework Statement



Calculate the following integral:

[itex] \int{\frac{\sqrt{x+1}}{x+5}dx} \ , x ≥ 1[/itex]

By using the following substitution:

[itex] t=\sqrt{x+1}[/itex]

Homework Equations


Well using the integration by substitution formula.

The Attempt at a Solution


So I have [itex]t=\sqrt{x+1} \Rightarrow \frac{dx}{dt}=\frac{1}{2\sqrt{x+1}} \Rightarrow dx=dt \frac{1}{2\sqrt{x+1}} [/itex]
Well, that last is dt/(2t) isn't it? Also, since [itex]t= \sqrt{x+ 1}[/itex], [itex]t^2= x+ 1[/itex] so [itex]x+ 5= t^2+ 4[/itex]

Your integral is
[tex]\int \frac{t}{t^2+ 4}\left(\frac{dt}{2t}\right)[/tex]

But I do not really have this "piece" inside the integral, so I guess you have to apply some special technique which I have forgotten about. So can someone help me?
 
  • #4
HallsofIvy said:
Well, that last is dt/(2t) isn't it? Also, since [itex]t= \sqrt{x+ 1}[/itex], [itex]t^2= x+ 1[/itex] so [itex]x+ 5= t^2+ 4[/itex]

Your integral is
[tex]\int \frac{t}{t^2+ 4}\left(\frac{dt}{2t}\right)[/tex]

Hey thanks a lot for the help! Well those substitutions do make sense, but my problem is that the resulting integral is as far as I can see not that easy :/

So would I have to use integration by substitution once again to solve this, or integration by parts?

I must admit that my integration technique is a wee bit rusty...
 
  • #5
What? The final integral is
[tex]\int \frac{dt}{t^2+ 4}[/tex]
which is a basic integral.

(What is the derivative of arctan(x)?)
 
  • #6
If you use t=sqrt[x+1], you will get :

I=2∫t2/(t2+4)dt . Now change the nominator, separate and integrate:


I=2∫t2/(t2+4)dt=2∫(t2+4-4)/(t2+4)dt=

2∫[1-4/(t2+4)]dt=2[∫1dt-4∫dt/(t2+4)]= 2 Sqrt[1 + x] - 4 ArcTan[Sqrt[1 + x]/2]
 
Last edited:
  • #7
HallsofIvy said:
What? The final integral is
[tex]\int \frac{dt}{t^2+ 4}[/tex]
which is a basic integral.

(What is the derivative of arctan(x)?)

So you mean derivative of arctan can be written as Sqrt[x + 1]/(x + 5)? :smile:
 
  • #8
No, HallsOfIvy is not saying that d/dx(arctan(x)) = sqrt(x+1)/(x + 5). He was giving a hint to the OP as to how to proceed.
 
  • #9
Ok I have come up with the following solution: (please correct me if I am wrong!)

We have this integral:

[itex] \int{\frac{\sqrt{x+1}}{x+5}dx} [/itex]

Where

[itex] t=\sqrt{x+1} \Leftrightarrow t^2+4=x+5 [/itex]

And where

[itex] \frac{dx}{dt}=\frac{1}{2t} \Leftrightarrow dx=\frac{1}{2t}dt [/itex]

This gives us the following integral:

[itex] \int{\frac{t}{t^2+4}\cdot \frac{1}{2t}dt} = \int{\frac{1}{2t^2+8}dt} = \int{\frac{1}{\frac{1}{4}t^2+1}dt} [/itex]

The anti derivative of this is:

[itex] Arctan{(\frac{1}{4}t)} +c = Arctan{(\frac{1}{4}\sqrt{x+1})} +c [/itex]
 
  • #10
Almost. The anti-derivative of [itex]1/(u^2+ 1)[/itex] is arctan(u)+ C but with
[itex]1/(x^2/4+ 1)[/itex], u is NOT "x/4".
 
  • #11
Yeah ok well, I was afraid it might be so.

But I am not sure I really can see how you are going to use the Arctan connection... So could you or someone else perhaps be very kind and explain me how to use this fact and how to rearrange the equation so that you can use this connection.

Would be most appreciated! ;)
 
  • #12
lo2 said:
Ok I have come up with the following solution: (please correct me if I am wrong!)

We have this integral:

[itex] \int{\frac{\sqrt{x+1}}{x+5}dx} [/itex]

Where

[itex] t=\sqrt{x+1} \Leftrightarrow t^2+4=x+5 [/itex]

And where

[itex] \frac{dx}{dt}=\frac{1}{2t} \Leftrightarrow dx=\frac{1}{2t}dt [/itex]

This gives us the following integral:

[itex] \int{\frac{t}{t^2+4}\cdot \frac{1}{2t}dt} = \int{\frac{1}{2t^2+8}dt} = \int{\frac{1}{\frac{1}{4}t^2+1}dt} [/itex]

The anti derivative of this is:

[itex] Arctan{(\frac{1}{4}t)} +c = Arctan{(\frac{1}{4}\sqrt{x+1})} +c [/itex]

Did you actually look at what I wrote for you? I wrote the final answer for you too.

You have t2+4=x+5 so you get: dx/dt=2t → dx=2tdt
so you have t2 in your nominator and not t.
 
  • #13
supernova1387 said:
If you use t=sqrt[x+1], you will get :

I=2∫t2/(t2+4)dt . Now change the nominator, separate and integrate:


I=2∫t2/(t2+4)dt=2∫(t2+4-4)/(t2+4)dt=

2∫[1-4/(t2+4)]dt=2[∫1dt-4∫dt/(t2+4)]= 2 Sqrt[1 + x] - 4 ArcTan[Sqrt[1 + x]/2]

Well no I do not really understand this to be honest...

How do you get:

[itex] 2 \int{\frac{t^2}{t^2+4} dt}[/itex]

From:

[itex] \int{\frac{t}{t^2+4}\cdot \frac{1}{2t}dt} [/itex]

As far as I can see those are not the same :/
 
  • #14
Let's go back to your first attempt:
lo2 said:
By using the following substitution:

[itex] t=\sqrt{x+1}[/itex]

...

So I have [itex]t=\sqrt{x+1} \Rightarrow \frac{dx}{dt}=\frac{1}{2\sqrt{x+1}} \Rightarrow dx=dt \frac{1}{2\sqrt{x+1}} [/itex]

The expressions after the first right arrow aren't correct. If
[itex] t=\sqrt{x+1}[/itex],
then
[itex] dt=\frac{dx}{2\sqrt{x+1}}[/itex],
So
[itex] dx=2\sqrt{x+1} dt[/itex] and
[itex] dx=2t dt[/itex]

When you substitute into
[itex]\int{\frac{\sqrt{x+1}}{x+5}dx}[/itex]
you get
[itex]\int{\frac{t}{t^2 + 4}\cdot 2t dt}[/itex], or
[itex]\int \frac{2t^2}{t^2 + 4}[/itex]
 
  • #15
I have to apologise for my earlier post, which may have been misleading. Nothing cancels out, and you're left with:

[tex]2\int \frac{t^2}{t^2 + 4}dt[/tex]

as Eumyang wrote.

To resolve that, rewrite the integrand as [itex]\frac{t^2 + 4 - 4}{t^2 + 4} = 1 - \frac{4}{t^2 + 4} = 1 - \frac{1}{{(\frac{t}{2})}^2 + 1}[/itex].

So the integral becomes:

[tex]2\int 1 - \frac{1}{{(\frac{t}{2})}^2 + 1} dt[/tex]

That can be integrated either by observation, or if you want, by a simple substitution of [itex]u = \frac{t}{2}[/itex] to clarify the form.
 
  • #16
Ok now I have the solution solution: (please correct me if I am wrong!)

We have this integral:

[itex] \int{\frac{\sqrt{x+1}}{x+5}dx} [/itex]

Where

[itex] t=\sqrt{x+1} \Leftrightarrow t^2+4=x+5 [/itex]

And where

[itex] \frac{dt}{dx}=\frac{1}{2t} \Leftrightarrow dx=2tdt [/itex]

This gives us the following integral:

[itex] \int{\frac{t}{t^2+4}\cdot 2tdt} = 2\int{\frac{t^2}{t^2+4}dt} = 2\int{\frac{t^2+4-4}{t^2+4}dt}=2\int{1-\frac{1}{(\frac{t}{2})^2+1}dt} [/itex]

The anti derivative of this is, where I use the substitution [itex]u=\frac12[/itex]:

[itex] \frac{du}{dt}=\frac{1}{2} \Leftrightarrow du=\frac{1}{2}dt [/itex]


[itex] 2\int{1-\frac{1}{(\frac{t}{2})^2+1}dt}=2\int{2(1-\frac{1}{(\frac{t}{2})^2+1}\frac12)dt}=4\int{1-\frac{1}{(u)^2+1}du}=4(u-Arctan(u))=2\sqrt{x+1}-4Arctan(\frac12 \sqrt{x+1})+c [/itex]

So I guess this is how it should be solved?

And is [itex] Arctan=cot^{-1} [/itex] ?
 
  • #17
lo2 said:
Ok now I have the solution solution: (please correct me if I am wrong!)

We have this integral:

[itex] \int{\frac{\sqrt{x+1}}{x+5}dx} [/itex]

Where

[itex] t=\sqrt{x+1} \Leftrightarrow t^2+4=x+5 [/itex]

And where

[itex] \frac{dt}{dx}=\frac{1}{2t} \Leftrightarrow dx=2tdt [/itex]

This gives us the following integral:

[itex] \int{\frac{t}{t^2+4}\cdot 2tdt} = 2\int{\frac{t^2}{t^2+4}dt} = 2\int{\frac{t^2+4-4}{t^2+4}dt}=2\int{1-\frac{1}{(\frac{t}{2})^2+1}dt} [/itex]

The anti derivative of this is, where I use the substitution [itex]u=\frac12[/itex]:

[itex] \frac{du}{dt}=\frac{1}{2} \Leftrightarrow du=\frac{1}{2}dt [/itex]


[itex] 2\int{1-\frac{1}{(\frac{t}{2})^2+1}dt}=2\int{2(1-\frac{1}{(\frac{t}{2})^2+1}\frac12)dt}=4\int{1-\frac{1}{(u)^2+1}du}=4(u-Arctan(u))=2\sqrt{x+1}-4Arctan(\frac12 \sqrt{x+1})+c [/itex]

So I guess this is how it should be solved?

A couple of typos in your post, but your solution is correct, so I believe your method is, too.

And is [itex] Arctan=cot^{-1} [/itex] ?

No arctan is the inverse function of tan (tangent). It's often depicted as [itex]\tan^{-1}[/itex], and the exponent does not refer to the reciprocal, it refers to the inverse function. The cotangent (cot) is the reciprocal of tan. The inverse function of cot is called arccotangent, depicted as arccot, or [itex]\cot^{-1}[/itex], following the same convention.

I know you're asking the question because of what Wolfram outputted. The [itex]\cot^{-1}[/itex] term in the output is referring to the arccotangent function. This is a trigonometric identity (all the -1 exponents refer to inverse functions):

[tex]\tan^{-1}{y} = \cot^{-1}{\frac{1}{y}}[/tex]

so you should easily be able to see that your answer is the same as Wolfram's.
 
  • #18
How come you are so clever?
 
  • #19
lo2 said:
How come you are so clever?

If you're talking to me, well, I'm not, really, but it's nice of you to say so. :redface:
 
  • #20
Curious3141 said:
If you're talking to me, well, I'm not, really, but it's nice of you to say so. :redface:

I was indeed referring to you! But well thanks a lot for the help :)

Btw when solving integrals which includes division of some kind, e.g. two functions divided by each other. Is there a general approach to that, or does it depend on the concrete example?
 
  • #21
lo2 said:
I was indeed referring to you! But well thanks a lot for the help :)

Btw when solving integrals which includes division of some kind, e.g. two functions divided by each other. Is there a general approach to that, or does it depend on the concrete example?

It depends on the example. There's no one size fits all solution.
 
  • #22
Curious3141 said:
It depends on the example. There's no one size fits all solution.

Ok what about these kind of integrals:

[itex] \int{\frac{1}{ax+b}dx} [/itex]
 
  • #23
lo2 said:
Ok what about these kind of integrals:

[itex] \int{\frac{1}{ax+b}dx} [/itex]

This form is very simple to integrate.

[tex]\int {(ax+b)}^{-1} dx = \frac{1}{a}\ln |ax + b| + c[/tex]

You should be able to "immediately" integrate something this simple by observation alone. But if you're having trouble seeing why the answer is the way it is, try the substitution [itex]y = ax + b[/itex], or, equivalently, [itex]x = \frac{y - b}{a}[/itex].
 
  • #24
Yeah well that is fairly simple...

But also I made a typo actually I was referring to integrals of this kind, where as far I know you cannot just multiplicate the derivative on, as it is not merely constant.

The kind of integrals I was referring to, look like this:

[itex] \int{\frac{1}{ax^2+b}dx} [/itex]
 
  • #25
lo2 said:
Yeah well that is fairly simple...

But also I made a typo actually I was referring to integrals of this kind, where as far I know you cannot just multiplicate the derivative on, as it is not merely constant.

The kind of integrals I was referring to, look like this:

[itex] \int{\frac{1}{ax^2+b}dx} [/itex]
Factor a out of the denominator giving:

[itex]\displaystyle \int{\frac{1}{ax^2+b}dx} [/itex]
[itex]\displaystyle =\frac{1}{a}\int{\frac{1}{x^2+b/a}dx}[/itex]

[itex]\displaystyle =\frac{1}{a}\int{\frac{1}{x^2+\left(\sqrt{b/a}\right)^2}dx}[/itex]
Letting [itex]\displaystyle c=\sqrt{\frac{b}{a}}[/itex] gives you:

[itex]\displaystyle =\frac{1}{a}\int{\frac{1}{x^2+c^2}dx}[/itex]
 

FAQ: Need help solving this indefinite integral via integration by substitution

1. What is an indefinite integral?

An indefinite integral is the reverse process of differentiation in calculus. It involves finding a function whose derivative is equal to the original function.

2. What is integration by substitution?

Integration by substitution is a method used to solve indefinite integrals that involve a composition of functions. It involves substituting a variable in the integral with another variable, simplifying the integral, and then replacing the substituted variable with its original form.

3. How do I know when to use integration by substitution?

You should use integration by substitution when the integral involves a composition of functions, such as a polynomial nested inside a trigonometric function. This method is also helpful when the integral is in a form that can be simplified through substitution.

4. What are the steps to solve an indefinite integral using integration by substitution?

The steps are as follows:

  1. Identify the variable to be substituted in the integral.
  2. Choose a substitution for the identified variable.
  3. Find the derivative of the substituted variable.
  4. Substitute the variable and its derivative into the integral.
  5. Simplify the integral and solve for the new variable.
  6. Replace the substituted variable with its original form.

5. Are there any special cases when using integration by substitution?

Yes, there are two special cases:

  1. If the integral involves a trigonometric function, the substitution should be chosen to eliminate the trigonometric function.
  2. If the integral involves a radical, the substitution should be chosen to eliminate the radical.

Similar threads

Replies
12
Views
1K
Replies
22
Views
2K
Replies
4
Views
1K
Replies
8
Views
1K
Replies
22
Views
2K
Back
Top