![]() |
A calc question
Well, I guess it's more like an algebra problem since I understand the calc just fine.
I need to find an equation of the tangent line to the curve at the given point: y = 1 + 2x - x^3 @ P(1 , 2) To do this, I first need to find the slope with the following method: (f(x) - f(a)) / (x - a) ( (1 + 2x - x^3) - (2) ) / (x - 1) becomes.. (2x - x^3 - 1) / (x - 1) Top and bottom equal 0 if you plug in 1, so that means there's a way to factor them even further, correct? Meaning... (x + 1) * (?) = 2x - x^3 - 1 ? The book says the answer is y = -x + 3, but I can't even get past simplifying (2x - x^3 - 1) / (x - 1) to get the slope. Does x - 1 factor out of the numerator, or am I going about this all wrong? Thanks for the help :D |
the slope of the tangent line at the point is equal to the derivative at the point.
for: y=1=2x-x^3, dy/dx= 2-3x^2 evaluate at x=1 dy/dx=-1 the "slope-intercept" form of a line is: y=mx+b we found m=-1 and we need this line to go through the point (1,2) plug in y=1, x=1: 2=-1+b gets you b=3. therefore, the tangent line has the form: y=-1x+3 The formula that you have, (f(x) - f(a)) / (x - a), is sorta like an average slope. To get the instantaneous slope at a point, you must take the limit as x->a. Your formula then becomes the definition of a derivative (at a point x=a). Rereading your post, you probably know this already. To take the limit, you either factor (i can't remember how to factor cubics right now, use the SOAP rule), or just use L'Hopital's rule. EDIT: Matlab says 2x-x^3-1 = -(x-1)(x^2+x-1). So you were on the right track. after you factor this and cancel with the bottom, plugging in x=1, you get a slope of -1. |
Using polynomial division,
(2x - x^3 - 1) / (x - 1) = -x^2-x+1 Plugging in x=1 from the point (1,2) (2x - x^3 - 1) / (x - 1) = -1 Therefore the slope of the tangent line is -1. Since all lines have the format y=mx+b where m is the slope, we now have y=-x+b using the point (1,2) again 2=-1+b b=3 so the equation of the tangent line is y=-x+3 |
Thanks a ton!
I also figured out (eventually) the point where I was stuck: (2x - x^3 - 1) / (x - 1) Can't really factor from that, so I just multiplied everything by the conjucate of the denominator (x + 1) .. worked! The concepts of calc are so easy, but it's the algebra I get stuck with... there's always an obvious way out when doing a complex problem, but it takes me FOREVER to find it.. [edit] Nevermind, I'm all mixed up on that one. The conjugate worked only on the numerator, which gave -1, but jumped the gun without working the bottom, which still came out to 0, since I KNEW to expect -1.. so I got all "oh good, I finally found it.." when I didn't. Working the derivative through AGAIN gave me -1, so I think I just really f'd something up in my algebra the first few times. |
Stompy,
Do you have to use that formula for the derivative? If not, you can just take the derivative of the original formula, and once you have the slope, you can use the equation of a line "y=mx+b" and the known point (1,2) to get the equation. If you have to use the formula, apply L'Hoptal's rule (take the derivate of the top and bottom of your expression) and plug in the point. You'll get the correct slope, and then you can find the equation of the line. |
crap - nevermind. I see it's been handled. That was quick.
|
That's the screwed up thing about these problems... each and every problem on this page is nearly impossible to do.
It takes me like hours for each problem and I don't know wtf the issue is. For example, the same problem above except with: (x-1)/(x-2) at the point (3, 2). So I try to take the derivative... Code:
This stuff pisses me off. I spent hours on that first one, hours on this.. and I'm 2 problems through this 30 + problem homework paper due tonight. |
You simply made an algebraic error in determining the derivative. Do it again, from scratch, without looking at what you've already done and, hopefully, you will find a different and correct answer...
|
Stompy
Use this : Derivative of Hi/Ho = (HodHi - HidHo)/Ho^2. take the derivative using that and you'll get the answer. |
Or what Knife Missile said.
|
i take it you guys haven't gone over chain rule and all that nice stuff. Once you stop using the limit formula to calculate derivatives, things become much easier.
remember some simple facts, and it'll help you a lot. d/dx ( x^a) = a*x^(a-1) d/dx [f(x)*g(x)] = [d/dx f(x) ]g(x) + f(x)[d/dx g(x)] d/dx[f(x) + g(x)] = d/dx f(x) + d/dx g(x) d/dx [f(g(x))] = f'(g(x)) * g'(x) where f(x) and g(x) are functions of x and ' signifies a derivative. now you can take any derivative of any combination of polynomial functions. so, y(x)=(x-1)/(x-2) =(x-1)*(x-2)^(-1) dy/dx=1*(x-2)^(-1) + (x-1)*(-1)(x-2)^(-2)*1 dy/dx @x=3 -> (3-2)^(-1)+(3-1)*(-1)(3-2)^(-2) =1+(2)*(-1) = -1 |
Thanks for all the help!
I'm not quite sure what I was thinkin yesterday, but I tried the probs again after I had a few more hrs sleep and I didn't seem to have any issue with them, which is VERY odd. It's as if I had someone else's brain in my head.. Just one of those days, I guess :D Thanks again ;) |
All times are GMT -8. The time now is 01:34 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project