Message Boards Message Boards

5 Replies
0 Total Likes
View groups...
Share this post:

Problem with a Calculus 1 Derivative Question

Posted 10 years ago

Let f '(x) = sin(x^2), Find h"(x) if h(x) = f(x^2)

POSTED BY: Noah Shelton
5 Replies
Posted 10 years ago

Yes, but what did you try that didn't seem to work?

POSTED BY: Jim Baldwin
Posted 10 years ago

I took the derivative of (sin(x^2)^2 and got 4xsin(x^2)cos(x^2) then i took the derivative of that answer but it was not correct. The correct answer is 2sin(x^4) + 8x^4 cos(x^4). I'm not understanding how to get this answer.

POSTED BY: Noah Shelton
Posted 10 years ago

I meant to say what did you type in what programming language that didn't work?

POSTED BY: Jim Baldwin

Why don't you just type it in to get an idea?

In[1]:= DSolve[D[f[x], x] == Sin[x^2], f, x]
Out[1]= {{f -> Function[{x}, C[1] + Sqrt[\[Pi]/2] FresnelS[Sqrt[2/\[Pi]] x]]}}

In[5]:= Clear[h, f]
f[x_] := Sqrt[\[Pi]/2] FresnelS[Sqrt[2/\[Pi]] x]
h[x_] := f[x^2]

In[8]:= D[h[x], x, x]
Out[8]= 8 x^4 Cos[x^4] + 2 Sin[x^4]

So Mathematica agrees with the answer your book presents. That's good, but not good enough: For sure, if the solution is given, you are proposed to find the solution path: Try to find the solution without solving the differential equation.

What happens if you don't know f itself, but only it's first derivative?

In[9]:= Clear[h, f]
h[x] := f[x^2]

In[11]:= D[h[x], x, x]
Out[11]= 2 Derivative[1][f][x^2] + 4 x^2 (f^\[Prime]\[Prime])[x^2]

What do you do?

  • use the derivative in the first summand, take care about the dependency from x - easy, you get one summand of the final solution here
  • take the derivative of the derivative (to get the second one), again take care about the dependency from x

That's the way your teacher intends you to go; all steps can by done inside Mathematica. Go ahead!

POSTED BY: Udo Krause

I took the derivative of (sin(x^2)^2

Oh no! That's the wrong beginning, sin(x^2)^2 is (f'(x))^2 and the exercise does neither require to consider it nor to take a derivation from it!

POSTED BY: Udo Krause
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract