When does substitution not work?

In summary, integration by substitution involves substituting for the integration measure before doing the integral, not after. The substitution is usually chosen so that the integrand has an "inner" function and its derivative as a factor, and the integral can be rewritten in terms of the new variable.
  • #1
TylerH
729
0
I noticed that there are some functions that when integrated by substitution, are incorrect. Such as (1-x^2)^(-1/2). The answer is obviously arcsinx, but if you integrate with substitution, set u = 1-x^2, du = -2x dx. Then use anti power rule to go from u^(-.5) to 2u^(.5), then divide by -2x and rewrite u in terms of x you get -(1-x^2)^.5/x. As you'll notice, there's an asymptote at x=0, thus they are not the same(although very similar in terms of slope at x near +-1). Closer analysis shows that it's the quotient rule that leads to extraneous terms when you differentiate the false integral.

So, my question is: whether there is a set of rules to know when substitution will result in something like this? And if so, what are they?

PS I tried using Latex, and for some reason it keeps showing the last equation I posted yesterday. I don't know whether it's a BB bug or a FF bug, but it's annoying.

Thanks,
Tyler
 
Physics news on Phys.org
  • #2
As far as the LaTex bug, if you hit "Preview Post" and then refresh your browser before hitting "Submit Reply" this will fix it.

I think you are confused about how integration by substitution works. You need to substitute for the integration measure (dx, du, or whatever) before you do the integral, not after. So the substitution you suggested would go as follows:
[tex]\int\frac{1}{\sqrt{1-x^2}}dx[/tex]
[tex] u=1-x^2; x=\sqrt{1-u}; du = -2x dx ; dx = \frac{-du}{2\sqrt{1-u}}[/tex]
[tex]\int\frac{1}{\sqrt{1-x^2}}dx = -\int\frac{du}{2\sqrt{u-u^2}}[/tex]

This hasn't really simplified things, and isn't simply a power that you can apply the anti-power rule.
 
  • #3
OH! Well, I guess that's what I get for trying to learn Calculus from Wikipedia. (Not that I blame them, I blame myself for delving intosuch a topic without being properly prepared.) So, to do substitution, you

[tex]\int f(g(x)) dx[/tex]
[tex]u=g(x);x=g^{-1}(u);du=dg(x);dx=dg^{-1}(u)[/tex]
[tex]\int f(g(x)) dx = \int f(g(x))*dg^{-1}(u)[/tex]
Is that right? Seems wrong. Once you have all the info in line 2, what do you do with it?
 
  • #4
TylerH said:
OH! Well, I guess that's what I get for trying to learn Calculus from Wikipedia. (Not that I blame them, I blame myself for delving intosuch a topic without being properly prepared.) So, to do substitution, you

[tex]\int f(g(x)) dx[/tex]
[tex]u=g(x);x=g^{-1}(u);du=dg(x);dx=dg^{-1}(u)[/tex]
[tex]\int f(g(x)) dx = \int f(g(x))*dg^{-1}(u)[/tex]
Is that right? Seems wrong. Once you have all the info in line 2, what do you do with it?
With the substitution u = g(x), du = g'(x)dx, you get
[tex]\int f(u) du[/tex]
If you can find an antiderivative for f, then the choice for the substitution was a good one. The substitution method is basically the chain rule in reverse.

For example, suppose you need to evaluate the following:
[tex]\int xsin(x^2) dx[/tex]

The obvious substitution is u = x2, du = 2xdx.
So
[tex]\int xsin(x^2) dx = (1/2) \int sin(x^2)2xdx = (1/2)\int sin(u)du = -(1/2)cos(u) + C[/tex]
[tex]=-(1/2)cos(x^2) + C[/tex]
 
  • #5
So, the x outside the sine canceled out with the x in du, you divided by 2 because of the 2 in du, and it's negative because the antiderivative of sine is -cosine. Got it, thanks.
 
  • #6
TylerH said:
So, the x outside the sine canceled out with the x in du, you divided by 2 because of the 2 in du, and it's negative because the antiderivative of sine is -cosine. Got it, thanks.

[tex]\displaystyle \int{f\left(u(x)\right)\,\frac{du}{dx}\,dx} = \int{f(u)\,du}[/tex].

Basically your integrand needs to have an "inner" function and also have the inner function's derivative as a factor.

For your example

[tex]\displaystyle \int{x\,\sin{(x^2)}\,dx}[/tex]

the "inner" function is [tex]\displaystyle x^2[/tex], and its derivative is [tex]\displaystyle 2x[/tex]. Your function almost has [tex]\displaystyle 2x[/tex] as a factor.

If you rewrite it as [tex]\displaystyle \int{x\,\sin{(x^2)}\,dx} = \frac{1}{2}\int{2x\,\sin{(x^2)}\,dx}[/tex] now the integral is of the required form.

So make the substitution [tex]\displaystyle u = x^2[/tex] so that [tex]\displaystyle \frac{du}{dx} = 2x[/tex] and the integral becomes

[tex]\displaystyle \frac{1}{2}\int{\sin{u}\,\frac{du}{dx}\,dx} = \frac{1}{2}\int{\sin{u}\,du}[/tex]

[tex]\displaystyle = -\frac{1}{2}\cos{u} + C[/tex]

[tex]\displaystyle = -\frac{1}{2}\cos{(x^2)} + C[/tex].
 

1. When does substitution not work?

Substitution does not work when the equation is not a linear equation. This means that the equation does not have a variable with an exponent of 1, and therefore cannot be solved using substitution.

2. Can substitution be used for all types of equations?

No, substitution can only be used for linear equations. Other types of equations, such as quadratic or exponential equations, require different methods of solving.

3. How do I know when to use substitution?

Substitution is typically used when you are given two equations and are asked to find the values of the variables that make both equations true. In this case, substitution can be used to solve for one variable and then plug that value into the other equation.

4. Can substitution lead to incorrect solutions?

Yes, if the equations are not set up correctly or if a mistake is made during the substitution process, it can lead to incorrect solutions. It is important to double check your work and make sure the substituted value satisfies both equations.

5. Are there any limitations to using substitution?

One limitation of using substitution is that it can only be used for systems of two equations with two variables. If you have more than two equations or variables, a different method of solving, such as elimination, may be necessary.

Similar threads

  • Calculus
Replies
6
Views
1K
Replies
3
Views
1K
Replies
4
Views
353
  • Calculus
Replies
1
Views
1K
Replies
1
Views
969
Replies
1
Views
938
  • Calculus and Beyond Homework Help
Replies
12
Views
1K
Replies
5
Views
2K
Replies
4
Views
1K
Replies
5
Views
1K
Back
Top