Asiman Data School

Module 2: Linear Algebra and Probability/Statistics. After topic 20.

Mathematics final exam

Everything from Topics 13 to 20 in one exam: vectors, matrices and eigenvalues in the first part, probability, distributions, tests, intervals and correlation in the second.

questions in two parts
40 questions in two parts
points
100 points
the topics it covers
13 to 20 the topics it covers

How the exam works

The kinds of questions in each of the two parts
KindIn each partPoints eachWhat it asks
Multiple choice61choose one answer
Easy42a few steps
Medium83several steps
Hard26many steps, and an idea
  • Work on paper with a calculator, and type your results into the answer boxes. Give results that are not whole numbers with at least three decimals; a fraction such as 5/14 is accepted too.
  • Your answers are saved in this browser while you write. You can close the page and continue later on the same device.
  • While you work, nothing is marked right or wrong.
  • At the end you press Submit the exam. Every answer is checked, you see your points, and the answer key opens with a full solution for every question.
  • A question with several answer boxes gives a part of its points for a part of the boxes.
  • After submitting you cannot change your answers.
  • There is no timer on this page. Your instructor tells you how much time you have.

ALinear algebra

Questions 1 to 20, on Topics 13 to 15: 6 multiple-choice questions, then 4 easy, 8 medium and 2 hard questions with answer boxes. Every question names the topic it comes from.

Question 1 · Topic 13 · multiple choice

1 point

The dot product of two vectors, neither of them the zero vector, is 0. What does that say about them?

Question 2 · Topic 13 · multiple choice

1 point

Which of these is a unit vector?

Question 3 · Topic 14 · multiple choice

1 point

AA is a matrix with 2 rows and 3 columns, and BB has 3 rows and 4 columns. What is the size of the product ABAB?

Question 4 · Topic 14 · multiple choice

1 point

A square matrix AA has the determinant 0. Which statement is true?

Question 5 · Topic 15 · multiple choice

1 point

For a matrix AA and a vector v\vv that is not the zero vector, Av=3vA\vv = 3\vv. What is true?

Question 6 · Topic 15 · multiple choice

1 point

What is the L1L_1 norm of x=(3, −4)\vx = (3,\ -4)?

Question 7 · Topic 13 · easy

2 points

For a=(2, −1, 3)\va = (2,\ -1,\ 3) and b=(1, 4, −2)\vb = (1,\ 4,\ -2), find 2a−b2\va - \vb and the dot product a⋅b\va \cdot \vb.

Question 8 · Topic 13 · easy

2 points

Find the length of v=(6, −8)\vv = (6,\ -8) and the distance between the points P(1, 2)P(1,\ 2) and Q(4, 6)Q(4,\ 6).

Question 9 · Topic 14 · easy

2 points

For A=[2134]A = \mat{2 & 1 \\ 3 & 4} and x=(1, 2)\vx = (1,\ 2), find AxA\vx and the transpose ATA\T.

ATA\T

Question 10 · Topic 15 · easy

2 points

Find the eigenvalues of A=[410−2]A = \mat{4 & 1 \\ 0 & -2}, and the L∞L_\infty norm of x=(2, −7, 5)\vx = (2,\ -7,\ 5).

Question 11 · Topic 13 · medium

3 points

Find the cosine of the angle between a=(3, 4)\va = (3,\ 4) and b=(4, 3)\vb = (4,\ 3), and the angle in degrees.

Question 12 · Topic 13 · medium

3 points

Find the projection of a=(2, 6)\va = (2,\ 6) onto b=(3, 1)\vb = (3,\ 1), and the part of a\va that is perpendicular to b\vb.

Question 13 · Topic 14 · medium

3 points

For A=[120−1]A = \mat{1 & 2 \\ 0 & -1} and B=[3012]B = \mat{3 & 0 \\ 1 & 2}, find ABAB and BABA.

ABAB
BABA

Question 14 · Topic 14 · medium

3 points

Find the determinant and the inverse of A=[4726]A = \mat{4 & 7 \\ 2 & 6}.

A−1A\inv

Question 15 · Topic 14 · medium

3 points

Solve the system x+y+z=6x + y + z = 6,  2x−y+z=3\ 2x - y + z = 3,  x+2y−z=2\ x + 2y - z = 2.

Question 16 · Topic 14 · medium

3 points

Find the rank of A=[123246101]A = \mat{1 & 2 & 3 \\ 2 & 4 & 6 \\ 1 & 0 & 1}. Does AA have an inverse?

Question 17 · Topic 15 · medium

3 points

Find the eigenvalues of A=[4123]A = \mat{4 & 1 \\ 2 & 3} and an eigenvector for each of them.

Question 18 · Topic 15 · medium

3 points

The gradient of a model is g=(3, −4, 0, 12)\vg = (3,\ -4,\ 0,\ 12). Find its L1L_1 norm and its L2L_2 norm. Then clip it: find the vector with the same direction and the L2L_2 norm 6.5.

Question 19 · Topics 14 and 15 · hard

6 points

Every month, 70 percent of the customers of shop 1 stay and 30 percent move to shop 2; of the customers of shop 2, 40 percent move to shop 1 and 60 percent stay. With the numbers of customers as a vector x=(shop 1, shop 2)\vx = (\text{shop 1},\ \text{shop 2}), one month is the multiplication by A=[0.70.40.30.6]A = \mat{0.7 & 0.4 \\ 0.3 & 0.6}. At the start, x0=(70, 0)\vx_0 = (70,\ 0). (a) Find the eigenvalues of AA. (b) Write x0\vx_0 as a combination of two eigenvectors and use it to find x2\vx_2, the customers after two months. (c) Which vector do the customers approach in the long run? (d) After how many months is the first component below 40.1 for the first time?

Question 20 · Topics 13, 14 and 15 · hard

6 points

The vectors a=(1, 2, 2)\va = (1,\ 2,\ 2) and b=(2, 1, −2)\vb = (2,\ 1,\ -2) are given. (a) Find the vector c\vc that is perpendicular to both, has the length 3 and a positive first component. (b) MM is the matrix with the columns a\va, b\vb, c\vc. Find det⁡M\det M. (c) Solve Mx=(9, 0, 0)M\vx = (9,\ 0,\ 0). Think before you calculate: what is MTMM\T M?

BProbability and statistics

Questions 21 to 40, on Topics 16 to 20: 6 multiple-choice questions, then 4 easy, 8 medium and 2 hard questions with answer boxes. Every question names the topic it comes from.

Question 21 · Topic 16 · multiple choice

1 point

Two events AA and BB are independent. Which equation holds?

Question 22 · Topic 17 · multiple choice

1 point

A population has the standard deviation σ\sigma. How much does the mean of a random sample of nn values vary from sample to sample (its standard error)?

Question 23 · Topic 18 · multiple choice

1 point

The salaries of a company are 800, 900, 1,000, 1,100 and 9,000. Which summary describes a typical salary best?

Question 24 · Topic 19 · multiple choice

1 point

A hypothesis test gives the p-value 0.02. What does this number mean?

Question 25 · Topic 19 · multiple choice

1 point

The weight of 15 people is measured before and after a diet. Which test compares the two means?

Question 26 · Topic 20 · multiple choice

1 point

Two variables have the correlation coefficient r=−0.9r = -0.9. What does that say?

Question 27 · Topic 16 · easy

2 points

For two events, P(A)=0.5P(A) = 0.5, P(B)=0.3P(B) = 0.3 and P(A and B)=0.1P(A \text{ and } B) = 0.1. Find P(A or B)P(A \text{ or } B) and P(A∣B)P(A \mid B).

Question 28 · Topic 17 · easy

2 points

The marks of an exam are normal with the mean 70 and the standard deviation 10. Find the z-score of the mark 85 and the probability that a student has less than 85. Use the normal table.

Question 29 · Topic 18 · easy

2 points

Five students solved 4, 8, 6, 5 and 7 problems. Find the mean, the median and the sample variance.

Question 30 · Topic 20 · easy

2 points

A measurement has the known standard deviation σ=15\sigma = 15. A sample of 25 values has the mean 80. Find the 95 percent confidence interval for the mean.

Question 31 · Topic 16 · medium

3 points

Of all people, 2 percent have a certain illness. A test is positive for 95 percent of the ill people and also for 10 percent of the healthy people. Find the probability that a test is positive, and the probability that a person with a positive test is really ill.

Question 32 · Topic 16 · medium

3 points

A bag holds 5 red and 3 blue balls. Two balls are taken out without putting the first one back. Find the probability that both are red, and the probability that the two have different colours.

Question 33 · Topic 17 · medium

3 points

(a) A basketball player scores a free throw with the probability 0.4. She throws 5 times. Find the probability of exactly 2 hits, and the standard deviation of the number of hits. (b) A shop receives 3 complaints a day on average. Find the probability of a day without any complaint.

Question 34 · Topic 20 · medium

3 points

For four students, the hours of study are x=1,2,3,4x = 1, 2, 3, 4 and the marks are y=2,3,5,6y = 2, 3, 5, 6. Find the correlation coefficient rr and the regression line y^=a+b×x\hat{y} = a + b \times x.

Question 35 · Topic 17 · medium

3 points

The weight of a kind of bread has the mean 50 g and the standard deviation 8 g. A sample of 64 loaves is taken. Find the standard error of the sample mean and the probability that the sample mean is above 52 g.

Question 36 · Topic 18 · medium

3 points

Nine delivery times in minutes: 3, 5, 7, 8, 9, 11, 13, 15, 40. Find Q1Q_1, Q3Q_3 and the upper fence of the 1.5 IQR rule (with the rule position=1+(n−1)×p\text{position} = 1 + (n - 1) \times p). Is 40 an outlier?

Question 37 · Topic 19 · medium

3 points

A machine should fill packets with 50 g. A sample of 25 packets has the mean 52.4 g and the standard deviation 5 g. Test at α=0.05\alpha = 0.05 whether the mean differs from 50 g: find tt, the degrees of freedom, and decide.

Question 38 · Topic 19 · medium

3 points

Of 50 customers who saw a new advertisement, 30 bought the product. Of 50 customers who did not see it, 20 bought. Test at α=0.05\alpha = 0.05 with a chi-square test whether buying is related to seeing the advertisement: find the expected count of every cell, χ2\chi^2, and decide.

Question 39 · Topics 16, 17 and 19 · hard

6 points

A factory has two machines. Machine A makes 60 percent of all parts, and 2 percent of its parts are defective. Machine B makes 40 percent, and 5 percent of its parts are defective. (a) Find the probability that a part is defective. (b) A part is defective. Find the probability that it came from machine B. (c) A box holds 10 parts chosen at random. Find the probability that at least one of them is defective. (d) After a repair, an inspector checks 1,000 parts and finds 45 defective ones. Test at α=0.01\alpha = 0.01 whether the share of defective parts is now higher than the value of (a): find zz and decide.

Question 40 · Topics 18, 19 and 20 · hard

6 points

Six students studied x=1,2,3,4,5,6x = 1, 2, 3, 4, 5, 6 hours and got the marks y=52,55,61,60,68,70y = 52, 55, 61, 60, 68, 70. (a) Find the correlation coefficient rr. (b) Is the correlation significantly different from 0 at the 5 percent level? (c) Find the slope and the intercept of the regression line. (d) Treat the six marks as a random sample and find the 95 percent confidence interval for the mean mark.

Submit the exam

When you submit, every answer is checked, you see your points, and the answer key opens: the right answer and a full solution for every question. After submitting you cannot change your answers.

Part A: Linear algebra
0 of 20 answered
Part B: Probability and statistics
0 of 20 answered

Optional. It is written on your result, for example when you save it as a PDF for your instructor. It stays in this browser.

The three tables

The standard normal distribution (Topic 17), the t distribution and the chi-square distribution (Topic 19).

Look up z =+

Φ(1.25) = 0.8944: the area to the left of z = 1.25. To the right: 1 − 0.8944 = 0.1056. For z = −1.25 the two areas change places.

The standard normal distribution: the area to the left of z, for z from 0.00 to 3.09
z.00.01.02.03.04.05.06.07.08.09
0.00.50000.50400.50800.51200.51600.51990.52390.52790.53190.5359
0.10.53980.54380.54780.55170.55570.55960.56360.56750.57140.5753
0.20.57930.58320.58710.59100.59480.59870.60260.60640.61030.6141
0.30.61790.62170.62550.62930.63310.63680.64060.64430.64800.6517
0.40.65540.65910.66280.66640.67000.67360.67720.68080.68440.6879
0.50.69150.69500.69850.70190.70540.70880.71230.71570.71900.7224
0.60.72570.72910.73240.73570.73890.74220.74540.74860.75170.7549
0.70.75800.76110.76420.76730.77040.77340.77640.77940.78230.7852
0.80.78810.79100.79390.79670.79950.80230.80510.80780.81060.8133
0.90.81590.81860.82120.82380.82640.82890.83150.83400.83650.8389
1.00.84130.84380.84610.84850.85080.85310.85540.85770.85990.8621
1.10.86430.86650.86860.87080.87290.87490.87700.87900.88100.8830
1.20.88490.88690.88880.89070.89250.89440.89620.89800.89970.9015
1.30.90320.90490.90660.90820.90990.91150.91310.91470.91620.9177
1.40.91920.92070.92220.92360.92510.92650.92790.92920.93060.9319
1.50.93320.93450.93570.93700.93820.93940.94060.94180.94290.9441
1.60.94520.94630.94740.94840.94950.95050.95150.95250.95350.9545
1.70.95540.95640.95730.95820.95910.95990.96080.96160.96250.9633
1.80.96410.96490.96560.96640.96710.96780.96860.96930.96990.9706
1.90.97130.97190.97260.97320.97380.97440.97500.97560.97610.9767
2.00.97720.97780.97830.97880.97930.97980.98030.98080.98120.9817
2.10.98210.98260.98300.98340.98380.98420.98460.98500.98540.9857
2.20.98610.98640.98680.98710.98750.98780.98810.98840.98870.9890
2.30.98930.98960.98980.99010.99040.99060.99090.99110.99130.9916
2.40.99180.99200.99220.99250.99270.99290.99310.99320.99340.9936
2.50.99380.99400.99410.99430.99450.99460.99480.99490.99510.9952
2.60.99530.99550.99560.99570.99590.99600.99610.99620.99630.9964
2.70.99650.99660.99670.99680.99690.99700.99710.99720.99730.9974
2.80.99740.99750.99760.99770.99770.99780.99790.99790.99800.9981
2.90.99810.99820.99820.99830.99840.99840.99850.99850.99860.9986
3.00.99870.99870.99870.99880.99880.99890.99890.99890.99900.9990
The table of the standard normal distribution: Φ(z), the area to the left of z. The row gives z to one decimal, the column its second decimal. For z above 3 the area is practically 1.
Look up df =and the area

t = 2.228 cuts off the area 0.025 in the right tail: the critical value of a one-tailed test at 2.5 percent, or of a two-tailed test at 5 percent.

The t distribution: the value that cuts off a given area in the right tail, for every number of degrees of freedom
df0.100.050.0250.010.005
13.0786.31412.70631.82163.657
21.8862.9204.3036.9659.925
31.6382.3533.1824.5415.841
41.5332.1322.7763.7474.604
51.4762.0152.5713.3654.032
61.4401.9432.4473.1433.707
71.4151.8952.3652.9983.499
81.3971.8602.3062.8963.355
91.3831.8332.2622.8213.250
101.3721.8122.2282.7643.169
111.3631.7962.2012.7183.106
121.3561.7822.1792.6813.055
131.3501.7712.1602.6503.012
141.3451.7612.1452.6242.977
151.3411.7532.1312.6022.947
161.3371.7462.1202.5832.921
171.3331.7402.1102.5672.898
181.3301.7342.1012.5522.878
191.3281.7292.0932.5392.861
201.3251.7252.0862.5282.845
211.3231.7212.0802.5182.831
221.3211.7172.0742.5082.819
231.3191.7142.0692.5002.807
241.3181.7112.0642.4922.797
251.3161.7082.0602.4852.787
261.3151.7062.0562.4792.779
271.3141.7032.0522.4732.771
281.3131.7012.0482.4672.763
291.3111.6992.0452.4622.756
301.3101.6972.0422.4572.750
401.3031.6842.0212.4232.704
601.2961.6712.0002.3902.660
1201.2891.6581.9802.3582.617
∞ (z)1.2821.6451.9602.3262.576
The table of the t distribution: the value that cuts off the area in the column heading in the right tail. The row is the number of degrees of freedom; the last row is the normal distribution.
Look up df =and the area

χ² = 11.070 cuts off the area 0.05 in the right tail. At the 5 percent level, H₀ is rejected when χ² is above it.

The chi-square distribution: the value that cuts off a given area in the right tail, for every number of degrees of freedom
df0.100.050.0250.010.005
12.7063.8415.0246.6357.879
24.6055.9917.3789.21010.597
36.2517.8159.34811.34512.838
47.7799.48811.14313.27714.860
59.23611.07012.83315.08616.750
610.64512.59214.44916.81218.548
712.01714.06716.01318.47520.278
813.36215.50717.53520.09021.955
914.68416.91919.02321.66623.589
1015.98718.30720.48323.20925.188
1218.54921.02623.33726.21728.300
1522.30724.99627.48830.57832.801
2028.41231.41034.17037.56639.997
2534.38237.65240.64644.31446.928
3040.25643.77346.97950.89253.672
The table of the chi-square distribution: the value that cuts off the area in the column heading in the right tail. The row is the number of degrees of freedom.