Skip to content

Commit 5553fc3

Browse files
committed
Graded Assignment Added For Week 11 & 12 IITM πŸŽ’
1 parent fd6e199 commit 5553fc3

25 files changed

Lines changed: 1427 additions & 0 deletions

File tree

52.8 KB
Loading
86.1 KB
Loading
31.9 KB
Loading
103 KB
Loading
26.8 KB
Loading
63.4 KB
Loading
Lines changed: 318 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,318 @@
1+
---
2+
title: Graded Assignment 11
3+
date: 2025-10-08
4+
weight: 1.1
5+
image: https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSHyWPE5fdL5Mt-K-yvbaceSS7gbUBprr0-QA&s
6+
emoji: πŸ”—
7+
series_order: 1.1
8+
---
9+
10+
11+
## Exercise Questions ❓
12+
13+
![alt text](image.png)
14+
![alt text](image-1.png)
15+
![alt text](image-2.png)
16+
![alt text](image-3.png)
17+
18+
![alt text](image-4.png)
19+
![alt text](image-5.png)
20+
21+
## SOlutions 🟩
22+
23+
Here are the detailed solutions for the Calculus and Statistics questions provided in the images, organized by topic.
24+
25+
### **Topic 1: Multivariable Calculus (Differentiation & Optimization)**
26+
27+
{{< border >}}
28+
### **Question 1**
29+
**Problem:** Find the correct second partial derivative $f_{xx}$ for $f(x, y, z) = x^2z + y^3e^{xy} + \sin(xyz)$.
30+
31+
**Concept: Partial Differentiation**
32+
To find $f_{xx}$, we first differentiate $f$ with respect to $x$ (treating $y, z$ as constants), and then differentiate the result by $x$ again.
33+
34+
**Step 1: First Derivative ($f_x$)**
35+
* $\frac{\partial}{\partial x}(x^2z) = 2xz$
36+
* $\frac{\partial}{\partial x}(y^3e^{xy}) = y^3 \cdot \frac{\partial}{\partial x}(e^{xy}) = y^3 \cdot (ye^{xy}) = y^4e^{xy}$
37+
* $\frac{\partial}{\partial x}(\sin(xyz)) = \cos(xyz) \cdot \frac{\partial}{\partial x}(xyz) = yz\cos(xyz)$
38+
39+
$$f_x = 2xz + y^4e^{xy} + yz\cos(xyz)$$
40+
41+
**Step 2: Second Derivative ($f_{xx}$)**
42+
* $\frac{\partial}{\partial x}(2xz) = 2z$
43+
* $\frac{\partial}{\partial x}(y^4e^{xy}) = y^4 \cdot (ye^{xy}) = y^5e^{xy}$
44+
* $\frac{\partial}{\partial x}(yz\cos(xyz)) = yz \cdot (-\sin(xyz) \cdot yz) = -y^2z^2\sin(xyz)$
45+
46+
$$f_{xx} = 2z + y^5e^{xy} - (yz)^2\sin(xyz)$$
47+
48+
**Answer Option:**
49+
**$f_{xx} = 2z + y^5e^{xy} - (yz)^2 \sin(xyz)$** (Second Option)
50+
{{< /border >}}
51+
52+
{{< border >}}
53+
### **Question 2**
54+
**Problem:** Number of critical points of $f(x, y, z) = e^x(x^2 - y^2 - 2z^2)$.
55+
56+
**Concept: Critical Points**
57+
Critical points occur where the gradient is zero ($\nabla f = \vec{0}$). We set partial derivatives $f_x, f_y, f_z$ to 0.
58+
59+
**Step 1: Partial Derivatives**
60+
* $f_y = e^x(-2y)$. Setting $f_y = 0 \implies y=0$.
61+
* $f_z = e^x(-4z)$. Setting $f_z = 0 \implies z=0$.
62+
* $f_x = \frac{\partial}{\partial x}(e^x) \cdot (x^2 - y^2 - 2z^2) + e^x \cdot \frac{\partial}{\partial x}(x^2 - y^2 - 2z^2)$
63+
$f_x = e^x(x^2 - y^2 - 2z^2) + e^x(2x) = e^x(x^2 + 2x - y^2 - 2z^2)$.
64+
65+
**Step 2: Solve System**
66+
Substitute $y=0, z=0$ into $f_x=0$:
67+
$$e^x(x^2 + 2x - 0 - 0) = 0$$
68+
Since $e^x \neq 0$, we solve $x^2 + 2x = 0$:
69+
$$x(x+2) = 0 \implies x = 0, x = -2$$
70+
71+
**Step 3: Count Points**
72+
The critical points are $(0, 0, 0)$ and $(-2, 0, 0)$.
73+
74+
**Answer:** **2**
75+
{{< /border >}}
76+
77+
{{< border >}}
78+
### **Question 3**
79+
**Problem:** Analyze $f(x, y) = \sqrt{x^2 + y^2}$ at $(0,0)$.
80+
81+
**Concept: Geometry of the Cone**
82+
This function represents an inverted cone with the tip at the origin.
83+
* **Global Minimum:** Since $\sqrt{\dots} \ge 0$ and $f(0,0)=0$, the point $(0,0)$ is the absolute lowest point.
84+
* **Differentiability:** The cone has a sharp "cusp" or point at the origin. It is continuous but **not differentiable** at $(0,0)$. (Imagine trying to place a tangent plane on the tip of a sharp pencilβ€”it wobbles).
85+
86+
**Correct Statements:**
87+
* $(0,0)$ is a local minimum of $f$.
88+
* $(0,0)$ is a global minimum of $f$.
89+
* $(0,0)$ is the only critical point (where derivative is undefined).
90+
91+
**Answer Selection:**
92+
**$(0,0)$ is a global minimum of $f$.**
93+
{{< /border >}}
94+
95+
{{< border >}}
96+
### **Question 4**
97+
**Problem:** Find the minimum surface area of a rectangular box with Volume = 1000.
98+
99+
**Concept: Optimization**
100+
For a rectangular box with fixed volume, the surface area is minimized when the box is a **cube**.
101+
Let sides be $x, y, z$.
102+
Volume $V = xyz = 1000$.
103+
Surface Area $S = 2(xy + yz + zx)$.
104+
105+
**Calculation:**
106+
For a cube, $x = y = z$.
107+
$$x^3 = 1000 \implies x = 10$$
108+
$$S = 2(10\cdot10 + 10\cdot10 + 10\cdot10) = 2(100 + 100 + 100) = 2(300) = 600$$
109+
110+
**Answer:** **600**
111+
{{< /border >}}
112+
113+
{{< border >}}
114+
### **Question 5**
115+
**Problem:** Hessian Matrix properties for $f(x,y,z) = x^3 + 3y^3 + z^3 - 4x - 6y - 4z$ at $(0,1,1)$.
116+
117+
**Concept: Hessian Matrix**
118+
The Hessian is the matrix of second-order partial derivatives.
119+
$$H = \begin{bmatrix} f_{xx} & f_{xy} & f_{xz} \\ f_{yx} & f_{yy} & f_{yz} \\ f_{zx} & f_{zy} & f_{zz} \end{bmatrix}$$
120+
121+
**Step 1: First Derivatives**
122+
$f_x = 3x^2 - 4$
123+
$f_y = 9y^2 - 6$
124+
$f_z = 3z^2 - 4$
125+
126+
**Step 2: Second Derivatives**
127+
$f_{xx} = 6x$, $f_{yy} = 18y$, $f_{zz} = 6z$.
128+
All mixed terms ($f_{xy}$, etc.) are 0.
129+
130+
**Step 3: Evaluate at $(0,1,1)$**
131+
$f_{xx}(0) = 0$
132+
$f_{yy}(1) = 18$
133+
$f_{zz}(1) = 6$
134+
135+
$$A = \begin{bmatrix} 0 & 0 & 0 \\ 0 & 18 & 0 \\ 0 & 0 & 6 \end{bmatrix}$$
136+
137+
**Step 4: Matrix Properties**
138+
* **Determinant:** Product of diagonal = $0 \times 18 \times 6 = 0$.
139+
* **Rank:** Number of non-zero rows = 2.
140+
* **Nullity:** Dimension - Rank = $3 - 2 = 1$.
141+
142+
**Correct Options:**
143+
* $\det(A) = 0$
144+
* $Rank(A) = 2$
145+
* $Nullity(A) = 1$
146+
{{< /border >}}
147+
148+
{{< border >}}
149+
### **Question 8**
150+
**Problem:** Max value of $-2x^2 + 2xy - y^2 + 12x - 4y - 7$.
151+
152+
**Concept: Unconstrained Optimization**
153+
Find critical points ($f_x=0, f_y=0$).
154+
155+
**Step 1: Partials**
156+
$f_x = -4x + 2y + 12 = 0 \implies 2x - y = 6$ (Eq 1)
157+
$f_y = 2x - 2y - 4 = 0 \implies x - y = 2$ (Eq 2)
158+
159+
**Step 2: Solve**
160+
Subtract Eq 2 from Eq 1:
161+
$(2x - y) - (x - y) = 6 - 2$
162+
$x = 4$
163+
Sub into Eq 2:
164+
$4 - y = 2 \implies y = 2$
165+
166+
**Step 3: Evaluate**
167+
$f(4,2) = -2(16) + 2(4)(2) - (4) + 12(4) - 4(2) - 7$
168+
$= -32 + 16 - 4 + 48 - 8 - 7$
169+
$= 13$
170+
171+
**Answer:** **13**
172+
{{< /border >}}
173+
174+
{{< border >}}
175+
### **Question 10**
176+
**Problem:** Maximize Profit.
177+
Revenue $R = 2x + 3y$.
178+
Cost $C = 2x^2 - 2xy + y^2 - 9x + 6y + 7$.
179+
Profit $P = R - C$.
180+
181+
**Step 1: Profit Function**
182+
$P(x,y) = (2x + 3y) - (2x^2 - 2xy + y^2 - 9x + 6y + 7)$
183+
$P = -2x^2 + 2xy - y^2 + 11x - 3y - 7$
184+
185+
**Step 2: Gradients**
186+
$P_x = -4x + 2y + 11 = 0$
187+
$P_y = 2x - 2y - 3 = 0$
188+
189+
**Step 3: Solve**
190+
Add the two equations:
191+
$(-4x + 2y + 11) + (2x - 2y - 3) = 0$
192+
$-2x + 8 = 0 \implies x = 4$.
193+
Sub $x=4$ into $P_y$:
194+
$2(4) - 2y - 3 = 0 \implies 5 = 2y \implies y = 2.5$.
195+
196+
**Step 4: Max Profit**
197+
$P(4, 2.5) = -2(16) + 2(4)(2.5) - (2.5)^2 + 11(4) - 3(2.5) - 7$
198+
$= -32 + 20 - 6.25 + 44 - 7.5 - 7$
199+
$= 11.25$
200+
201+
**Answer:** **11.25**
202+
{{< /border >}}
203+
204+
{{< border >}}
205+
### **Question 12**
206+
**Problem:** Find stable equilibrium point (Potential Energy at Minimum) for $V(x,y) = x^4 + y^4 - 4xy + 1$.
207+
208+
**Step 1: Critical Points**
209+
$V_x = 4x^3 - 4y = 0 \implies y = x^3$
210+
$V_y = 4y^3 - 4x = 0 \implies x = y^3$
211+
Sub $y$: $x = (x^3)^3 = x^9 \implies x(x^8-1) = 0$.
212+
$x = 0, 1, -1$.
213+
Points: $(0,0), (1,1), (-1,-1)$.
214+
215+
**Step 2: Hessian Test**
216+
$V_{xx} = 12x^2, V_{yy} = 12y^2, V_{xy} = -4$.
217+
Determinant $D = 144x^2y^2 - 16$.
218+
219+
* **At (0,0):** $D = -16 < 0$ (Saddle).
220+
* **At (1,1):** $D = 144-16 > 0$ and $V_{xx}=12 > 0$ (Local Min).
221+
* **At (-1,-1):** $D = 144-16 > 0$ and $V_{xx}=12 > 0$ (Local Min).
222+
223+
**Step 3: Potential Energy Value**
224+
$V(1,1) = 1 + 1 - 4 + 1 = -1$.
225+
$V(-1,-1) = 1 + 1 - 4 + 1 = -1$.
226+
227+
**Answer:** **-1.00**
228+
{{< /border >}}
229+
230+
---
231+
232+
### **Topic 2: Statistics (Hypothesis Testing)**
233+
234+
{{< border >}}
235+
### **Case Study: Fitness App (Q9-Q19, Q20-Q27)**
236+
**Context:** $\mu=100, \sigma=2, n=9$.
237+
Acceptance Region: $98.5 \le \bar{X} \le 101.5$.
238+
Reject if $\bar{X} < 98.5$ or $\bar{X} > 101.5$.
239+
240+
**Q10-Q19: Significance Level ($\alpha$)**
241+
1. **Q10 (Blank 1):** Sampling dist is **Normal** (Option 2).
242+
2. **Q11 (Blank 2):** Mean is **100** (Option 4).
243+
3. **Q12 (Blank 3):** Variance is $\sigma^2/n = 4/9$ (Option 6).
244+
4. **Q13 (Blank 4):** Reject if $\bar{X} >$ **101.5** (Option 8).
245+
5. **Q14 (Blank 5):** Reject if $\bar{X} <$ **98.5** (Option 7).
246+
6. **Q16 (Blank 7):** Critical Z = $\frac{101.5 - 100}{\sqrt{4/9}} = \frac{1.5}{2/3} = 2.25$. **2.25** (Option 13).
247+
7. **Q17 (Blank 8):** Lower Z = **-2.25** (Option 12).
248+
8. **Q19 (Blank 10):** $\alpha = 1 - P(-2.25 < Z < 2.25) \approx 1 - 0.975 = 0.025$. Answer **0.02** (Option 14).
249+
250+
**Q20-Q27: Power ($1-\beta$) at $\mu=103$**
251+
1. **Q21 (Blank 1):** Upper boundary **101.5** (Option 3).
252+
2. **Q22 (Blank 2):** Lower boundary **98.5** (Option 1).
253+
3. **Q23 (Blank 3):** Standardized Upper $Z = \frac{101.5 - 103}{2/3} = -2.25$. **-2.25** (Option 12).
254+
4. **Q24 (Blank 4):** Standardized Lower $Z = \frac{98.5 - 103}{2/3} = -6.75$. **-6.75** (Option 7).
255+
5. **Q25 (Blank 5):** $P(Z > -2.25) = P(Z < 2.25) \approx$ **0.99** (Option 10).
256+
6. **Q27 (Blank 7):** Power = **0.99** + 0.
257+
{{< /border >}}
258+
259+
{{< border >}}
260+
### **Question 10 (Independent)**
261+
**Problem:** Sample Size for Z-test.
262+
$X \sim N(\mu_1, 3)$ and $Y \sim N(\mu_2, 4)$. (Note: 3 and 4 are Variances).
263+
Rejection rule: $|\bar{X} - \bar{Y}| > 1.625$. $\alpha=0.05 \implies Z_{crit}=1.96$.
264+
265+
**Formula:**
266+
Critical Value $c = Z_{\alpha/2} \sqrt{\frac{\sigma_1^2}{n_1} + \frac{\sigma_2^2}{n_2}}$
267+
$1.625 = 1.96 \sqrt{\frac{3}{n} + \frac{4}{8}}$
268+
269+
**Calculation:**
270+
Divide by 1.96: $0.829 = \sqrt{\frac{3}{n} + 0.5}$
271+
Square both sides: $0.687 = \frac{3}{n} + 0.5$
272+
$\frac{3}{n} = 0.187$
273+
$n = \frac{3}{0.187} \approx 16.04$
274+
275+
**Answer:** **17** (Next greatest integer)
276+
{{< /border >}}
277+
278+
{{< border >}}
279+
### **Question 11 (Battery Case Study)**
280+
**Problem:** Find critical value $c$ for t-test.
281+
$H_0: \mu = 11.5$, $H_A: \mu > 11.5$.
282+
$n=25, s=2.5$. $\alpha=0.05$.
283+
Degrees of freedom = 24.
284+
Critical $t$ from table ($F_{t24}(1.711) = 0.95$) is **1.711**.
285+
286+
**Calculation:**
287+
$\frac{c - 11.5}{s/\sqrt{n}} = 1.711$
288+
$c - 11.5 = 1.711 \times \frac{2.5}{5}$
289+
$c - 11.5 = 1.711 \times 0.5$
290+
$c = 11.5 + 0.8555 = 12.3555$
291+
292+
**Answer:** **12.36**
293+
{{< /border >}}
294+
295+
{{< border >}}
296+
### **Question 7 (Drug Variance)**
297+
**Problem:** Identify Hypothesis.
298+
Pharmacist suspects variability ($\sigma$) is **higher** than expected ($0.00002$).
299+
300+
**Concept:**
301+
* Null Hypothesis ($H_0$): Status quo ($\sigma = 0.00002$).
302+
* Alternative ($H_A$): The claim/suspicion ($\sigma > 0.00002$).
303+
304+
**Answer:** **$H_0: \sigma = 0.00002, H_A: \sigma > 0.00002$** (Option 1)
305+
{{< /border >}}
306+
307+
{{< border >}}
308+
### **Question 8 (Drug Variance Test)**
309+
**Problem:** Chi-Square test for Q7.
310+
$n=8, s=0.00005, \sigma_0=0.00002$.
311+
312+
**Calculation:**
313+
$\chi^2 = \frac{(n-1)s^2}{\sigma_0^2} = \frac{7 \cdot (5 \times 10^{-5})^2}{(2 \times 10^{-5})^2} = 7 \cdot (2.5)^2 = 7 \cdot 6.25 = 43.75$.
314+
Critical Value (given hint): 18.475.
315+
Since $43.75 > 18.475$, we Reject $H_0$ and Accept $H_A$.
316+
317+
**Answer:** **Accept the alternative hypothesis.**
318+
{{< /border >}}
91.5 KB
Loading
59.8 KB
Loading
121 KB
Loading

0 commit comments

Comments
Β (0)