<?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=U-substitution</id>
	<title>U-substitution - 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=U-substitution"/>
	<link rel="alternate" type="text/html" href="https://wiki.math.ucr.edu/index.php?title=U-substitution&amp;action=history"/>
	<updated>2026-04-22T19:02:46Z</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=U-substitution&amp;diff=1671&amp;oldid=prev</id>
		<title>MathAdmin: Created page with &quot;==Introduction== The method of &amp;nbsp;&lt;math style=&quot;vertical-align: -1px&quot;&gt;u&lt;/math&gt;-substitution is used to simplify the function you are integrating so that you can easily recog...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.math.ucr.edu/index.php?title=U-substitution&amp;diff=1671&amp;oldid=prev"/>
		<updated>2017-09-25T15:19:30Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Introduction== The method of  &amp;lt;math style=&amp;quot;vertical-align: -1px&amp;quot;&amp;gt;u&amp;lt;/math&amp;gt;-substitution is used to simplify the function you are integrating so that you can easily recog...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Introduction==&lt;br /&gt;
The method of &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -1px&amp;quot;&amp;gt;u&amp;lt;/math&amp;gt;-substitution is used to simplify the function you are integrating so that you can easily recognize it's antiderivative. &lt;br /&gt;
&lt;br /&gt;
This method is closely related to the chain rule for derivatives.&lt;br /&gt;
&lt;br /&gt;
One question that is frequently asked is &amp;quot;How do you know what substitution to make?&amp;quot; In general, this is a difficult question to answer since it is dependent on the integral. The best way to master &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -1px&amp;quot;&amp;gt;u&amp;lt;/math&amp;gt;-substitution is to work out as many problems as possible. This will help you: &lt;br /&gt;
&lt;br /&gt;
(1) understand the &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -1px&amp;quot;&amp;gt;u&amp;lt;/math&amp;gt;-substitution method and &lt;br /&gt;
&lt;br /&gt;
(2) correctly identify the necessary substitution.&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;u&amp;gt;NOTE&amp;lt;/u&amp;gt;:''' After you plug-in your substitution, all of the &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: 0px&amp;quot;&amp;gt;x&amp;lt;/math&amp;gt;'s in your integral should be gone. The only variables remaining in your integral should be &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: 0px&amp;quot;&amp;gt;u&amp;lt;/math&amp;gt;'s.&lt;br /&gt;
&lt;br /&gt;
==Warm-Up==&lt;br /&gt;
Evaluate the following indefinite integrals.&lt;br /&gt;
&lt;br /&gt;
'''1)''' &amp;amp;nbsp; &amp;lt;math&amp;gt;\int (8x+5)e^{4x^2+5x+3}~dx&amp;lt;/math&amp;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;
!Solution: &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
|Let &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -3px&amp;quot;&amp;gt;u=4x^2+5x+3.&amp;lt;/math&amp;gt;&amp;amp;nbsp; Then, &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -5px&amp;quot;&amp;gt;du=(8x+5)~dx.&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|Plugging these into our integral, we get &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -14px&amp;quot;&amp;gt;\int e^u~du,&amp;lt;/math&amp;gt;&amp;amp;nbsp; which we know how to integrate.&lt;br /&gt;
|-&lt;br /&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 (8x+5)e^{4x^2+5x+3}~dx} &amp;amp; = &amp;amp; \displaystyle{\int e^u~du}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{e^u+C}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{e^{4x^2+5x+3}+C.} \\&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; &amp;amp;nbsp; &amp;amp;nbsp;&amp;lt;math&amp;gt;e^{4x^2+5x+3}+C&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''2)''' &amp;amp;nbsp; &amp;lt;math&amp;gt;\int\frac{x}{\sqrt{1-2x^2}}~dx&amp;lt;/math&amp;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;
!Solution: &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
|Let &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -2px&amp;quot;&amp;gt;u=1-2x^2.&amp;lt;/math&amp;gt;&amp;amp;nbsp; Then, &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -2px&amp;quot;&amp;gt;du=-4x~dx.&amp;lt;/math&amp;gt;&amp;amp;nbsp; Hence, &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -15px&amp;quot;&amp;gt;\frac{du}{-4}=x~dx.&amp;lt;/math&amp;gt;&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
|Plugging these 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\frac{x}{\sqrt{1-2x^2}}~dx} &amp;amp; = &amp;amp; \displaystyle{\int -\frac{1}{4}~u^{-\frac{1}{2}}~du}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{-\frac{1}{2}u^{\frac{1}{2}}+C}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{-\frac{1}{2}\sqrt{1-2x^2}+C.} \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&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; &amp;amp;nbsp; &amp;amp;nbsp;&amp;lt;math&amp;gt;-\frac{1}{2}\sqrt{1-2x^2}+C&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''3)''' &amp;amp;nbsp; &amp;lt;math&amp;gt;\int\frac{\sin(\ln x)}{x}~dx&amp;lt;/math&amp;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;
!Solution: &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
|Let &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -6px&amp;quot;&amp;gt;u=\ln(x).&amp;lt;/math&amp;gt;&amp;amp;nbsp; Then, &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -14px&amp;quot;&amp;gt;du=\frac{1}{x}~dx.&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|Plugging these 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\frac{\sin(\ln x)}{x}~dx} &amp;amp; = &amp;amp; \displaystyle{\int \sin(u)~du}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{-\cos(u)+C}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{-\cos(\ln x)+C.} \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&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; &amp;amp;nbsp; &amp;amp;nbsp;&amp;lt;math&amp;gt;-\cos(\ln x)+C&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
'''4)''' &amp;amp;nbsp; &amp;lt;math&amp;gt;\int xe^{x^2}~dx&amp;lt;/math&amp;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;
!Solution: &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
|Let &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -1px&amp;quot;&amp;gt;u=x^2.&amp;lt;/math&amp;gt;&amp;amp;nbsp; Then, &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -1px&amp;quot;&amp;gt;du=2x~dx&amp;lt;/math&amp;gt;&amp;amp;nbsp; and &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -15px&amp;quot;&amp;gt;\frac{du}{2}=x~dx.&amp;lt;/math&amp;gt;&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
|Plugging these 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 xe^{x^2}~dx} &amp;amp; = &amp;amp; \displaystyle{\int \frac{1}{2}e^u~du}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{\frac{1}{2}e^u+C}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{\frac{1}{2}e^{x^2}+C.} \\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&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; &amp;amp;nbsp; &amp;amp;nbsp;&amp;lt;math&amp;gt;\frac{1}{2}e^{x^2}+C&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Exercise 1 ==&lt;br /&gt;
&lt;br /&gt;
Evaluate the indefinite integral &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -16px&amp;quot;&amp;gt;\int \frac{2}{y^2+4}~dy.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
First, we factor out &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -1px&amp;quot;&amp;gt;4&amp;lt;/math&amp;gt;&amp;amp;nbsp; out of the denominator.&lt;br /&gt;
&lt;br /&gt;
So, we have&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{array}{rcl}&lt;br /&gt;
\displaystyle{\int \frac{2}{y^2+4}~dy} &amp;amp; = &amp;amp; \displaystyle{\frac{1}{4}\int \frac{2}{\frac{y^2}{4}+1}~dy}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{\frac{1}{2}\int \frac{1}{(\frac{y}{2})^2+1}~dy.}\\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, we use &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -1px&amp;quot;&amp;gt;u&amp;lt;/math&amp;gt;-substitution. Let &amp;amp;nbsp;&amp;lt;math&amp;gt;u=\frac{y}{2}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -14px&amp;quot;&amp;gt;du=\frac{1}{2}~dy&amp;lt;/math&amp;gt;&amp;amp;nbsp; and &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -5px&amp;quot;&amp;gt;2~du=dy.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plugging these into our integral, we get&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{array}{rcl}&lt;br /&gt;
\displaystyle{\int \frac{2}{y^2+4}~dy} &amp;amp; = &amp;amp; \displaystyle{\frac{1}{2}\int \frac{2}{u^2+1}~du}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{\int \frac{1}{u^2+1}~du}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{\arctan(u)+C}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{\arctan\bigg(\frac{y}{2}\bigg)+C.}\\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So, we have &lt;br /&gt;
::&amp;lt;math&amp;gt;\int \frac{2}{y^2+4}~dy=\arctan\bigg(\frac{y}{2}\bigg)+C.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Exercise 2 ==&lt;br /&gt;
&lt;br /&gt;
Evaluate the indefinite integral &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -17px&amp;quot;&amp;gt;\int \frac{\cos(x)}{(5+\sin x)^2}~dx.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -5px&amp;quot;&amp;gt;u=5+\sin(x).&amp;lt;/math&amp;gt;&amp;amp;nbsp; Then, &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -5px&amp;quot;&amp;gt;u=\cos(x)~dx.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plugging these into our integral, we get&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{array}{rcl}&lt;br /&gt;
\displaystyle{\int \frac{\cos(x)}{(5+\sin x)^2}~dx} &amp;amp; = &amp;amp; \displaystyle{\int \frac{1}{u^2}~du}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{-\frac{1}{u}+C}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{-\frac{1}{5+\sin(x)}+C.}&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So, we have &lt;br /&gt;
::&amp;lt;math&amp;gt;\int \frac{\cos(x)}{(5+\sin x)^2}~dx=-\frac{1}{5+\sin(x)}+C.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Exercise 3 ==&lt;br /&gt;
&lt;br /&gt;
Evaluate the indefinite integral &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -16px&amp;quot;&amp;gt;\int \frac{x+5}{2x+3}~dx.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, the substitution is not obvious. &lt;br /&gt;
&lt;br /&gt;
Let &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -3px&amp;quot;&amp;gt;u=2x+3.&amp;lt;/math&amp;gt;&amp;amp;nbsp; Then, &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -1px&amp;quot;&amp;gt;du=2~dx&amp;lt;/math&amp;gt;&amp;amp;nbsp; and &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -14px&amp;quot;&amp;gt;\frac{du}{2}=dx.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, we need a way of getting rid of &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -2px&amp;quot;&amp;gt;x+5&amp;lt;/math&amp;gt;&amp;amp;nbsp; in the numerator. &lt;br /&gt;
&lt;br /&gt;
Solving for &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: 0px&amp;quot;&amp;gt;x&amp;lt;/math&amp;gt;&amp;amp;nbsp; in the first equation, we get &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -14px&amp;quot;&amp;gt;x=\frac{1}{2}u-\frac{3}{2}.&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Plugging these into our integral, we get &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{array}{rcl}&lt;br /&gt;
\displaystyle{\int \frac{x+5}{2x+3}~dx} &amp;amp; = &amp;amp; \displaystyle{\int \frac{(\frac{1}{2}u-\frac{3}{2})+5}{2u}~du}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{\frac{1}{2}\int \frac{\frac{1}{2}u+\frac{7}{2}}{u}~du}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{\frac{1}{4}\int \frac{u+7}{u}~du}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{\frac{1}{4}\int 1+\frac{7}{u}~du}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{\frac{1}{4}(u+7\ln|u|)+C}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{\frac{1}{4}(2x+3+7\ln|2x+3|)+C.}\\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So, we get&lt;br /&gt;
::&amp;lt;math&amp;gt;\int \frac{x+5}{2x+3}~dx=\frac{1}{4}(2x+3+7\ln|2x+3|)+C.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Exercise 4 ==&lt;br /&gt;
&lt;br /&gt;
Evaluate the indefinite integral &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -14px&amp;quot;&amp;gt;\int \frac{x^2+4}{x+2}~dx.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -2px&amp;quot;&amp;gt;u=x+2.&amp;lt;/math&amp;gt;&amp;amp;nbsp; Then, &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -1px&amp;quot;&amp;gt;du=dx.&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Now, we need a way of replacing &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -2px&amp;quot;&amp;gt;x^2+4.&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
If we solve for &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: 0px&amp;quot;&amp;gt;x&amp;lt;/math&amp;gt;&amp;amp;nbsp; in our first equation, we get &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -1px&amp;quot;&amp;gt;x=u-2.&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Now, we square both sides of this last equation to get &amp;amp;nbsp;&amp;lt;math style=&amp;quot;vertical-align: -5px&amp;quot;&amp;gt;x^2=(u-2)^2.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Plugging in to our integral, we get &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{array}{rcl}&lt;br /&gt;
\displaystyle{\int \frac{x^2+4}{x+2}~dx} &amp;amp; = &amp;amp; \displaystyle{\int \frac{(u-2)^2+4}{u}~du}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{\int \frac{u^2-4u+4+4}{u}~du}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{\int \frac{u^2-4u+8}{u}~du}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{\int u-4+\frac{8}{u}~du}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{\frac{u^2}{2}-4u+8\ln|u|+C}\\&lt;br /&gt;
&amp;amp;&amp;amp;\\&lt;br /&gt;
&amp;amp; = &amp;amp; \displaystyle{\frac{(x+2)^2}{2}-4(x+2)+8\ln|x+2|+C.}\\&lt;br /&gt;
\end{array}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So, we have &lt;br /&gt;
::&amp;lt;math&amp;gt;\int \frac{x^2+4}{x+2}~dx=\frac{(x+2)^2}{2}-4(x+2)+8\ln|x+2|+C.&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>MathAdmin</name></author>
	</entry>
</feed>