-
Notifications
You must be signed in to change notification settings - Fork 1
/
26A06-ExampleOfChainRule.tex
71 lines (62 loc) · 1.71 KB
/
26A06-ExampleOfChainRule.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
\documentclass[12pt]{article}
\usepackage{pmmeta}
\pmcanonicalname{ExampleOfChainRule}
\pmcreated{2013-03-22 12:35:32}
\pmmodified{2013-03-22 12:35:32}
\pmowner{rmilson}{146}
\pmmodifier{rmilson}{146}
\pmtitle{example of chain rule}
\pmrecord{4}{32843}
\pmprivacy{1}
\pmauthor{rmilson}{146}
\pmtype{Example}
\pmcomment{trigger rebuild}
\pmclassification{msc}{26A06}
\endmetadata
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\newcommand{\reals}{\mathbb{R}}
\newcommand{\natnums}{\mathbb{N}}
\newcommand{\cnums}{\mathbb{C}}
\newcommand{\znums}{\mathbb{Z}}
\newcommand{\lp}{\left(}
\newcommand{\rp}{\right)}
\newcommand{\lb}{\left[}
\newcommand{\rb}{\right]}
\newcommand{\supth}{^{\text{th}}}
\newtheorem{proposition}{Proposition}
\newtheorem{definition}[proposition]{Definition}
\begin{document}
Suppose we wanted to differentiate
$$h(x)=\sqrt{\sin(x)}.$$
Here, $h(x)$ is given by the composition
$$h(x)=f(g(x)),$$
where
$$f(x)=\sqrt{x}\quad\mbox{and}\quad g(x)=\sin(x).$$
Then chain rule
says that
$$h'(x)=f'(g(x))g'(x).$$
Since
$$f'(x)=\frac{1}{2\sqrt{x}},\quad\mbox{and}\quad
g'(x)=\cos(x),$$
we have by chain rule
$$h'(x) = \left(\frac{1}{2\sqrt{\sin x}}\right)\cos x=\frac{\cos
x}{2\sqrt{\sin
x}}$$
Using the Leibniz formalism, the above calculation would have the
following appearance. First we describe the functional relation as
$$z = \sqrt{\sin(x)}.$$
Next, we introduce an auxiliary variable $y$, and write
$$z= \sqrt{y},\qquad y=\sin(x).$$
We then have
$$\frac{dz}{dy} = \frac{1}{2\sqrt{y}},\qquad \frac{dy}{dx} =
\cos(x),$$
and hence the chain rule gives
\begin{align*}
\frac{dz}{dx} &= \frac{1}{2\sqrt{y}}\, \cos(x) \\
&= \frac{1}{2}\,\frac{\cos(x)}{\sqrt{\sin(x)}}
\end{align*}
%%%%%
%%%%%
\end{document}