Which of the following is the best linear approximation for f(x) = cos(x) near x equals pi divided by 2?
y equals x minus pi over 2 y equals negative x plus pi over 2 y equals negative x plus pi over 2 plus 1 y equals x minus pi over 2 plus 1
The derivative of cos(x) is -sin(x), but idk where to go from there.
We start with this:\[ dy = \frac {dy}{dx}dx\\ \Delta y\approx \frac{dy}{dx}\Delta x \]
so we have the tangent line at x=pi/2 is \[y-f( \frac{\pi}{2})=f'( \frac{\pi}{2})(x- \frac{\pi}{2})\]
oh and that is actually what @wio wrote in fancy notation :p
\[y=f'(\frac{\pi}{2})(x-\frac{\pi}{2})+f(\frac{\pi}{2}) \\ f(x) \approx f'(\frac{\pi}{2})(x-\frac{\pi}{2})+f(\frac{\pi}{2} ) \text{ for values of } x \text{ near } \frac{\pi}{2}\]
\[ y-y_0 \approx \frac{dy}{dx}(x-x_0) \]
so you found f'(x) already now plug pi/2 into f' to find the slope of your line
-sin(pi/2) ?
yah do you know what that equals
-1?
\[y=f'(\frac{\pi}{2})(x-\frac{\pi}{2})+f(\frac{\pi}{2}) \\ y=-1(x-\frac{\pi}{2})+f(\frac{\pi}{2})\]
cool
now one step really left find f(pi/2)
plug pi/2 into your original function that is
-x+pi/2 is the answer? correct?
:)
thank you i made that way harder than it was lol
no problem
Join our real-time social learning platform and learn together with your friends!