0

I’m not sure if I should specify between a definite or an indefinite integral here but that’s the instance I’m specifically interested in.

I was thinking about an integration rule that states that if we have $\sin x$ raised to an odd power we let $u=\cos x$ and respectively with $\cos x$. I’m aware that this isn’t something that always works out but I tried to play with it.

Consider $$I=\int_{0}^{\frac{\pi}{4}}\tan x dx = \int_{0}^{\frac{\pi}{4}} \frac{\sin x}{\cos x}dx $$

This works out easily by letting $u=\cos x$ but letting $u=\sin x$

$$\int_{0}^{\frac{\sqrt 2}{2}} \frac{u}{du} $$

Can this be worked out? A comment here said we could maybe say $\frac{1}{dx}= \infty$

Do we just say that this is a bad substitution and move on? Is the answer to that integral different to what it would’ve been by doing the normal substitution?

  • 2
    Can you please edit your post to show us how you got the (wrong) result $\int_{0}^{\frac{\sqrt 2}{2}} \frac{u}{du}$? – Anne Bauval Mar 21 '23 at 13:30
  • 6
    If $u=\sin x$ then $du=\cos x dx \implies dx=\frac{du}{\cos x}$. Not sure how you got $du$ in the denominator. – Vasili Mar 21 '23 at 13:42
  • That’s embarrassing, I saw my teacher say something about how this substitution doesn’t work and he said this is what could happen and I didn’t think much of it. I vote this to be closed though the overall theme of my question still stands. – ericforman Mar 21 '23 at 18:10

1 Answers1

1

$\int_0^{\pi/4} \frac{\sin{x}}{\cos{x}}dx$

Note $u=\sin{x}$ does not imply $du=\cos{x}$, but rather $du=\cos{x}dx$.That in turn implies $dx=\frac{du}{\sqrt{1-u^2}}$

So $\frac{\sin{x} dx}{\cos{x}}=\frac{u}{du/dx}dx=\frac{u}{du}dx^2=\frac{u}{du}\frac{du^2}{1-u^2}=\frac{udu}{1-u^2}$

$\int\frac{udu}{1-u^2}=(-1/2)\ln{(1-u^2)}+C=-\ln{(\cos{x})}+C $

When messing with differential equations you might actually find something like $du$ in the denominator, but you'll have to cancel it out to get a meaningful integrand. There might be more flexibility with numerical methods.

TurlocTheRed
  • 5,683