Differentiating twice with respect to x

  • Thread starter Thread starter sooty1892
  • Start date Start date
  • Tags Tags
    Differentiating
sooty1892
Messages
5
Reaction score
0

Homework Statement



Differentiate twice: z = sinx


Homework Equations



Product rule
Chain rule

The Attempt at a Solution



dy/dx = dy/dz * dz/dx

dy/dx = dy/dz * cosx

Using the product rule:

d^2y/dx^2 = d^2y/dz^2 * cosx - dy/dz * sinx

According to the answer in the book the answer is: d^2y/dx^2 = d^2y/dz^2 * cos^2x - dy/dz * sinx but I don't see how.

Thanks for any help.
 
Physics news on Phys.org
Why are you considering the product and chain? Product is used when you find the derivative of a product f.g , and chain is used when you have an expression f(g(x)),
and I don't see how you have either of these.
 
Ok. You're right that I don't use the chain rule but the product rule is used when differentiating dy/dx = dy/dz * cosx since there's 2 parts which both have variables.
 
sooty1892 said:

Homework Statement



Differentiate twice: z = sinx


Homework Equations



Product rule
Chain rule

The Attempt at a Solution



dy/dx = dy/dz * dz/dx

dy/dx = dy/dz * cosx

Using the product rule:

d^2y/dx^2 = d^2y/dz^2 * cosx - dy/dz * sinx

According to the answer in the book the answer is: d^2y/dx^2 = d^2y/dz^2 * cos^2x - dy/dz * sinx but I don't see how.

Thanks for any help.

You need to be more careful when posing questions. The question you wrote has no y in it anywhere. Did you mean "find d^y/dx^2, when y = f(z) and z = sin(x)"?

RGV
 
I think I do. This is part of a much larger second order differential equations question where z = sin(x) is a substitution.
 
Back
Top