# Show that

Question:

$\frac{\sin x}{\sin (x-a)}$

Solution:

$\frac{\sin x}{\sin (x-a)}$

Let $x-a=t \Rightarrow d x=d t$

$\int \frac{\sin x}{\sin (x-a)} d x=\int \frac{\sin (t+a)}{\sin t} d t$

$=\int \frac{\sin t \cos a+\cos t \sin a}{\sin t} d t$

$=\int(\cos a+\cot t \sin a) d t$

$=t \cos a+\sin a \log |\sin t|+C_{1}$

$=(x-a) \cos a+\sin a \log |\sin (x-a)|+\mathrm{C}_{1}$

$=x \cos a+\sin a \log |\sin (x-a)|-a \cos a+\mathrm{C}_{1}$

$=\sin a \log |\sin (x-a)|+x \cos a+\mathrm{C}$
{"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": 0, "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}