Message Boards Message Boards

0
|
36608 Views
|
5 Replies
|
2 Total Likes
View groups...
Share
Share this post:
GROUPS:

How to do second derivative implicit differentiation using Wolfram Alpha?

Posted 10 years ago

How do I perform second derivative implicit differentiation using Wolfram Alpha? I'm looking for results that will give me the step-by-step solutions as I'm a first year calculus student trying to figure things out.

I've tried all of the obvious queries that I can think of without getting the desired results. If I type just the equation in it will give the results I'm seeking but without the step-by-step solution since it is not the primary output for the query.

Thanks for any assistance.

Here's an example of the results I get from just entering the equation x^2 + xy = 5 using Wolfram Alpha input in Mathematica (w/desired result circled):

enter image description here

P.S. Cross posted to http://mathematica.stackexchange.com/questions/51705/second-derivative-implicit-differentiation-using-wolfram-alpha-input

POSTED BY: Gary White
5 Replies

Dear Gary,

there is a lot of notation in Mathematica which might be unfamiliar at first but is very powerful. Most of the symbols are really useful. If you type

? /. 

so a question mark in front of the symbol you don't know you get a lot of info on it. If you then click on the >> symbol you go to the help page. You can also do this by highlighting the symbol and then clicking, e.g. Fn+F1 on a Mac, and something similar on Windows.

/. 

means "replace all". The help page shows how to use it and lots of examples. The examples are interactive so you can try out what the command does. These pages are really useful.

In the example above (last post)

y'[x] + x y''[x] == y[x]/x  /. {y'[x] -> -2 - y[x]/x}

you can read the /. symbol as "such that". So use the equation such that the replacement rules are taken into consideration. So it basically just substitutes y'[x] by -2-y[x]/x.

It is quite important to learn the (few and logical) rules behind the Wolfram Language. You will see in this community that you can do an awful lot of cool stuff with it. The linguistic input and Wolfram Alpha are very useful, but it is also important to learn the syntax behind the language. There are excellent tutorials on the Wolfram Website as well:

http://www.wolfram.com/training/courses/

Lot's of them are on demand and free! I understand though that the step-by-step solution is a very nice feature and that you want to use that for as many problems as possible.

Hope this helps, Marco

POSTED BY: Marco Thiel
Posted 10 years ago
POSTED BY: Gary White
Posted 10 years ago
POSTED BY: Bill Simpson

Hi Gary,

this probably does not really answer your question. I am also not quite sure what your input was and I cannot reproduce what you get, but if you do the calculation in two steps it works. First you take the first derivative

enter image description here

then calculate another derivative of the first result.

enter image description here

As you see you get to see step-by-step solutions. The second solution contains the first and second derivative. You then need to substitute the first result:

y'[x] + x y''[x] == y[x]/x  /. {y'[x] -> -2 - y[x]/x}

The only thing that remains is to solve for y''[x].

Solve[%, y''[x]]

From you screenshot I see that you have Mathematica and not only Wolfram Alpha, so this recipe should work. You have to do a bit of work by hand, but you get to see all the other intermediate steps shown.

I am not sure how to get this with step-by-step solutions with one query to Wolfram Alpha. What was your input?

Cheers, M.

POSTED BY: Marco Thiel
Posted 10 years ago
POSTED BY: Gary White
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract