© 2020 Wlodzimierz Bryc. All Rights Reserved.
Definition Equation $M(x,y)+N(x,y)y'=0$ is exact if $M(x,y)=\frac{\partial \Psi(x,y)}{\partial x}$ $N(x,y)= \frac{\partial \Psi(x,y)}{\partial y}$
Theorem For functions with continuous derivatives, $M(x,y)+N(x,y)y'=0$ is exact if and only if mixed partial derivatives of the unknown function $\Psi$ are equal: $$\frac{\partial M(x,y)}{\partial y}=\frac{\partial N(x,y)}{\partial x} \tag{*}$$
Which of the following statements is correct?
- $1+xy+ y'=0$ is an exact equation
- $1+(1+x y)y' =0$ is an exact equation
- None of the above
Answer: C
Solution For (A) we have $M(x,y)=1+xy $ so $\frac{\partial M(x,y)}{\partial y}=x$ and $N(x,y)=1$ so $\frac{\partial N(x,y)}{\partial x}=0$, and condition (*) fails.For (B) we have $M(x,y)=1 $ so $\frac{\partial M(x,y)}{\partial y}=0$ and $N(x,y)=1+xy$ so $\frac{\partial N(x,y)}{\partial x}=y$, and condition (*) fails.
Which of the following statements is correct?
- $x y^2+e^x +(x^2 y+ e^y) y'=0$ is an exact equation
- $x y^2+e^y +(x^2 y+ e^x) y'=0$ is an exact equation
- None of the above
Answer: A
Solution For (A) we have $M(x,y)=x y^2+e^x $ so $\frac{\partial M(x,y)}{\partial y}=2xy+0$ and $N(x,y)=x^2 y+ e^y $ so $\frac{\partial N(x,y)}{\partial x}=2xy+0$, and condition (*) holds.For (B) we have $M(x,y)=x y^2+e^y $ so $\frac{\partial M(x,y)}{\partial y}=2xy+e^y$ and $N(x,y)=x^2 y+ e^x$ so $\frac{\partial N(x,y)}{\partial x}=2xy+e^x$, and condition (*) fails.
Which of the following statements is correct?
- $x e^{xy}+y +(ye^{xy} +x) y'=0$ is an exact equation
- $y e^{xy} +x+(x e^{xy} +y)y'=0$ is an exact equation
- None of the above
Answer: B
Solution For (A) we have $M(x,y)=x e^{xy}+y$ so $\frac{\partial M(x,y)}{\partial y}=x^2e^{xy}+1$ and $N(x,y)=ye^{xy}+x $ so $\frac{\partial N(x,y)}{\partial x}=y^2e^{xy}+1$, and condition (*) fails.For (B) we have $M(x,y)=y e^{xy} +x $ so $\frac{\partial M(x,y)}{\partial y}=e^{xy}+xye^{xy}$ and $N(x,y)=x e^{xy}+y $ so $\frac{\partial N(x,y)}{\partial x}= e^{xy}+xye^{xy}$, and condition (*) holds. The implicit solution from ODE Solver is $x^2+y^2+ 2 e^{xy}=C$
Which of the following statements is correct?
- $x^2+xy+y^2 +(x+y)^2y'=0$ is an exact equation
- $(x+y)^2 +(2xy +y^{3}+x^2) y'=0$ is an exact equation
- None of the above
Answer: B
Solution For (A) we have $M(x,y)=x^2+xy+y^2$ so $\frac{\partial M(x,y)}{\partial y}=x+2y $ and $N(x,y)=(x+y)^2$ so $\frac{\partial N(x,y)}{\partial x}=2x+2y$, and condition (*) fails.For (B) we have $M(x,y)=(x+y)^2 $ so $\frac{\partial M(x,y)}{\partial y}=2x+2y$ and $N(x,y)=(2xy +y^{3}+x^2) $ so $\frac{\partial N(x,y)}{\partial x}= 2y+2x$, and condition (*) holds.
Which of the following statements is correct?
- $\ln x+y'\ln y =0$ is an exact equation
- $\ln y +y'\ln x =0$ is an exact equation
- None of the above
Answer: A
Solution For (A) we have $M(x,y)=\ln x$ so $\frac{\partial M(x,y)}{\partial y}=0 $ and $N(x,y)=\ln y$ so $\frac{\partial N(x,y)}{\partial x}=0$, and condition (*) holds.For (B) we have $M(x,y)=\ln y$ so $\frac{\partial M(x,y)}{\partial y}=\frac1y$ and $N(x,y)=\ln x $ so $\frac{\partial N(x,y)}{\partial x}= \frac1x$, and condition (*) fails.
If $y'=\sin y$ and $y(0)=1$, without solving the equation determine $\lim_{t\to\infty}y(t)$.
Solution The equlibria closest to $y_0=1$ are $y=0$, which is unstable, and $y=\pi$ which is stable. So $\lim_{t\to\infty}y(t)=\pi$
Cooling Type B: moderate
Roasting instruction on a frozen turkey wrapping is as follows.How long should the turkey be on the oven? Use Newton's law of cooling: the temperature of an object changes at a rate proportional to the difference between its temperature and that of its surroundings. Use proportionality constant of $0.2$
- Thaw the turkey to 32F
- Preheat oven to 350F
- Put the turkey into the oven.
- Your turkey is ready to eat when its temperature reaches 180F.
Solution Let $T=T(t)$ denote the temperature of the turkey as in increases during roasting. The Newton law of cooling says that $T'=k(350-T), T(0)=40$ and the statement gives the value of $k=0.2=1/5$. WolframAlpha says that $T(t)=350-318 e^{-t/5}$. Solving the equation $350-310 e^{-t/5}=180$ we get $t=5 \ln\frac{159}{51}\approx 3.13$ hours.
Money Type B: moderate, but on a harder side
A person got infected with 2000 viruses. The immune system clears 80% of viruses daily (daily rate of .8) but additional viruses arrive at a rate of 500 per day. When will the virus load fall below a dangerous level of 1000? When will the infection clear?
Solution Daily load of viruses $V=V(t)$ changes according to differential equation $V'=-.8 V+ 500$ We solve it with the initial condition $V(0)=2000$, and determine the value of $t$ when $V(t)=1000$. Solution from WolframAlpha is $V(t)=625 + 1375 e^{-0.8 t}$ years. According to this model, the infection will never clear on its own. But it will subside to a manageable viral load of 1000 in about $t=\frac45 \ln \frac{11}{3} \approx 1.62$ days.
Money Type C: harder
A college freshmen would like to purchase of a Tesla S for 50,000 as a graduation present for herself. She will be graduating in 4 years, and she found a high yield CD (Certificate of Deposit) with annual interest rate of 5%. How much she needs to be saving per month?
Solution Her yearly savings are $12 m$, where $m$ is the number to be determined. So she sets up and solves differential equation $$B'=.05 B+12 m$$ with the initial condition $B(0)=0$, Solution from WolframAlpha is is $B(t)=\left(-240 + 240 e^{0.05 t}\right) m$. The equation for the unknown value $m$ is $B(4)=50000$ i.e. $ (-240 + 240 e^{0.05 \times 4}) m=50000$. Using her scientific calculator, she determines the required monthly rate of saving to be $m=940.97$. Answer: $m=940.97 $
Type D: hard
A tank originally contains 100 gal of fresh water and has capacity of 200 gal. Then water containing ${\frac 12}$ lb of salt per gallon is poured into the tank at a rate of 3 gal/min, and the mixture is allowed to leave at a rate of 2 gal/min. Setup the differential equation for the amount $A(t)$ of salt in the tank at time $t$. What is the amount of salt in the tank at the time of overespil?l
Solution Water level increases at the rate of 1 gal/min, so the volume of water at time $t$ is $V(t)=100+t$. The water with overspill at $t=100$ min.
The "rate in - rate out" formula gives $A'(t)=3\times \frac12 -2\times \frac{A}{100+t}$ and $A(0)=0$ (fresh water initialy). Solving the equation by WolframAlpha we get $A(t)=\frac{t (30000 + 300 t + t^2)}{2 (100 + t)^2}$ and $A(100)=\frac{175}{2}=87.5 $
Type C: harder
Roasting instruction on a frozen turkey wrapping is as follows.I don't have time to thaw my turkey. I need to roast my frozen turkey (0F) in the same amount of time (3 hours). What temperature should I set on the oven to preheat? Use Newton's law of cooling: the temperature of an object changes at a rate proportional to the difference between its temperature and that of its surroundings. (proportionality constant is not given!)
- Thaw the turkey to 40F
- Preheat oven to 350F
- Put the turkey into the oven for 3 hours.
- Your turkey is ready to eat when its temperature reaches 180F.
Solution Let $T=T(t)$ denote the temperature of the turkey as in increases during baking. Let $T_o$ denote the unknown setting for the temperature of the oven. The Newton law of cooling says that $T'=k(350-T), T(0)=40$ in the first case, and $T'=k(T_o-T), T(0)=0$ in the second case. Thus $T(t)=350-310e^{-kt}$ for the first case and $T(t)=T_o(1-e^{-kt})$ for the second one. Now compute $T_o$ from the condition that $T(3)=180$ in both cases. From the first equation $e^{-3k}=17/31$ thus $1-e^{-3k}=\frac{14}{31}$ and $T_o=31/14\times 180=398.6\approx 400 F$.
Population Type C:
Solution
Money Type D:
A college graduate borrows 50,000 to buy a Tesla S at an interest rate of 6%. Anticipating steady salary increases, he expects to steady increase his monthly payments, with $m(t)=500+10 t$ after $t$ months.Assuming that this payment schedule can be maintained, what will be the amount of loan in 5 years? Will the loan be fully paid in 6 years?
SolutionLets use months as units of $t$. The loan amount changes at the rate $B'= \frac{.06}{12} B - (500+ 10 t)$ with the initial condition $B(0)=50000$. This is a linear but non-separable equation. Solution from WolframAlpha is $B(t)=500000. - 450000. e^{0.005 t} + 2000. t$. Answer: $B(60)=12563.5$ (From the graph of $B(t)$, the loan will be paid of in about 71.17 months.)
Type D: hard
A tank originally contains 100 gal of fresh water and has capacity of 200 gal. Then water containing ${\frac 12}$ lb of salt per gallon is poured into the tank at a rate of 3 gal/min, and the mixture is allowed to leave at a rate of 2 gal/min. Setup the differential equation for the amount $A(t)$ of salt in the tank at time $t$. What is the amount of salt in the tank at the time of overespil?l
Solution Water level increases at the rate of 1 gal/min, so the volume of water at time $t$ is $V(t)=100+t$. The water with overspill at $t=100$ min.
The "rate in - rate out" formula gives $A'(t)=3\times \frac12 -2\times \frac{A}{100+t}$ and $A(0)=0$ (fresh water initialy). Solving the equation by WolframAlpha we get $A(t)=\frac{t (30000 + 300 t + t^2)}{2 (100 + t)^2}$ and $A(100)=\frac{175}{2}=87.5 $