Derivative of -x using first principle

Click For Summary
To find the derivative of -x using the first principle, the function is defined as f(x) = -x. The first principle formula is applied, where f(x+h) is correctly identified as -x-h, leading to the expression dy/dx = [(-x-h) - (-x)]/h. This simplifies to dy/dx = h/h, which equals 1, indicating a mistake in the earlier reasoning. The correct derivative of -x is -1, confirming that the initial assumption about the derivative being -1 is accurate.
rishi kesh
Messages
35
Reaction score
3

Homework Statement


This is a silly question,but i have a problem.How do we solve derivative of -x using first principle of derivative. I know that if derivative of x w.r.t x is 1 then ofcourse that of -x should be -1. Also it can be solved by product rule taking derivative of -1.x .

Homework Equations

The Attempt at a Solution


Here is how i attempted it:
f(x)= -x
f(x+h)= -x+h
Using first principle :
dy/dx = [-x+h-(-x)]/h
= h/h
= 1
what is wrong here?please help. Thanks in advance:smile::redface:
 
Physics news on Phys.org
f(x+h) = -x-h
 
blue_leaf77 said:
f(x+h) = -x-h
But how does that work? Why it isn't -x+h ?:oldconfused:
 
rishi kesh said:
But how does that work? Why it isn't -x+h ?:oldconfused:

Try ##x = 0## and see what you get.
 
PeroK said:
Try ##x = 0## and see what you get.
Hey! I think i got it!
When, f(x)= x^2
f(x+h)= (x+h)^2
If, f(x)= -x
f(x+h)= -(x+h)
= -x-h
Is this right?
 
  • Like
Likes PeroK
rishi kesh said:
Hey! I think i got it!
When, f(x)= x^2
f(x+h)= (x+h)^2
If, f(x)= -x
f(x+h)= -(x+h)
= -x-h
Is this right?

Quite right.
 
  • Like
Likes rishi kesh

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
961
  • · Replies 28 ·
Replies
28
Views
3K
  • · Replies 22 ·
Replies
22
Views
3K