<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ubc.ca/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=NicholasHu</id>
	<title>UBC Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ubc.ca/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=NicholasHu"/>
	<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/Special:Contributions/NicholasHu"/>
	<updated>2026-05-11T16:35:21Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH_180/December_2017/Question_06/Solution_1&amp;diff=854542</id>
		<title>Science:Math Exam Resources/Courses/MATH 180/December 2017/Question 06/Solution 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH_180/December_2017/Question_06/Solution_1&amp;diff=854542"/>
		<updated>2024-12-18T08:13:34Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Observe that if &amp;lt;math&amp;gt;V(r)= \dfrac{A}{e^{Br}}-\dfrac{C}{r^6}&amp;lt;/math&amp;gt; approaches positive/negative infinity, then either &amp;lt;math&amp;gt;\dfrac{A}{e^{Br}}&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;-\dfrac{C}{r^6}&amp;lt;/math&amp;gt; approaches positive/negative infinity, as &amp;lt;math&amp;gt;r\to a&amp;lt;/math&amp;gt;, for some &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt;. In other words, if &amp;lt;math&amp;gt;r=a&amp;lt;/math&amp;gt; is a vertical asymptote of &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;r=a&amp;lt;/math&amp;gt; is a vertical asymptote of &amp;lt;math&amp;gt;\dfrac{A}{e^{Br}}&amp;lt;/math&amp;gt; or of &amp;lt;math&amp;gt;-\dfrac{C}{r^6}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Recall that the exponential function can never be zero, so &amp;lt;math&amp;gt;\dfrac{A}{e^{Br}}&amp;lt;/math&amp;gt; is finite for any &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;. On the other hand, the rational function &amp;lt;math&amp;gt;-\dfrac{C}{r^6}&amp;lt;/math&amp;gt; is not defined at &amp;lt;math&amp;gt;r=0&amp;lt;/math&amp;gt;, which makes &amp;lt;math&amp;gt;r=0&amp;lt;/math&amp;gt; a candidate for a vertical asymptote of &amp;lt;math&amp;gt;-\dfrac{C}{r^6}&amp;lt;/math&amp;gt; and hence of &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt;.&lt;br /&gt;
In fact, &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\lim\limits_{r\to0^+}V(r)=\lim\limits_{r\to0^+}\left(\dfrac{A}{e^{Br}}-\dfrac{C}{r^6}\right)=A-\lim\limits_{r\to0^+}\dfrac{C}{r^6}=-\infty.&amp;lt;/math&amp;gt; So &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;r=0&amp;lt;/math&amp;gt; is the only vertical asymptote.&lt;br /&gt;
&lt;br /&gt;
For horizontal asymptotes, since &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;V(r)&amp;lt;/math&amp;gt; is only defined for &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;r&amp;gt;0&amp;lt;/math&amp;gt;, we find that &amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\lim\limits_{r\to+\infty}V(r)=\lim\limits_{r\to +\infty}\left(\dfrac{A}{e^{Br}}-\dfrac{C}{r^6}\right)=0-0=0.&amp;lt;/math&amp;gt; So the only horizontal asymptote is &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;V=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; the vertical asymptote is &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;{\color{blue}r=0}&amp;lt;/math&amp;gt; and the horizontal asymptote is &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;{\color{blue}V=0}&amp;lt;/math&amp;gt;.&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100_A/December_2023/Question_25/Solution_1&amp;diff=854120</id>
		<title>Science:Math Exam Resources/Courses/MATH100 A/December 2023/Question 25/Solution 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100_A/December_2023/Question_25/Solution_1&amp;diff=854120"/>
		<updated>2024-12-10T09:39:46Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We compute the partial derivatives and set them equal to 0:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
\frac{\partial f}{\partial x}(x,y) &amp;amp;= 2 - 4x - y^2 = 0\\&lt;br /&gt;
\frac{\partial f}{\partial y}(x,y) &amp;amp;= 0 - 0 - 2xy = 0.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We now solve for &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;. Let&#039;s start with the second equation. If the point &amp;lt;math&amp;gt;(x,y)&amp;lt;/math&amp;gt; satisfies &amp;lt;math&amp;gt;-2xy = 0&amp;lt;/math&amp;gt;, then either &amp;lt;math&amp;gt;x=0&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;y=0&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
# Let us take the first option and suppose &amp;lt;math&amp;gt;x = 0&amp;lt;/math&amp;gt;. Then the first equation then becomes &amp;lt;math&amp;gt;2 - y^2 = 0&amp;lt;/math&amp;gt;, for which the solutions are &amp;lt;math&amp;gt; y = \pm \sqrt{2}&amp;lt;/math&amp;gt;. Thus, the points &amp;lt;math&amp;gt;(0, -\sqrt{2})&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;(0, \sqrt{2})&amp;lt;/math&amp;gt; are critical points of &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt;.&lt;br /&gt;
# We shouldn&#039;t forget the second option, &amp;lt;math&amp;gt;y = 0&amp;lt;/math&amp;gt;. In this case, the first equation becomes &amp;lt;math&amp;gt;2-4x = 0&amp;lt;/math&amp;gt;, for which the solution is &amp;lt;math&amp;gt;x = \tfrac{1}{2}&amp;lt;/math&amp;gt;. Thus, another critical point of &amp;lt;math&amp;gt;f&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;(\tfrac{1}{2},0)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The final list of critical points is &amp;lt;math&amp;gt;(0, -\sqrt{2}), (0, \sqrt{2}), (\tfrac{1}{2}, 0)&amp;lt;/math&amp;gt;.&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH152/April_2016/Question_A_18/Solution_1&amp;diff=836203</id>
		<title>Science:Math Exam Resources/Courses/MATH152/April 2016/Question A 18/Solution 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH152/April_2016/Question_A_18/Solution_1&amp;diff=836203"/>
		<updated>2024-04-24T23:02:18Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We write these three vectors as the column vectors of a matrix. The determinant of a matrix is zero if its column vectors are dependent:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{vmatrix}&lt;br /&gt;
a &amp;amp; 1 &amp;amp; 4 \\&lt;br /&gt;
0 &amp;amp; 2 &amp;amp; 1 \\&lt;br /&gt;
1&amp;amp; 1 &amp;amp; 3 &lt;br /&gt;
\end{vmatrix} = 0.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we expand the first column to calculate the determinant, we have &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; a \cdot \begin{vmatrix}&lt;br /&gt;
&lt;br /&gt;
 2 &amp;amp; 1 \\1 &amp;amp; 3 &lt;br /&gt;
\end{vmatrix} + 1 \cdot \begin{vmatrix}&lt;br /&gt;
 1 &amp;amp; 4 \\&lt;br /&gt;
 2 &amp;amp; 1 \\&lt;br /&gt;
&lt;br /&gt;
\end{vmatrix} = 0.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This implies  &amp;lt;math&amp;gt; a(2\times 3-1\times 1) + 1(1\times 1- 2\times 4) = 5a - 7 = 0.&amp;lt;/math&amp;gt; Thus, &amp;lt;math&amp;gt;\color{blue}a= \frac{7}{5}.&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science_talk:Math_Exam_Resources/Courses/MATH152/April_2022/Question_B4_(c)&amp;diff=836202</id>
		<title>Science talk:Math Exam Resources/Courses/MATH152/April 2022/Question B4 (c)</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science_talk:Math_Exam_Resources/Courses/MATH152/April_2022/Question_B4_(c)&amp;diff=836202"/>
		<updated>2024-04-24T22:58:25Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: Talk page autocreated when first thread was posted&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Thread:Science_talk:Math_Exam_Resources/Courses/MATH152/April_2022/Question_B4_(c)/QBS&amp;diff=836201</id>
		<title>Thread:Science talk:Math Exam Resources/Courses/MATH152/April 2022/Question B4 (c)/QBS</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Thread:Science_talk:Math_Exam_Resources/Courses/MATH152/April_2022/Question_B4_(c)/QBS&amp;diff=836201"/>
		<updated>2024-04-24T22:58:25Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: New thread: QBS&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Sign error. Please fix.&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH152/April_2022/Question_B4_(c)&amp;diff=836200</id>
		<title>Science:Math Exam Resources/Courses/MATH152/April 2022/Question B4 (c)</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH152/April_2022/Question_B4_(c)&amp;diff=836200"/>
		<updated>2024-04-24T22:58:02Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- FLAGS SUMMARY --&amp;gt;&lt;br /&gt;
&amp;lt;!-- first letter is for status: C=content to add, R=to review, QB=reviewed as bad quality, QG = reviewed as good quality --&amp;gt;&lt;br /&gt;
&amp;lt;!-- second letter is for object: Q=question statement, H=hint, S=solution, T=tags --&amp;gt;&lt;br /&gt;
&amp;lt;!-- for more information see Science:MER/Flags --&amp;gt;&lt;br /&gt;
&amp;lt;!-- WRITE FLAGS BETWEEN HERE --&amp;gt;&lt;br /&gt;
[[Category:MER QGQ flag]][[Category:MER QGH flag]][[Category:MER QBS flag]][[Category:MER CT flag]]&lt;br /&gt;
&amp;lt;!-- AND HERE --&amp;gt;&lt;br /&gt;
&amp;lt;!-- TAGS SUMMARY --&amp;gt;&lt;br /&gt;
&amp;lt;!-- To see the list of all possible Tags, please check Science:MER/Tags --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Please do not invent your own tags without having them added to the dictionary, it would be useless --&amp;gt;&lt;br /&gt;
&amp;lt;!-- WRITE TAGS BETWEEN HERE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- AND HERE --&amp;gt;&lt;br /&gt;
{{MER Question page}}&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH152/April_2015/Question_A_09/Hint_1&amp;diff=836199</id>
		<title>Science:Math Exam Resources/Courses/MATH152/April 2015/Question A 09/Hint 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH152/April_2015/Question_A_09/Hint_1&amp;diff=836199"/>
		<updated>2024-04-24T22:50:23Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Recall that an eigenvector of a matrix &amp;lt;math&amp;gt; \mathbf{A} &amp;lt;/math&amp;gt; with corresponsing eigenvalue &amp;lt;math&amp;gt; \mathbf{\lambda} &amp;lt;/math&amp;gt; is a non-zero vector &amp;lt;math&amp;gt; \mathbf{v} &amp;lt;/math&amp;gt; that satisfies &amp;lt;math&amp;gt; \mathbf{A}\mathbf{v}=\mathbf{\lambda}\mathbf{v}.&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH101/April_2011/Question_01_(b)/Solution_1&amp;diff=835566</id>
		<title>Science:Math Exam Resources/Courses/MATH101/April 2011/Question 01 (b)/Solution 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH101/April_2011/Question_01_(b)/Solution_1&amp;diff=835566"/>
		<updated>2024-04-22T23:47:53Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Using Hint 2, we may immediately rewrite &amp;lt;math&amp;gt;f(t)&amp;lt;/math&amp;gt; as&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;f(t)=-\int_2^{t^4} \sqrt{1+x^3} \, dx.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We would like to use Hint 1, but it would only be applicable if the upper limit of integration were &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt;, which in this case is not true. So we define&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; g(u) = -\int_2^u \sqrt{1 + x^3} \, dx &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
From Hint 1, we see immediately that &amp;lt;math&amp;gt; g&#039;(u) = -\sqrt{1 + u^3}&amp;lt;/math&amp;gt;. We also see that &amp;lt;math&amp;gt; f(t) = g(t^4)&amp;lt;/math&amp;gt;. Using the chain rule, we can then compute that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;f&#039;(t) = g&#039;(t^4) \cdot (t^4)&#039; = -\sqrt{1 + (t^{4})^3} \cdot 4t^3 = -4t^3\sqrt{1 + t^{12}}.&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH101/April_2011/Question_01_(b)/Hint_2&amp;diff=835564</id>
		<title>Science:Math Exam Resources/Courses/MATH101/April 2011/Question 01 (b)/Hint 2</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH101/April_2011/Question_01_(b)/Hint_2&amp;diff=835564"/>
		<updated>2024-04-22T23:42:30Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Recall that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \int_b^a f(t) \, dt = -\int_a^b f(t) \, dt.&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH101/April_2011/Question_01_(b)/Hint_2&amp;diff=835563</id>
		<title>Science:Math Exam Resources/Courses/MATH101/April 2011/Question 01 (b)/Hint 2</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH101/April_2011/Question_01_(b)/Hint_2&amp;diff=835563"/>
		<updated>2024-04-22T23:42:02Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Recall that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \int_a^b f(t) \, dt = -\int_b^a f(t) \, dt&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH101/April_2011/Question_01_(b)/Hint_1&amp;diff=835562</id>
		<title>Science:Math Exam Resources/Courses/MATH101/April 2011/Question 01 (b)/Hint 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH101/April_2011/Question_01_(b)/Hint_1&amp;diff=835562"/>
		<updated>2024-04-22T23:41:35Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Remember that the Fundamental Theorem of Calculus says that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \frac{d}{dx}\int_a^x f(t) \, dt = f(x) &amp;lt;/math&amp;gt;.&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH101/April_2017/Question_11_(a)/Solution_1&amp;diff=835430</id>
		<title>Science:Math Exam Resources/Courses/MATH101/April 2017/Question 11 (a)/Solution 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH101/April_2017/Question_11_(a)/Solution_1&amp;diff=835430"/>
		<updated>2024-04-21T05:37:44Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We can easily see that when &amp;lt;math&amp;gt;x=2&amp;lt;/math&amp;gt;, &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\sum_{n=0}^\infty A_n(x - 1)^n=\sum_{n=0}^\infty A_n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Since the radius of convergence is given as &amp;lt;math&amp;gt;R = \frac 32&amp;lt;/math&amp;gt; for the power series &amp;lt;math&amp;gt;\sum_{n=0}^\infty A_n(x - 1)^n&amp;lt;/math&amp;gt;, the series converges when &amp;lt;math&amp;gt;|x-1|&amp;lt;\frac 32&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Therefore, &amp;lt;math&amp;gt;|2-1|=1&amp;lt;\frac 32&amp;lt;/math&amp;gt; implies the convergence of the series &amp;lt;math&amp;gt;\sum_{n=0}^\infty A_n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; &amp;lt;math&amp;gt;\color{blue}\sum_{n=0}^\infty A_n \ \text{converges}.&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science_talk:Math_Exam_Resources/Courses/MATH100_A/December_2023/Question_25&amp;diff=835429</id>
		<title>Science talk:Math Exam Resources/Courses/MATH100 A/December 2023/Question 25</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science_talk:Math_Exam_Resources/Courses/MATH100_A/December_2023/Question_25&amp;diff=835429"/>
		<updated>2024-04-21T05:33:07Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: Talk page autocreated when first thread was posted&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Thread:Science_talk:Math_Exam_Resources/Courses/MATH100_A/December_2023/Question_25/QBS&amp;diff=835428</id>
		<title>Thread:Science talk:Math Exam Resources/Courses/MATH100 A/December 2023/Question 25/QBS</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Thread:Science_talk:Math_Exam_Resources/Courses/MATH100_A/December_2023/Question_25/QBS&amp;diff=835428"/>
		<updated>2024-04-21T05:33:07Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: New thread: QBS&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Solution is incorrect; please revise.&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100_A/December_2023/Question_25&amp;diff=835427</id>
		<title>Science:Math Exam Resources/Courses/MATH100 A/December 2023/Question 25</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100_A/December_2023/Question_25&amp;diff=835427"/>
		<updated>2024-04-21T05:30:59Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- FLAGS SUMMARY --&amp;gt;&lt;br /&gt;
&amp;lt;!-- first letter is for status: C=content to add, R=to review, QB=reviewed as bad quality, QG = reviewed as good quality --&amp;gt;&lt;br /&gt;
&amp;lt;!-- second letter is for object: Q=question statement, H=hint, S=solution, T=tags --&amp;gt;&lt;br /&gt;
&amp;lt;!-- for more information see Science:MER/Flags --&amp;gt;&lt;br /&gt;
&amp;lt;!-- WRITE FLAGS BETWEEN HERE --&amp;gt;&lt;br /&gt;
[[Category:MER QGQ flag]][[Category:MER QGH flag]][[Category:MER QBS flag]][[Category:MER CT flag]]&lt;br /&gt;
&amp;lt;!-- AND HERE --&amp;gt;&lt;br /&gt;
&amp;lt;!-- TAGS SUMMARY --&amp;gt;&lt;br /&gt;
&amp;lt;!-- To see the list of all possible Tags, please check Science:MER/Tags --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Please do not invent your own tags without having them added to the dictionary, it would be useless --&amp;gt;&lt;br /&gt;
&amp;lt;!-- WRITE TAGS BETWEEN HERE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- AND HERE --&amp;gt;&lt;br /&gt;
{{MER Question page}}&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH101/April_2017/Question_04_(b)/Solution_1&amp;diff=834883</id>
		<title>Science:Math Exam Resources/Courses/MATH101/April 2017/Question 04 (b)/Solution 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH101/April_2017/Question_04_(b)/Solution_1&amp;diff=834883"/>
		<updated>2024-04-18T21:25:05Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Using the information given above all we need to find is &amp;lt;math&amp;gt;K&amp;lt;/math&amp;gt; and replace the values of &amp;lt;math&amp;gt;a = 0,\, b= \pi,\, n = 6&amp;lt;/math&amp;gt; in the formula for the error &amp;lt;math&amp;gt;\frac{K(b - a)^3}{24n^2}&amp;lt;/math&amp;gt;, as the difference between the 2 numbers will, at most, be the error. &lt;br /&gt;
&lt;br /&gt;
Thus we must first find the 2nd derivative of &amp;lt;math&amp;gt; f(x) = x\sin x&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;f ^{\prime}(x) = \sin x + x\cos x&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; f ^ {\prime \prime}(x) = \cos x + \cos x -x\sin x&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We must now bound the derivative. Using  the inequatility &amp;lt;math&amp;gt;|x+y| \leq |x|+|y|&amp;lt;/math&amp;gt;, we have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;|2\cos x -x\sin x| \leq 2|\cos x| +|x||\sin x|&amp;lt;/math&amp;gt;. Furthermore we know that &amp;lt;math&amp;gt; |\cos x|\leq 1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;|\sin x| \leq 1&amp;lt;/math&amp;gt; and, in our domain, &amp;lt;math&amp;gt; |x| \leq \pi&amp;lt;/math&amp;gt;, which makes us conclude that &amp;lt;math&amp;gt;|f ^ {\prime \prime}(x)| \leq \pi +2&amp;lt;/math&amp;gt; on &amp;lt;math&amp;gt; [0,\pi]&amp;lt;/math&amp;gt;. (Note that this does not necessarily mean the maximum of &amp;lt;math&amp;gt;|f&#039;&#039;(x)|&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;\pi+2&amp;lt;/math&amp;gt;. The value &amp;lt;math&amp;gt;\pi + 2&amp;lt;/math&amp;gt; is only an &#039;&#039;upper bound&#039;&#039;; other bounds are possible.)&lt;br /&gt;
&lt;br /&gt;
Thus the difference is given by &amp;lt;math&amp;gt;\frac{(\pi+2)(\pi-0)^3}{24 (6)^ 2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; &amp;lt;math&amp;gt;\color{blue}\frac{(\pi+2)\pi^ 3}{24 (6)^ 2}&amp;lt;/math&amp;gt; (note that this is only one possible answer; see the note above)&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH101/April_2016/Question_02_(c)/Solution_1&amp;diff=833725</id>
		<title>Science:Math Exam Resources/Courses/MATH101/April 2016/Question 02 (c)/Solution 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH101/April_2016/Question_02_(c)/Solution_1&amp;diff=833725"/>
		<updated>2024-04-15T23:17:26Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;First consider when &amp;lt;math&amp;gt;q\geq 0&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
For &amp;lt;math&amp;gt;n\geq 3&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;\log n\geq 1&amp;lt;/math&amp;gt;, which implies &amp;lt;math&amp;gt;(\log n)^q \geq 1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\frac{(\log n)^q}{n}&amp;gt; \frac{1}n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
By the &#039;&#039;comparison test&#039;&#039;, we have&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\sum_{n=1}^\infty \frac{(\log n)^q}{n}&lt;br /&gt;
\geq\sum_{n=3}^\infty \frac{(\log n)^q}{n}&lt;br /&gt;
\geq\sum_{n=3}^\infty \frac{1}{n} = +\infty.&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Therefore, for &amp;lt;math&amp;gt;q\geq 0&amp;lt;/math&amp;gt;, the given series diverges.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On the other hand, for &amp;lt;math&amp;gt;q&amp;lt;0&amp;lt;/math&amp;gt;, note that &amp;lt;math&amp;gt;\frac{(\log x)^q}{x}&amp;lt;/math&amp;gt; is continuous, positive, and decreasing on &amp;lt;math&amp;gt;[2,\infty)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In this case, we&#039;ll use the integral test.&lt;br /&gt;
&lt;br /&gt;
For &amp;lt;math&amp;gt;q&amp;lt;0&amp;lt;/math&amp;gt; but &amp;lt;math&amp;gt;q\neq -1&amp;lt;/math&amp;gt;, we have&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\int_2^{\infty} \frac{(\log x)^q}{x} dx &lt;br /&gt;
&amp;amp;= \int_{\log 2}^{\infty} y^q dy &lt;br /&gt;
= \lim_{R\to \infty} \int_{\log 2}^{R} y^q dy\\&lt;br /&gt;
&amp;amp;= \lim_{R\to \infty} \frac {1}{q+1} y^{q+1}\bigg|^{R}_{\log 2}&lt;br /&gt;
=\lim_{R\to \infty} \frac {1}{q+1}\left( R^{q+1} - (\log 2)^{q+1}\right) &amp;lt;+\infty,&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
provided that &amp;lt;math&amp;gt;q&amp;lt; -1&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
Here, the second equality is obtained from the substitution &amp;lt;math&amp;gt; y= \log x &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt; \log 1 = 0 &amp;lt;/math&amp;gt;, &lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\sum_{n=1}^{\infty} \frac{(\log n)^q}{n} = \sum_{n=2}^{\infty} \frac{(\log n)^q}{n}.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, by the &#039;&#039;integral test&#039;&#039;, the given series is convergent for &amp;lt;math&amp;gt;q&amp;lt; -1&amp;lt;/math&amp;gt;; ,&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For &amp;lt;math&amp;gt;q=-1&amp;lt;/math&amp;gt;, the integral can be computed by&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\int_2^{\infty} \frac{1}{x \log x } dx &lt;br /&gt;
&amp;amp;= \lim_{R\to \infty} \int_{\log 2}^{R} \frac 1 y dy\\&lt;br /&gt;
&amp;amp;= \lim_{R\to \infty} \ln y \bigg|^{R}_{\log 2}&lt;br /&gt;
=\lim_{R\to \infty} \left( \ln R - \log 2 \right) =+\infty,&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Therefore, again by the &#039;&#039;integral test&#039;&#039;, the given series diverges when &amp;lt;math&amp;gt;q= -1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To sum, the answer is L.&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH101/April_2015/Question_04_(b)/Solution_1&amp;diff=833724</id>
		<title>Science:Math Exam Resources/Courses/MATH101/April 2015/Question 04 (b)/Solution 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH101/April_2015/Question_04_(b)/Solution_1&amp;diff=833724"/>
		<updated>2024-04-15T23:11:32Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Using partial fraction decomposition, we can write the integrand as&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{1}{x^4 + x^2} = \frac{1}{x^2(x^2 + 1)} = \frac{A}{x} + \frac{B}{x^2} + \frac{Cx + D}{x^2 + 1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for some constants &amp;lt;math&amp;gt;A, B, C, D&amp;lt;/math&amp;gt;. We find that &amp;lt;math&amp;gt;A = 0, B = 1, C = 0, D = -1&amp;lt;/math&amp;gt;, which implies that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \int \frac{1}{x^4 + x^2} \, dx = \int \frac{1}{x^2} \, dx -\int \frac 1{1+x^2} \, dx.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first integral on the right-hand side of the equation can be easily evaluated:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\int \frac{1}{x^2} \, dx = -\frac 1x + C.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the other hand, to compute the second integral, we can use the substitution &amp;lt;math&amp;gt; x=\tan u&amp;lt;/math&amp;gt;. &lt;br /&gt;
Then &amp;lt;math&amp;gt;1+x^2 = 1+ \tan^2 u = \sec^2 u &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; dx = \sec^2 u \, du &amp;lt;/math&amp;gt;, which gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\int \frac 1{1+x^2} \, dx = \int \frac 1{\sec^2 u} \sec^2 u \, du = \int 1 \, du = u + C = \arctan x + C.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Combining these, we obtain&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \int \frac{1}{x^4 + x^2} dx = \color{blue} -\frac 1x  -\arctan x + C. &amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH101/April_2015/Question_04_(b)/Solution_1&amp;diff=833723</id>
		<title>Science:Math Exam Resources/Courses/MATH101/April 2015/Question 04 (b)/Solution 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH101/April_2015/Question_04_(b)/Solution_1&amp;diff=833723"/>
		<updated>2024-04-15T23:10:40Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Using partial fraction decomposition, we can write the integrand as&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{1}{x^4 + x^2} = \frac{1}{x^2(x^2 + 1)} = \frac{A}{x} + \frac{B}{x^2} + \frac{Cx + D}{x^2 + 1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for some constants &amp;lt;math&amp;gt;A, B, C, D&amp;lt;/math&amp;gt;. We find that &amp;lt;math&amp;gt;A = 0, B = 1, C = 0, D = -1&amp;lt;/math&amp;gt;, which implies that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \int \frac{1}{x^4 + x^2} \, dx = \int \frac{1}{x^2} \, dx -\int \frac 1{1+x^2} \, dx.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first integral on the right-hand side of the equation can be easily evaluated:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\int \frac{1}{x^2} \, dx = -\frac 1x + C.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the other hand, to compute the second integral, we can use the substitution &amp;lt;math&amp;gt; x=\tan u&amp;lt;/math&amp;gt;. &lt;br /&gt;
Then &amp;lt;math&amp;gt;1+x^2 = 1+ \tan^2 u = \sec^2 u &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; dx = \sec^2 u \, du &amp;lt;/math&amp;gt;, which gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\int \frac 1{1+x^2} \, dx = \int \frac 1{\sec^2 u} \sec^2 u \, du = \int 1 \, du = u + C = \arctan x + C&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Combining these, we obtain&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \int \frac{1}{x^4 + x^2} dx = \color{blue} -\frac 1x  -\arctan x + C. &amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2016/Question_13_(a)/Solution_2&amp;diff=815182</id>
		<title>Science:Math Exam Resources/Courses/MATH100/December 2016/Question 13 (a)/Solution 2</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2016/Question_13_(a)/Solution_2&amp;diff=815182"/>
		<updated>2023-12-17T06:13:48Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: Created page with &amp;quot;We know (or can calculate) that the Taylor expansion of &amp;lt;math&amp;gt;\sin(x)&amp;lt;/math&amp;gt; centred at &amp;lt;math&amp;gt;x = 0&amp;lt;/math&amp;gt; is :&amp;lt;math&amp;gt; \sin(x) = x - \frac{x^3}{3!} + \cdots. &amp;lt;/math&amp;gt; Hence the Taylor expansion of &amp;lt;math&amp;gt;f(x) = (x+1) \sin(x)&amp;lt;/math&amp;gt; centred at &amp;lt;math&amp;gt;x = 0&amp;lt;/math&amp;gt; is :&amp;lt;math&amp;gt; (x+1)\sin(x) = (x+1)\left(x - \frac{x^3}{3!} + \cdots\right) = x^2 - \frac{x^4}{3!} + x - \frac{x^3}{3!} + \cdots. &amp;lt;/math&amp;gt; Discarding the terms of degree higher than 3, we obtain the third degree Taylor po...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We know (or can calculate) that the Taylor expansion of &amp;lt;math&amp;gt;\sin(x)&amp;lt;/math&amp;gt; centred at &amp;lt;math&amp;gt;x = 0&amp;lt;/math&amp;gt; is&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\sin(x) = x - \frac{x^3}{3!} + \cdots.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
Hence the Taylor expansion of &amp;lt;math&amp;gt;f(x) = (x+1) \sin(x)&amp;lt;/math&amp;gt; centred at &amp;lt;math&amp;gt;x = 0&amp;lt;/math&amp;gt; is&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
(x+1)\sin(x) = (x+1)\left(x - \frac{x^3}{3!} + \cdots\right) = x^2 - \frac{x^4}{3!} + x - \frac{x^3}{3!} + \cdots.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
Discarding the terms of degree higher than 3, we obtain the third degree Taylor polynomial&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\color{blue}&lt;br /&gt;
T_3(x) = x + x^2 - \frac{x^3}{6}.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2015/Question_08_(b)/Solution_1&amp;diff=814259</id>
		<title>Science:Math Exam Resources/Courses/MATH100/December 2015/Question 08 (b)/Solution 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2015/Question_08_(b)/Solution_1&amp;diff=814259"/>
		<updated>2023-12-15T07:03:33Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Let &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; be the radius of the circle at the top of the water and &amp;lt;math&amp;gt;h&amp;lt;/math&amp;gt; be the height of the water.&lt;br /&gt;
&lt;br /&gt;
Then, using the picture in part (a) with a property of similar triangles gives the ratio between &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;h&amp;lt;/math&amp;gt; as&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \frac rh = \frac {10}{16} \implies r = \frac 58 h.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On the other hand, by the volume formula for a cone, the volume &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt; of water can be written as&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
V = \frac 13 \pi r^2 h = \frac 13 \pi \cdot \left(\frac 58 h\right)^2\cdot h =\frac 13 \pi\cdot \left(\frac 58 \right)^2 \cdot h^3.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore, by differentiating with respect to &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; on both sides, we obtain&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\frac {dV}{dt} = \frac 13 \pi\cdot \left(\frac 58 \right)^2 \cdot 3h^2 \cdot \frac {dh}{dt} = \pi \cdot \left(\frac 58 \right)^2\cdot  h^2 \cdot \frac {dh}{dt} .&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Since the volume changes at a rate of &amp;lt;math&amp;gt;2\,\mathrm{m}^3/\mathrm{min}&amp;lt;/math&amp;gt;, the rate of change of the height of the water when the height is &amp;lt;math&amp;gt;10\,\mathrm{m}&amp;lt;/math&amp;gt; is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
2\,\mathrm{m}^3/\mathrm{min} = \pi \left(\frac 58 \right)^2\cdot  (10\,\mathrm{m})^2 \cdot \frac {dh}{dt}\bigg|_{h=10}  \implies  \frac {dh}{dt}\bigg|_{h=10}  = \frac {2 \cdot 8^2}{5^2 \cdot 10^2 \pi }\,\mathrm{m}/\mathrm{min}=\color{blue}{\frac {2^5}{5^4 \pi } \,\mathrm{m}/\mathrm{min}}.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH220/April_2005/Question_05/Solution_1&amp;diff=813978</id>
		<title>Science:Math Exam Resources/Courses/MATH220/April 2005/Question 05/Solution 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH220/April_2005/Question_05/Solution_1&amp;diff=813978"/>
		<updated>2023-12-14T04:18:41Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In the base case when &amp;lt;math&amp;gt; n=1 &amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt; |a_1|\leq |a_1| &amp;lt;/math&amp;gt;, so the statement is true.&lt;br /&gt;
&lt;br /&gt;
For the inductive step, we assume that &amp;lt;math&amp;gt; \left|\sum_{i=1}^n a_i \right|\leq \sum_{i=1}^n|a_i| &amp;lt;/math&amp;gt; holds for some (fixed) &amp;lt;math&amp;gt; n \in \mathbb{N}&amp;lt;/math&amp;gt;. Then we show that it also holds with &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; replaced by &amp;lt;math&amp;gt;n+1&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; &lt;br /&gt;
\begin{align}&lt;br /&gt;
\left|\sum_{i=1}^{n+1}a_i\right|&amp;amp;=\left|\sum_{i=1}^{n}a_i+a_{n+1}\right|\\&lt;br /&gt;
&amp;amp;\leq \left|\sum_{i=1}^{n}a_i\right|+|a_{n+1}|\\&lt;br /&gt;
&amp;amp; \leq \sum_{i=1}^n|a_i|+|a_{n+1}|\\&lt;br /&gt;
&amp;amp;= \sum_{i=1}^{n+1}|a_i|.&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first inequality is true by the triangle inequality and the second by the induction hypothesis. This finishes the inductive step and so the result is true for all &amp;lt;math&amp;gt; n\in \mathbb{N} &amp;lt;/math&amp;gt; by induction.&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH220/April_2005/Question_05/Hint_1&amp;diff=813975</id>
		<title>Science:Math Exam Resources/Courses/MATH220/April 2005/Question 05/Hint 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH220/April_2005/Question_05/Hint_1&amp;diff=813975"/>
		<updated>2023-12-14T04:14:27Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Use the fact that &amp;lt;math&amp;gt; \sum_{i=1}^na_i=\sum_{i=1}^{n-1}a_i+a_n &amp;lt;/math&amp;gt;.&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH307/December_2008/Question_04/Solution_1&amp;diff=813485</id>
		<title>Science:Math Exam Resources/Courses/MATH307/December 2008/Question 04/Solution 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH307/December_2008/Question_04/Solution_1&amp;diff=813485"/>
		<updated>2023-12-12T03:35:21Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To begin with, we note that the columns of &#039;&#039;A&#039;&#039; are already orthogonal,&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \begin{bmatrix}&lt;br /&gt;
0 \\ 1 \\ 0 \\ -1 \\ 0&lt;br /&gt;
\end{bmatrix} \cdot \begin{bmatrix}&lt;br /&gt;
1 \\ 0 \\ -1 \\ 0 \\ 1&lt;br /&gt;
\end{bmatrix} = 0. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So we can simply put the normalized columns of &#039;&#039;A&#039;&#039; into the matrix &#039;&#039;Q&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; Q = \begin{bmatrix}&lt;br /&gt;
0 &amp;amp; \frac1{\sqrt 3} \\&lt;br /&gt;
\frac1{\sqrt 2} &amp;amp; 0 \\&lt;br /&gt;
0 &amp;amp; -\frac1{\sqrt 3} \\&lt;br /&gt;
-\frac1{\sqrt 2} &amp;amp; 0 \\&lt;br /&gt;
0 &amp;amp; \frac1{\sqrt 3}&lt;br /&gt;
\end{bmatrix}. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As a last step, we calculate &#039;&#039;R = Q&amp;lt;sup&amp;gt;T&amp;lt;/sup&amp;gt;A&#039;&#039; to find&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; R = \begin{bmatrix}&lt;br /&gt;
\sqrt 2 &amp;amp; 0 \\ 0 &amp;amp; \sqrt 3&lt;br /&gt;
\end{bmatrix}. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Note that the question asks for &#039;&#039;the&#039;&#039; QR decomposition, not &#039;&#039;a&#039;&#039; QR decomposition. This is the &#039;&#039;unique&#039;&#039; QR decomposition of &#039;&#039;A&#039;&#039; such that &#039;&#039;Q&#039;&#039; has orthonormal columns and &#039;&#039;R&#039;&#039; is square upper triangular with positive diagonal entries.)&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH307/December_2008/Question_04/Hint_3&amp;diff=813480</id>
		<title>Science:Math Exam Resources/Courses/MATH307/December 2008/Question 04/Hint 3</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH307/December_2008/Question_04/Hint_3&amp;diff=813480"/>
		<updated>2023-12-12T03:22:34Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As a last step, since &#039;&#039;A = QR&#039;&#039; and &#039;&#039;Q&#039;&#039; has orthonormal columns, we can find &#039;&#039;R&#039;&#039; by computing &#039;&#039;R = Q&amp;lt;sup&amp;gt;T&amp;lt;/sup&amp;gt;A&#039;&#039;.&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH307/December_2008/Question_07/Solution_1&amp;diff=813479</id>
		<title>Science:Math Exam Resources/Courses/MATH307/December 2008/Question 07/Solution 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH307/December_2008/Question_07/Solution_1&amp;diff=813479"/>
		<updated>2023-12-12T03:19:56Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The infinity norm of a matrix is the infinity norm of the vector whose entries are the 1-norm of each row, so it will be&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\displaystyle \left \| A \right \|_{\infty} = \max\{2+1+0, 1+2+1, 0+1+2\} = 4. &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The 2-norm of a matrix is the largest of the absolute values of the eigenvalues. So we need to calculate the eigenvalues of &#039;&#039;A&#039;&#039; as the roots of the characteristic polynomial&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\det(A-\lambda I) &amp;amp;= \det\begin{vmatrix}&lt;br /&gt;
-2-\lambda &amp;amp; 1 &amp;amp; 0 \\&lt;br /&gt;
1 &amp;amp; -2-\lambda &amp;amp; 1 \\&lt;br /&gt;
0 &amp;amp; 1 &amp;amp; -2-\lambda \end{vmatrix} \\&lt;br /&gt;
&amp;amp;= (-2-\lambda) \det\begin{vmatrix}&lt;br /&gt;
-2-\lambda &amp;amp; 1 \\&lt;br /&gt;
1 &amp;amp; -2-\lambda \end{vmatrix} - (1)\det\begin{vmatrix}&lt;br /&gt;
1 &amp;amp; 0 \\&lt;br /&gt;
1 &amp;amp; -2-\lambda \end{vmatrix} \\&lt;br /&gt;
&amp;amp;= (-2-\lambda)((-2-\lambda)(-2-\lambda)-1)-(-2-\lambda) \\&lt;br /&gt;
&amp;amp;= (-2-\lambda)(\lambda^2+4\lambda+2)&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Hence, the eigenvalues of &#039;&#039;A&#039;&#039; are &amp;lt;math&amp;gt;\displaystyle \lambda_1 = -2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\lambda_{2,3} = \frac{-4\pm\sqrt{16-8}}2 = -2\pm\sqrt 2&amp;lt;/math&amp;gt;. The 2-norm of &#039;&#039;A&#039;&#039; is the largest of the absolute values of these and therefore  &amp;lt;math&amp;gt;\left \| A \right \|_{2 } = |{-2}-{\sqrt 2}| = 2+\sqrt{2}&amp;lt;/math&amp;gt;.&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH220/December_2009/Question_05_(b)/Solution_1&amp;diff=802229</id>
		<title>Science:Math Exam Resources/Courses/MATH220/December 2009/Question 05 (b)/Solution 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH220/December_2009/Question_05_(b)/Solution_1&amp;diff=802229"/>
		<updated>2023-08-15T09:48:28Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Let &amp;lt;math&amp;gt; \displaystyle S(n) &amp;lt;/math&amp;gt; be the statement that &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
5^{n} + 2(11^{n})&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is a multiple of 3. We prove this statement is true for all nonnegative integers &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; using mathematical induction. Notice that &amp;lt;math&amp;gt; \displaystyle S(0) &amp;lt;/math&amp;gt; is true since&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
5^{0} + 2(11^{0}) = 1 + 2(1) = 3 = 3(1).&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, we assume that &amp;lt;math&amp;gt; \displaystyle S(k) &amp;lt;/math&amp;gt; is true for some integer &amp;lt;math&amp;gt;k \geq 0&amp;lt;/math&amp;gt; and show that &amp;lt;math&amp;gt; \displaystyle S(k+1) &amp;lt;/math&amp;gt; is true. When &amp;lt;math&amp;gt; \displaystyle n = k+1 &amp;lt;/math&amp;gt;, we can start with the induction hypothesis&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
5^{k} + 2(11^{k}) = 3m.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for some integer &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;. The induction hypothesis is equivalent to &amp;lt;math&amp;gt;5^k = 3m-2(11^{k})&amp;lt;/math&amp;gt;. To see that &amp;lt;math&amp;gt; \displaystyle S(k+1) &amp;lt;/math&amp;gt; is true, we then notice that&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
5^{k+1} + 2(11^{k+1}) &amp;amp;= 5(5^{k}) + 2(11^{k+1}) \\&lt;br /&gt;
&amp;amp;= 5(3m - 2(11^{k})) + 2(11^{k+1}) \\&lt;br /&gt;
&amp;amp;= 15m - 10(11^{k}) + 22(11^{k}) \\&lt;br /&gt;
&amp;amp;= 15m  + 12(11^{k}) \\&lt;br /&gt;
&amp;amp;= 3(5m  + 4(11^{k})),&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which shows that &amp;lt;math&amp;gt; \displaystyle S(k+1) &amp;lt;/math&amp;gt; is true. Hence &amp;lt;math&amp;gt; \displaystyle S(n) &amp;lt;/math&amp;gt; is true for all nonnegative integers &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; by the principle of mathematical induction.&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH220/December_2009/Question_05_(b)/Hint_1&amp;diff=802190</id>
		<title>Science:Math Exam Resources/Courses/MATH220/December 2009/Question 05 (b)/Hint 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH220/December_2009/Question_05_(b)/Hint_1&amp;diff=802190"/>
		<updated>2023-08-15T09:23:20Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The proof writes itself after you set it up correctly. Remember that to prove a statement &amp;lt;math&amp;gt;\displaystyle S(n) &amp;lt;/math&amp;gt; is true for all nonnegative integers &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;, you must do three things:&lt;br /&gt;
&lt;br /&gt;
# Prove that &amp;lt;math&amp;gt;\displaystyle S(0) &amp;lt;/math&amp;gt; is true.&lt;br /&gt;
# Assume that &amp;lt;math&amp;gt;\displaystyle S(k) &amp;lt;/math&amp;gt; is true for some integer &amp;lt;math&amp;gt;k \geq 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
# Show that &amp;lt;math&amp;gt;\displaystyle S(k+1) &amp;lt;/math&amp;gt; is true based on the assumption above.&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH221/December_2009/Question_09/Solution_1&amp;diff=758574</id>
		<title>Science:Math Exam Resources/Courses/MATH221/December 2009/Question 09/Solution 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH221/December_2009/Question_09/Solution_1&amp;diff=758574"/>
		<updated>2023-06-28T06:38:06Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The coefficients &amp;lt;math&amp;gt;a, b, c&amp;lt;/math&amp;gt; of the least squares fit are given by&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
X^T X \begin{bmatrix} a \\ b \\ c \end{bmatrix} = X^T y,&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
where&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
X =&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
x_1^0 &amp;amp; x_1^1 &amp;amp; x_1^2 \\&lt;br /&gt;
x_2^0 &amp;amp; x_2^1 &amp;amp; x_2^2 \\&lt;br /&gt;
x_3^0 &amp;amp; x_3^1 &amp;amp; x_3^2 \\&lt;br /&gt;
x_4^0 &amp;amp; x_4^1 &amp;amp; x_4^2 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
0^0 &amp;amp; 0^1 &amp;amp; 0^2 \\&lt;br /&gt;
1^0 &amp;amp; 1^1 &amp;amp; 1^2 \\&lt;br /&gt;
2^0 &amp;amp; 2^1 &amp;amp; 2^2 \\&lt;br /&gt;
3^0 &amp;amp; 3^1 &amp;amp; 3^2 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
=&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
1 &amp;amp; 0 &amp;amp; 0 \\&lt;br /&gt;
1 &amp;amp; 1 &amp;amp; 1 \\&lt;br /&gt;
1 &amp;amp; 2 &amp;amp; 4 \\&lt;br /&gt;
1 &amp;amp; 3 &amp;amp; 9 \\&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
y =&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
y_1 \\ y_2 \\ y_3 \\ y_4&lt;br /&gt;
\end{bmatrix} =&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
1 \\ 0 \\ 5 \\ 6&lt;br /&gt;
\end{bmatrix}.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
X^T X =&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
98 &amp;amp; 36 &amp;amp; 14 \\&lt;br /&gt;
36 &amp;amp; 14 &amp;amp; 6 \\&lt;br /&gt;
14 &amp;amp; 6 &amp;amp; 4&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
X^T y =&lt;br /&gt;
\begin{bmatrix}&lt;br /&gt;
74 \\ 28 \\ 12&lt;br /&gt;
\end{bmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Solving the resulting linear system, we find that &amp;lt;math&amp;gt; a = \frac{1}{2}, b = \frac{1}{2}, c = \frac{1}{2}&amp;lt;/math&amp;gt;, so the least squares fit is&lt;br /&gt;
&amp;lt;math&amp;gt;\color{blue} y = \frac{1}{2} + \frac{1}{2} x + \frac{1}{2}x^2&amp;lt;/math&amp;gt;.&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH101/April_2018/Question_11_(ii)/Hint_1&amp;diff=751395</id>
		<title>Science:Math Exam Resources/Courses/MATH101/April 2018/Question 11 (ii)/Hint 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH101/April_2018/Question_11_(ii)/Hint_1&amp;diff=751395"/>
		<updated>2023-04-25T23:39:07Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For the region below a curve &amp;lt;math&amp;gt;y=f(x)&amp;lt;/math&amp;gt; and above a curve &amp;lt;math&amp;gt;y=g(x)&amp;lt;/math&amp;gt; on the interval &amp;lt;math&amp;gt;[a,b]&amp;lt;/math&amp;gt;, the &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;-coordinate of the centroid is given by &amp;lt;math&amp;gt;\bar{y}=\frac{1}{A}\int_a^b \left[\frac{f(x) + g(x)}{2}\right][f(x) - g(x)]\;dx,&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the area of the region (this formula can be found in the [https://personal.math.ubc.ca/~CLP/CLP2/clp_2_ic/subsection-32.html CLP-2 Integral Calculus textbook]).&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH101/April_2018/Question_11_(ii)/Solution_1&amp;diff=751394</id>
		<title>Science:Math Exam Resources/Courses/MATH101/April 2018/Question 11 (ii)/Solution 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH101/April_2018/Question_11_(ii)/Solution_1&amp;diff=751394"/>
		<updated>2023-04-25T23:30:57Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We will use the formula from the hint with &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f(x)=\frac{4}{5}(\sqrt{|x|}+\sqrt{1-x^2})&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;g(x)=\frac{4}{5}(\sqrt{|x|}-\sqrt{1-x^2})&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;a=-1,b=1&amp;lt;/math&amp;gt;; these were obtained already in part (i).&lt;br /&gt;
&lt;br /&gt;
Then &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f(x)+g(x) =\frac{8}{5}\sqrt{|x|}&amp;lt;/math&amp;gt; and &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;f(x)-g(x) =\frac{8}{5}\sqrt{1-x^2}&amp;lt;/math&amp;gt;. Moreover, we know from part (i) that &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;A=4\pi/5&amp;lt;/math&amp;gt;. Thus, the &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;y&amp;lt;/math&amp;gt;-coordinate of the centroid of &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;\mathcal{H}&amp;lt;/math&amp;gt; is precisely &lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\overline{y} = \frac{1}{\frac{4}{5} \pi} \int_{-1}^1 \frac{\frac{8}{5}\sqrt{|x|}}{2} \cdot \frac{8}{5} \sqrt{1-x^2}\;dx=\frac{8}{5\pi} \int_{-1}^1\sqrt{|x|(1-x^2)}\;dx.&amp;lt;/math&amp;gt; &lt;br /&gt;
Since the integrand is an even function, we have &lt;br /&gt;
&amp;lt;math display=&amp;quot;block&amp;quot;&amp;gt;\frac{8}{5\pi} \int_{-1}^1\sqrt{|x|(1-x^2)}= 2 \cdot \frac{8}{5\pi}\int_{0}^1\sqrt{|x|(1-x^2)}\;dx = \frac{16}{5\pi} \int_{0}^1\sqrt{x-x^3}\;dx,&amp;lt;/math&amp;gt;&lt;br /&gt;
using the fact that &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;|x|=x&amp;lt;/math&amp;gt; for &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;x\geq0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; The correct constant is &amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;{\color{blue}b=\frac{16}{5\pi}}&amp;lt;/math&amp;gt;.&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH101/April_2018/Question_11_(ii)/Hint_1&amp;diff=751393</id>
		<title>Science:Math Exam Resources/Courses/MATH101/April 2018/Question 11 (ii)/Hint 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH101/April_2018/Question_11_(ii)/Hint_1&amp;diff=751393"/>
		<updated>2023-04-25T23:25:59Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For the region below a curve &amp;lt;math&amp;gt;y=f(x)&amp;lt;/math&amp;gt; and above a curve &amp;lt;math&amp;gt;y=g(x)&amp;lt;/math&amp;gt; on the interval &amp;lt;math&amp;gt;[a,b]&amp;lt;/math&amp;gt;, the &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt;-coordinate of the centroid is given by &amp;lt;math&amp;gt;\bar{y}=\frac{1}{A}\int_a^b \left[\frac{f(x) + g(x)}{2}\right][f(x) - g(x)]\;dx,&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt; is the area of the region.&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH152/April_2017/Question_B_02/Solution_1&amp;diff=751392</id>
		<title>Science:Math Exam Resources/Courses/MATH152/April 2017/Question B 02/Solution 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH152/April_2017/Question_B_02/Solution_1&amp;diff=751392"/>
		<updated>2023-04-25T23:19:30Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;First, we need to know that  equilibrium probability is defined as a probability vector, i.e., the sum of its components is 1. Exclude &amp;lt;math&amp;gt;\text{(II)}&amp;lt;/math&amp;gt; from answer.&lt;br /&gt;
&lt;br /&gt;
Second, from the definition of the probability transition matrix, we have &amp;lt;math&amp;gt;\sum_{i=1}^2 P_{i,j}=1.\,&amp;lt;/math&amp;gt;. (Total probability should be 1) So &amp;lt;math&amp;gt;\text{(C)}&amp;lt;/math&amp;gt; is not a transition probability matrix. (i.e., &amp;lt;math&amp;gt;\text{(VI)}&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&lt;br /&gt;
Recall that when &amp;lt;math&amp;gt;P&amp;lt;/math&amp;gt; has a single eigenvector for the eigenvalue &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt;, we call the probability eigenvector as the &#039;&#039;equilibrium probability&#039;&#039;.&lt;br /&gt;
Since we only have &amp;lt;math&amp;gt;2\times 2&amp;lt;/math&amp;gt; transition matrices, the maximum number of eigenvectors corresponding to the eigenvalue &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt; and in that case actually &amp;lt;math&amp;gt;P\bold{x} = \bold{x}&amp;lt;/math&amp;gt; for any &amp;lt;math&amp;gt;\bold{x}&amp;lt;/math&amp;gt;. i.e., &amp;lt;math&amp;gt;P = I&amp;lt;/math&amp;gt;. Therefore &amp;lt;math&amp;gt;\text{(E)}&amp;lt;/math&amp;gt; has no equilibrium probability. &lt;br /&gt;
&lt;br /&gt;
Since the remained probability transition matrices are not identity matrix and we only have limited number of options for equilibrium probabilities, instead of finding eigen-vectors corresponding to the eigenvalue &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt;, we find equilibrium probabilities by trials and errors, &lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\text{(A)}&amp;lt;/math&amp;gt;:  &amp;lt;math&amp;gt; \begin{bmatrix} 1/3 &amp;amp; 2/3 \\ 2/3 &amp;amp; 1/3 \end{bmatrix} \cdot \begin{bmatrix} 0 \\ 1 \end{bmatrix} \neq \begin{bmatrix} 0 \\ 1 \end{bmatrix}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{bmatrix} 1/3 &amp;amp; 2/3 \\ 2/3 &amp;amp; 1/3 \end{bmatrix}  \cdot \begin{bmatrix} 1/2 \\ 1/2 \end{bmatrix}= \begin{bmatrix} 1/2 \\ 1/2 \end{bmatrix}&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Thus corresponding equilibrium probability of &amp;lt;math&amp;gt;\text{(A)}&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;\text{(III)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\text{(B)}&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt; \begin{bmatrix} 1/2 &amp;amp; 1/2 \\ 1/2 &amp;amp; 1/2 \end{bmatrix} \cdot \begin{bmatrix} 0 \\ 1 \end{bmatrix} \neq \begin{bmatrix} 0 \\ 1 \end{bmatrix}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{bmatrix} 1/2 &amp;amp; 1/2 \\ 1/2 &amp;amp; 1/2 \end{bmatrix}  \cdot \begin{bmatrix} 1/2 \\ 1/2 \end{bmatrix} = \begin{bmatrix} 1/2 \\ 1/2 \end{bmatrix}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Thus corresponding equilibrium probability of &amp;lt;math&amp;gt;\text{(B)}&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;\text{(III)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\text{(D)}&amp;lt;/math&amp;gt;: &amp;lt;math&amp;gt; \begin{bmatrix} 9/10 &amp;amp; 0 \\ 1/10 &amp;amp; 1 \end{bmatrix} \cdot \begin{bmatrix} 0 \\ 1 \end{bmatrix} = \begin{bmatrix} 0 \\ 1 \end{bmatrix}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Thus corresponding equilibrium probability of &amp;lt;math&amp;gt;\text{(D)}&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;\text{(I)}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Answer:&#039;&#039;&#039; &amp;lt;math&amp;gt;\color{blue}\text{A-(III), B-(III), C-(VI), D-(I),  E-(VIII)}&amp;lt;/math&amp;gt;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH221/December_2011/Question_06_(a)/Solution_1&amp;diff=751364</id>
		<title>Science:Math Exam Resources/Courses/MATH221/December 2011/Question 06 (a)/Solution 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH221/December_2011/Question_06_(a)/Solution_1&amp;diff=751364"/>
		<updated>2023-04-25T22:41:56Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;First we must determine whether the vectors are orthogonal.  We know that two vectors are orthogonal if their dot product is zero.  &lt;br /&gt;
&lt;br /&gt;
Consider &amp;lt;math&amp;gt;v_1 \cdot v_2&amp;lt;/math&amp;gt;.  This is equal to&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;(1/2)(1/2) + (1/2)(1/2) + (1/2)(-1/2) + (1/2)(-1/2) = 0.&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
All other dot products are calculated in the same way and all vanish.  Hence &amp;lt;math&amp;gt;\{v_1, v_2, v_3, v_4\}&amp;lt;/math&amp;gt; is an orthogonal set.  &lt;br /&gt;
&lt;br /&gt;
Since an orthogonal set of nonzero vectors must be linearly independent, and a set of 4 linearly independent vectors in &amp;lt;math&amp;gt;\mathbb{R}^4&amp;lt;/math&amp;gt; must be a basis of &amp;lt;math&amp;gt;\mathbb{R}^4&amp;lt;/math&amp;gt;, we conclude that &amp;lt;math&amp;gt;\{v_1, v_2, v_3, v_4\}&amp;lt;/math&amp;gt; is an orthogonal basis of &amp;lt;math&amp;gt;\mathbb{R}^4&amp;lt;/math&amp;gt;.&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH101/April_2008/Question_03_(b)/Solution_1&amp;diff=751361</id>
		<title>Science:Math Exam Resources/Courses/MATH101/April 2008/Question 03 (b)/Solution 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH101/April_2008/Question_03_(b)/Solution_1&amp;diff=751361"/>
		<updated>2023-04-25T22:34:37Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As in the hint, let &amp;lt;math&amp;gt; u = \sqrt{x} &amp;lt;/math&amp;gt; so that &amp;lt;math&amp;gt; du = \frac{dx}{2\sqrt{x}} = \frac{dx}{2u} &amp;lt;/math&amp;gt;. This gives&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\int \cos\sqrt{x} \, dx = \int 2u\cos(u)\, du&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To solve this last integral, we use integration by parts. Let&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
w = u \quad&amp;amp;\quad v = \sin(u) \\&lt;br /&gt;
dw = du \quad &amp;amp; \quad dv = \cos(u)du&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, we have&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
\int 2u\cos(u)\, du &amp;amp;= 2\int u\cos(u)\, du\\&lt;br /&gt;
&amp;amp;= 2u\sin(u) - 2\int\sin(u)\, du\\&lt;br /&gt;
&amp;amp;= 2u\sin(u) + 2\cos(u) + C&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
and hence&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{align}&lt;br /&gt;
\int\cos(\sqrt{x})\, dx &amp;amp;= 2\sqrt{x}\sin(\sqrt{x}) + 2\cos(\sqrt{x}) + C.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH110/April_2012/Question_05_(e)/Solution_1&amp;diff=751360</id>
		<title>Science:Math Exam Resources/Courses/MATH110/April 2012/Question 05 (e)/Solution 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH110/April_2012/Question_05_(e)/Solution_1&amp;diff=751360"/>
		<updated>2023-04-25T22:32:34Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;We first find the derivative of &#039;&#039;f(x)&#039;&#039;.  Using the quotient rule, &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;f&#039;(x) = \frac{4x(x^2 - 1) - (2x)(2x^2)}{(x^2 - 1)^2} = \frac{4x^3 - 4x - 4x^3}{(x^2 - 1)^2} = \frac{-4x}{(x^2 - 1)^2}&amp;lt;/math&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
Since the denominator is always positive on the domain (squaring &amp;lt;math&amp;gt;x^2 - 1&amp;lt;/math&amp;gt; always yields a positive number), we only need check whether the numerator is positive or negative.  When &amp;lt;math&amp;gt;x &amp;lt; 0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;-4x&amp;lt;/math&amp;gt; is positive and when &amp;lt;math&amp;gt;x &amp;gt; 0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;-4x&amp;lt;/math&amp;gt; is negative.  Thus &#039;&#039;f&#039;&#039; is increasing on the interval &amp;lt;math&amp;gt;(-\infty, -1)\cup (-1, 0)&amp;lt;/math&amp;gt; and decreasing on the interval &amp;lt;math&amp;gt;(0, 1)\cup (1, \infty)&amp;lt;/math&amp;gt;.&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH312/December_2012/Question_02_(c)/Solution_1&amp;diff=751181</id>
		<title>Science:Math Exam Resources/Courses/MATH312/December 2012/Question 02 (c)/Solution 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH312/December_2012/Question_02_(c)/Solution_1&amp;diff=751181"/>
		<updated>2023-04-20T07:17:28Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The answer is &#039;&#039;&#039;true&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Recall that 7 passes Miller&#039;s test if &lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \displaystyle 7^{d} \equiv 1 \mod{25}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or the following holds for some &#039;&#039;r&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \displaystyle 7^{2^{r}d} \equiv -1 \mod{25}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt; \displaystyle 25-1 = 24 = 2^{s}d = 2^{3}\cdot 3&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt; \displaystyle 0 \leq r \leq 3-1&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
If 7 passes the test, then 25 is a probable prime. If it fails the test, then the number is not prime.&lt;br /&gt;
&lt;br /&gt;
So we check manually:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \displaystyle &lt;br /&gt;
\begin{align}&lt;br /&gt;
7^{3} &amp;amp;\equiv 49 \cdot 7 \equiv -1 \cdot 7 \not\equiv 1 \mod{25}\\&lt;br /&gt;
7^{2^1 \cdot3} &amp;amp;\equiv 49^{3} \equiv (-1)^3 \equiv -1 \mod{25}&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, 7 passes Miller&#039;s test. (Note that 25 is not prime but still 7 passes Miller&#039;s test).&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH312/December_2012/Question_02_(c)/Hint_1&amp;diff=751180</id>
		<title>Science:Math Exam Resources/Courses/MATH312/December 2012/Question 02 (c)/Hint 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH312/December_2012/Question_02_(c)/Hint_1&amp;diff=751180"/>
		<updated>2023-04-20T07:15:32Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Recall that 7 passes Miller&#039;s test if &lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \displaystyle 7^{d} \equiv 1 \mod{25}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or the following holds for some &#039;&#039;r&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; \displaystyle 7^{2^{r}d} \equiv -1 \mod{25}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt; \displaystyle 25-1 = 24 = 2^{s}d&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;s = 3&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d = 3&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt; \displaystyle 0 \leq r \leq s-1&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
If 7 passes the test, then 25 is a probable prime. If it fails the test, then the number is not prime.&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2016/Question_12/Solution_1&amp;diff=738708</id>
		<title>Science:Math Exam Resources/Courses/MATH100/December 2016/Question 12/Solution 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2016/Question_12/Solution_1&amp;diff=738708"/>
		<updated>2022-12-14T22:49:55Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
The diagram of the cylinder inside the cone is as the following&lt;br /&gt;
 [[File:MATH10016Q12.png|thumb|cylinder in a cone|left]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;R=1&amp;lt;/math&amp;gt; m and &amp;lt;math&amp;gt;H=2&amp;lt;/math&amp;gt; m are the base radius and height of the cone. &lt;br /&gt;
&lt;br /&gt;
The two right riangles in the diagram are similar, so we have the following ratios:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}\frac{r}{R}=\frac{H-h}{H} &amp;amp;\Rightarrow \frac{r}{1}=\frac{2-h}{2}\\&lt;br /&gt;
&amp;amp; \Rightarrow r=\frac 12(2-h), \qquad 0&amp;lt;r&amp;lt;1 , 0&amp;lt;h&amp;lt;2&lt;br /&gt;
\end{align}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we know that the volume of the cylinder is the area of the base times height i.e.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;V=\pi r^2 h =\frac \pi 4 h (2-h)^2 = \frac{\pi}{4}(4h-4h^2+h^3)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To maximize the volume we need to find the critical points of &amp;lt;math&amp;gt;V&amp;lt;/math&amp;gt;. We use the power rule to get&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;V&#039;(h)=\frac \pi 4 \left( 3h^2-8h+4 \right)=0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using the quadratic formula (or factoring) gives  &amp;lt;math&amp;gt;h=2, h=\frac 23&amp;lt;/math&amp;gt;. For &amp;lt;math&amp;gt;h=2&amp;lt;/math&amp;gt; the volume becomes 0, so the maximum must be attained at &amp;lt;math&amp;gt;h=\frac 23&amp;lt;/math&amp;gt;, and hence &amp;lt;math&amp;gt; r=\frac 12(2-\frac 23)=\frac 23&amp;lt;/math&amp;gt;, therefore,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; V=\pi \times \frac 49 \times \frac 23=\frac 8{27} \pi&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that in general, we need to check the endpoints for &amp;lt;math&amp;gt;h&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt;, where in this example make the volume equal to 0.&lt;br /&gt;
&lt;br /&gt;
The dimension of the cylinder is therefore  &amp;lt;math&amp;gt;\color{blue}h=\frac 23, r=\frac 23&amp;lt;/math&amp;gt;.&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2016&amp;diff=738707</id>
		<title>Science:Math Exam Resources/Courses/MATH100/December 2016</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2016&amp;diff=738707"/>
		<updated>2022-12-14T22:41:55Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MER Exam page|creation_box=true}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:MER Exam QG flag]]&lt;br /&gt;
[[Category:MER Exam Page]]&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2016/Question_2_(b)&amp;diff=738705</id>
		<title>Science:Math Exam Resources/Courses/MATH100/December 2016/Question 2 (b)</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2016/Question_2_(b)&amp;diff=738705"/>
		<updated>2022-12-14T22:41:05Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: Replaced content with &amp;quot;{{ delete }}&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ delete }}&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2016/Question_02_(b)/Solution_1&amp;diff=738704</id>
		<title>Science:Math Exam Resources/Courses/MATH100/December 2016/Question 02 (b)/Solution 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2016/Question_02_(b)/Solution_1&amp;diff=738704"/>
		<updated>2022-12-14T22:40:17Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By the quotient rule,&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
 g&#039;(x) &lt;br /&gt;
  &amp;amp;= \frac{(2x)(2x-1) - (x^2+3)(2)}{(2x-1)^2}\\&lt;br /&gt;
  &amp;amp;= \frac{4x^2-2x -2x^2-6}{(2x-1)^2}\\&lt;br /&gt;
  &amp;amp;= {\color{blue}\frac{2(x^2-x-3)}{(2x-1)^2}} .\\\end{align}&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2016/Question_02_(a)/Solution_1&amp;diff=738703</id>
		<title>Science:Math Exam Resources/Courses/MATH100/December 2016/Question 02 (a)/Solution 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2016/Question_02_(a)/Solution_1&amp;diff=738703"/>
		<updated>2022-12-14T22:36:12Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By the product rule,&lt;br /&gt;
:&amp;lt;math&amp;gt; \begin{align}&lt;br /&gt;
  f&#039;(x) &amp;amp;= 2x e^x + x^2 e^x = {\color{blue}xe^x(2+x)}.&lt;br /&gt;
 \end{align}&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2016/Question_02_(b)/Solution_1&amp;diff=738702</id>
		<title>Science:Math Exam Resources/Courses/MATH100/December 2016/Question 02 (b)/Solution 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2016/Question_02_(b)/Solution_1&amp;diff=738702"/>
		<updated>2022-12-14T22:35:23Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: Created page with &amp;quot;By the quotient rule, :&amp;lt;math&amp;gt;\begin{align}  g&amp;#039;(x)    &amp;amp;= \frac{(2x-1)(2x) - 2(x^2+3)}{(2x-1)^2}\\   &amp;amp;= \frac{4x^2-2x -2x^2-6}{(2x-1)^2}\\   &amp;amp;= {\color{blue}\frac{2(x^2-x-3)}{(2...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;By the quotient rule,&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
 g&#039;(x) &lt;br /&gt;
  &amp;amp;= \frac{(2x-1)(2x) - 2(x^2+3)}{(2x-1)^2}\\&lt;br /&gt;
  &amp;amp;= \frac{4x^2-2x -2x^2-6}{(2x-1)^2}\\&lt;br /&gt;
  &amp;amp;= {\color{blue}\frac{2(x^2-x-3)}{(2x-1)^2}} \,.\\\end{align}&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2016/Question_02_(a)/Hint_1&amp;diff=738701</id>
		<title>Science:Math Exam Resources/Courses/MATH100/December 2016/Question 02 (a)/Hint 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2016/Question_02_(a)/Hint_1&amp;diff=738701"/>
		<updated>2022-12-14T22:34:14Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Use the product rule.&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2016/Question_02_(b)/Hint_1&amp;diff=738700</id>
		<title>Science:Math Exam Resources/Courses/MATH100/December 2016/Question 02 (b)/Hint 1</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2016/Question_02_(b)/Hint_1&amp;diff=738700"/>
		<updated>2022-12-14T22:33:53Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: Created page with &amp;quot;Use the quotient rule.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Use the quotient rule.&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2016/Question_02_(a)/Statement&amp;diff=738699</id>
		<title>Science:Math Exam Resources/Courses/MATH100/December 2016/Question 02 (a)/Statement</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2016/Question_02_(a)/Statement&amp;diff=738699"/>
		<updated>2022-12-14T22:33:31Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: Removed redirect to Science:Math Exam Resources/Courses/MATH100/December 2016/Question 02 (b)/Statement&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Find the derivative of &amp;lt;math&amp;gt;f(x) = x^2 e^{x}&amp;lt;/math&amp;gt;.&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2016/Question_02_(a)/Statement&amp;diff=738698</id>
		<title>Science:Math Exam Resources/Courses/MATH100/December 2016/Question 02 (a)/Statement</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2016/Question_02_(a)/Statement&amp;diff=738698"/>
		<updated>2022-12-14T22:31:50Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: NicholasHu moved page Science:Math Exam Resources/Courses/MATH100/December 2016/Question 02 (a)/Statement to Science:Math Exam Resources/Courses/MATH100/December 2016/Question 02 (b)/Statement&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Science:Math Exam Resources/Courses/MATH100/December 2016/Question 02 (b)/Statement]]&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2016/Question_02_(b)/Statement&amp;diff=738697</id>
		<title>Science:Math Exam Resources/Courses/MATH100/December 2016/Question 02 (b)/Statement</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2016/Question_02_(b)/Statement&amp;diff=738697"/>
		<updated>2022-12-14T22:31:50Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: NicholasHu moved page Science:Math Exam Resources/Courses/MATH100/December 2016/Question 02 (a)/Statement to Science:Math Exam Resources/Courses/MATH100/December 2016/Question 02 (b)/Statement&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Find the derivative of &amp;lt;math&amp;gt;g(x) = \dfrac{x^2+3}{2x-1}&amp;lt;/math&amp;gt;.&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
	<entry>
		<id>https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2016/Question_02_(b)&amp;diff=738696</id>
		<title>Science:Math Exam Resources/Courses/MATH100/December 2016/Question 02 (b)</title>
		<link rel="alternate" type="text/html" href="https://wiki.ubc.ca/index.php?title=Science:Math_Exam_Resources/Courses/MATH100/December_2016/Question_02_(b)&amp;diff=738696"/>
		<updated>2022-12-14T22:31:10Z</updated>

		<summary type="html">&lt;p&gt;NicholasHu: Removed redirect to Science:Math Exam Resources/Courses/MATH100/December 2016/Question 02 (c)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- FLAGS SUMMARY --&amp;gt;&lt;br /&gt;
&amp;lt;!-- first letter is for status: C=content to add, R=to review, QB=reviewed as bad quality, QG = reviewed as good quality --&amp;gt;&lt;br /&gt;
&amp;lt;!-- second letter is for object: Q=question statement, H=hint, S=solution, T=tags --&amp;gt;&lt;br /&gt;
&amp;lt;!-- for more information see Science:MER/Flags --&amp;gt;&lt;br /&gt;
&amp;lt;!-- WRITE FLAGS BETWEEN HERE --&amp;gt;&lt;br /&gt;
[[Category:MER QGQ flag]][[Category:MER QGH flag]][[Category:MER QGS flag]][[Category:MER CT flag]]&lt;br /&gt;
&amp;lt;!-- AND HERE --&amp;gt;&lt;br /&gt;
&amp;lt;!-- TAGS SUMMARY --&amp;gt;&lt;br /&gt;
&amp;lt;!-- To see the list of all possible Tags, please check Science:MER/Tags --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Please do not invent your own tags without having them added to the dictionary, it would be useless --&amp;gt;&lt;br /&gt;
&amp;lt;!-- WRITE TAGS BETWEEN HERE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- AND HERE --&amp;gt;&lt;br /&gt;
{{MER Question page}}&lt;/div&gt;</summary>
		<author><name>NicholasHu</name></author>
	</entry>
</feed>