# Substitution homework question

1. May 26, 2006

### suspenc3

Hi, Im having a little bit of trouble with the following:

$$\int sintsec^2(cost)dt$$

heres what I have so far

$$u=cost$$

$$du=-sintdt$$

$$-\int sec^2(u)du$$

$$-2tan(u) + C$$

is this right?

Last edited: May 26, 2006
2. May 26, 2006

### vsage

As I recall the derivative of tan(u) is sec^2(u)du

3. May 26, 2006

### suspenc3

yea but im integrating..so the antiderivative of sec^2(u) is tanu?

4. May 26, 2006

### Hootenanny

Staff Emeritus
$$\int \sec^2 x \; dx = \tan x +c$$

~H

5. May 26, 2006

### suspenc3

I have another..i dont know where to start..can someone point out what I should sub U for?

$$\int_{1/2}^{1/6}csc \pi t cot \pi t dt$$

Last edited: May 26, 2006
6. May 26, 2006

### Hootenanny

Staff Emeritus
My first step would be to turn the cosec and cot into sine and cosine. See where that takes you.

~H

7. May 26, 2006

### suspenc3

ok..so i did..
$$\int_{1/2}^{1/6} \frac{1}{sin\pi t) \frac{cos \pi t}{sin \pi t}dt$$
ended up with...
$$\int_{1/2}^{1/6} cot \pi t$$

im guessing its wrong haha

8. May 26, 2006

### Hootenanny

Staff Emeritus
It's almost there

$$\frac{1}{\sin \pi t} \cdot \frac{\cos \pi t}{\sin \pi t} = \frac{\cos \pi t}{\sin^2 \pi t}$$

Now, see what you can do with the identity $\sin^2 \theta + \cos^2 \theta = 1$. Btw, I think this can be done without a substitution.

~H

Last edited: May 26, 2006
9. May 26, 2006

### suspenc3

do you mean..sin^2(pi t) = 1-cos^2(pi t)..and then sub?

10. May 26, 2006

### arunbg

Try putting sin(pi*t) = x
What is dx ?

11. May 26, 2006

### HallsofIvy

Staff Emeritus
As others have pointed out, the anti-derivative of sec2(u) is tan(u), not -tan(u).

Also, the original problem does not say anything about "u"! That was your "invention". To properly answer the question, you need to go back to t:

$$\int sintsec^2(cost)dt= 2tan(cos(t)+ C$$

12. May 26, 2006

### EbolaPox

Actually, the original poster (with respect to the original question) is correct, save for the two.

$$\int sin(t) sec (cos(x))^2 dx$$

$$u = cos(x) du = -sin(x) dx$$ This is right. Substituting back yields

$$- \int sec(u)^2 du$$ Just as the OP said. The negative sign is the result of the du = -sin(x) dx part.

Now, the antiderivative of sec(x)^2 = tan(x) + C (as everyone as stated)

- ( tan(u) + C)
-tan(cos(x) + C.

The original poster's only error is the two infront. The minus sign is correct . Check with differentiatoin (or use the "Integrator").