Re: Solving a derivative
grapz said:
y = x e^ x csc x
This is what i did:
y' =( x e ^ x ) ( csc x )
i use product rule two times
y' = ( e ^ x ( x) + e ^ x ) ( csc x )
y' = ( - cot x csc x ) ( e ^ x ( x) + e^x) + ( e^x + e^x (x) + e ^ x) ( cscx)
is this right?
You have the right idea, but you have confused yourself. Mostly, you let the notation get out of hand.
y' =( x e ^ x ) ( csc x )
That is just wrong. That it 'y'. Why do you have it listed as "y-prime"? I know you don't mean that, but that is what you wrote.
y' = ( e ^ x ( x) + e ^ x ) ( csc x )
Again with the y-prime as in intermediate result. No good.
Be more careful.
y = x e^ x csc x
Take f(x) = x e^x
Then f'(x) = e ^ x ( x) + e ^ x
You had that, but with bad notation.
y = f(x) csc(x)
By the product rule
y' = f(x)*( - cot x csc x ) + f'(x)*csc(x)
This is were you went really off. Rather than insert the function, f(x) and its derivative, f'(x), you managed to use f'(x) and f"(x). You should have gotten:
y' = (x e^x)*( - cot x csc x ) + (e ^ x ( x) + e ^ x)*csc(x)
This is much simpler that your expression. Also, this can be simplified substantially.
y' = (e^x)(csc(x))(x + 1 - x cot(x))