# Thread:

1. ## tan, cot in terms of p,q

Given that sin a/sin b = p and cos a/cos b = q, express tan a and cot a in terms of p and q. (a and b are acute angles). I have no idea where to start on this one. I've tried a few things but always get stuck.
Thanks much.

2. Originally Posted by daydreembelievr
Given that sin a/sin b = p and cos a/cos b = q, express tan a and cot a in terms of p and q. (a and b are acute angles). I have no idea where to start on this one. I've tried a few things but always get stuck.
Thanks much.
Here's a big start:

$\frac{\sin a}{\sin b} = p \Rightarrow \sin b = \frac{\sin a}{p}$ .... (1)

$\frac{\cos a}{\cos b} = q \Rightarrow \cos b = \frac{\cos a}{q}$ .... (2)

Square both equations and add:

$1 = \frac{\sin^2 a}{p^2} + \frac{\cos^2 a}{q^2} \Rightarrow p^2 q^2 = q^2 \sin^2 a + p^2 \cos^2 a$

$\Rightarrow \frac{p^2 q^2 }{\cos^2 a} = q^2 \tan^2 a + p^2$ .... (3)

Substitute the identity $1 + \tan^2 a = \frac{1}{\cos^2 a}$ into equation (3) and solve for $\tan^2 a$ and hence $\tan a$.
{"extraction_info": {"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": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 7, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.3, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9289799332618713, "perplexity_flag": "middle"}