Need help with solving the slope of a tangent line

Branflake
Messages
11
Reaction score
0
1. The question is What is the slope of the line tangent to f(x)=2x^2-x-7 at x=-1



2. Must be solved using derivatives



3. So basically i know the equation (f(x+deltax)-f(x)/deltax)
So i plug in the problem and i get (2(x+deltax)^2-(x+deltax)-7)-(2x^2-x-7)
Now i know what the answer is to the next step (2(x^2+2xdeltax+deltax^2)-(x+deltax)-7)-(2x^2-x-7) but i do not understand this step. I only have the answer because this problem is from a video, i just have no clue how they got there. I also do not know how to do the steps after. If someone can explain the algebra they used to do these steps (be very detailed) i will be very happy.
 
Physics news on Phys.org
Do you know differentiation and or the concept of limits? This basically is based on the definition of derivative which gives the slope of the curve as,

Slope = f'(x) = \lim_{h\to 0} \frac{f(h+x) - f(x)}{h}

This f'(x) is what you are trying to find. Your method of delta x would work if it were a straight line, but since it is the curve, you bring f(x+Δx) closer and closer to f(x) and as Δx tends to 0, you get the derivative.
 
Branflake said:
1. The question is What is the slope of the line tangent to f(x)=2x^2-x-7 at x=-1



2. Must be solved using derivatives



3. So basically i know the equation (f(x+deltax)-f(x)/deltax)
So i plug in the problem and i get (2(x+deltax)^2-(x+deltax)-7)-(2x^2-x-7)
Now i know what the answer is to the next step (2(x^2+2xdeltax+deltax^2)-(x+deltax)-7)-(2x^2-x-7) but i do not understand this step. I only have the answer because this problem is from a video, i just have no clue how they got there. I also do not know how to do the steps after. If someone can explain the algebra they used to do these steps (be very detailed) i will be very happy.

So f(x)=2x^2-x-7 and thus f(x+\Delta x)=2(x+\Delta x)^2-(x+\Delta x)-7.

So plugging that into the formula \frac{f(x+\Delta x)-f(x)}{\Delta x} gives us \frac{2(x+\Delta x)^2-(x+\Delta x)-7-(2x^2-x-7)}{\Delta x}

Now let's simplify the numerator:

2(x+\Delta x)^2-(x+\Delta x)-7-(2x^2-x-7)
=2(x^2+2x\Delta x +(\Delta x)^2)-x-\Delta x - 7 -2x^2 +x+7

=2x^2+4x\Delta x +2(\Delta x)^2-x-\Delta x -7-2x^2+x+7
Cancelling all like terms, we end up with:
4x\Delta x + 2(\Delta x)^2-\Delta x

Now, can you finish off the problem?
 
Mentallic said:
Now let's simplify the numerator:

2(x+\Delta x)^2-(x+\Delta x)-7-(2x^2-x-7)
=2(x^2+2x\Delta x +(\Delta x)^2)-x-\Delta x - 7 -2x^2 +x+7

=2x^2+4x\Delta x +2(\Delta x)^2-x-\Delta x -7-2x^2+x+7

This is where I am having problems. I do not understand how you went from 2(x+\Delta x)^2-(x+\Delta x)-7-(2x^2-x-7)
to =2(x^2+2x\Delta x +(\Delta x)^2)-x-\Delta x - 7 -2x^2 +x+7
And then to the next step. Can you explain this step in a little more detail?
I feel like it is just simple algebra, I am just forgetting what I have already learned
Everything else (the cancling and plugging in) in understand.
Also, i am teaching myself calc after two years of not taking a math course so i am rusty :P
 
It's just some basic rules of algebra.

(a+b)^2=a^2+2ab+b^2 because (a+b)^2=(a+b)(a+b)=a(a+b)+b(a+b)=a^2+ab+ba+b^2=a^2+2ab+b^2

and the second rule is something similar to

-(a-b+c)=-a+b-c
 
Mentallic said:
It's just some basic rules of algebra.

(a+b)^2=a^2+2ab+b^2 because (a+b)^2=(a+b)(a+b)=a(a+b)+b(a+b)=a^2+ab+ba+b^2=a^2+2ab+b^2

and the second rule is something similar to

-(a-b+c)=-a+b-c

I feel dumb now. I knew it was something easy haha.
Answers -5 thank you guys
 
Take the derivative of the function : F(x)= f(x)=2x^2-x-7
of F'(x)=4x-1
Thus,
-1=4x-1
0=4x
as such, the slop occurs when the x-coordinate is zero.
 
inkjet said:
Take the derivative of the function : F(x)= f(x)=2x^2-x-7
of F'(x)=4x-1
Thus,
-1=4x-1
0=4x
as such, the slop occurs when the x-coordinate is zero.
Wrong.

Branflake said:
I feel dumb now. I knew it was something easy haha.
Answers -5 thank you guys
Right.
 
inkjet said:
Take the derivative of the function : F(x)= f(x)=2x^2-x-7
of F'(x)=4x-1
Aside from the answer below being wrong, the OP's problem was to find the derivative using the limit definition, so your answer above would probably have gotten no credit.
inkjet said:
Thus,
-1=4x-1
0=4x
as such, the slop occurs when the x-coordinate is zero.
 
  • #10
@ Mark

With all due respect, if I set the derivative equal to slope and solve for x, I would get the coordinate at which it occurs? Ohh your right, checked on the the calculator that was the wrong answer. What is the error in my answer?
 
  • #11
inkjet said:
@ Mark

With all due respect, if I set the derivative equal to slope and solve for x, I would get the coordinate at which it occurs? Ohh your right, checked on the the calculator that was the wrong answer. What is the error in my answer?

The question asks for the slope of the tangent line at x = -1. That's simply f'(-1) = 4(-1) - 1 = -5.

Not for the x-coordinate for which the slope of the tangent line is -1. Here you have to solve f'(x) = -1, as you did.
 
  • #12
Alright thanks.
 
Back
Top