# Trig limit 2

#### Petrus

##### Well-known member
$$\lim_{x \to \pi/4} \frac{1-\tan(x)}{\sin(x)-\cos(x)}$$
progress:
I start with rewriting $\tan(x)=\frac{\sin(x)}{\cos(x)}$

#### chisigma

##### Well-known member
Re: Trig limit

$$\lim_{x \to \pi/4} \frac{1-\tan(x)}{\sin(x)-\cos(x)}$$
progress:
I start with rewriting $\tan(x)=\frac{\sin(x)}{\cos(x)}$

Try writing...

$\displaystyle \frac{1 - \tan x}{\sin x - \cos x} = - \frac{1}{\cos x}\ \frac{1- \frac{\sin x}{\cos x}} {1 - \frac{\sin x}{\cos x}} = - \frac{1}{\cos x}$ (1)

Kind regards

$\chi$ $\sigma$

#### Moriarty

##### New member
Re: Trig limit

Let $\displaystyle \ell = \lim_{x \to \frac{\pi}{4}}\frac{1-\tan{x}}{\cos{x}-\sin{x}}.$ Sub $x = \tan^{-1}{t}$ then $x \to \frac{\pi}{4} \implies t \to 1$; also $\tan{x} = t$, $\displaystyle \cos{x} = \frac{1}{\sqrt{1+t^2}}$ and $\displaystyle \sin{x} = \frac{t}{\sqrt{1+t^2}}$. Thus $\displaystyle \ell = \lim_{t \to 1}\frac{1-t}{\frac{1-t}{\sqrt{1+t^2}}} = \lim_{t \to 1}\sqrt{1+t^2} = \sqrt{2}$.

#### soroban

##### Well-known member
Hello, Petrus!

A slightly different approach . . .

$$\lim_{x\to \frac{\pi}{4}} \frac{1-\tan x}{\sin x - \cos x}$$

$$\lim_{x\to\frac{\pi}{4}} \frac{1 - \frac{\sin x}{\cos x}}{\sin x - \cos x} \;=\; \lim_{x\to\frac{\pi}{4}}\frac{\frac{\cos x - \sin x}{\cos x}}{\sin x - \cos x} \;=\;\lim_{x\to\frac{\pi}{4}}\frac{\cos x-\sin x}{\cos x(\sin x - \cos x)}$$

. . . $$=\;\lim_{x\to\frac{\pi}{4}}\frac{-(\sin x - \cos x)}{\cos x(\sin x - \cos x)} \;=\;\lim_{x\to\frac{\pi}{4}}\frac{-1}{\cos x} \;\;\cdots\;\; \text{etc.}$$

#### Prove It

##### Well-known member
MHB Math Helper
$$\lim_{x \to \pi/4} \frac{1-\tan(x)}{\sin(x)-\cos(x)}$$
progress:
I start with rewriting $\tan(x)=\frac{\sin(x)}{\cos(x)}$

Since this goes to \displaystyle \begin{align*} \frac{0}{0} \end{align*}, L'Hospital's Rule can be used.

\displaystyle \begin{align*} \lim_{x \to \frac{\pi}{4}}{\frac{1 - \tan{(x)}}{\sin{(x)} - \cos{(x)}}} &= \lim_{x \to \frac{\pi}{4}}{\frac{-\sec^2{(x)}}{\cos{(x)} + \sin{(x)}}} \\ &= \frac{-\left( \sqrt{2} \right)^2}{\frac{1}{\sqrt{2}} + \frac{1}{\sqrt{2}}} \\ &= \frac{-2}{\frac{2}{\sqrt{2}}} \\ &= -\sqrt{2} \end{align*}
{"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 2, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "https://mathhelpboards.com/threads/trig-limit-2.3711/", "fetch_time": 1657000366000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2022-27/segments/1656104514861.81/warc/CC-MAIN-20220705053147-20220705083147-00552.warc.gz", "warc_record_offset": 432219271, "warc_record_length": 15356, "token_count": 919, "char_count": 2176, "score": 4.3125, "int_score": 4, "crawl": "CC-MAIN-2022-27", "snapshot_type": "latest", "language": "en", "language_score": 0.4288617968559265, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00006-of-00064.parquet"}