$\lim_{x\to\infty} (\frac{x-c}{x+c})^x=\frac{1}{4}$
My teacher did the following steps:
$\lim_{x\to\infty} \ln{(\frac{x-c}{x+c})^x}=\ln{\frac{1}{4}}$
$\lim_{x\to\infty} x\ln{\frac{x-c}{x+c}}=\ln{\frac{1}{4}}$
$\lim_{x\to\infty} x[\ln{(x-c)}-\ln{(x+c)}]=\ln{\frac{1}{4}}$
$\lim_{x\to\infty} x\ln{(x-c)}-x\ln{(x+c)}=\ln{\frac{1}{4}}$
As $x\to\infty, f(x)\to\infty\cdot\infty-\infty\cdot\infty=\infty-\infty$
Then, she did this:
$\lim_{x\to\infty} \frac{\ln{(x-c)}}{\frac{1}{x}}-\frac{\ln{(x+c)}}{\frac{1}{x}}=\ln{\frac{1}{4}}$
At this point, $f(x)\to\frac{\infty}{0}-\frac{\infty}{0}$
But she did L'Hopital's rule here, and when I said you can only do L'Hopital when $f(x)\to\frac{0}{0}$ or $\frac{\infty}{\infty}$, and not when $f(x)\to\frac{\infty}{0}$ she insisted that she was doing the problem correctly. She ended up getting the right answer, but the steps were confusing to me and when I tried to solve it myself, I kept getting stuck.
Can someone please solve the problem step by step and help me out?
Thank you in advance
You should probably fix some value of $c$, as mentioned in the comments. As per the application of the L'Hopital rule:
In your third line, you have $$x[ {\log(x-c)-\log(x+c)}].$$ Rewrite this to $$\frac{\log(x-c)-\log(x+c)}{1/x}.$$ Now, if $x \to \infty$, then both numerator and denominator tend to $0$. So you can apply L'Hopital here, and that should give you the answer. It's a minor thing your teacher missed, or perhaps she skipped over it for pedagogical purposes, so don't think badly of her.