Ans: The given function is $f(x) = \dfrac{{\sin (ax + b)}}{{\cos (cx + d)}} = \dfrac{{g(x)}}{{h(x)}},$where $g(x) = \sin (ax + b)$ and
$h(x) = \cos (cx + d)$
$\therefore f = \dfrac{{{g^\prime }h - g{h^\prime }}}{{{h^2}}}$
Consider $g(x) = \sin (ax + b)$
Let $u(x) = ax + b,v(t) = \sin t$
Then $(vou)(x) = v(u(x)) = v(ax + b) = \sin (ax + b) = g(x)$
$\therefore g$ is a composite function of two functions, $u$ and $v$.
Put $t = u(x) = ax + b$
$\dfrac{{dv}}{{dt}} = \dfrac{d}{{dt}}(\sin t) = \cos t = \cos (ax + b)$
$\dfrac{{dt}}{{dx}} = \dfrac{d}{{dx}}(ax + b) = \dfrac{d}{{dx}}(ax) + \dfrac{d}{{dx}}(b) = a + 0 = a$
Therefore, by chain rule, we obtain ${g^\prime } = \dfrac{{dg}}{{dx}} = \dfrac{{dv}}{{dt}} \cdot \dfrac{{dt}}{{dx}} = \cos (ax + b) \cdot a = a\cos (ax + b)$
Consider $h(x) = \cos (cx + d)$
Let $p(x) = cx + d,q(y) = \cos y$
Then, $(qop)(x) = q(p(x)) = q(cx + d) = \cos (cx + d) = h(x)$
$\therefore h$ is a composite function of two functions, $p$ and $q$.
Put $y = p(x) = cx + d$
$\dfrac{{dq}}{{dy}} = \dfrac{d}{{dy}}(\cos y) = - \sin y = - \sin (cx + d)$
$\dfrac{{dy}}{{dx}} = \dfrac{d}{{dx}}(cx + d) = \dfrac{d}{{dx}}(cx) + \dfrac{d}{{dx}}(d) = c$
Therefore, by chain rule, we obtain ${h^\prime } = \dfrac{{dh}}{{dx}} = \dfrac{{dq}}{{dy}} \cdot \dfrac{{dy}}{{dx}} = - \sin (cx + d){\text{xc}} = - c\sin (cx + d)$
$\therefore {f^\prime } = \dfrac{{a\cos (ax + b) \cdot \cos (cx + d) - \sin (ax + b)\{ - c\sin cx + d\} }}{{{{[\cos (cx + d)]}^2}}}$
$ = \dfrac{{a\cos (ax + b)}}{{\cos (cx + d)}} + c\sin (ax + b) \cdot \dfrac{{\sin (cx + d)}}{{\cos (cx + d)}} \times \dfrac{1}{{\cos (cx + d)}}$
$ = a\cos (ax + b)\sec (cx + d) + c\sin (ax + b)\tan (cx + d)\sec (cx + d)$