Understanding Derivatives: Solving with Power Rule vs. Definition

  • Thread starter Thread starter swears
  • Start date Start date

I should:

  • Drop Calculus

    Votes: 2 16.7%
  • Keep Trying

    Votes: 10 83.3%

  • Total voters
    12
  • Poll closed .
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
30 replies · 4K views
swears
Messages
87
Reaction score
0
I'm having a really hard time grabbing a hold of this definition of a derivative concept.

I know that the derivative of [tex]X-X^2 = 1-2X.[/tex], when solving w/ the power rule.
But, I get really lost when I need to solve it using the definition of the derivitave. Can someone please explain to me how I get from the 1st step to the 2nd.

[tex]F(X) = X - X^2[/tex]

1. [tex]F'(X) = \frac{F(X+H) - F(X)}{H}[/tex]

2. [tex]= \frac{(X+H)^2 - X^2}{H}[/tex]The way I tried it, I just input [tex]X - X^2[/tex] for X and I got [tex](X - X^2 + H) - (X-X^2)[/tex]
 
Last edited:
Physics news on Phys.org
swears said:
I'm having a really hard time grabbing a hold of this definition of a derivative concept.

I know that the derivative of [tex]X-X^2 = 1-X.[/tex], when solving w/ the power rule.

Nope... try to do that derivative again

The way I tried it, I just input [tex]X - X^2[/tex] for X and I got [tex](X - X^2 + H) - (X-X^2)[/tex]

If f(x) is x-x^2, what is f(x+h) it's not x-x^2 + h, I will tell you that much, but it sounds like you have some issues with algebra as well. You applied the definition wrong, so give it another go.
 
I fixed that first part sorry. lol
 
vsage said:
If f(x) is x-x^2, what is f(x+h) it's not x-x^2 + h,

Yeah, that's my problem, I don't know how to do that.
 
Split up your function to make things much simpler. Let's say you have [tex]f(x)=x[/tex] and [tex]g(x)=-x^2[/tex]

[tex]f'(x)=\lim_{h \to 0}\frac{(x+h)-(x)}{h}[/tex]

[tex]g'(x)=\lim_{h \to 0}\frac{-(x+h)^2-(-x^2)}{h}[/tex]

Work from there.
 
Reading your first post, I'll try to clarify what I think is your problem. If you have [tex]f(x)=x^2[/tex], then something like f(2) is easy, right? You just plug in 2 for x and get 4. But what is f(a)? Do the same thing. f(a)=a^2. What is f(x+h) then? Plug in (x+h) for x. f(x+h)=(x+h)^2
 
Jameson said:
[tex]f'(x)=\lim_{h \to 0}\frac{(x+h)-(x)}{h}[/tex]

[tex]g'(x)=\lim_{h \to 0}\frac{-(x+h)^2-(-x^2)}{h}[/tex]

Why does the H get squared and negated?
 
swears said:
I fixed that first part sorry. lol

It's still not fixed on my screen. the derivative of x-x^2 should be 1-2x (I see it in the TeX code but for some reason it isn't showing up on your post).

Let me elaborate a little. If f(x) = x-x^2, then f(x+h) = (x+h) - (x+h)^2, so expand this out. What is then f(x+h) - f(x)?
 
Last edited by a moderator:
vsage said:
It's still not fixed on my screen. the derivative of x-x^2 should be 1-2x (I see it in the TeX code but for some reason it isn't showing up on your post)

try refresh F5
 
Jameson said:
Plug in (x+h) for x.

So I'm doing it backwards here?
 
I don't understand what you mean by backwards. Look at my original post to see the correct method of using the limit definition of a derivative. I'm sorry I can't be more helpful right now.
 
Jameson said:
Plug in (x+h) for x.

Ok, if i try it this way, I get: [tex](x+h) + h - (x+h)^2[/tex]
 
Last edited:
You want to solve the limit of [tex]\frac { f(x+h) - f(x)} {h}[/tex] as h approaches 0, right? If f(x) = x - x^2, then f(x+h) - f(x) = (x+h) - (x+h)^2 - (x - x^2)). I'm a little concerned though as these problems you are having are algebraic and not calculus-based, as your thread suggests. Applying basic rules of algebra (up to factoring in the denominator to the expression) should fetch you the right answer.
 
Last edited by a moderator:
You wouldn't happen to have a link for these algebra rules, would you?

I understand how you plugged in [tex]x-x^2[/tex] for f(x).
but,
I don' see how you got [tex](x+h) - (x+h)^2[/tex] for [tex]f(x+h)[/tex] though.
 
I'm going to repeat what was said here. But maybe seeing it worked out will help you a little bit more.

You know the definition of the derivatie is:
[tex]f'(x)=\lim_{h\rightarrow 0} \frac{f(x+h)-f(x)}{h}[/tex]

Now you seem to be caught up with the algebra of functions. Let me go through a few examples with you:

Lets say you have a function:
[tex]f(x)=x^2[/tex]

Now let's plug in a "cat" :)

[tex]f(cat)=f(x=cat)=(cat)^2[/tex]

Now let's plug in [itex]a+b[/itex]

[tex]f(a+b)=f(x=a+b)=(a+b)^2[/tex]


Now plugging in a cat is really not any harder then plugging what you need into the limit definition I gave above. But let's try an example:

Lets create a function, say:
[tex]f(x)=x^{1000}[/tex]

You seem to be able to use the "non-limit rules" to find the derivative, so you know that:
[tex]f'(x)=1000x^{999}[/tex]

Right? That's pretty easy right.

Now let's use the limit definition.

[tex]f'(x)=\lim_{h\rightarrow 0} \frac{f(x+h)-f(x)}{h} = \frac{(x+h)^{1000}-x^{1000}}{h}[/tex]

Notice what we did.

We just plugged in our values.

Do you see that:
[tex]f(x+h)=(x+h)^{1000}[/tex]

You can think of it like this if you want.
let [itex]x+h = cat [/tex]<br /> [tex]f(x)=x^{1000}[/tex]<br /> [tex]f(cat)=(cat)^{1000}[/tex]<br /> <br /> And we know that [itex]cat = x+h[/itex] so...<br /> [tex]f(cat=x+h)=(cat=x+h)^{1000}[/tex]<br /> or in a more popular way to write it:<br /> [tex]f(x+h)=(x+h)^{1000}[/tex]<br /> <br /> So really, you are just plugging in values.[/itex]
 
Thanks for your help.

So I did: [tex]f(x) = x - x^2[/tex]

[tex]f'(x) = \frac {x + h - (x + h)^2 - x - x^2}{h}[/tex]

Now I tried to simplify but I get stuck or have done it wrong.

[tex]= \frac {x + h - x^2 + 2xh + h^2 - x - x^2}{h}[/tex]

[tex]= \frac {h - 2x^2 + 2xh + h^2}{h}[/tex] // I canceled out the x and combined the x squared

Is this right?
 
Last edited:
swears said:
Thanks for your help.

So I did: [tex]f(x) = x - x^2[/tex]

[tex]f'(x) = \frac {x + h - (x + h)^2 - x - x^2}{h}[/tex]
Watch out, at the end of the numerator you should have "-f(x)". With f(x) = x-x², this becomes -(x-x²) = -x+x².
 
So, your saying I need to distribute the minus sign to f(x)?
 
Of course, when it says -f(x), f(x) is considered as a whole and should therefore be placed within parathesis. This gives -(x-x²) which simplifies to -x+x² and not -x-x².
 
TD said:
Of course, when it says -f(x), f(x) is considered as a whole and should therefore be placed within parathesis. This gives -(x-x²) which simplifies to -x+x² and not -x-x².

Ah ok, thanks for explaining that.
 
Tried again,

[tex]f(x) = x - x^2[/tex]

[tex]f'(x) = \frac {x+h - (x + h)^2 - (x - x^2)}{h}[/tex]

[tex]= \frac {x + h - x^2 + h^2 + 2xh - x + x^2}{h}[/tex]

[tex]= \frac {h + h^2 + 2xh}{h}[/tex]

[tex]= \frac {h [2x + h]}{h}[/tex]

[tex]= 2x + h[/tex] // Now I'm lost
 
Try not to skip steps when you are getting used to this stuff.

So if you have:

[tex]f(x) = x-x^2[/tex]
[tex]f'(x)=\lim_{h\rightarrow 0} \frac{f(x+h)-f(x)}{h}[/tex]

Use paranthesis! Even if it is really obvious. At least until you are comfortable with order of operations.

so...

[tex]f'(x)=\lim_{h\rightarrow 0} \frac{((x+h)-(x+h)^2)-(x-x^2)}{h}[/tex]

Now here's an example for you to remember. Recall that a number multiplied by 1 is the same number.
[tex](1)(2) = 2[/tex]

Now what is this?
[tex]-(2) = 2[/tex]?

What about this?
[tex]-(x^2-2+3) =?[/tex]

You can think about the negative sign as [itex]-1[/itex]. So in the first example we can rewrite it as:
[tex](-1)(2) = -2[/tex]

and the second example:
[tex](-1)(x^2-2+3)[/tex]

Do what's in the parenthesis first:
[tex](-1)(x^2-2+3)=(-1)(x^2+1)[/tex]
[tex](-1)(x^2+1) = (-1)(x^2) + (-1)(1) = -x^2 - 1[/tex]


So back to this example:
[tex]f'(x)=\lim_{h\rightarrow 0} \frac{((x+h)-(x+h)^2)-(x-x^2)}{h}[/tex]

You can also think of this like:
[tex]f'(x)=\lim_{h\rightarrow 0} \frac{((x+h)+(-1)(x+h)^2)+(-1)(x-x^2)}{h}[/tex]

Also, if it gets to confusing using just parenthesis. Remember that you can use other symbols too.

For example:
[tex]f'(x)=\lim_{h\rightarrow 0} \frac{[(x+h)+(-1)(x+h)^2]+[(-1)(x-x^2)]}{h}[/tex]

Notice how the terms in between [...] are used to represent the function.

For example:
[tex]f(x) = x-x^2[/tex]
[tex]g(x) = f(a+b)^2 + f(\lambda)[/tex]

Now if you use the brackets, it is easy to see:
[tex]g(x) = [(a+b)-(a+b)^2]^2 + [\lambda -\lambda^2][/tex]
 
Last edited:
Ok, I fixed my mistake and I got :

[tex]\frac {h(-2x-h)}{h}[/tex]

So, now do I need to set -2x-h = 0?

Because when I do that I get -2x = h . But I know the derivative is 1-2x. How do I get the 1?
 
How did you get that? Let's see:

[tex] \mathop {\lim }\limits_{h \to 0} \frac{{\left( {\left( {x + h} \right) - \left( {x + h} \right)^2 } \right) - \left( {x - x^2 } \right)}}{h} = \mathop {\lim }\limits_{h \to 0} \frac{{x + h - x^2 - 2xh - h^2 - x + x^2 }}{h}[/tex]

Now simplying and factoring h gives:

[tex] \mathop {\lim }\limits_{h \to 0} \frac{{h - 2xh - h^2 }}{h} = \mathop {\lim }\limits_{h \to 0} \frac{{h\left( {1 - 2x - h} \right)}}{h}[/tex]

Which is a bit different from your answer. Check it again.
Then, cancel out the h and let h go to 0.
 
Oh yeah, I forgot the first h.

[tex]1-2x-h = 0[/tex]

[tex]1-2x = h[/tex]

So I'm guessing the h stands for the derivative. I'm going to try a few more of these on my own.

I'd like to thank everyone for helping me, I couldn't have done it w/o you. Looks like I won't be dropping calculus yet.
 
No, it's not an equation (where did the = 0 come from?) It was a limit of that expression, so in "1-2x-h", let h go to 0. What do you get?
 
oh, so I plug in 0 for h.

which gets 1-2x-0 or 1-2x
 
Yes, with the power rule.