2

So my professor gave us this solution to the following integral:

$\int \frac{dx}{x\sqrt{x^2-1}}= \int \frac{xdx}{x^2\sqrt{x^2-1}}$

Here he substituted $t=\sqrt{x^2-1}$ from which $t^2=x^2-1$, but what I don't understand is why he then wrote $2xdx=2tdt$ from which $xdx=tdt$ and from here:

$\int\frac{tdt}{(1+t^2)t}= \arctan t + C = \arctan (\sqrt{x^2-1}) + C$

Now am a newbie at integrating, but usually when I solve integrals by substitution, let's say $\int \sqrt{1+x^2} dx$, I would substitute $x$ with $\sinh t$ where $t=\arcsin x$ and since $\frac{dx}{dt}=\cos t$, then I would go on to substitute $dx$ with $\cos t dt$. But in the problem above, my Professor did not determine $dx$ by taking the derivative of $x$ according to $t$ and that's why I'm confused.

downmath
  • 329
  • 1
    Use the chain rule: $$ 2t = \frac{{dt^2 }}{{dt}} = \frac{{d(x^2 (t) - 1)}}{{dt}} = \frac{{dx^2 (t)}}{{dt}} = 2x(t)\frac{{dx(t)}}{{dt}} = 2x\frac{{dx}}{{dt}}. $$ It is easier if you think about $x$ as a function of $t$, i.e., you write $x(t)$. – Gary Apr 16 '22 at 23:12

2 Answers2

7

When you look at the integrand $$\frac{1}{x\sqrt{x^2-1}},$$ it would be "nice" if there was a factor of $x$ in the numerator, because $$\frac{d}{dx}[x^2] = 2x.$$ And because the denominator already has a factor of $x$, we can get away with this: $$\frac{1}{x\sqrt{x^2-1}} = \frac{x}{x^2 \sqrt{x^2 - 1}},$$ so now the substitution $u = x^2$, $du = 2x \, dx$ would give us $$\frac{x}{x^2 \sqrt{x^2 - 1}} \, dx = \frac{1}{2} \frac{du}{u \sqrt{u-1}}.$$ But we still have a $u-1$ in the square root. So this is easily fixed: just choose instead $$u = x^2 - 1, \quad du = 2x \, dx.$$ This would give us $$\frac{x}{x^2\sqrt{x^2 - 1}} \, dx = \frac{1}{2}\frac{du}{(u+1)\sqrt{u}}.$$ But this still doesn't quite get us there, because even if we expand the denominator, it isn't clear how to proceed. So clearly, we need to make a substitution that removes the square root; e.g, $$v = \sqrt{u}, \quad u = v^2, \quad du = 2v \, dv,$$ gives $$\frac{1}{2} \frac{du}{(u+1)\sqrt{u}} = \frac{v \, dv}{(v^2+1)v} = \frac{dv}{v^2+1},$$ which is equivalent to what your professor wrote (with $t$ instead of $v$).

Of course, this line of reasoning can be condensed down to a single substitution, for if $u = x^2 - 1$ and $v = \sqrt{u}$, then $$v = \sqrt{x^2-1}, \quad v^2 = x^2 - 1,$$ and differentiation yields $$2v \, dv = 2x \, dx.$$ This is basically what your professor did.

How does $v^2 = x^2 - 1$ give us $2v \, dv = 2x \, dx$? This is an exercise in implicit differentiation, remembering that $v$ is an implicit function of $x$: $$\frac{d}{dx}[v^2] = 2v \frac{dv}{dx},$$ and $$\frac{d}{dx}[x^2 - 1] = 2x.$$ Therefore, $$2v \frac{dv}{dx} = 2x$$ and now treating the derivative $dv/dx$ as a ratio of differentials, we get the claimed result.

heropup
  • 135,869
1

Yes. The problem, of course, is that like with so much else in maths, simply memorizing a procedure alone won't really help. You need to understand the procedure in depth so that you can first identify, then next rearrange its elements and do things like this, and even better, know when and why you can and cannot do so under certain circumstances.

Integration by substitution is really like any other substitution and, in this regard, it is helpful to go back to elementary algebra. In the purely algebraic equation

$$x^2 + x + 1 = 3$$

we can substitute $7$ for $x$, or $-3$ for $x$, or any other value for $x$. We will typically get something false, but that is irrelevant to the basic mechanic of substitutions, which is just replacing one term for another term(*). When we have two variables, we can likewise do similar, e.g.

$$x^2 + y^2 = 9$$

and substitute $2$ for $x$ and $100$ for $y$ or $0.3$ for $x$ and $\pi$ for $y$ - the important point here is that, in general substitution, we can just substitute arbitrarily.

In the case of integration by substitution, however, we have two things. One of these is that in the integral

$$\int f(x)\ dx$$

we can substitute for any of the terms $x$, $f$, or $dx$ independently, just as before. The second is that, though, we are not just trying to use substitution to "massage" an integral, but we are trying to use substitution to evaluate an integral, and so we must make sure that our substitutions do not change the end value thereof, and thus that our substitutions are suitably constrained.

For example, back at algebra, if we are trying to solve $x^2 + x + 1 = 5$ by substitution, we should only substitute for $x$ something that will not rule out the possibility that we can still get $5$ on the left-hand side, which could either be a raw guess that $x = 1$ or, much more powerfully, a substitution involving other variables, say $x = y + h$, such that we can then control one to see if we can change the equation to a more favorable form (try $h = -\frac{1}{2}$).

The trick here is that replacing $x$ with $y + h$ does not compromise the potential range of $x$ so that some of the new variables will be unable to, if themselves substituted, generate sums that will cover the (as-yet unknown) solutions of the equation, but if we randomly replaced $x$ with, say, $5$, we now constrain the value of $x$ so bad that we have completely wiped out where the actual solution lies and thus the equation becomes always false (i.e. $31 = 3$).

Likewise, when doing integrals, we must, when we substitute for $x$, not then substitute for $dx$ in such a way that the integral's value changes. We are not "prescribing an algorithm" for doing the integral, but rather "setting a constraint" on an otherwise free manipulative process of plugging for $x$ and $dx$ as separate substitutibles that we can, so long as we understand what that constraint is and obey it, perform in any number of ways including, and especially - ones with cleverness and ingenuity.

And that relevant constraint here is that if you are going to substitute $x$ and $dx$ with different things, you must substitute them with things obeying the rule that

$$x = g(y) \leftrightarrow dx = g'(y)\ dy$$

. But beyond that, it doesn't matter whether you chose $x$ first, or chose - yes - $dx$ first, or chose - as in this case, something else first that then gave $x$ and $dx$ both as derivations (not "differentiation" sense but the general word sense) therefrom, so long as you just ensure that the substitutions for $x$ and $dx$ that you come up with in the end ultimately obey the constraint! And your Professor took an alternate route to achieving just that, namely via implicit differentiation.


(*) Terms are the units or "chunks" of mathematical expressions or, to put another way, they are the "nodes" in a grammar tree for the mathematical sentence, just as words, phrases, etc. are the "nodes" in the grammar trees for sentences in natural languages.