# Substitution homework question

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:

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

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

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

~H

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:
Hootenanny
Staff Emeritus
Gold Member
suspenc3 said:
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$$

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

~H

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

Hootenanny
Staff Emeritus
Gold Member
suspenc3 said:
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

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:
do you mean..sin^2(pi t) = 1-cos^2(pi t)..and then sub?

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

HallsofIvy
Homework Helper
suspenc3 said:
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?

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$$

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").