
Cao N.
asked 09/24/21Consider the function and the value of a.
f(x) = 5 − x − x2, a = 0
(a) Use Mtan= limx-0 (f(a+h) - f(a)) / (h) to find the slope of the tangent line mtan = f'(a)
(b) Find the equation of the tangent line to f at x = a. (Let x be the independent variable and y be the dependent variable.)
2 Answers By Expert Tutors

William W. answered 09/24/21
Experienced Tutor and Retired Engineer
For f(x) = 5 - x - x2:
- f(a + h) = 5 - (a + h) - (a + h)2 = 5 - a - h - a2 - 2ah - h2
- f(a) = 5 - a - a2
- f(a + h) - f(a) = (5 - a - h - a2 - 2ah - h2) - (5 - a - a2) = 5 - a - h - a2 - 2ah - h2 - 5 + a + a2 = -h - 2ah - h2
- [f(a + h) - f(a)]/h = (-h - 2ah - h2)/h = -1 - 2a - h
- and the limit of this as h approaches zero is -1 - 2a
So mtan (or f '(a) = -1 - 2a
The point-slope form of a line is y - y1 = m(x - x1) for the point (x1, y1). In this case, the point is (a, f(a)) but we have already determined that f(a) is 5 - a - a2. Plugging in what we know then, into the point-slope form:
y - y1 = m(x - x1)
y - (5 - a - a2) = (-1 - 2a)(x - a)
You can simplify if you want to get it into whatever form you think is best. Perhaps y = (-1 -2a)x + a2 + 5

Bradford T. answered 09/24/21
Retired Engineer / Upper level math instructor
f(x)=5-x-x2
a) I think there is a typo in the question. x→0 should be h→0 It is wanting to find f'(x) using the definition of a derivative first and then find m.
f'(x) = limh→0 (f(x+h)-f(x))/h
Using the 4 step process:
1) f(x+h) = 5-(x+h)-(x+h)2 = 5-x-h-x2-2xh-h2
2) f(x+h)-f(x) =5-x-h+x2-2xh+h2 - (5-x-x2) = -h-2xh+h2
3) (f(x+h)-f(x))/h = -1-2x+h
4) limh→0 (f(x+h)-f(x))/h = -1-2x
f'(x) = -1-2x
m=f'(a) = f'(0) = -1
b) Tangent line
f(0) = y0 = 5
y-y0 = m(x-x0)
y = m(x-x0)+y0 = -1(x-0)+5 = -x+5
Still looking for help? Get the right answer, fast.
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.
Mark M.
What prevents you from substituting a + h and a into the formula?09/24/21