Debian Codegraph @

texmf-dist/doc/latex/probsoln/samples/prob-easy.tex

raw
1 % This file is public domain
2 %
3 % These are all easy differentiation problems
4
5 \newproblem{diffeasy:gpowh}{%
6 \(f(x) = g(x)^{h(x)}.\)}{%
7 \begin{eqnarray*}
8 f(x) & = & e^{\ln g(x)^{h(x)}}\\
9 & = & e^{h(x)\ln g(x)}\\
10 f'(x) & = & e^{h(x)\ln g(x)}(h'(x)\ln g(x) + h(x)\frac{g'(x)}{g(x)})\\
11 & = & g(x)^{h(x)}(h'(x)\ln g(x) + \frac{h(x)g'(x)}{g(x)})
12 \end{eqnarray*}}
13
14 \newproblem{diffeasy:arcsin}{%
15 \(y = \arcsin(x)\)}{%
16 \[\sin(y) = x\]
17 diff. w.r.t. $x$:
18 \begin{eqnarray*}
19 \cos y \frac{dy}{dx} & = & 1\\
20 \frac{dy}{dx} & = & \frac{1}{\cos y}\\
21 & = & \frac{1}{\sqrt{1 - \sin^2y}}\\
22 & = & \frac{1}{\sqrt{1-x^2}}.
23 \end{eqnarray*}}
24
25 \newproblem{diffeasy:arccos}{%
26 $y = \arccos x$.}{%
27 \(\cos y = x\)
28 diff. w.r.t. $x$:
29 \begin{eqnarray*}
30 -\sin y \frac{dy}{dx} & = & 1\\
31 \frac{dy}{dx} & = & \frac{-1}{\sin y}\\
32 & = & \frac{-1}{\sqrt{1-\cos^2y}}\\
33 & = & \frac{-1}{\sqrt{1-x^2}}
34 \end{eqnarray*}}
35
36 \newproblem{diffeasy:tan}{%
37 \(y = \tan x\)}{%
38 \begin{eqnarray*}
39 y & = & \tan x\\
40 & = & \frac{\sin x}{\cos x}\\
41 \frac{dy}{dx} & = & \frac{\cos x}{\cos x} + \sin x\times\frac{-1}{\cos^2x}\times -\sin x\\
42 & = & 1 + \tan^2x\\
43 & = & \sec^2x.
44 \end{eqnarray*}}
45
46 \newproblem{diffeasy:arctan}{%
47 \(y = \arctan x = \tan^{-1}x\)}{%
48 \[\tan y = x\]
49 diff w.r.t. $x$:
50 \begin{eqnarray*}
51 \sec^2y\frac{dy}{dx} & = & 1\\
52 \frac{dy}{dx} & = & \frac{1}{\sec^2y}\\
53 & = & \frac{1}{1+\tan^2y}\\
54 & = & \frac{1}{1+x^2}
55 \end{eqnarray*}}
56
57 \newproblem{diffeasy:cot}{%
58 \(y = (\tan x)^{-1} = \cot x\)}{%
59 \begin{eqnarray*}
60 \frac{dy}{dx} & = & -(\tan x)^{-2}\sec^2x\\
61 & = & -\frac{\cos^2x}{\sin^2x}\cdot\frac{1}{\cos^2x}\\
62 & = & \frac{-1}{\sin^2x}\\
63 & = & -\csc^2x.
64 \end{eqnarray*}}
65
66 \newproblem{diffeasy:cosxsqsinx}{%
67 $y = \cos(x^2)\sin x$.}{%
68 \[\frac{dy}{dx} = -\sin(x^2)2x\sin x + \cos(x^2)\cos x\]}
69
70 \newproblem{diffeasy:xlnx}{%
71 $y = (x+1)\ln(x+1)$.}{%
72 \begin{eqnarray*}
73 \frac{dy}{dx} & = & \ln(x+1) + \frac{x+1}{x+1}\\
74 & = & 1 + \ln(x+1).
75 \end{eqnarray*}}
76
77 \newproblem{diffeasy:glng}{%
78 $f(x) = g(x)\ln(g(x))$.}{%
79 \begin{eqnarray*}
80 f'(x) & = & g'(x)\ln(g(x)) + \frac{g(x)}{g(x)}g'(x)\\
81 & = & g'(x)(1+\ln(g(x))).
82 \end{eqnarray*}}
83
84 \newproblem{diffeasy:sinx/x}{%
85 $y = \frac{\sin x}{x}$.}{%
86 \[\frac{dy}{dx} = \frac{\cos x}{x} - \frac{\sin x}{x^2}\]}
87
88 \newproblem{diffeasy:exp4x}{%
89 $y = \exp(4x)$
90 }%
91 {%
92 \[\frac{dy}{dx} = 4\exp(4x)\]
93 }
94
95 \newproblem{diffeasy:exp3x+2}{%
96 $y = \exp(3x+2)$
97 }%
98 {%
99 \[\frac{dy}{dx} = 3\exp(3x+2)\]
100 }
101
102 \newproblem{diffeasy:cubic}{%
103 $y=x^3 + 4x^2 - x + 3$
104 }%
105 {%
106 \[\frac{dy}{dx} = 3x^2 + 8x - 1\]
107 }
108
109 \newproblem{diffeasy:quad}{%
110 $y=2x^3 + 6x -1$
111 }%
112 {%
113 \[\frac{dy}{dx} = 6x + 6 = 6(x+1)\]
114 }