The Student Room Group

Scroll to see replies

Reply 1
the_somalian
does anybody know?

i know you can integrate (cosx)^2 cosx by substitution, but what about cos2xcosx


cos(2x+x)=cos2x cosx - sin2x sinx

cos(2x-x)=cos2x cos x + sin2x sin x

so you have two equations cos3x and cos x. Add them together you get

2cos2xcosx = cos3x + cosx

divide both sides by two

1/2 (cos3x + cosx) then integrate :smile:
Reply 2
chunks123
cos(2x+x)=cos2x cosx - sin2x sinx

cos(2x-x)=cos2x cos x + sin2x sin x

so you have two equations cos3x and cos x. Add them together you get

2cos2xcosx = cos3x + cosx

divide both sides by two

1/2 (cos3x + cosx) then integrate :smile:
to get 1/3sin3x + sinx?

what are the two equations exactly? :O

and thanks
the_somalian
does anybody know?

i know you can integrate (cosx)^2 cosx by substitution, but what about cos2xcosx

By parts?

EDIT: Previous method is prettier. Either way is good.
Reply 4
and can anybody please confirm that d(2^x)/dx = xln2?
Reply 5
the_somalian
to get 1/3sin3x + sinx?

what are the two equations exactly? :O

and thanks


The two equations are the trigonemtric identities from C3.

No the if you integrate 1/2 (cos3x + cosx) you get 1/6 sin3x + 1/2sinx +c.
The 1/2 is outside the brackets.
Reply 6
Hedgeman49
By parts?

EDIT: Previous method is prettier. Either way is good.



I don't think you can do it by parts can u?
Reply 7
chunks123
The two equations are the trigonemtric identities from C3.

No the if you integrate 1/2 (cos3x + cosx) you get 1/6 sin3x + 1/2sinx +c.
The 1/2 is outside the brackets.
i'm confused

i thought it was ONLY the cos(2x+x) formula that you use for this case?

(and yeah it should be 1/6sin3x + 1/2sinx +c, i forgot to multiply by 1/2 and add on C -.-)

thanks
the_somalian
and can anybody please confirm that d(2^x)/dx = xln2?

Alternatively to the method above, note that 2x=elnx2=exln22^x = e^{\ln x^2} = e^{x\ln 2} using the following laws of logs:

alogaN=Na^{\log _aN} = N

logabc=clogab\log _a b^c = c\log _a b

Now you can differentiate that like you would normally differentiate e functions:
ddx[exln2]=ln2×exln2=ln2×2x=2xln2\frac{d}{dx} \left[e^{x\ln 2}\right] = \ln 2 \times e^{x\ln2} = \ln 2 \times 2^x = 2^x\ln 2 as required. So no, it's not xln2.
chunks123
I don't think you can do it by parts can u?


u = cosx, du/dx = -sinx
dv/dx = cos2x, v = 1/2sin2x

I = 1/2sinxcosx + integral of 1/2sin2xsinx
I = 1/4sin2x + 1/2(Integral 2)

Integral 2:
u = sinx, v = cosx
dv/dx = sin2x, v = -1/2cos2x

I2 = -1/2cos2xsinx + 1/2I

Therefore

I = 1/4sin2x -1/4cos2xsinx + 1/4I
3/4I = 1/4sin2x - 1/4cos2xsinx

so I = 1/3(sin2x - cos2xsinx).
Reply 10
Farhan.Hanif93
Alternatively to the method above, note that 2x=elnx2=exln22^x = e^{\ln x^2} = e^{x\ln 2} using the following laws of logs:

alogaN=Na^{\log _aN} = N

logabc=clogab\log _a b^c = c\log _a b

Now you can differentiate that like you would normally differentiate e functions:
ddx[exln2]=ln2×exln2=ln2×2x=2xln2\frac{d}{dx} \left[e^{x\ln 2}\right] = \ln 2 \times e^{x\ln2} = \ln 2 \times 2^x = 2^x\ln 2 as required. So no, it's not xln2.
thanks again..

but how would YOU integrate cos2x cosx?
Reply 11
Hedgeman49
u = cosx, du/dx = -sinx
dv/dx = cos2x, v = 1/2sin2x

I = 1/2sinxcosx + integral of 1/2sin2xsinx
I = 1/4sin2x + 1/2(Integral 2)

Integral 2:
u = sinx, v = cosx
dv/dx = sin2x, v = -1/2cos2x

I2 = -1/2cos2xsinx + 1/2I

Therefore

I = 1/4sin2x -1/4cos2xsinx + 1/4I
3/4I = 1/4sin2x - 1/4cos2xsinx

so I = 1/3(sin2x - cos2xsinx).


Hey thanks :smile:.

How can i integrate cos^2 x cosx? Would substitution work?
Reply 12
the_somalian
does anybody know?

i know you can integrate (cosx)^2 cosx by substitution, but what about cos2xcosx


i would assume the following:

rewrite cos2x as 2cos^2(x)-1
then cos2xcosx integral becomes integral of 2(cosx)^3 - cosx dx

and cos^3 is the same as cos^2cosx which you said you could do
Reply 13
Hedgeman49
u = cosx, du/dx = -sinx
dv/dx = cos2x, v = 1/2sin2x

I = 1/2sinxcosx + integral of 1/2sin2xsinx
I = 1/4sin2x + 1/2(Integral 2)

Integral 2:
u = sinx, v = cosx
dv/dx = sin2x, v = -1/2cos2x

I2 = -1/2cos2xsinx + 1/2I

Therefore

I = 1/4sin2x -1/4cos2xsinx + 1/4I
3/4I = 1/4sin2x - 1/4cos2xsinx

so I = 1/3(sin2x - cos2xsinx).


in the first part, isn't v*du/dx negative?
the_somalian
thanks again..

but how would YOU integrate cos2x cosx?

Well if you note that cos2x=12sin2x\cos 2x = 1 - 2\sin ^2x and rewrite the integral using this, you get:

(12sin2x)cosxdx\displaystyle\int (1-2\sin ^2x)\cos xdx

Now let u=sinx    dudx=cosx    du=cosxdxu=\sin x \implies \frac{du}{dx} = \cos x \implies du = \cos xdx

Then by using that sub you can replace the cosxdx with du because they are equivalent according to the above so you get:
(12u2)du\displaystyle\int (1-2u^2) du and that's easy to integrate.

I can't believe all the mentions of parts and factor formulae or multiplying cosx into it. This is by far the simplest.
gilkesk
in the first part, isn't v*du/dx negative?

It is, but the stuff I was integrating was also negative so it cancelled out. I just didn't write the step in.
Reply 16
Farhan.Hanif93
Well if you note that cos2x=12sin2x\cos 2x = 1 - 2\sin ^2x and rewrite the integral using this, you get:

(12sin2x)cosxdx\displaystyle\int (1-2\sin ^2x)\cos xdx

Now let u=sinx    dudx=cosx    du=cosxdxu=\sin x \implies \frac{du}{dx} = \cos x \implies du = \cos xdx

Then by using that sub you can replace the cosxdx with du because they are equivalent according to the above so you get:
(12u2)du\displaystyle\int (1-2u^2) du and that's easy to integrate.

I can't believe all the mentions of parts and factor formulae or multiplying cosx into it. This is by far the simplest.



hey i used the same identity as yours, but think i found an even simpler method:

cos2xcosx = (1-2sin^2x)cosx

= cosx-2sin^2cosx

and then integrating, can use reverse chain rule for 2sin^2xcosx

= sinx +2/3(sin^3(x))

am i right?
Reply 17
Farhan.Hanif93
Well if you note that cos2x=12sin2x\cos 2x = 1 - 2\sin ^2x and rewrite the integral using this, you get:

(12sin2x)cosxdx\displaystyle\int (1-2\sin ^2x)\cos xdx

Now let u=sinx    dudx=cosx    du=cosxdxu=\sin x \implies \frac{du}{dx} = \cos x \implies du = \cos xdx

Then by using that sub you can replace the cosxdx with du because they are equivalent according to the above so you get:
(12u2)du\displaystyle\int (1-2u^2) du and that's easy to integrate.

I can't believe all the mentions of parts and factor formulae or multiplying cosx into it. This is by far the simplest.
YES!
Tommy Jay
hey i used the same identity as yours, but think i found an even simpler method:

cos2xcosx = (1-2sin^2x)cosx

= cosx-2sin^2cosx

and then integrating, can use reverse chain rule for 2sin^2xcosx

= sinx +2/3(sin^3(x))

am i right?

Yes it appears so (although not everyone doing C4 has been taught recognition so I avoided it). It also can be quite difficult to spot the trig integrals that can be done by recognition and I think he asked for a sub. Although your method is perfectly valid :smile:.
Jangrafess
x


Happy Birthday :h:

Latest