Inner Product: Problem on Differentiability of f(x) = x

  • Context: Graduate 
  • Thread starter Thread starter krcmd1
  • Start date Start date
  • Tags Tags
    Inner product Product
Click For Summary

Discussion Overview

The discussion revolves around the differentiability of the function f(x) = x and its absolute value |f|. Participants explore the implications of inner products in this context, particularly focusing on the conditions under which |f| is differentiable.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant asserts that |f| is not differentiable for f(x) = x, particularly at x = 0.
  • Another participant challenges the calculation of the derivative g' = + <1, x>, suggesting a confusion between vector and numerical values.
  • A later reply clarifies that the derivative of a real function of two variables involves the gradient vector, which does not exist at (0,0) for the given function.
  • One participant questions the algebraic manipulation of exponents, specifically why (1/2)(x**2)**(-1/2)(2x) does not simplify to a unique value.
  • Another participant explains that the expression \sqrt{x^2} is equal to |x|, not x, due to the non-negativity of the square root function.
  • A participant acknowledges their misunderstanding of exponent rules and confirms that the initial application of the inner product was correct, but the misuse of exponents led to confusion regarding the differentiability of |x|.

Areas of Agreement / Disagreement

Participants generally agree that |f| is not differentiable at x = 0 for f(x) = x, but there is disagreement regarding the proper application of algebraic rules and the interpretation of derivatives in the context of inner products.

Contextual Notes

There are limitations in the discussion regarding the assumptions made about the nature of x (whether it is treated as a scalar or vector) and the conditions under which exponent rules apply. The discussion also highlights the need for clarity in differentiating between one-dimensional and multi-dimensional contexts.

krcmd1
Messages
61
Reaction score
0
I am working my lonely way through Spivack's "Calculus on Manifolds." (not a registered student anywhere, alas).

On p. 23 is a set of problems involving the inner product. I believe I've got it up to d), which asks for a function f:R->R s.t. f is differentiable but |f| is not differentiable.

I believe that |f| is not differentiable for f(x)=x. (if that's wrong I have to start the book all over).

I'm having trouble seeing how to reach this conclusion from consideration of the inner product. |f|**2 = <f,f>, and for g= <f,f>, g' = <x,1> + <1,x>,
F = g**(1/2) = |f|,

and if this is ok so far, I would expect something to be wrong with the next calculation:

F' =(1/2)g**(-1/2)(g') = (1/2)(x**2)**(-1/2) (2x) = 1.

Please help me understand what I've done wrong here. thanks

Ken C
 
Physics news on Phys.org
krcmd1 said:
I am working my lonely way through Spivack's "Calculus on Manifolds." (not a registered student anywhere, alas).

On p. 23 is a set of problems involving the inner product. I believe I've got it up to d), which asks for a function f:R->R s.t. f is differentiable but |f| is not differentiable.

I believe that |f| is not differentiable for f(x)=x. (if that's wrong I have to start the book all over).

I'm having trouble seeing how to reach this conclusion from consideration of the inner product. |f|**2 = <f,f>, and for g= <f,f>, g' = <x,1> + <1,x>,
F = g**(1/2) = |f|,

and if this is ok so far, I would expect something to be wrong with the next calculation:

F' =(1/2)g**(-1/2)(g') = (1/2)(x**2)**(-1/2) (2x) = 1.

Please help me understand what I've done wrong here. thanks

Ken C
You are correct that f(x)= x is such that |f|= |x| is not differentiable at x= 0.

You define g= <f, f>= <x, x>. Now x, here, is a vector not a number so g'= <x, 1>+ <1, x> is not right. If you are talking about 2 dimensions, then f= <x, y>, g= x2+ y2 so g'= 2x+ 2y a number, not a vector. You seem to be confusing vector values with numerical values.

If f(\vec{x})= &lt;x, y&gt;, then |f(\vec{x})|= \sqrt{x^2+ y^2}. Also, the derivative of a real function of two variables is basically the gradient vector (strictly speaking, it is the linear transformation, L(v), that corresponds to taking the dot product of the gradient vector with the vector v). Here that is
f&#039;(\vec{x})= \nabla f(x,y)= (x^2+ y^2)^{-1/2}&lt;x, y&gt;= \frac{1}{\sqrt{x^2+ y^2}}&lt;x, y&gt;
and, because of that fraction, that does not exist at (0,0).
 
Last edited by a moderator:
Hi Ken! :smile:

(have a square-root: √ and a square: ² :wink:)
krcmd1 said:
(1/2)(x**2)**(-1/2) (2x) = 1.

No, 2x/2√(x²) = x/|x| ≠ 1. :wink:
 
thank you both. If I may, follow up questions:

what rules forbid the usual algebra of exponentials (1/2)(x**2)**(-1/2)(2x) = x(x**2)**(-1/2) = x * x**[2*(-1/2] = x ** (1+ -1) ?

Is this my apparent confusion between one D vector and a number?
 
krcmd1 said:
what rules forbid …

The rule that xm/n is not uniquely defined …

for any integer n, it has n different values. :smile:
 
Are you asking why isn't \sqrt{x^2} = x but instead |x|?

If that's the case note that \sqrt{blah} \geq 0 but is x always greater than or equal to zero?
 
Thank you! So I can't in fact multiply exponents like (x**2)**(1/2) = x without knowing in advance that x=>0. It has been many years since I took algebra.

OK, then, it seems like my initial application of the inner product to showing that |x| is not differentiable is OK, until I misused the algebra of exponents, which, correctly applied, yields F' = x/|x| which is not a unique linear function.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
5
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K