Write a function that has two infinite limits at two different x-values.

Write a function where both one sided limits exist at some x value but the two sided limit do not.

I don't understand how this would look, please help!

1 answer

#1 any rational function with vertical asymptotes will do this:

1/(x-1)(x+1)

#2 f(x) =
x+1 for x <= 1
x-1 for x > 1

just any function where there is a finite break at some x value