One of the practice problems in my Calculus book states Find the equation of the normal to the curve $y=1+cosx$ at the point when $x= \pi/2$.
Can anyone point me in the right direction on this? This is what I got so far (though I don't think I'm supposed to do direct decimal values):
$x=\pi/2$
$y=1+cos(x)$
$y=1+cos(\pi/2)$
$y=1.999624216859$
$y'=1-sin(x)$
$y'=1-sin(\pi/2)$
$y'=0.072587866408$
...?
First notice that you have some mistake in your calculations. I suppose that you know that $\sin (\pi/2) =1$ and $\cos (\pi/2)=0$ so you have: $$ y(\pi/2)=1+\cos(\pi/2)=1 $$
the derivative of your function is $y'=-\sin x$ (the derivative of the constant $1$ is $0$), and you have: $$ y'(\pi/2)=-1 $$
so the tangent line at the point $x=\pi/2$ has slope $m=y'(\pi/2)=-1$.
The normal (to the tangent) has slope $m'=-\dfrac{1}{m}=1$ and it is the straight line with this slope passing through the point $(\pi/2,1)$ so its equation is: $$ y-1=1(x-\pi/2) $$