Second derivative - wolfram giving one answer, professor giving another

Click For Summary

Discussion Overview

The discussion revolves around the calculation of the second derivative of the function defined by the differential equation y' = x² - y², as presented in a lecture. Participants explore the implications of implicit differentiation and the application of the chain rule in this context.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant questions the professor's expression for the second derivative, y'' = 2x - 2yy', suggesting that the term 2yy' should not arise when differentiating with respect to y.
  • Another participant asserts that the professor is correct, emphasizing that y is a function of x and that implicit differentiation should be applied.
  • A third participant clarifies that the second derivative's value depends on the independent variable used, reinforcing that y is understood as y(x) and that the derivative should be taken with respect to x.
  • There is a disagreement regarding the interpretation of the differentiation process, with some participants arguing about the correct application of the chain rule and the variables involved.

Areas of Agreement / Disagreement

Participants do not reach a consensus. There are competing views on the correct method for calculating the second derivative, with some supporting the professor's approach and others questioning it.

Contextual Notes

The discussion highlights the importance of understanding the independent variable in differentiation and the potential confusion arising from implicit versus explicit differentiation. There are unresolved aspects regarding the assumptions made in the differentiation process.

boredat20
Messages
10
Reaction score
0
Hi everybody.

I have a question regarding an example problem at about 22min on this lecture http://ocw.mit.edu/courses/mathemat...ecture-2-eulers-numerical-method-for-y-f-x-y/

The equation in question is y'=x^{2}-y^{2}.

In an example regarding the Euler method, Prof. Mattuck describes the second derivative of the above function as

y'' = 2x - 2yy'

specifically mentioning the chain rule. Now, as I understand it (working backwards of course), the only way to this solution would be to consider y^{2} as the function y(y(x)), giving the solution

yy' + y'y = 2yy'.

Now, assuming I correctly understand how the 2yy' portion of the solution was derived, my question is: how exactly was the second derivative determined to be

y""= 2x - 2yy' ?

If we take the derivative with respect to y (which presumably give us the 2yy' term we're looking for), wouldn't the "x" term (x^{2}) be zero, as shown:

d/dy (y')= d/dy (x^{2})- d/dy (y^{2}) \Rightarrow y''= 0 - 2yy'

Wolfram Alpha also seems to agree with me, but I'm afraid I'm more muddled than I'd like to believe
 
Physics news on Phys.org
If we know that y is a function of x, then your prof. is correct. This is an application of implicit differentiation.

boredat20 said:
Now, as I understand it (working backwards of course), the only way to this solution would be to consider y^{2} as the function y(y(x)), giving the solution

This is wrong. y2 is just what it looks like. y(x)*y(x)

boredat20 said:
If we take the derivative with respect to y (which presumably give us the 2yy' term we're looking for), wouldn't the "x" term (x^{2}) be zero, as shown:

This isn't right. On both sides, you're taking the derivative with respect to x, not y. Think about it. y'' is the derivative of y' with respect to x, not y. Following this methodology, you get:

\frac{d}{dx} y' = \frac{d}{dx}x^2 - \frac{d}{dx}y^2

With the application of the chain rule on y^2, you obtain the answer.
 
Last edited:
The value of the second derivative of y' = x^2 - y^2 depends on which variable is used as the independent variable. In this case, y is understood to represent y(x). When taking the derivative with respect to x, the function becomes y" = 2x - 2yy'. Your Mathematica calculation is not based on taking the derivative with respect to x, and the result is of course different.
 
Now I understand. Thanks!
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
929
  • · Replies 7 ·
Replies
7
Views
5K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K