Highlights
Introduction to Mathematical Modelling
We’ve developed a lot of the basic ideas of Linear Algebra in the context of solving systems of linear algebraic equations. Our vectors were lists of n values, x = (x1; x2; : : : ; xn), representing possible values of the n variables found in our system of equations. We represented the equations in the form Ax = b, and set about looking for possible solutions. More recently, we’ve considered cases where the matrix A represents (possibly huge) sets of data, which we want to analyse in order to make predictions (say, about the best song to recommend to a user on a music platform).
An alternative use of linear algebra, which we’ve also considered, is when the values in x represent coe cients for a set of basis functions. We then extend all the ideas we’ve developed, like linear dependence, orthogonality, and so on, to help solve mathematically similar problems. Here we use inner products to measure how ‘similar’ two vectors are.
|
Q1 Which of the following vectors |
|
|
0 21 |
|
|
|
0 31 |
|
|
|
0 31 |
|
|
|
0 31 |
|||||||||||||||||
|
|
|
0 31 |
|
|
|
0 41 |
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||
|
|
|
B |
3 |
C |
|
|
|
B |
0 |
C |
|
|
|
B |
3 |
|
|
|
B |
1 |
|
|
|
B |
4 |
C |
|
|
|
B |
3 |
C |
|
v1 |
= |
3 |
; |
v2 |
= |
1 |
; |
v3 |
= |
3C |
; |
v4 |
= |
4C |
; |
v5 |
= |
4 |
; |
v6 |
= |
3 |
||||||||||
|
|
|
B C |
|
|
|
B C |
|
|
|
B C |
|
|
|
B C |
|
|
|
B C |
|
|
|
B C |
||||||||||
|
|
|
B |
2 |
C |
|
|
|
B |
2 |
C |
|
|
|
B |
3 |
|
|
|
B |
2 |
|
|
|
B |
1 |
C |
|
|
|
B |
3 |
C |
|
|
|
2 |
|
|
|
3 |
|
|
|
1C |
|
|
|
4C |
|
|
|
0 |
|
|
|
4 |
||||||||||
|
|
|
B C |
|
|
|
B C |
|
|
|
B C |
|
|
|
B C |
|
|
|
B C |
|
|
|
B C |
||||||||||
|
|
|
B |
4 |
C |
|
|
|
B |
4 |
C |
|
|
|
B |
1C |
|
|
|
B |
1C |
|
|
|
B |
2 |
C |
|
|
|
B |
4 |
C |
|
|
|
B C |
|
|
|
B C |
|
|
|
B C |
|
|
|
B C |
|
|
|
B C |
|
|
|
B C |
||||||||||
|
|
|
@ A |
|
|
|
@ A |
|
|
|
@ A |
|
|
|
@ A |
|
|
|
@ A |
|
|
|
@ A |
||||||||||
points in the direction closest to u = (1; 2; 1; 2; 1; 2)T , measured using the standard inner product (the dot product)?
Q2 Which of the six vectors v1 to v6 above points in the direction closest to u = (1; 2; 1; 2; 1; 2)T , measured using the inner product
hx; yi = 2x1y1 + x2y2 + 2x3y3 + 2x4y4 + x5y5 + 2x6y6 ?
Q3 Which of Users 1-5 has taste in music most similar to User 6, measured using the standard inner product?
|
Song |
|
|
User ratings |
|
|
|
|
|
U1 |
U2 |
U3 |
U4 |
U5 |
U6 |
|
|
|
|
|
|
|
|
|
Song 1 |
2 |
4 |
4 |
2 |
4 |
3 |
|
Song 2 |
2 |
1 |
3 |
2 |
1 |
2 |
|
Song 3 |
3 |
1 |
2 |
4 |
4 |
1 |
|
Song 4 |
3 |
1 |
2 |
3 |
1 |
2 |
|
Song 5 |
1 |
4 |
4 |
3 |
2 |
3 |
|
Song 6 |
4 |
3 |
0 |
1 |
0 |
1 |
|
Song 7 |
3 |
3 |
1 |
2 |
0 |
4 |
|
Song 8 |
0 |
3 |
4 |
2 |
3 |
3 |
|
Song 9 |
2 |
4 |
1 |
0 |
4 |
2 |
|
Song 10 |
4 |
3 |
3 |
3 |
0 |
1 |
|
|
|
|
|
|
|
|
|
Q4 Which of the four functions below is closest to the function cos x in the interval [0; |
|
], measured |
||||||||
|
|
||||||||||
|
|
|
|
|
R |
|
|
2 |
|
||
|
|
|
|
|
0 =2 f(x)g(x) dx? Feel free to use software (eg WolframAlpha) |
||||||
|
using the inner product hf; gi = |
||||||||||
|
to perform the integrals, just include any integral values you obtained this way. |
||||||||||
|
(a) x |
(b) |
|
x |
(c) 1 |
x2 |
(d) 1 |
x2 |
|
||
|
|
2 |
|
|
|
||||||
|
|
2 |
|
|
|
|
|
|
|
||
© Copyright 2026 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.