Please login to create an exam or a quiz.
Find the derivative of \(\displaystyle y = (5 - 9 x)(e^{x})(\cos{\left(x \right)})\).
Identifying \(\displaystyle f=5 - 9 x\) and \(\displaystyle g=e^{x} \cos{\left(x \right)}\) and using the product rule with \(\displaystyle f=5 - 9 x \implies f'=-9\). This leaves g as \(\displaystyle g = e^{x} \cos{\left(x \right)}\) which also requires the product rule. Pushing down in the new product rule \(\displaystyle f=e^{x} \implies f'=e^{x}\) and \(\displaystyle g=\cos{\left(x \right)} \implies g'=- \sin{\left(x \right)}\). Popping up a level gives \(\displaystyle g'=(\cos{\left(x \right)})(e^{x})+(e^{x})(- \sin{\left(x \right)})\)Popping up again (Back to the original problem) gives \(\displaystyle f'=(5 - 9 x)(- e^{x} \sin{\left(x \right)} + e^{x} \cos{\left(x \right)})+(e^{x} \cos{\left(x \right)})(-9)=- \left(5 - 9 x\right) e^{x} \sin{\left(x \right)} + \left(5 - 9 x\right) e^{x} \cos{\left(x \right)} - 9 e^{x} \cos{\left(x \right)}\)
\begin{question}Find the derivative of $y = (5 - 9 x)(e^{x})(\cos{\left(x \right)})$.
\soln{9cm}{Identifying $f=5 - 9 x$ and $g=e^{x} \cos{\left(x \right)}$ and using the product rule with $f=5 - 9 x \implies f'=-9$. This leaves g as $g = e^{x} \cos{\left(x \right)}$ which also requires the product rule. Pushing down in the new product rule $f=e^{x} \implies f'=e^{x}$ and $g=\cos{\left(x \right)} \implies g'=- \sin{\left(x \right)}$. Popping up a level gives $g'=(\cos{\left(x \right)})(e^{x})+(e^{x})(- \sin{\left(x \right)})$Popping up again (Back to the original problem) gives $f'=(5 - 9 x)(- e^{x} \sin{\left(x \right)} + e^{x} \cos{\left(x \right)})+(e^{x} \cos{\left(x \right)})(-9)=- \left(5 - 9 x\right) e^{x} \sin{\left(x \right)} + \left(5 - 9 x\right) e^{x} \cos{\left(x \right)} - 9 e^{x} \cos{\left(x \right)}$}
\end{question}
\documentclass{article}
\usepackage{tikz}
\usepackage{amsmath}
\usepackage[margin=2cm]{geometry}
\usepackage{tcolorbox}
\newcounter{ExamNumber}
\newcounter{questioncount}
\stepcounter{questioncount}
\newenvironment{question}{{\noindent\bfseries Question \arabic{questioncount}.}}{\stepcounter{questioncount}}
\renewcommand{\labelenumi}{{\bfseries (\alph{enumi})}}
\newif\ifShowSolution
\newcommand{\soln}[2]{%
\ifShowSolution%
\noindent\begin{tcolorbox}[colframe=blue,title=Solution]#2\end{tcolorbox}\else%
\vspace{#1}%
\fi%
}%
\newcommand{\hideifShowSolution}[1]{%
\ifShowSolution%
%
\else%
#1%
\fi%
}%
\everymath{\displaystyle}
\ShowSolutiontrue
\begin{document}\begin{question}(10pts) The question goes here!
\soln{9cm}{The solution goes here.}
\end{question}\end{document}<p> <p>Find the derivative of <img class="equation_image" title=" \displaystyle y = (5 - 9 x)(e^{x})(\cos{\left(x \right)}) " src="/equation_images/%20%5Cdisplaystyle%20y%20%3D%20%285%20-%209%20x%29%28e%5E%7Bx%7D%29%28%5Ccos%7B%5Cleft%28x%20%5Cright%29%7D%29%20" alt="LaTeX: \displaystyle y = (5 - 9 x)(e^{x})(\cos{\left(x \right)}) " data-equation-content=" \displaystyle y = (5 - 9 x)(e^{x})(\cos{\left(x \right)}) " /> .</p> </p><p> <p>Identifying <img class="equation_image" title=" \displaystyle f=5 - 9 x " src="/equation_images/%20%5Cdisplaystyle%20f%3D5%20-%209%20x%20" alt="LaTeX: \displaystyle f=5 - 9 x " data-equation-content=" \displaystyle f=5 - 9 x " /> and <img class="equation_image" title=" \displaystyle g=e^{x} \cos{\left(x \right)} " src="/equation_images/%20%5Cdisplaystyle%20g%3De%5E%7Bx%7D%20%5Ccos%7B%5Cleft%28x%20%5Cright%29%7D%20" alt="LaTeX: \displaystyle g=e^{x} \cos{\left(x \right)} " data-equation-content=" \displaystyle g=e^{x} \cos{\left(x \right)} " /> and using the product rule with <img class="equation_image" title=" \displaystyle f=5 - 9 x \implies f'=-9 " src="/equation_images/%20%5Cdisplaystyle%20f%3D5%20-%209%20x%20%5Cimplies%20f%27%3D-9%20" alt="LaTeX: \displaystyle f=5 - 9 x \implies f'=-9 " data-equation-content=" \displaystyle f=5 - 9 x \implies f'=-9 " /> . This leaves g as <img class="equation_image" title=" \displaystyle g = e^{x} \cos{\left(x \right)} " src="/equation_images/%20%5Cdisplaystyle%20g%20%3D%20e%5E%7Bx%7D%20%5Ccos%7B%5Cleft%28x%20%5Cright%29%7D%20" alt="LaTeX: \displaystyle g = e^{x} \cos{\left(x \right)} " data-equation-content=" \displaystyle g = e^{x} \cos{\left(x \right)} " /> which also requires the product rule. Pushing down in the new product rule <img class="equation_image" title=" \displaystyle f=e^{x} \implies f'=e^{x} " src="/equation_images/%20%5Cdisplaystyle%20f%3De%5E%7Bx%7D%20%5Cimplies%20f%27%3De%5E%7Bx%7D%20" alt="LaTeX: \displaystyle f=e^{x} \implies f'=e^{x} " data-equation-content=" \displaystyle f=e^{x} \implies f'=e^{x} " /> and <img class="equation_image" title=" \displaystyle g=\cos{\left(x \right)} \implies g'=- \sin{\left(x \right)} " src="/equation_images/%20%5Cdisplaystyle%20g%3D%5Ccos%7B%5Cleft%28x%20%5Cright%29%7D%20%5Cimplies%20g%27%3D-%20%5Csin%7B%5Cleft%28x%20%5Cright%29%7D%20" alt="LaTeX: \displaystyle g=\cos{\left(x \right)} \implies g'=- \sin{\left(x \right)} " data-equation-content=" \displaystyle g=\cos{\left(x \right)} \implies g'=- \sin{\left(x \right)} " /> . Popping up a level gives <img class="equation_image" title=" \displaystyle g'=(\cos{\left(x \right)})(e^{x})+(e^{x})(- \sin{\left(x \right)}) " src="/equation_images/%20%5Cdisplaystyle%20g%27%3D%28%5Ccos%7B%5Cleft%28x%20%5Cright%29%7D%29%28e%5E%7Bx%7D%29%2B%28e%5E%7Bx%7D%29%28-%20%5Csin%7B%5Cleft%28x%20%5Cright%29%7D%29%20" alt="LaTeX: \displaystyle g'=(\cos{\left(x \right)})(e^{x})+(e^{x})(- \sin{\left(x \right)}) " data-equation-content=" \displaystyle g'=(\cos{\left(x \right)})(e^{x})+(e^{x})(- \sin{\left(x \right)}) " /> Popping up again (Back to the original problem) gives <img class="equation_image" title=" \displaystyle f'=(5 - 9 x)(- e^{x} \sin{\left(x \right)} + e^{x} \cos{\left(x \right)})+(e^{x} \cos{\left(x \right)})(-9)=- \left(5 - 9 x\right) e^{x} \sin{\left(x \right)} + \left(5 - 9 x\right) e^{x} \cos{\left(x \right)} - 9 e^{x} \cos{\left(x \right)} " src="/equation_images/%20%5Cdisplaystyle%20f%27%3D%285%20-%209%20x%29%28-%20e%5E%7Bx%7D%20%5Csin%7B%5Cleft%28x%20%5Cright%29%7D%20%2B%20e%5E%7Bx%7D%20%5Ccos%7B%5Cleft%28x%20%5Cright%29%7D%29%2B%28e%5E%7Bx%7D%20%5Ccos%7B%5Cleft%28x%20%5Cright%29%7D%29%28-9%29%3D-%20%5Cleft%285%20-%209%20x%5Cright%29%20e%5E%7Bx%7D%20%5Csin%7B%5Cleft%28x%20%5Cright%29%7D%20%2B%20%5Cleft%285%20-%209%20x%5Cright%29%20e%5E%7Bx%7D%20%5Ccos%7B%5Cleft%28x%20%5Cright%29%7D%20-%209%20e%5E%7Bx%7D%20%5Ccos%7B%5Cleft%28x%20%5Cright%29%7D%20" alt="LaTeX: \displaystyle f'=(5 - 9 x)(- e^{x} \sin{\left(x \right)} + e^{x} \cos{\left(x \right)})+(e^{x} \cos{\left(x \right)})(-9)=- \left(5 - 9 x\right) e^{x} \sin{\left(x \right)} + \left(5 - 9 x\right) e^{x} \cos{\left(x \right)} - 9 e^{x} \cos{\left(x \right)} " data-equation-content=" \displaystyle f'=(5 - 9 x)(- e^{x} \sin{\left(x \right)} + e^{x} \cos{\left(x \right)})+(e^{x} \cos{\left(x \right)})(-9)=- \left(5 - 9 x\right) e^{x} \sin{\left(x \right)} + \left(5 - 9 x\right) e^{x} \cos{\left(x \right)} - 9 e^{x} \cos{\left(x \right)} " /> </p> </p>