1. The composition
Reading from the inside out, take
u(x)=1+x2,v(u)=logu,w(v)=sinv
so that f=w∘v∘u, i.e. f(x)=w(v(u(x))).
2. Why the domain is all of R
The only restriction in sight is the logarithm, which needs a positive argument. Here the argument is 1+x2, and x2≥0 for every real x, so
1+x2≥1>0
always. The sine function accepts every real number. Hence f is defined — and, being a composite of continuous functions, continuous — on the whole of R.
3. The derivative
Differentiate from the outside in, multiplying by the derivative of what is inside at each stage:
f′(x)=cos(log(1+x2))⋅dxdlog(1+x2)
=cos(log(1+x2))⋅1+x21⋅dxd(1+x2)
= 1+x22xcos(log(1+x2))
4. Two values
At x=0 the factor 2x vanishes:
f′(0)=10⋅cos(log1)=0
At x=1:
f′(1)=22cos(log2)=cos(log2)
(here log is the natural logarithm, so log2≈0.693 and f′(1)≈0.769).
5. The chain rule for three functions
If f=w∘v∘u then
dxdf=dvdw⋅dudv⋅dxdu
each factor being evaluated at the appropriate point. Matching this against part 3:
| factor | value here |
|---|
| dvdw=cosv | cos(log(1+x2)) |
| dudv=u1 | 1+x21 |
| dxdu | 2x |
Every factor is present exactly once; a common error is to stop after two of them and forget the innermost 2x.