<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.math.ucr.edu/index.php?action=history&amp;feed=atom&amp;title=009B_Sample_Midterm_3%2C_Problem_5</id>
	<title>009B Sample Midterm 3, Problem 5 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.math.ucr.edu/index.php?action=history&amp;feed=atom&amp;title=009B_Sample_Midterm_3%2C_Problem_5"/>
	<link rel="alternate" type="text/html" href="https://wiki.math.ucr.edu/index.php?title=009B_Sample_Midterm_3,_Problem_5&amp;action=history"/>
	<updated>2026-04-22T17:02:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://wiki.math.ucr.edu/index.php?title=009B_Sample_Midterm_3,_Problem_5&amp;diff=1984&amp;oldid=prev</id>
		<title>MathAdmin: Replaced content with &quot;&lt;span class=&quot;exam&quot;&gt;Evaluate the indefinite and definite integrals.  &lt;span class=&quot;exam&quot;&gt;(a) &amp;nbsp; &lt;math&gt;\int x\ln x ~dx&lt;/math&gt;   &lt;span class=&quot;exam&quot;&gt;(b) &amp;nbsp; &lt;math&gt;\int_0...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.math.ucr.edu/index.php?title=009B_Sample_Midterm_3,_Problem_5&amp;diff=1984&amp;oldid=prev"/>
		<updated>2017-11-24T01:19:00Z</updated>

		<summary type="html">&lt;p&gt;Replaced content with &amp;quot;&amp;lt;span class=&amp;quot;exam&amp;quot;&amp;gt;Evaluate the indefinite and definite integrals.  &amp;lt;span class=&amp;quot;exam&amp;quot;&amp;gt;(a)   &amp;lt;math&amp;gt;\int x\ln x ~dx&amp;lt;/math&amp;gt;   &amp;lt;span class=&amp;quot;exam&amp;quot;&amp;gt;(b)   &amp;lt;math&amp;gt;\int_0...&amp;quot;&lt;/p&gt;
&lt;a href=&quot;https://wiki.math.ucr.edu/index.php?title=009B_Sample_Midterm_3,_Problem_5&amp;amp;diff=1984&amp;amp;oldid=1507&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>MathAdmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.math.ucr.edu/index.php?title=009B_Sample_Midterm_3,_Problem_5&amp;diff=1507&amp;oldid=prev</id>
		<title>MathAdmin at 19:21, 9 April 2017</title>
		<link rel="alternate" type="text/html" href="https://wiki.math.ucr.edu/index.php?title=009B_Sample_Midterm_3,_Problem_5&amp;diff=1507&amp;oldid=prev"/>
		<updated>2017-04-09T19:21:08Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://wiki.math.ucr.edu/index.php?title=009B_Sample_Midterm_3,_Problem_5&amp;amp;diff=1507&amp;amp;oldid=1383&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>MathAdmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.math.ucr.edu/index.php?title=009B_Sample_Midterm_3,_Problem_5&amp;diff=1383&amp;oldid=prev</id>
		<title>MathAdmin: Created page with &quot;&lt;span class=&quot;exam&quot;&gt;Evaluate the indefinite and definite integrals.  ::&lt;span class=&quot;exam&quot;&gt;a) &lt;math&gt;\int \tan^3x ~dx&lt;/math&gt;  ::&lt;span class=&quot;exam&quot;&gt;b) &lt;math&gt;\int_0^\pi \sin^2x~dx&lt;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.math.ucr.edu/index.php?title=009B_Sample_Midterm_3,_Problem_5&amp;diff=1383&amp;oldid=prev"/>
		<updated>2016-04-19T00:59:03Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;span class=&amp;quot;exam&amp;quot;&amp;gt;Evaluate the indefinite and definite integrals.  ::&amp;lt;span class=&amp;quot;exam&amp;quot;&amp;gt;a) &amp;lt;math&amp;gt;\int \tan^3x ~dx&amp;lt;/math&amp;gt;  ::&amp;lt;span class=&amp;quot;exam&amp;quot;&amp;gt;b) &amp;lt;math&amp;gt;\int_0^\pi \sin^2x~dx&amp;lt;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;span class=&amp;quot;exam&amp;quot;&amp;gt;Evaluate the indefinite and definite integrals.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;span class=&amp;quot;exam&amp;quot;&amp;gt;a) &amp;lt;math&amp;gt;\int \tan^3x ~dx&amp;lt;/math&amp;gt; &lt;br /&gt;
::&amp;lt;span class=&amp;quot;exam&amp;quot;&amp;gt;b) &amp;lt;math&amp;gt;\int_0^\pi \sin^2x~dx&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; style = &amp;quot;text-align:left;&amp;quot;&lt;br /&gt;
!Foundations: &amp;amp;nbsp; &lt;br /&gt;
|-&lt;br /&gt;
|Recall the trig identities: &lt;br /&gt;
|-&lt;br /&gt;
|'''1.''' &amp;lt;math style=&amp;quot;vertical-align: -3px&amp;quot;&amp;gt;\tan^2x+1=\sec^2x&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|'''2.''' &amp;lt;math style=&amp;quot;vertical-align: -13px&amp;quot;&amp;gt;\sin^2(x)=\frac{1-\cos(2x)}{2}&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|How would you integrate &amp;lt;math style=&amp;quot;vertical-align: -1px&amp;quot;&amp;gt;\tan x~dx?&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
::You could use &amp;lt;math style=&amp;quot;vertical-align: 0px&amp;quot;&amp;gt;u&amp;lt;/math&amp;gt;-substitution. First, write &amp;lt;math style=&amp;quot;vertical-align: -14px&amp;quot;&amp;gt;\int \tan x~dx=\int \frac{\sin x}{\cos x}~dx.&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
::Now, let &amp;lt;math style=&amp;quot;vertical-align: -5px&amp;quot;&amp;gt;u=\cos(x).&amp;lt;/math&amp;gt; Then, &amp;lt;math style=&amp;quot;vertical-align: -5px&amp;quot;&amp;gt;du=-\sin(x)dx.&amp;lt;/math&amp;gt; Thus, &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{array}{rcl}&lt;br /&gt;
\displaystyle{\int \tan x~dx} &amp;amp; = &amp;amp; \displaystyle{\int \frac{-1}{u}~du}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{-\ln(u)+C}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{-\ln|\cos x|+C.}\\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''Solution:'''&lt;br /&gt;
&lt;br /&gt;
'''(a)'''&lt;br /&gt;
{| class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; style = &amp;quot;text-align:left;&amp;quot;&lt;br /&gt;
!Step 1: &amp;amp;nbsp; &lt;br /&gt;
|-&lt;br /&gt;
|We start by writing &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
::&amp;lt;math style=&amp;quot;vertical-align: -14px&amp;quot;&amp;gt;\int \tan^3x~dx=\int \tan^2x\tan x ~dx.&amp;lt;/math&amp;gt; &lt;br /&gt;
|-&lt;br /&gt;
|Since &amp;lt;math style=&amp;quot;vertical-align: -5px&amp;quot;&amp;gt;\tan^2x=\sec^2x-1,&amp;lt;/math&amp;gt; we have &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{array}{rcl}&lt;br /&gt;
\displaystyle{\int \tan^3x~dx} &amp;amp; = &amp;amp; \displaystyle{\int (\sec^2x-1)\tan x ~dx}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{\int \sec^2x\tan x~dx-\int \tan x~dx.}\\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; style = &amp;quot;text-align:left;&amp;quot;&lt;br /&gt;
!Step 2: &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
|Now, we need to use &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;-substitution for the first integral. &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
::Let &amp;lt;math style=&amp;quot;vertical-align: -5px&amp;quot;&amp;gt;u=\tan(x).&amp;lt;/math&amp;gt; Then, &amp;lt;math style=&amp;quot;vertical-align: -1px&amp;quot;&amp;gt;du=\sec^2x~dx.&amp;lt;/math&amp;gt; So, we have&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{array}{rcl}&lt;br /&gt;
\displaystyle{\int \tan^3x~dx} &amp;amp; = &amp;amp; \displaystyle{\int u~du-\int \tan x~dx}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{\frac{u^2}{2}-\int \tan x~dx}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{\frac{\tan^2x}{2}-\int \tan x~dx.}\\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; style = &amp;quot;text-align:left;&amp;quot;&lt;br /&gt;
!Step 3: &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
|For the remaining integral, we also need to use &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;-substitution. &lt;br /&gt;
|-&lt;br /&gt;
|First, we write &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
::&amp;lt;math style=&amp;quot;vertical-align: -14px&amp;quot;&amp;gt;\int \tan^3x~dx=\frac{\tan^2x}{2}-\int \frac{\sin x}{\cos x}~dx.&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Now, we let &amp;lt;math style=&amp;quot;vertical-align: 0px&amp;quot;&amp;gt;u=\cos x.&amp;lt;/math&amp;gt; Then, &amp;lt;math style=&amp;quot;vertical-align: -1px&amp;quot;&amp;gt;du=-\sin x~dx.&amp;lt;/math&amp;gt; So, we get &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{array}{rcl}&lt;br /&gt;
\displaystyle{\int \tan^3x~dx} &amp;amp; = &amp;amp; \displaystyle{\frac{\tan^2x}{2}+\int \frac{1}{u}~dx}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{\frac{\tan^2x}{2}+\ln |u|+C}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{\frac{\tan^2x}{2}+\ln |\cos x|+C.}&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''(b)'''&lt;br /&gt;
{| class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; style = &amp;quot;text-align:left;&amp;quot;&lt;br /&gt;
!Step 1: &amp;amp;nbsp; &lt;br /&gt;
|-&lt;br /&gt;
|One of the double angle formulas is &amp;lt;math style=&amp;quot;vertical-align: -5px&amp;quot;&amp;gt;\cos(2x)=1-2\sin^2(x).&amp;lt;/math&amp;gt; &lt;br /&gt;
|-&lt;br /&gt;
|Solving for &amp;lt;math style=&amp;quot;vertical-align: -5px&amp;quot;&amp;gt;\sin^2(x),&amp;lt;/math&amp;gt; we get &amp;lt;math style=&amp;quot;vertical-align: -13px&amp;quot;&amp;gt;\sin^2(x)=\frac{1-\cos(2x)}{2}.&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Plugging this identity into our integral, we get &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{array}{rcl}&lt;br /&gt;
\displaystyle{\int_0^\pi \sin^2x~dx} &amp;amp; = &amp;amp; \displaystyle{\int_0^\pi \frac{1-\cos(2x)}{2}~dx}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{\int_0^\pi \frac{1}{2}~dx-\int_0^\pi \frac{\cos(2x)}{2}~dx.}\\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; style = &amp;quot;text-align:left;&amp;quot;&lt;br /&gt;
!Step 2: &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
|If we integrate the first integral, we get &lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{array}{rcl}&lt;br /&gt;
\displaystyle{\int_0^\pi \sin^2x~dx} &amp;amp; = &amp;amp; \displaystyle{\left.\frac{x}{2}\right|_{0}^\pi-\int_0^\pi \frac{\cos(2x)}{2}~dx}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{\frac{\pi}{2}-\int_0^\pi \frac{\cos(2x)}{2}~dx.}\\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; style = &amp;quot;text-align:left;&amp;quot;&lt;br /&gt;
!Step 3: &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
|For the remaining integral, we need to use &amp;lt;math style=&amp;quot;vertical-align: 0px&amp;quot;&amp;gt;u&amp;lt;/math&amp;gt;-substitution. &lt;br /&gt;
|-&lt;br /&gt;
|Let &amp;lt;math style=&amp;quot;vertical-align: -1px&amp;quot;&amp;gt;u=2x.&amp;lt;/math&amp;gt; Then, &amp;lt;math style=&amp;quot;vertical-align: -1px&amp;quot;&amp;gt;du=2~dx&amp;lt;/math&amp;gt; and &amp;lt;math style=&amp;quot;vertical-align: -18px&amp;quot;&amp;gt;\frac{du}{2}=dx.&amp;lt;/math&amp;gt; &lt;br /&gt;
|-&lt;br /&gt;
|Also, since this is a definite integral and we are using &amp;lt;math style=&amp;quot;vertical-align: 0px&amp;quot;&amp;gt;u&amp;lt;/math&amp;gt;-substitution, we need to change the bounds of integration. &lt;br /&gt;
|-&lt;br /&gt;
|We have &amp;lt;math style=&amp;quot;vertical-align: -5px&amp;quot;&amp;gt;u_1=2(0)=0&amp;lt;/math&amp;gt; and &amp;lt;math style=&amp;quot;vertical-align: -5px&amp;quot;&amp;gt;u_2=2(\pi)=2\pi.&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|So, the integral becomes&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{array}{rcl}&lt;br /&gt;
\displaystyle{\int_0^\pi \sin^2x~dx} &amp;amp; = &amp;amp; \displaystyle{\frac{\pi}{2}-\int_0^{2\pi} \frac{\cos(u)}{4}~du}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{\frac{\pi}{2}-\left.\frac{\sin(u)}{4}\right|_0^{2\pi}}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{\frac{\pi}{2}-\bigg(\frac{\sin(2\pi)}{4}-\frac{\sin(0)}{4}\bigg)}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{\frac{\pi}{2}.}\\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;mw-collapsible mw-collapsed&amp;quot; style = &amp;quot;text-align:left;&amp;quot;&lt;br /&gt;
!Final Answer: &amp;amp;nbsp; &lt;br /&gt;
|-&lt;br /&gt;
|&amp;amp;nbsp;&amp;amp;nbsp; '''(a)''' &amp;lt;math&amp;gt;\frac{\tan^2x}{2}+\ln |\cos x|+C&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;amp;nbsp;&amp;amp;nbsp; '''(b)''' &amp;lt;math&amp;gt;\frac{\pi}{2}&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[009B_Sample_Midterm_3|'''&amp;lt;u&amp;gt;Return to Sample Exam&amp;lt;/u&amp;gt;''']]&lt;/div&gt;</summary>
		<author><name>MathAdmin</name></author>
	</entry>
</feed>