Exercises
: shows the complete answer. | : gives a hint |
: plays a video solution | : shows just the final answer |
: these are important examples that illustrate new concepts, you should be sure to review the solutions to these questions | |
Exercises
Solve the following differential equations.
|
|
|
|
|
|
|
|
|
Solve the following initial value problems.
|
|
|
|
|
|
- The growth of a fish population is proportional to its current size. If b fish are harvested per year then the population can be described using the differential equation $\frac{dP}{dt} = 0.1P - b$ where the times are in years. If $P(0) = 100$ fish, graph the solutiosn to the differential equation for various values of $b$.
- A patient is being given an IV medication that's broken down at a rate proportional to its concentration. If the IV is administering the medication at a rate r then the rate of change of the concentration, (C) is given by the equation $$\frac{dC}{dt} = r - kC$$ Get a formula for the concentration at time t be solving the differential equation. Are there values of k and r for which the concentration is constant?
- In psychology a "learning curve" is a function that describes how well a learner can perform a task after $t$ hours of training. If $P$ represents the performance level then $dP/dt$ is how fast (or slow) a person is learning. Suppose $M$ is the maximum level a person can attain with a skill. Then the rate of learnign is described by the equation $$\frac{dP}{dt} = k(M-P)$$Solve this equation for $P$ then graph the resulting curves for several values of the integration constant assuming $M=100$ and $k = 2$.
- An endowment is an investment that earns a specified interst rate ($r$) and where withdrawls are made with the assumption that they will always be less than the interest earned, i.e. the account is never reduced below the initial investment amount. The change in this account can be described by the equation $$\frac{dA}{dt} = rA - w$$ where $A$ is the current value of the account and $w$ is the annual withdrawl amount. If the initial investment was $\$100,000$, i.e. $A(0) = \$100000$, and the current interest rate is 5%, solve the differential equation. What monthly withdrawl amount will keep the total value of the account constant?
Explorations
- In the lectures, we solved the population equation $\frac{dy}{dx} = kx$ that modeled the growth of a population over time. This equation is a good starting point but it's unrealistic because it says that the population will increase without any upper bound. A more realistic model is given by the logistic equation $\frac{dy}{dx} = Ax(B - x)$ where A and B are constants. What happens to the population's growth when $x = B$, i.e. when the size of the population equals $B$? What would happen to the size of the population if it became greater than $B$?
An equilibrium solution of a differential equation is one that has the form $y = k$ for some constant $k$.
- What does $\frac{dy}{dt}$ equal for an equilibrium solution?
- Find the equilibrium solutions for the equation $\frac{dy}{dx} = 3y - 1$.
- Find the equilibrium solutions for the equation $\frac{dy}{dx} = 2y^2 - 3y + 1$.
Icons courtesy of icons8.com
Solve the differential equation $\frac{dy}{dx} = xy$
$$\frac{dy}{dx} = xy \\ \frac{dy}{y} = x dx \\ \int\frac{dy}{y} = \int x dx \\ \ln y = \frac{x^2}{2} + C \\ y = e^{\frac{x^2}{2} + C} \\ y = e^{\frac{x^2}{2}}e^C \\ y = Ae^{\frac{x^2}{2}}$$
Solve the differential equation $\frac{dy}{dx} = \frac{y}{x}$.
$$\frac{dy}{dx} = \frac{y}{x} \\ \frac{dy}{y} = \frac{dx}{x} \\ \int \frac{dy}{y} = \int \frac{dx}{x} \\ \ln y = \ln x + C \\ e^{\ln y} = e^{\ln x + C} \\ y = x e^C \\ y = Ax$$
Solve the differential equation $\frac{dy}{dx} = y^2(e^x + 1)$.
$$\frac{dy}{dx} = y^2(e^x + 1) \\ \frac{dy}{y^2} = (e^x + 1)dx \\ \frac{dy}{y^2} = (e^x + 1)dx \\ y^{-2}dy = (e^x + 1)dx \\ -y^{-1} = e^x + x \\ \frac{1}{y} = -e^x - x \\ y = -\frac{1}{e^x + x} $$
Solve the differential equation $\frac{dy}{d\theta} = \frac{\cos\theta + 2}{y}$.
$$\frac{dy}{d\theta} = \frac{\cos\theta + 2}{y} \\ y dy = (\cos\theta + 2){d\theta}\\ \int y dy = \int(\cos\theta + 2){d\theta}\\ \frac{y^2}{2} = \sin\theta + 2\theta + C \\ y^2 = 2\left(\sin\theta + 2\theta + C\right) \\ $$
Solve the differential equation $\frac{dy}{dt} = \frac{e^t}{e^{2y+1}}$.
$$\frac{dy}{dt} = \frac{e^t}{e^{2y+1}} \\ e^{2y + 1}dy = e^t dt \\ \int e^{2y + 1}dy = \int e^t dt \\ \frac{1}{2} e^{2y + 1} = e^t + C \\ e^{2y + 1} = 2e^t + D \\ 2y + 1 = \ln(2e^t + D) \\ y = \frac{1}{2} \left(\ln(2e^t + D) - 1\right) $$
Solve the initial value problem $\frac{dy}{dx} = \cos(x+1)\sec(y-1)$, $y(\pi - 1) = .5$.
$$\frac{dy}{dx} = \cos(x+1)\sec(y-1) \\ \frac{dy}{\sec(y - 1)} = \cos(x+1)dx \\ \int\frac{dy}{\sec(y - 1)} = \int\cos(x+1)dx \\ \cos(y - 1)dy = \cos(x+1)dx \\ \sin(y - 1) = \sin(x + 1) + C$$
Now substituting the initial value gives us
$$\sin(.5 - 1) = \sin(\pi - 1 + 1) + C \\ \sin(.5 - 1) = \sin(\pi) + C\\ C = \sin(-.5)$$So the solution is $\sin(y - 1) = \sin(x + 1) + \sin(-.5) = \sin(x + 1) - \sin(.5)$.
Solve the initial value problem $\frac{dy}{dx} = x\cos^2 y$, $y(0) = 0$.
$$\frac{dy}{dx} = x\cos^2 y \\ \frac{dy}{\cos^2 y} = xdx \\ \frac{dy}{\cos^2 y} = xdx \\ \int\left(\sec^2y\right)dy = \int (x)dx \\ \tan y = \frac{x}{2} + C$$
Now substituting the initial value gives us
$$\tan y = \frac{x}{2} + C \\ \tan 0 = \frac{0}{2} + C \\ C = 0$$So the solution is $\tan y = \frac{x}{2}$.
Solve the initial value problem $\frac{dy}{dx} = e^{-x+2y}$, $y(0) = 3$.
$$\frac{dy}{dx} = e^{-x+2y} \\ \frac{dy}{dx} = e^{-x}e^{2y} \\ e^{-2y}dy = e^{-x}dx \\ \int e^{-2y}dy = \int e^{-x}dx \\ \frac{-1}{2}e^-2y = -e^{-x} + C \\ e^{-2y} = 2e^{-x} + D \\ -2y = \ln(2e^{-x} + D) \\ y = -\frac{1}{2}\ln(2e^{-x} + D)$$
Now substituting the initial value gives us
$$y = -\frac{1}{2}\ln(2e^{-x} + D) \\ 3 = -\frac{1}{2}\ln(2e^{-0} + D) \\ -6 = \ln(2 + D) \\ D = e^{-6} - 2$$So the solution is $y = -\frac{1}{2}\ln(2e^{-x} + e^{-6} - 2)$.
A patient is being given an IV medication that's broken down at a rate proportional to its concentration. If the IV is administering the medication at a rate r then the rate of change of the concentration, (C) is given by the equation $$\frac{dC}{dt} = r - kC$$ Get a formula for the concentration at time t be solving the differential equation. For what values of k and r is the concentration constant? What happens for values greater than and less than that value?
First, we need to solve the differential equation.
$$\frac{dC}{dt} = r - kC \\ \frac{dC}{r - kC} = dt \\ \int \frac{dC}{r - kC} = \int dt \\ -\frac{1}{k}\ln(r - kC) = t + D \\ \ln(r - kC) = -t - D \\ r - kC = e^{-t - D} \\ C = -\frac{e^{-t - D} - r}{k} $$For the concentration to be constant we would have to have $\frac{dC}{dt} = 0$ which would mean that $C = \frac{r}{k}$ but this isn't possible. In this case, we would have
$$\frac{r}{k} = -\frac{e^{-t - D} - r}{k} r = -e^{-t-D}+r \\ e^{-t-D} = 0$$but that can never happen.
An endowment is an investment that earns a specified interst rate ($r$) and where withdrawls are made with the assumption that they will always be less than the interest earned, i.e. the account is never reduced below the initial investment amount. The change in this account can be described by the equation $$\frac{dA}{dt} = rA - w$$ where $A$ is the current value of the account and $w$ is the annual withdrawl amount. If the initial investment was $\$100,000$, i.e. $A(0) = \$100000$, and the current interest rate is 5%, solve the differential equation. What monthly withdrawl amount will keep the total value of the account constant?
Our first step is going to be to solve the differential equation:
$$\frac{dA}{dt} = rA - w \\ \frac{dA}{rA - w} = dt \\ \int \frac{dA}{rA - w} = \int dt \\ \frac{1}{r}\ln(rA-w) = t + C \\ \ln(rA - w) = t + D \\ rA - w = e^{t + D} \\ A = \frac{Ke^{t} + w}{r} $$Substituting $A(0) = \$100000$ gives us
$$ 100000 = \frac{Ke^0 + w}{r} \\ 100000 = \frac{K + w}{r} \\ 100000r = K + w \\ K = 100000r - w $$Making the solution
$$ A = \frac{(100000r - w)e^{t} + w}{r} $$If the value of the account remains constant then its rate of change has to be 0, i.e.
$$0 = \frac{dA}{dt} = rA - w \\ A = \frac{w}{r}$$What does $\frac{dy}{dt}$ equal for an equilibrium solution?
A solution is an equilibrium if it isn't chaning, i.e. when $\frac{dy}{dt} = 0$.
Find the equilibrium solutions for the equation $\frac{dy}{dx} = 2y^2 - 3y + 1$.
$$\frac{dy}{dx} = 0 \\ 2y^2 - 3y + 1 = 0 \\ (2y - 1)(y - 1) = 0 \\ y = 1/2, 1$$







: shows the complete answer.
: gives a hint
: plays a video solution
: shows just the final answer
: these are important examples that illustrate new concepts, you should be sure to review the solutions to these questions