0% found this document useful (0 votes)
120 views3 pages

Mat9004 Assignment 2

Uploaded by

buffettmorandini
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
120 views3 pages

Mat9004 Assignment 2

Uploaded by

buffettmorandini
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

MAT9004 Mathematical foundations for data science and AI Assignment 2

MAT9004 Assignment 2

Due: Friday, 26 April 2024, 23:55 PM

Please write up your solutions neatly! In particular, use notation and terminology correctly and include some
necessary comments. Partial marks will be given for showing that you know some aspects of the answer, even if your
solution is incomplete. The questions are NOT arranged in order of difficulty, so you should attempt every question.
Both handwritten and typed solutions are accepted. Please make sure you convert all your work into one single
pdf file as other types might not display properly on moodle.

1. An advertising company plans to run an advertising campaign in three regional cities. Advertisements will be run
on TV, radio and in the local newspaper. The costs of running the same advertising program in the three cities
are $175 000, $ 149 000 and $162 000 respectively and the costs for each type in each city is shown in the table
below:

Cities TV Radio Newspaper


A 3000 1000 500
B 2500 900 600
C 2800 800 600

Consider the number of advertisements that were run on TV (x), on radio (y) and in the local newspaper (z).
(a) [1 point] Write a system of linear equations to represent the information above.
(b) [1 point] Write the above system in matrix form.
(c) [4 points] Find the amount of each type of advertisements using Gaussian elimination.

2. [5 points] Parts of the graphs of the functions

f (x) = x3 − ax, g(x) = ax,

where a > 0 are shown in the diagram below. The graphs intersect when x = 0 and when x = m.

The area of the shaded region is 64. Find the value of a and the value of m.

Please go on to the next page. . . Page 1 of 3


MAT9004 Mathematical foundations for data science and AI Assignment 2

3. Planet X is populated by robots of two types, U and W, that do their maintenance by rebuilding themselves in the
following way: each night, all the robots of type U get together in groups of 3 and by morning, one of the three
has been rebuilt, whilst the type W robots get together in groups of 6 and by morning one of them has been rebuilt.
Each robot would like to have more of the opposite type, so when a type U is rebuilt, it is modified to become a
type W robot, and vice versa. (You can assume that the numbers of robots are divisible by 6, so that no robots are
left outside the groups. There are so many robots that this does not significantly affect the results.)
(a) [3 points] Assuming day 0 occurred far in the distant past, let un be the number of robots of type U, and wn
of type W, on day n. Find linear equations expressing un+1 and wn+1 in terms of un and wn (n ≥ 1).
   
un+1 un
(b) [2 points] Find a matrix A satisfying =A for all n ≥ 1.
wn+1 wn
(c) [2 points] Find the eigenvalues of A.
(d) [2 points] Find one eigenvector corresponding to each eigenvalue.
(e) [2 points] Find matrices P and D such that D is diagonal and A = P DP −1 , hence write the expression of
An
(f) [4 points] Assume this process has been going on for a long time. Find the proportion of robots that are of
type U.

4. Consider function g : R → R, g(x) = 4 − x2 . The tangent to the graph of g(x) at a point P has a negative
gradient and intersects the y-axis at D(0, k), where 5 ≤ k ≤ 8.

(a) [3 points] Find the gradient of the tangent in terms of k.


(b) [3 points] Find the rule A(k) for the function of k that gives the area of the shaded region.
(c) [4 points] Find the values of k which minimize and maximize the area.

5. The coordinates of three points are A(−1, 2, 4), B(1, 0, 5) and C(3, 5, 2).
(a) [1 point] Find AB.
(b) [2 points] The points A, B and C are the vertices of a triangle. Prove that the triangle is a right-angled
triangle.
6. Assume that A and B are 2 × 2 such that
A + B = AB.
(a) [2 points] Show that A − I has an inverse, where I is the identity matrix.

Please go on to the next page. . . Page 2 of 3


MAT9004 Mathematical foundations for data science and AI Assignment 2
 
2 2
(b) [4 points] Find matrix A, given B = .
2 6

Total: 45 points

End of exam Page 3 of 3

You might also like