Functions and algebra: Investigate and use instantaneous rate of change of a variable when interpreting models both in mathematical and real life situations
Unit 2: Work with rules for differentiation
Natashia Bearam-Edmunds
Unit outcomes
By the end of this unit you will be able to:
- Use various forms of notation to represent the derivative.
- Apply the power rule.
- Find the derivative of a constant.
- Find the derivative of a constant multiplied by a function.
- Find the derivative of a sum/difference.
- Find the derivative of a product.
- Find the derivative of a quotient.
- Apply the chain rule.
What you should know
Before you start this unit, make sure you can:
- Find the derivative by applying the constant and sum and difference rules taught in level 3 subject outcome 2.5 unit 3.
Try the following questions to see if you are ready for this unit.
Use the rules of differentiation to find the derivative of the following:
- [latex]\scriptsize g(x)=3{{x}^{{\displaystyle \frac{2}{3}}}}-4x+10[/latex]
- [latex]\scriptsize f(x)=\displaystyle \frac{{{{x}^{2}}-5x+6}}{{x-3}}[/latex]
- [latex]\scriptsize y=\sqrt{{{{x}^{3}}}}+\displaystyle \frac{1}{{3{{x}^{3}}}}[/latex]
Solutions
- .
[latex]\scriptsize \begin{align*}g(x)&=3{{x}^{{\displaystyle \frac{2}{3}}}}-4x+10\\{g}'(x)&=3\times \displaystyle \frac{2}{3}{{x}^{{\displaystyle \frac{2}{3}-1}}}-4\\&=\displaystyle \frac{2}{{{{x}^{{\displaystyle \frac{1}{3}}}}}}-4\end{align*}[/latex] - .
[latex]\scriptsize \begin{align*}f(x)&=\displaystyle \frac{{{{x}^{2}}-5x+6}}{{x-3}}&&\text{ Factorise and cancel}\\ &= \displaystyle \frac{{(x-3)(x-2)}}{{(x-3)}}\\&=x-2\\f'(x)&=1{{x}^{{1-1}}}=1\end{align*}[/latex] - .
[latex]\scriptsize \begin{align*}y&=\sqrt{{x}^{3}}+\displaystyle \frac{1}{3{{x}^{3}}}\\&= {x}^{\displaystyle \frac{3}{2}}+\displaystyle \frac{1}{3}{{x}^{{-3}}} && \text{Get rid of roots and variables in denominator}\end{align*}[/latex]
[latex]\scriptsize \begin{align*}\text{ }{y}' &= \displaystyle \frac{3}{2}{{x}^{{\displaystyle \frac{1}{2}}}}-{{x}^{{-4}}}\\ &= \displaystyle \frac{3}{2}{{x}^{{\displaystyle \frac{1}{2}}}}-\displaystyle \frac{{1\text{ }}}{{{{x}^{4}}}}\end{align*}[/latex]
Introduction
Finding derivatives of functions by using first principles can be tedious. So, we use rules for differentiation to make the process of differentiating simpler.
As we saw in level 3 there are different notations used for derivatives. If we use the common notation [latex]\scriptsize \displaystyle y=f\left( x \right)[/latex] where the dependent variable is [latex]\scriptsize y[/latex] and the independent variable is [latex]\scriptsize x[/latex], then some alternative notations for the derivative are:
[latex]\scriptsize {f}'(x)={y}'=\displaystyle \frac{{dy}}{{dx}}=\displaystyle \frac{d}{{dx}}[f(x)]=Df(x)={{D}_{x}}y[/latex]
The symbols [latex]\scriptsize D[/latex] and [latex]\scriptsize \displaystyle \frac{d}{{dx}}[/latex] are called differential operators because they tell us that we are differentiating whenever see them.
Here is a reminder of the rules of differentiation that you should know by now.
The power rule:
If [latex]\scriptsize f(x)={{x}^{n}}[/latex] then [latex]\scriptsize f'(x)=n{{x}^{{n-1}}}[/latex] where [latex]\scriptsize n\in \mathbb{R},\text{ n}\ne \text{0}[/latex].
The sum/difference rule:
[latex]\scriptsize \displaystyle \frac{d}{{dx}}[f(x)\pm g(x)]=\displaystyle \frac{d}{{dx}}f(x)\pm \displaystyle \frac{d}{{dx}}g(x)[/latex]
In this unit we build on the differentiation rules you learnt in level 3 to include the product, quotient and chain rules. But, before we look at those there are some derivative functions that need a special mention.
The exponential and natural logarithm functions
The constant [latex]\scriptsize e[/latex] is a special type of exponent, known as Euler’s number, which has many real-life applications. [latex]\scriptsize f(x)={{e}^{x}}[/latex] is called the natural exponential function, and it is its own derivative.
[latex]\scriptsize \displaystyle \frac{d}{{dx}}{{e}^{x}}={{e}^{x}}[/latex]
Note
You can learn more about the uses of the natural exponent, [latex]\scriptsize e[/latex], by watching the video “[latex]\scriptsize e[/latex] and Compound Interest”.
The inverse of an exponential function is a logarithmic function. The inverse of the natural exponential function is the natural logarithmic function [latex]\scriptsize \ln x[/latex]. The base of the natural logarithmic function is [latex]\scriptsize e[/latex], so [latex]\scriptsize \ln x[/latex] is actually [latex]\scriptsize {{\ln }_{e}}x[/latex]. The derivative of the natural logarithm function is [latex]\scriptsize \displaystyle \frac{1}{x}[/latex].
[latex]\scriptsize \displaystyle \frac{d}{{dx}}\ln x=\displaystyle \frac{1}{x}\text{ where }x \gt 0,x\ne 0[/latex]
Derivatives of trigonometric functions
The trigonometric functions have the following derivatives:
[latex]\scriptsize \displaystyle \begin{align*}\displaystyle \frac{d}{{dx}}\sin x&=\cos x\\\\\displaystyle \frac{d}{{dx}}\cos x&=-\sin x\\\\\displaystyle \frac{d}{{dx}}tanx&={{\sec }^{2}}x\end{align*}[/latex]
Example 2.1
Find the derivative of:
- [latex]\scriptsize {{e}^{x}}[/latex]
- [latex]\scriptsize y=\ln x[/latex]
- [latex]\scriptsize 2\sin x+2\cos x[/latex]
- [latex]\scriptsize f(x)=\tan x[/latex]
Solutions
- .
[latex]\scriptsize \displaystyle \frac{d}{{dx}}{{e}^{x}}={{e}^{x}}[/latex] - .
[latex]\scriptsize {y}'=\displaystyle \frac{1}{x}[/latex] - .
[latex]\scriptsize \begin{align*}\displaystyle \frac{d}{{dx}}(2\sin x+2\cos x)&=\displaystyle \frac{d}{{dx}}2\sin x+\displaystyle \frac{d}{{dx}}2\cos x &&\text{ apply the sum rule for differentiation}\\&=2\cos x-2\sin x\end{align*}[/latex] - .
[latex]\scriptsize {f}'(x)={{\sec }^{2}}x[/latex]
The product rule
Now, we are ready for some of the more advanced rules of differentiation. Using the product rule we can find the derivative of the product of two functions.
[latex]\scriptsize \displaystyle \frac{d}{{dx}}\left[ {f(x)\cdot g(x)} \right]={f}'(x)\cdot g(x)+{g}'(x)\cdot f(x)[/latex]
OR
If [latex]\scriptsize u[/latex] and [latex]\scriptsize v[/latex] are functions of [latex]\scriptsize x[/latex], and [latex]\scriptsize y=u\cdot v[/latex], then:
[latex]\scriptsize \displaystyle \frac{{dy}}{{dx}}=v\displaystyle \frac{{du}}{{dx}}+u\displaystyle \frac{{dv}}{{dx}}[/latex] .
Example 2.2
Differentiate with respect to [latex]\scriptsize x[/latex]:
- [latex]\scriptsize h(x)=x\cdot \cos x[/latex]
- [latex]\scriptsize y={{x}^{2}}\cdot {{e}^{x}}[/latex]
- [latex]\scriptsize y=\ln x\cdot {{e}^{x}}[/latex]
Solutions
- [latex]\scriptsize h(x)=x\cdot \cos x[/latex]
[latex]\scriptsize \therefore f(x)=x\text{ and }g(x)=\cos x[/latex]
[latex]\scriptsize \displaystyle \begin{align*}\displaystyle \frac{d}{{dx}}[h(x)]&=\displaystyle \frac{d}{{dx}}\left[ {f(x)\cdot g(x)} \right]\\&={f}'(x)\cdot g(x)+{g}'(x)\cdot f(x)&&\text{ by the product rule}\\&=(\displaystyle \frac{d}{{dx}}x)\cos x+(\displaystyle \frac{d}{{dx}}\cos x)x\\&=\cos x+(-\sin x)x\\&=\cos x-x\sin x\end{align*}[/latex] - [latex]\scriptsize y={{x}^{2}}\cdot {{e}^{x}}[/latex]
[latex]\scriptsize u={{x}^{2}}\text{ and v}={{e}^{x}}[/latex]
[latex]\scriptsize \begin{align*}\displaystyle \frac{{dy}}{{dx}}&=\left( {\displaystyle \frac{d}{{dx}}{{x}^{2}}} \right){{e}^{x}}+\left( {\displaystyle \frac{d}{{dx}}{{e}^{x}}} \right){{x}^{2}}\\&=2x\cdot {{e}^{x}}+{{e}^{x}}\cdot {{x}^{2}}\end{align*}[/latex] - [latex]\scriptsize y=\ln x\cdot {{e}^{x}}[/latex]
[latex]\scriptsize u=\ln x\text{ and }v={{e}^{x}}[/latex]
[latex]\scriptsize \begin{align*}{y}' &=\left( {\displaystyle \frac{d}{{dx}}\ln x} \right){{e}^{x}}+\left( {\displaystyle \frac{d}{{dx}}{{e}^{x}}} \right)\ln x\\&=\displaystyle \frac{1}{x}\cdot {{e}^{x}}+{{e}^{x}}\cdot \ln x\end{align*}[/latex]
Exercise 2.1
Use the product rule to differentiate with respect to [latex]\scriptsize x[/latex]:
- [latex]\scriptsize y=x\cdot \sqrt{x}[/latex]
- [latex]\scriptsize y={{e}^{x}}\sin x[/latex]
- [latex]\scriptsize k(x)=\ln x\cdot \tan x[/latex]
- [latex]\scriptsize h(x)=\displaystyle \frac{{{{e}^{x}}}}{x}[/latex]
The full solutions are at the end of the unit.
The quotient rule
Now that you understand the product rule, we will move onto differentiating quotients of functions. Remember that the answer to division of quantities is called a quotient. So the quotient rule is what we use to find the derivative of functions that are divided.
If [latex]\scriptsize h(x)=\displaystyle \frac{{f(x)}}{{g(x)}}[/latex] then [latex]\scriptsize {h}'(x)=\displaystyle \frac{{{f}'(x)g(x)-{g}'(x).f(x)}}{{{{{\left( {g(x)} \right)}}^{2}}}}[/latex].
Example 2.3
Use the quotient rule to differentiate:
- [latex]\scriptsize h(x)=\displaystyle \frac{{2{{x}^{2}}}}{{(x-3)}}[/latex]
- [latex]\scriptsize y=\displaystyle \frac{{3x-1}}{{2x+3}}[/latex]
Solutions
- [latex]\scriptsize f(x)=2{{x}^{2}}\text{ and }g(x)=x-3[/latex]
[latex]\scriptsize {h}'(x)=\displaystyle \frac{{\displaystyle \frac{d}{{dx}}(2{{x}^{2}})\cdot (x-3)-2{{x}^{2}}\cdot \displaystyle \frac{d}{{dx}}(x-3)}}{{{{{(x-3)}}^{2}}}}[/latex]
Since the terms in the numerator are separated by a negative sign, you must be careful and use brackets to avoid mistakes.
[latex]\scriptsize \begin{align*}{h}'(x)&=\displaystyle \frac{{4x(x-3)-2{{x}^{2}}(1)}}{{{{{(x-3)}}^{2}}}}\\&=\displaystyle \frac{{4{{x}^{2}}-12x-2{{x}^{2}}}}{{{{{(x-3)}}^{2}}}}\\&=\displaystyle \frac{{2{{x}^{2}}-12x}}{{{{{(x-3)}}^{2}}}}\\&=\displaystyle \frac{{2x(x-6)}}{{{{{(x-3)}}^{2}}}}\end{align*}[/latex] - [latex]\scriptsize f(x)=3x-1\text{ and }g(x)=2x+3[/latex]
[latex]\scriptsize \begin{align*}\displaystyle \frac{{dy}}{{dx}}&=\displaystyle \frac{{(2x+3)\displaystyle \frac{d}{{dx}}(3x-1)-(3x-1)\displaystyle \frac{d}{{dx}}(2x+3)}}{{{{{(2x+3)}}^{2}}}}\\&=\displaystyle \frac{{(2x+3)(3)-(3x-1)(2)}}{{{{{(2x+3)}}^{2}}}}\\&=\displaystyle \frac{{6x+9-6x+2}}{{{{{(2x+3)}}^{2}}}}\\&=\displaystyle \frac{{11}}{{{{{(2x+3)}}^{2}}}}\end{align*}[/latex]
Exercise 2.2
Use the quotient rule to differentiate:
- [latex]\scriptsize h(x)=\displaystyle \frac{{{{e}^{x}}}}{{(x-1)}}[/latex]
- [latex]\scriptsize y=\displaystyle \frac{{\sin x}}{{\tan x}}[/latex]
- [latex]\scriptsize g(x)=\displaystyle \frac{x}{{{{e}^{x}}}}[/latex]
The full solutions are at the end of the unit.
The chain rule
So far we have differentiated functions using the following rules for differentiation: sum and difference rule, constant rule, power rule, product rule and quotient rule. However, these techniques do not allow us to differentiate compositions of functions, such as [latex]\scriptsize y=\sin ({{x}^{2}})[/latex]. To differentiate composite functions we must use the chain rule. But, what are composite functions?
Note
You can watch this animation of the chain rule for an ‘intuitive notion of the chain rule’.
[latex]\scriptsize y=f(g(x))[/latex] is a composite function or a function of a function. Consider the function [latex]\scriptsize \sin {{x}^{2}}[/latex]. You should be able to see that this expression is different from the normal [latex]\scriptsize \sin x[/latex] function since [latex]\scriptsize x[/latex] is squared.
This is a function of function with [latex]\scriptsize f(x)=\sin x[/latex] and [latex]\scriptsize g(x)={{x}^{2}}[/latex].
So [latex]\scriptsize f(g(x))=f({{x}^{2}})[/latex].
Substitute [latex]\scriptsize x[/latex] with [latex]\scriptsize {{x}^{2}}[/latex] and you get:
[latex]\scriptsize f(g(x))=f({{x}^{2}})=\sin {{x}^{2}}[/latex].
We can think of the derivative of this function as the rate of change of [latex]\scriptsize \sin ({{x}^{2}})[/latex] relative to the change in [latex]\scriptsize x[/latex]. We want to know how [latex]\scriptsize \sin ({{x}^{2}})[/latex] changes as [latex]\scriptsize x[/latex] changes. Any change in [latex]\scriptsize x[/latex] leads a chain reaction; as [latex]\scriptsize x[/latex] changes, [latex]\scriptsize {{x}^{2}}[/latex] changes , which leads [latex]\scriptsize \sin ({{x}^{2}})[/latex] to change too.
To differentiate a composite function [latex]\scriptsize y=f(g(x))[/latex]:
- Substitute [latex]\scriptsize u[/latex] for [latex]\scriptsize g(x)[/latex] to get [latex]\scriptsize y=f(u)[/latex]. So[latex]\scriptsize y[/latex] is a function of [latex]\scriptsize u[/latex] and [latex]\scriptsize u[/latex] is a function of [latex]\scriptsize x[/latex].
- Apply the chain rule.
Chain rule:
If [latex]\scriptsize y[/latex] is a function of [latex]\scriptsize u[/latex] and [latex]\scriptsize u[/latex] is a function of [latex]\scriptsize x[/latex], then [latex]\scriptsize \displaystyle \frac{{dy}}{{dx}}=\displaystyle \frac{{dy}}{{du}}\cdot \displaystyle \frac{{du}}{{dx}}[/latex].
When applying the chain rule to the composition of functions, we work our way from the outside function in.
Example 2.4
Differentiate [latex]\scriptsize y=\sin ({{x}^{2}})[/latex].
Solution
Let [latex]\scriptsize u={{x}^{2}}[/latex] then [latex]\scriptsize y=\sin (u)[/latex].
[latex]\scriptsize \displaystyle \frac{{du}}{{dx}}=2x[/latex] and [latex]\scriptsize \displaystyle \frac{{dy}}{{du}}=\cos u[/latex]
From the chain rule [latex]\scriptsize \displaystyle \frac{{dy}}{{dx}}=\displaystyle \frac{{dy}}{{du}}\cdot \displaystyle \frac{{du}}{{dx}}[/latex].
[latex]\scriptsize \begin{align*}\displaystyle \frac{{dy}}{{dx}}&=\cos u\cdot (2x)\\&=2x\cos {{x}^{2}}\end{align*}[/latex]
In the last step we substituted [latex]\scriptsize u={{x}^{2}}[/latex].
We can expand on the basic trigonometric derivative rules to include composite functions as shown in the box below.
[latex]\scriptsize \begin{align*}\displaystyle \frac{d}{{dx}}a\sin kx&=k\cdot a\cos kx\\\\\displaystyle \frac{d}{{dx}}a\cos kx&=-k\cdot a\sin kx\\\\\displaystyle \frac{d}{{dx}}a\text{ }\tan nx&=k\cdot a{{\sec }^{2}}kx\end{align*}[/latex]
Example 2.5
Find the derivative of [latex]\scriptsize y={{(2x-1)}^{5}}[/latex].
Solution
You may be tempted to say just multiply out the brackets to derive, but to multiply out the brackets would take a long time and it is easy to make a mistake with so many terms. So we will treat this as a function of a function. Let [latex]\scriptsize u=2x-1[/latex] then [latex]\scriptsize y={{u}^{5}}[/latex].
Then [latex]\scriptsize \displaystyle \frac{{du}}{{dx}}=2[/latex] and [latex]\scriptsize \displaystyle \frac{{dy}}{{du}}=5{{x}^{4}}[/latex].
From the chain rule [latex]\scriptsize \displaystyle \frac{{dy}}{{dx}}=\displaystyle \frac{{dy}}{{du}}\cdot \displaystyle \frac{{du}}{{dx}}[/latex].
So we get [latex]\scriptsize \begin{align*}\displaystyle \frac{{dy}}{{dx}}&=5{{x}^{4}}\cdot (2)\\&=10{{x}^{4}}\end{align*}[/latex].
Here is a summary of the rules of differentiation for simple functions and composite functions.
Simple functions | Composite functions |
[latex]\scriptsize \displaystyle \frac{d}{{dx}}k=0,\text{ where k is a constant}\text{.}[/latex] | |
[latex]\scriptsize \displaystyle \frac{d}{{dx}}k{{x}^{n}}=n\cdot k{{x}^{{n-1}}},\text{where k is a constant}.[/latex] | [latex]\scriptsize \displaystyle \begin{align*}\displaystyle \frac{d}{{dx}}k{{[f(x)]}^{n}}&=k\displaystyle \frac{d}{{dx}}{{[f(x)]}^{n}},&&\text{ where k is a constant}\text{.}\\&=k\cdot n{{[f(x)]}^{{n-1}}}\cdot {f}'(x)\end{align*}[/latex] |
[latex]\scriptsize \displaystyle \frac{d}{{dx}}{{e}^{x}}={{e}^{x}}[/latex] | [latex]\scriptsize \displaystyle \frac{d}{{dx}}{{e}^{{f(x)}}}={f}'(x)\cdot {{e}^{{f(x)}}}[/latex] |
[latex]\scriptsize \displaystyle \frac{d}{{dx}}\ln x=\displaystyle \frac{1}{x}[/latex] | [latex]\scriptsize \displaystyle \frac{d}{{dx}}\ln [f(x)]=\displaystyle \frac{1}{{f(x)}}\cdot {f}'(x)[/latex] |
[latex]\scriptsize \displaystyle \displaystyle \frac{d}{{dx}}\sin x=\cos x[/latex] | [latex]\scriptsize \displaystyle \displaystyle \frac{d}{{dx}}\sin f(x)={f}'(x)\cdot \cos f(x)[/latex] |
[latex]\scriptsize \displaystyle \displaystyle \frac{d}{{dx}}\cos x=-\sin x[/latex] | [latex]\scriptsize \displaystyle \displaystyle \frac{d}{{dx}}\cos f(x)=-\sin f(x)\cdot {f}'(x)[/latex] |
[latex]\scriptsize \displaystyle \displaystyle \frac{d}{{dx}}\tan x={{\sec }^{2}}x[/latex] | [latex]\scriptsize \displaystyle \displaystyle \frac{d}{{dx}}\tan f(x)={f}'(x)\cdot {{\sec }^{2}}f(x)[/latex] |
Exercise 2.3
Differentiate the following functions:
- [latex]\scriptsize f(x)=\sqrt{{{{x}^{2}}+1}}[/latex]
- [latex]\scriptsize g(x)=3\tan 2x[/latex]
- [latex]\scriptsize y={{e}^{{{{{\sin }}^{2}}(2x)}}}[/latex]
- [latex]\scriptsize s=\cos {{e}^{{3t}}}[/latex]
- [latex]\scriptsize h(x)=\ln (\sin x)[/latex]
The full solutions are at the end of the unit.
Summary
In this unit you have learnt the following:
- How to apply the product rule for differentiation.
- How to apply the quotient rule for differentiation.
- How to define composite functions.
- How to apply the chain rule.
Unit 2: Assessment
Suggested time to complete: 35 minutes
Differentiate with respect to [latex]\scriptsize x[/latex]:
- [latex]\scriptsize y=\displaystyle \frac{1}{x}(2x+3)[/latex]
- [latex]\scriptsize f(x)=\cos 2x[/latex]
- [latex]\scriptsize y=\ln 3x[/latex]
- [latex]\scriptsize y=\sqrt{{x-1}}[/latex]
- [latex]\scriptsize g(x)={{e}^{x}}\cdot \ln 3x[/latex]
- [latex]\scriptsize h(x)={{e}^{{2x}}}\cdot x[/latex]
- [latex]\scriptsize y=x\tan 2x[/latex]
- [latex]\scriptsize y=\displaystyle \frac{{{{e}^{{2x}}}}}{{{{e}^{x}}-{{e}^{{-x}}}}}[/latex]
- [latex]\scriptsize y=\displaystyle \frac{x}{{\sqrt{{2{{x}^{2}}+1}}}}[/latex]
The full solutions are at the end of the unit.
Unit 2: Solutions
Exercise 2.1
- .
[latex]\scriptsize \displaystyle \begin{align*}{y}' &=\displaystyle \frac{d}{{dx}}x\cdot {{x}^{{\tfrac{1}{2}}}}+\displaystyle \frac{d}{{dx}}{{x}^{{\tfrac{1}{2}}}}\cdot x\\&={{x}^{{\tfrac{1}{2}}}}+\displaystyle \frac{1}{2}{{x}^{{-\tfrac{1}{2}}}}\cdot x\\&={{x}^{{\tfrac{1}{2}}}}+\displaystyle \frac{1}{2}{{x}^{{\tfrac{1}{2}}}}\\&=\displaystyle \frac{3}{2}\sqrt{x}\end{align*}[/latex] - .
[latex]\scriptsize \begin{align*}\displaystyle \frac{{dy}}{{dx}}&=\displaystyle \frac{d}{{dx}}{{e}^{x}}\cdot \sin x+\displaystyle \frac{d}{{dx}}\sin x\cdot {{e}^{x}}\\&={{e}^{x}}\cdot \sin x+\cos x\cdot {{e}^{x}}\end{align*}[/latex] - .
[latex]\scriptsize k(x)=\ln x\cdot \tan x[/latex]
[latex]\scriptsize \begin{align*}{k}'(x)&=\displaystyle \frac{d}{{dx}}\ln x\cdot \tan x+\ln x\cdot \displaystyle \frac{d}{{dx}}\tan x\\&=\displaystyle \frac{{\tan x}}{x}+\ln x{{\sec }^{2}}x\end{align*}[/latex] - .
[latex]\scriptsize h(x)=\displaystyle \frac{{{{e}^{x}}}}{x}={{e}^{x}}\cdot {{x}^{{-1}}}[/latex]
[latex]\scriptsize \displaystyle \begin{align*}{h}'(x)&=\displaystyle \frac{d}{{dx}}{{e}^{x}}\cdot {{x}^{{-1}}}+\displaystyle \frac{d}{{dx}}{{x}^{{-1}}}\cdot {{e}^{x}}\left[ {} \right]\\&=\displaystyle \frac{{{{e}^{x}}}}{x}+(-{{x}^{{-2}}}){{e}^{x}}\\&=\displaystyle \frac{{{{e}^{x}}}}{x}-\displaystyle \frac{{{{e}^{x}}}}{{{{x}^{2}}}}\end{align*}[/latex]
Exercise 2.2
- .
[latex]\scriptsize \displaystyle \begin{align*}{h}'(x)&=\displaystyle \frac{{(x-1)\displaystyle \frac{d}{{dx}}{{e}^{x}}-{{e}^{x}}\displaystyle \frac{d}{{dx}}(x-1)}}{{{{{(x-1)}}^{2}}}}\\&=\displaystyle \frac{{(x-1){{e}^{x}}-{{e}^{x}}(1)}}{{{{{(x-1)}}^{2}}}}\\&=\displaystyle \frac{{x{{e}^{x}}-{{e}^{x}}-{{e}^{x}}}}{{{{{(x-1)}}^{2}}}}\\&=\displaystyle \frac{{x{{e}^{x}}-2{{e}^{x}}}}{{{{{(x-1)}}^{2}}}}\\&=\displaystyle \frac{{{{e}^{x}}(x-2)}}{{{{{(x-1)}}^{2}}}}\end{align*}[/latex] - .
[latex]\scriptsize \displaystyle \begin{align*}{y}' &=\displaystyle \frac{{\tan x\displaystyle \frac{d}{{dx}}\sin x-\sin x\displaystyle \frac{d}{{dx}}\tan x}}{{{{{(\tan x)}}^{2}}}}\\&=\displaystyle \frac{{\tan x(\cos x)-\sin x({{{\sec }}^{2}}x)}}{{{{{(\tan x)}}^{2}}}}&&\text{ simplify using trig identities}\\&=\displaystyle \frac{{\displaystyle \frac{{\sin x}}{{\cos x}}\displaystyle \frac{{(\cos x)}}{1}-\displaystyle \frac{{\sin x}}{{{{{\cos }}^{2}}x}}}}{{{{{(\displaystyle \frac{{\sin x}}{{\cos x}})}}^{2}}}}&&\text{ find an LCD in the numerator and subtract terms}\\&=\displaystyle \frac{{\sin x{{{\cos }}^{2}}x-\sin x}}{{\cancel{{{{{\cos }}^{2}}x}}}}\cdot \displaystyle \frac{{\cancel{{{{{\cos }}^{2}}x}}}}{{{{{\sin }}^{2}}x}}\\&=\displaystyle \frac{{-\sin x(1-{{{\cos }}^{2}}x)}}{{{{{\sin }}^{2}}x}}\\&=\displaystyle \frac{{-{{{\sin }}^{3}}x}}{{{{{\sin }}^{2}}x}}\\&=-\sin x\end{align*}[/latex] - .
[latex]\scriptsize \displaystyle \begin{align*}{g}'(x)&=\displaystyle \frac{{{{e}^{x}}\displaystyle \frac{d}{{dx}}x-x\displaystyle \frac{d}{{dx}}{{e}^{x}}}}{{{{{({{e}^{x}})}}^{2}}}}\\&=\displaystyle \frac{{{{e}^{x}}(1)-x({{e}^{x}})}}{{{{{({{e}^{x}})}}^{2}}}}\\&=\displaystyle \frac{{{{e}^{x}}(1-x)}}{{{{e}^{{2x}}}}}\\&=\displaystyle \frac{{1-x}}{{{{e}^{x}}}}\end{align*}[/latex]
Exercise 2.3
Determine [latex]\scriptsize \displaystyle \frac{{dy}}{{dx}}[/latex] for the following functions.
- .
[latex]\scriptsize f(x)={{({{x}^{2}}+1)}^{{\displaystyle \frac{1}{2}}}}[/latex]
[latex]\scriptsize \begin{align*}{f}'(x)&=\displaystyle \frac{1}{2}{{({{x}^{2}}+1)}^{{-\displaystyle \frac{1}{2}}}}\cdot \displaystyle \frac{d}{{dx}}({{x}^{2}}+1)\\&=\displaystyle \frac{1}{2}{{({{x}^{2}}+1)}^{{-\displaystyle \frac{1}{2}}}}\cdot (2x)\\&=\displaystyle \frac{x}{{\sqrt{{{{x}^{2}}+1}}}}\end{align*}[/latex] - .
[latex]\scriptsize \begin{align*}{g}'(x)&=3(2{{\sec }^{2}}2x)\\&=6{{\sec }^{2}}2x\end{align*}[/latex] - .
[latex]\scriptsize \displaystyle \begin{align*}{y}' &={{e}^{{{{{\sin }}^{2}}(2x)}}}\cdot \displaystyle \frac{d}{{dx}}{{[\sin (2x)]}^{2}}\\&={{e}^{{{{{\sin }}^{2}}(2x)}}}\cdot 2{{(\sin 2x)}^{1}}\cdot \displaystyle \frac{d}{{dx}}\sin 2x\\&={{e}^{{{{{\sin }}^{2}}(2x)}}}\cdot 2(\sin 2x)\cdot (\cos 2x)\cdot \displaystyle \frac{d}{{dx}}(2x)\\&={{e}^{{{{{\sin }}^{2}}(2x)}}}\cdot 2(\sin 2x)\cdot (\cos 2x)\cdot 2\\&=2{{e}^{{{{{\sin }}^{2}}(2x)}}}\cdot 2\sin 2x\cos 2x\text{ Note:}\text{ }\sin 2A=2\sin A\cos A\\&=2{{e}^{{{{{\sin }}^{2}}(2x)}}}\sin 4x\end{align*}[/latex] - .
[latex]\scriptsize \begin{align*}s' &=-\sin {{e}^{{3t}}}\cdot \displaystyle \frac{d}{{dx}}{{e}^{{3t}}}\\&=-\sin {{e}^{{3t}}}\cdot 3{{e}^{{3t}}}\\&=-3{{e}^{{3t}}}\sin {{e}^{{3t}}}\end{align*}[/latex] - .
[latex]\scriptsize \begin{align*}{h}'(x)&=\displaystyle \frac{1}{{\sin x}}(\cos x)\\&=\displaystyle \frac{{\cos x}}{{\sin x}}\end{align*}[/latex]
Unit 2: Assessment
- .
[latex]\scriptsize \begin{align*}{y}' &=\displaystyle \frac{d}{{dx}}{{x}^{{-1}}}\cdot (2x+3)+\displaystyle \frac{d}{{dx}}(2x+3)\cdot \displaystyle \frac{1}{x}\\&=\displaystyle \frac{{-(2x+3)}}{{{{x}^{2}}}}+\displaystyle \frac{2}{x}\\&=\displaystyle \frac{{-2x-3+2x}}{{{{x}^{2}}}}\\&=\displaystyle \frac{{-3}}{{{{x}^{2}}}}\end{align*}[/latex] - .
[latex]\scriptsize {f}'(x)=-2\sin 2x[/latex] - .
[latex]\scriptsize \begin{align*}{y}' &=\displaystyle \frac{3}{{3x}}\\&=\displaystyle \frac{1}{x}\end{align*}[/latex] - .
[latex]\scriptsize \displaystyle \begin{align*}y&=\sqrt{{x-1}}\\\text{Let }u&=x-1\\\displaystyle \frac{{du}}{{dx}}&=1\\y&={{u}^{{\displaystyle \frac{1}{2}}}}\\\displaystyle \frac{{dy}}{{du}}&=\displaystyle \frac{1}{2}{{u}^{{\displaystyle \frac{{-1}}{2}}}}\\\therefore {y}' &=\displaystyle \frac{1}{{2\sqrt{{x-1}}}}\end{align*}[/latex] - .
[latex]\scriptsize \displaystyle \begin{align*}{g}'(x)&={{e}^{x}}\cdot \ln 3x+\displaystyle \frac{3}{{3x}}\cdot {{e}^{x}}\\&={{e}^{x}}\cdot \ln 3x+\displaystyle \frac{{{{e}^{x}}}}{x}\end{align*}[/latex] - .
[latex]\scriptsize \begin{align*}{h}'(x)&=2{{e}^{{2x}}}\cdot x+(1){{e}^{{2x}}}\\&=2x{{e}^{{2x}}}+{{e}^{{2x}}}\end{align*}[/latex] - .
[latex]\scriptsize {y}'=\tan 2x+2x{{\sec }^{2}}2x[/latex] - .
[latex]\scriptsize \displaystyle \begin{align*}{y}' &=\displaystyle \frac{{\displaystyle \frac{d}{{dx}}{{e}^{{2x}}}({{e}^{x}}-{{e}^{{-x}}})-\displaystyle \frac{d}{{dx}}({{e}^{x}}-{{e}^{{-x}}}){{e}^{{2x}}}}}{{{{{({{e}^{x}}-{{e}^{{-x}}})}}^{2}}}}\\&=\displaystyle \frac{{2{{e}^{{2x}}}({{e}^{x}}-{{e}^{{-x}}})-{{e}^{{2x}}}({{e}^{x}}+{{e}^{{-x}}})}}{{{{{({{e}^{x}}-{{e}^{{-x}}})}}^{2}}}}\\&=\displaystyle \frac{{2{{e}^{{3x}}}-2{{e}^{x}}-{{e}^{{3x}}}-{{e}^{x}}}}{{{{{({{e}^{x}}-{{e}^{{-x}}})}}^{2}}}}\\&=\displaystyle \frac{{{{e}^{{3x}}}-3{{e}^{x}}}}{{{{{({{e}^{x}}-{{e}^{{-x}}})}}^{2}}}}\end{align*}[/latex] - .
[latex]\scriptsize \displaystyle \begin{align*}{y}' &=\displaystyle \frac{{\displaystyle \frac{d}{{dx}}x(\sqrt{{2{{x}^{2}}+1}})-x\displaystyle \frac{d}{{dx}}{{{(2{{x}^{2}}+1)}}^{{\displaystyle \frac{1}{2}}}}}}{{{{{(\sqrt{{2{{x}^{2}}+1}})}}^{2}}}}\\&=\displaystyle \frac{{\sqrt{{2{{x}^{2}}+1}}-x[\displaystyle \frac{1}{2}{{{(2{{x}^{2}}+1)}}^{{-\displaystyle \frac{1}{2}}}}(4x)]}}{{2{{x}^{2}}+1}}\\&=\displaystyle \frac{{\sqrt{{2{{x}^{2}}+1}}-\displaystyle \frac{{2{{x}^{2}}}}{{\sqrt{{2{{x}^{2}}+1}}}}}}{{2{{x}^{2}}+1}}\\&=\displaystyle \frac{{{{{\left( {\sqrt{{2{{x}^{2}}+1}}} \right)}}^{2}}-2{{x}^{2}}}}{{\sqrt{{2{{x}^{2}}+1}}}}\cdot \displaystyle \frac{1}{{2{{x}^{2}}+1}}\\&=\displaystyle \frac{{-2{{x}^{2}}}}{{\sqrt{{2{{x}^{2}}+1}}}}\end{align*}[/latex]