How is the Product Rule applied to find y in the equation y=-1/2 x cosx?

afcwestwarrior
Messages
453
Reaction score
0
y=-1/2 x cosx



y'=1/2 x sinx + cos x -1/2

y"= 1/2 x cosx - sin x 1/2 + cos x + -1/2 - sin x

y"= 1/2 x cos^2x


I used the product rule (fg)'=fg'+gf'
 
Physics news on Phys.org
I am an amateur myself but I recall (hopefully) that cos(x) differentiates to -sin(x)

EDIT: I didn't see the negative sorry
 
If your first derivative is

<br /> y&#039; = \frac 1 2 x \sin x - \frac 1 2 \cos x<br />

that is correct.

I do not believe your second derivative is correct.
 
Will the second derivative be
y"=1/2 x cos x + sin x * 1/2 - 1/2 - sin x

y"=1/2 x cos x + 1/2 sin x + 1/2 sin x
 
Well I'm doing differential equations and I have to match it with Y" + y= sin x
 
afcwestwarrior said:
y=-1/2 x cosx



y'=1/2 x sinx + cos x -1/2

y"= 1/2 x cosx - sin x 1/2 + cos x + -1/2 - sin x

y"= 1/2 x cos^2x


I used the product rule (fg)'=fg'+gf'

y''= (1/2)xcosx + sinx

I didn't get the ^2x part.
 
Unassuming said:
y''= (1/2)xcosx + sinx

I didn't get the ^2x part.

How'd you get that second derivative. I did it wrong how'd u do it, you did it right
 
When you add Y"+y=sin x




(1/2)xcosx + sinx + -1/2 x cosx

which becomes sin x
 
Back
Top