Derivative using first principle definition

Click For Summary

Homework Help Overview

The problem involves calculating the derivative of the function f(x) = x^3 - 3x^2 using the first principle definition of derivatives.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the algebraic manipulation of the derivative definition and question the cancellation of terms in the expression. There are attempts to clarify the correct form of the expression after simplification.

Discussion Status

The discussion is ongoing with participants providing feedback on each other's algebraic steps. Some participants have pointed out potential errors and typos in the calculations, while others are working to clarify the correct expressions involved.

Contextual Notes

There are indications of confusion regarding the cancellation of terms and the proper handling of the limit as h approaches 0. Participants are also addressing typographical errors that may affect the calculations.

pbonnie
Messages
92
Reaction score
0

Homework Statement


Calculate the derivative of f(x) = x^3 - 3x^2


Homework Equations


(f(x+h) - f(x))/h


The Attempt at a Solution


Just wondering if someone can check my solution.
(f(x+h)- f(x))/h= ((x+h)^3- 3(x+h)^2- (x^3-3x^2))/h
= (x^3+ 3x^2 h+3xh^2+ h^3-3(x^2+ 2xh+ h^2 )- x^3+3x^2)/h
= (x^3+3x^2 h+3xh^2+h^3-3x^2-6xh-3h^2-x^2+3x^2)/h
= (x^3+3x^2 h+3xh^2+h^3-6xh-3h^2-x^2)/h
= x3 + 3x2 + 3xh + h2 – 6x – 3h –x2
= x3 + 2x2 + 3xh + h2 – 6x – 3h

lim┬(h→0)⁡〖x^3+ 2x^2- 6x〗

f’(x) = x^3+ 2x^2- 6x
 
Physics news on Phys.org
pbonnie said:

Homework Statement


Calculate the derivative of f(x) = x^3 - 3x^2


Homework Equations


(f(x+h) - f(x))/h


The Attempt at a Solution


Just wondering if someone can check my solution.
(f(x+h)- f(x))/h= ((x+h)^3- 3(x+h)^2- (x^3-3x^2))/h
= (x^3+ 3x^2 h+3xh^2+ h^3-3(x^2+ 2xh+ h^2 )- x^3+3x^2)/h
= (x^3+3x^2 h+3xh^2+h^3-3x^2-6xh-3h^2-x^2+3x^2)/h
= (x^3+3x^2 h+3xh^2+h^3-6xh-3h^2-x^2)/h
= x3 + 3x2 + 3xh + h2 – 6x – 3h –x2
= x3 + 2x2 + 3xh + h2 – 6x – 3h

lim┬(h→0)⁡〖x^3+ 2x^2- 6x〗

f’(x) = x^3+ 2x^2- 6x

You are doing the right general thing but the algebra starts going badly after the third line. How come the x^3 and the 3x^2 didn't just cancel? Then I completely start losing track.
 
I thought they could only cancel out if they were of the same degree?
 
It's 3x^2h so I think I can't cancel it out without a negative 3x^2h?
 
Sorry, I copy and pasted it from word and didn't edit it, I see now what you mean
 
The third line should read:
(x^3 + 3x^2h + 3xh^2 + h^3 - 3x^2 - 6xh - 3h^2 - x^2 + 3x^2)/h
 
pbonnie said:
The third line should read:
(x^3 + 3x^2h + 3xh^2 + h^3 - 3x^2 - 6xh - 3h^2 - x^2 + 3x^2)/h
There's still at least one error/typo there .

Should be :

(x^3 + 3x^2h + 3xh^2 + h^3 - 3x^2 - 6xh - 3h^2 - x^3 + 3x^2)/h

Right ?
 
Oh! Typo. So f(x+h) - f(x) should be 3x^2 + 3xh + h^2 - 6x - 3h
And the limit would be
3x^2 - 6x
?
 
pbonnie said:
Oh! Typo. So f(x+h) - f(x) should be 3x^2 + 3xh + h^2 - 6x - 3h
And the limit would be
3x^2 - 6x
?

That's really (f(x+h)-f(x))/h. But yes, that's the right limit.
 
  • #10
Great, thank you both :)
 

Similar threads

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