Differential (derivative from first principles)

  • Thread starter Thread starter 5ymmetrica1
  • Start date Start date
  • Tags Tags
    Differential
5ymmetrica1
Messages
88
Reaction score
0
1. Homework Statement [/b]
find from the first principles the derivitive of f(x) = \frac{1}{1 - x}

Homework Equations


f'(a) = \frac{f(a+h) - f(a)}{h}


The Attempt at a Solution



f'(x) = \frac{\frac{1}{1-(x+h)} - \frac{1}{1-x}}{h}

f'(x) = \frac{(1-x) - (1-(x+h))}{h(1-x)(1-(x+h))}

but I'm unsure where to go from here
 
Last edited by a moderator:
Physics news on Phys.org
5ymmetrica1 said:
1. Homework Statement [/b]
find from the first principles the derivitive of f(x) = \frac{1}{1 - x}

Homework Equations


f'(a) = \frac{f(a+h) - f(a)}{h}


The Attempt at a Solution



f'(x) = \frac{\frac{1}{1-(x+h)} - \frac{1}{1-x}}{h}

f'(x) = \frac{(1-x) - (1-(x+h)}{h(1-x)(1-(x+h)}

but I'm unsure where to go from here
You miss some parentheses. After fixing it, expand the expressions and simplify. Then take the limit h-->0.


ehild
 
Last edited by a moderator:
by opening up the top parentheses and expanding the bottom I get

\frac{1-x-1-x+h}{h(1-3x+x^2)}

and upon simplifying I have...

\frac{-2x+h}{h-3xh+x^2h}

is there correct or am I doing it wrong?
 
5ymmetrica1 said:
by opening up the top parentheses and expanding the bottom I get

\frac{1-x-1-x+h}{h(1-3x+x^2)}

and upon simplifying I have...

\frac{-2x+h}{h-3xh+x^2h}

is there correct or am I doing it wrong?


You are doing it wrong. -(1-x+h)=(-1+x-h).
 
5ymmetrica1 said:
f'(a) = \frac{f(a+h) - f(a)}{h}
The equality sign tells us that the expression on the left represents the same number as the expression on the right. So this statement isn't true.

5ymmetrica1 said:
I'm unsure where to go from here
As Dick has already said, it's mainly a matter of simplifying the result correctly before you take the limit h→0.
 
Last edited by a moderator:
Fredrik said:
The equality sign tells us that the expression on the left represents the same number as the expression on the right. So this statement isn't true.
Do you mean there is something wrong with the equation?

This is exactly how it is written in my textbook
f'(a) = lim_{h→0}\frac{f(a+h) - f(a)}{h}

accept h→0 is directly underneathe the lim part, but I am not sure how to write that on PF.
 
Last edited by a moderator:
f'(x) = (\frac{h}{(1-x-h)(1-x)})(\frac{1}{h})

f'(x) = \frac{1}{(1-x-h)(1-x)}

f'(x) = \frac{1}{(1-x)^2}

checking

f(x) = (1-x)-1

f'(x) = -(1-x)-2(-1)

f'(x) = \frac{1}{(1-x)^2}

is this correct?
 
Last edited by a moderator:
5ymmetrica1 said:
Do you mean there is something wrong with the equation?

This is exactly how it is written in my textbook
f'(a) = lim_{h→0}\frac{f(a+h) - f(a)}{h}

accept h→0 is directly underneathe the lim part, but I am not sure how to write that on PF.
I meant that you didn't include the "lim" part of it at all. You just wrote that f'(a) is equal to (f(a+h)-f(a))/h. This would mean that both notations represent the same number, and that there's no need to take a limit.

Hit the quote button to see how I'm doing this.
$$f'(a)=\lim_{h\to 0}\frac{f(a+h)-f(a)}{h}.$$ See the LaTeX FAQ for more.
 
Last edited by a moderator:
5ymmetrica1 said:
f'(x) = (\frac{h}{(1-x-h)(1-x)})(\frac{1}{h})

f'(x) = \frac{1}{(1-x-h)(1-x)}

f'(x) = \frac{1}{(1-x)^2}

checking

f(x) = (1-x)-1

f'(x) = -(1-x)-2(-1)

f'(x) = \frac{1}{(1-x)^2}

is this correct?
You shouldn't include the part "f'(x)=" unless you also include a ##\lim_{h\to 0}##. You can start this way:
$$
\frac{f(x+h)-f(x)}{h}=\frac{\frac{1}{1-x-h}-\frac{1}{1-x}}{h} =\frac{\frac{1-x-(1-x-h)}{(1-x-h)(1-x)}}{h} =\frac{1}{(1-x-h)(1-x)}
$$ Now you have to prove that regardless of the value of x, the right-hand side goes to ##(1-x)^{-2}## as ##h\to 0##. You either have to find a theorem that ensures that this is the case, or do an epsilon-delta proof.
 
Last edited by a moderator:
Back
Top