TikZ doesn't actually draw the asymptotes: it simply connects the two points immediately before and after the jump. Because you use so many samples, you don't see that the line is actually slightly slanted.
Two suggestions: For drawing the plots, I would use the PGFplots package, which extends the plotting capabilities of TikZ/PGF substantially. It allows you to filter out coordinates above or below a certain threshold, and interrupt the plot line at that point. For drawing the asymptotes, I would use a normal \draw command. If you use PGFplots, you can specify the line in terms of the "data coordinate system" and in terms of the "axis coordinate system", so you can draw a vertical line that runs from the bottom of the plot at a specified horizontal coordinate to the top of the plot.
I've defined a new style ejes=<xmin>:<xmax> <ymin>:<ymax> which sets all the required parameters and draws the axes, and a new command \vasymptote{<xpos>} which draws a vertical dashed line at the desired position. It takes an optional argument which will be passed to the line, so you can change the color or thickness or dash pattern as you please.
With the style and the command, you could recreate your first image using
\tikz{\begin{axis}[ejes=-4:4 -4:4, title={$y=f(x+1)=\dfrac{1}{x+1}$}]
\addplot {1/(x+1)};
\vasymptote {-1}
\end{axis}}
which will yield

Here's the complete code:
\documentclass{standalone}
\usepackage{pgfplots}
\usepackage{amsmath}
\begin{document}
\newcommand{\vasymptote}[2][]{
\draw [densely dashed,#1] ({rel axis cs:0,0} -| {axis cs:#2,0}) -- ({rel axis cs:0,1} -| {axis cs:#2,0});
}
\pgfplotsset{
double y domain/.code 2 args={
\pgfmathsetmacro\doubleymin{#1*2}
\pgfmathsetmacro\doubleymax{#2*2}
},
ejes/.style args={#1:#2 #3:#4}{
double y domain={#3}{#4},
domain=#1:#2,
ymin=#3,ymax=#4, restrict y to domain=\doubleymin:\doubleymax,
samples=100,
enlargelimits=false,
axis lines=middle,
xtick={#1,...,#2}, ytick={#3,...,#4},
xticklabels=\empty, yticklabels=\empty,
every axis plot post/.style={
black,
mark=none,
smooth
},
scale only axis,
width=4cm,
height=4cm
}
}
\tikz{\begin{axis}[ejes=-4:4 -4:4,title={$y=f(x+1)=\dfrac{1}{x+1}$}]
\addplot {1/(x+1)};
\vasymptote {-1}
\end{axis}}
\end{document}
f(x+1). It is the output off(x)– Apr 18 '13 at 11:39