Third Problem set: past midterms and finals

  1. In this problem, please write down BUT DO NOT SOLVE examples of Differential Equations that are

  2. Write down an example of

    1. Linear separable first order ordinary differential equation
    2. Nonlinear separable first order ordinary differential equation cm
    3. Nonlinear second order ordinary differential equation
    4. Partial differential equation

  3. Solve Initial Value Problem and sketch $y(x)$:
    $\displaystyle (5+x)y'(x) + y(x) = -1, y(0)=2.$

  4. Find the solution of the Initial Value Problem in the implicit form:
    $\displaystyle y'(x) = \frac{e^{y(x)}}{1+e^{y(x)}}, y(x=0)=2.$
    Extra Credit 5 percent: Plot $y(x)$.

    ANSWER

    $\displaystyle y(x)- e^{-y(x)} = x + 2 - e^{-2}.$
    Plot
    $\displaystyle x(y) = y- e^{-y} -2+e^{-2}.$

  5. Find the general solution of the equation

    $\displaystyle 2 y'(x) - y(x) = e^{2 x} +3 + x.$

    ANSWER

    $\displaystyle y(x)=\frac{e^{2*x}}{3} -5-x + C E^{x/2}$

  6. Solve Initial Value Problem
    $\displaystyle y'(x)=\frac{1}{e^{-y(x)} + e^{y(x)}}, y(x=0)=0.$

  7. Solve Initial Value Problem
    $\displaystyle y'(x) = \sqrt{1- y^2(x)}, \ y(x=0)=0.$

  8. Plot the director field and the solution curves for the equation

    $\displaystyle \frac{d}{dx} y(x) = x^2.$

  9. Consider the equation
    $\displaystyle y'(x)=e^{-y(x)}.$    (3)
    $\bullet$ Show that
    $\displaystyle y_1(x) = \ln(1+x)$
    and
    $\displaystyle y_2(x)=\ln(3+x)$
    are solutions to the equation (3).
    $\bullet$ Show that $y(x)=C_1 y_1(x)+ C_2 y_2(x)$ is not a solution to the equation (3). What is the reason that the linear combination of two perfectly good solutions of the differential equation is not a solution?

  10. Find all of the solutions of the differential equation
    $\displaystyle y'(x)=\left(y(x)\right)^3 e^{-x}.$
  11. Find the solution to the Initial Value Problem
    $\displaystyle 2 y'(x) = y(x)+ e^{-x}-2, y(0)=1.$
  12. (The Allee effect) For certain species of organisms, the effective growth rate $\dot N(t) /N$ is highest at intermediate $N$ . This is called the Allee effect (Edelstein–Keshet 1988). For example, imagine that it is too hard to find mates when N is very small, and there is too much competition for food and other resources when $N$ is large.

    a) Show that

    $\displaystyle \frac{\dot N}{N} = r - a (N-b)^2$
    provides an example of the Allee effect, if $r$, $a$, and $b$ satisfy certain constraints. Find those constraints.

    b) Find all the fixed points of the system and classify their stability.

    c) Sketch the solutions $N(t)$ for different initial conditions.

    d) Compare the solutions $N(t)$ to those found for the logistic equation. What are the qualitative differences, if any?

    ANSWER Equilibria are $N=0$ and $N = b \pm \sqrt{\frac{r}{a}} $. For $N\ll 1$, $\dot N = N(r-a b^2)$ so that the rate is $r - a b^2$. If $r< a b^2$ the rate is negative. Constraints are

    $\displaystyle a>0,r>0,b^2>r/a.$
    The difference with Logistics equation that rate may be negative, so small population decreases to zero. Zero is unstable Fixed Point

  13. The population of fish in a lake can be modeled by using the logistic equation. However, assuming that the fish are caught at a constant rate $h$, the equation for the population becomes
      $\displaystyle
P'(t) = r (1-\frac{P(t)}{N})P(t) - h,
$ (4)
    where $r$ and $N$ are positive given constants. HINT Note that number of fishes can not be negative, so that $P(t)\ge 0$.
  14. Find the solution to the Initial Value Problem
    $\displaystyle y''- y ' - 2 y =0, y(0)=0, y'(0)=1.$

  15. Suppose $y(t)$ satisfies the Initial Value Problem
    $\displaystyle y''-2 y' + 2 y = 0, y(0)=-1, y'(0)=0.$
    Without solving for $y(t)$ determine
  16. Find the general solution of the equation
    $\displaystyle y''(x)+ 2 y'(x) + 5 y(x)=0,$
    with the initial conditions
    $\displaystyle y(x=0)=2, y'(x=0)=-2.$
  17. Find the solution to the Initial Value Problem

    $\displaystyle y''(x)+ 4 y'(x) + 4 y(x) = -3 e^{2 t}, y(0)=1,y'(0)=0,$

    ANSWER

    $\displaystyle y(x) = \frac{-3}{16}e^{2x} + C_1 e^{-2 x} + C_2 x e^{-2 x}.$

  18. Consider the linear second order linear equation
      $\displaystyle \frac{d ^2 y(x)}{d x^2} + p(x) \frac{d y(x)}{d x} + q(x) y(x) = 0.
$ (5)
    Let $y_1(x)$ and $y_2(x)$ be solutions of (5), and let $W(x)$ be the Wronskian of these solutions, that is
    $\displaystyle W(x) = y_1(x)y_2'(x)- y_1'(x)y_2(x).$

    Show that

    $\displaystyle \frac{d}{d x} W(x) + p(x)W(x)=0.$

    Use this to derive Abel's formula, which is that

    $\displaystyle W(x) = c e^{-\int\limits_0^x p(r) d r}.$

  19. Derive the second order ordinary differential equation with constant coefficients
    $\displaystyle a y ''(x) + b y'(x) + c y (x) =0,$
    so that the roots of the characteristic polynomial are $3\pm 4 i$. What would be the general solution of this equation?
  20. Is it possible to find $a$,$b$ and $c$ such that the solution of
    $\displaystyle a y ''(x) + b y'(x) + c y (x) =0,$
    satisfies
    $\displaystyle \lim\limits_{x\to\infty}y(x)=0$
    regardless of the initial conditions? If yes, give an example, if no, explain why.
  21. Find the solution of the following initial value problem
    $\displaystyle y''(x) - 5y(x)' + 6y(x) = 10 sin(x), y(0) = 0,y'(0) = 0$

  22. Find the solution of the following initial value problem
    $\displaystyle y''(x) - 5y(x)' + 6y(x) = sin(x) - cos(x), y(0) = -1,y'(0) = 0$

  23. The idea of the method of undetermined coefficients has nothing to do with equation being of the second order. The method of undetermined coefficients will work for any differential equation with constant coefficients. You will need to find first the general solution of the corresponding homogeneous equation and add to it the particular solution. To find the particular solution, look at the Right Hand Side, and try to substitute the functions and its derivatives of the same type.

    Now use the method of undetermined coefficients to find the general solution

    $\displaystyle y'(t)-6 y(t) = 2 e^t.$

  24. Using the method of variation of a parameter, find the general solution of
    $\displaystyle y''(x) - y(x) = 4 e^x.$

  25. In the following equations circle all properties that are true

    ODE ,PDE , Linear , Nonlinear, First Order , Second Order, Third Order, Homogeneous, Non-homogeneous, Single Equation, System of Equations

    1. $\displaystyle \dot x(t) = x(t),$
      ODE ,PDE , Linear , Nonlinear, First Order , Second Order, Third Order, Homogeneous, Non-homogeneous, Single Equation, System of Equations
    2. $\displaystyle \dot x(t) = x(t)^2,$
      ODE ,PDE , Linear , Nonlinear, First Order , Second Order, Third Order, Homogeneous, Non-homogeneous, Single Equation, System of Equations
    3. $\displaystyle \dot x(t) = x(t)^3+34,$
      ODE ,PDE , Linear , Nonlinear, First Order , Second Order, Third Order, Homogeneous, Non-homogeneous, Single Equation, System of Equations
    4. $\displaystyle y''(x) = x^2 y(x),$
      ODE ,PDE , Linear , Nonlinear, First Order , Second Order, Third Order, Homogeneous, Non-homogeneous, Single Equation, System of Equations
    5. $\displaystyle y''(x) = x^2 y^2(x),$
      ODE ,PDE , Linear , Nonlinear, First Order , Second Order, Third Order, Homogeneous, Non-homogeneous, Single Equation, System of Equations

    6. $\displaystyle \frac{\partial}{\partial x} U(x,t) = \frac{\partial}{\partial t} U(x,t),$
      ODE ,PDE , Linear , Nonlinear, First Order , Second Order, Third Order, Homogeneous, Non-homogeneous, Single Equation, System of Equations
    7. $\displaystyle \frac{\partial}{\partial x} U(x,t) = \frac{\partial}{\partial t} (U(x,t))^3,$
      ODE ,PDE , Linear , Nonlinear, First Order , Second Order, Third Order, Homogeneous, Non-homogeneous, Single Equation, System of Equations

  26. In this problem, please write down examples of the Differential Equation that are

    DO NOT SOLVE THESE EQUATIONS

  27. During the darkest period of the History of Magic, the Death Eaters movement of followers of Lord Voldemort was gaining momentum fast. The rate of growth of a number of Death Eaters is proportional to the amount of Death Eaters. In the absence of other factors, the number of Death Eaters tripples every two days. One Death Eater is converted to the Order of the Phoenix every day (i.e. stops being Death Eater). Assuming that at time $t=0$ there were only five Death Eaters, calculate the amount of Death Eaters in a week.

    Extra Credit 10 percent What happens with the number of the Death Eaters as $t\to\infty$? If the number of Death Eaters becomes too large, please modify the equation to give the Order of the Phoenix (the good guys) the chance of victory.

  28. Ten years ago, an industrial company built a factory in a pristine valley. The valley's volume is $10^6\;m^3$. The factory started spewing $100\; kg/year$ of pollutants through smoke stacks with volume flow $10^5\;m^3/year$. Well-mixed polluted air leaves the valley at the same rate. What is the concentration of the pollutants in the valley now?

    1. Write ODE
    2. Solve ODE
    3. Satisfy IC
    4. Find concentration now

    HINT: Use the approximate value 1/3 for $1/e$.

  29. A spring is stretched by $10$ centimeters by a force of $\frac{1}{2}$N. A mass of $\frac{1}{2}$ kg is hung from the spring, and dashpot is attached that exerts a force of $-3$N when the velocity of the mass is $1$ meter per second. Assume that the mass is pulled up one $(1)$ meter from its equilibrium position and given an inital downward velocity of $2$ meters per second. Assume that $g=10$ meters per second$^2$

  30. Solve the following Initial Value Problems:

    $\displaystyle y''(x) + 4 y'(x) + 4 y(x) = 4 e^{2 x}, y(0)=0, y'(0)=0.$

    ANSWER General:

    $\displaystyle y(x) = e^{2 x}/4 + C_1 e^{-2x} c_2 x e^{- 2 x}.$
    IVP:
    $\displaystyle y(x)= \frac{-1 + e^{4x} - 4 x}{4 e^{2x}}$

  31. Suppose you know the general solution of the equation

    $\displaystyle y''(x) + p(x)y'(x) + q(x)y(x) = 0$
    to be
    $\displaystyle y(x) = C_1 y_1(x) + C_2 y_2(x),$
    where $y_1(x)$ and $y_2(x)$ are two given linearly independent functions.

    We have studied in class that to find a particular solution to the equation

    $\displaystyle y''(x) + p(x)y'(x) + q(x)y(x) = f(x)$
    you need to find $u_1(x)$ and $u_2(x)$ by solvinga the system of equations
    $\displaystyle y_1(x)u_1'(x) + y_2(x)u_2'(x) =0, \ \ y_1'(x)u_1'(x) + y_2'(x)u_2'(x) =f(x).$
    Then the particular solution to this equation is given by
    $\displaystyle y(x) = u_1(x) y_1(x) + u_1(x) y_2(x),$

    Now find the system of equations for $u_1(x)$, $u_x(x)$ and $u_3(x)$ to find the particular solution of

    $\displaystyle y'''(x) + p(x)y''(x) + q(x)y'(x) + r(x) y(x) = f(x),$
    if the general solution of
    $\displaystyle y'''(x) + p(x)y''(x) + q(x)y'(x) + r(x) y(x) = 0$
    is equal to

    $\displaystyle y(x) = C_1 y_1(x) + C_2 y_2(x)+ C_3 y_3(x),$
    where $y_1(x)$, $y_2(x)$ and $y_3(x)$ are given three linearly independent functions.

  32. Use the method of variation of a parameter to find the general solution to the differential equation
    $\displaystyle y''(x)-y(x)=\sin(1+x).$
    Answer
    $\displaystyle y(x) = C_1 e^x + C_2 e^{-x} - \frac{\sin{(1+x)}}{2}.$
  33. A mass of 100 gram stretches a spring by $5/6$ meters. Assume that the mass is pulled down a distance of 1 meter, and then set in motion with an upward speed o 2 meters per second. Assume that $g=10$ meters over second $^2$.

  34. Find the general solution of the harmonic oscillator

    $\displaystyle \ddot x(t) + 4 \dot x(t) + 5 x(t) = \sin(t).$
    Does the oscillation at large time depend on initial conditions?

    ANSWER

    $\displaystyle x(t) = C_1 e^{-2 t} \sin{(t)} + C_2 e^{-2 t} \cos{(t)} + \frac{\sin{(t)}-\cos{(t)}}{8}.$

  35. Assuming $x>0$ find the general solution of the Euler equation
    $\displaystyle 5 x^2 y''(x)+ 12 x y'(x) + 2 y(x)=0.$

    ANSWER

    $\displaystyle y(x) = C_1/x+ C_2 x^{-2/5}.$

  36. Find the solution of the initial value problem
    $\displaystyle x^2 y''(x) - 2 x y'(x) + 2 y(x) = x^3 e^x, y(1)=0, y'(1)=0.$

    ANSWER IVP:

    $\displaystyle y(x) = x(e^x - e x),$
    General:
    $\displaystyle y(x) = x e^x + C_1 x + C_2 x^2.$

  37. Find the eigenvectors and eigenvalues of the following matrix

    $\displaystyle \left[
\begin{array}{cc} 2 & 1 \\  4 & -1 \\  \end{array}\right]$    (6)

  38. According to Archimedes' principle, an object that is completelyor partially submerged in water is acted on by an upward (boyant) force equal to the qeights of the displaced water. You are to use this for the following situation. A cubic block of wood, with side $l$ and mass density $\rho$, if floating in water. If the block is slightly depressed into the water and then released, it oscillates in the vertical direction. Derive teh differential equation of motion, and determine the perod of the motion. In doing this let $\rho_0$ be the mass density of the water, and assume that $\rho_0>\rho$.

  39. Find the general solution of the second order ordinary differential equation
    $\displaystyle 5 x^2 y''(x)+ 12 x '(x) + 2 y(x)=0.$

    Figure out what is wrong with latex file here

  40. We have derived in class the formula for a particular solution of the nonhomogeneous second order ordinary differential equation
    $\displaystyle a y ''(x) + b y'(x) + c y (x) = f(x)$
    to be
    $\displaystyle y_{\rm particular} = - y_1(x)\int\limits \frac{y_2(s)f(s)}{W(y_1(s),y_2(s))} +
y_2(x)\int\\ frac{y_1(s)f(s)}{W(y_1(s),y_2(s))}.$
    This formula is actually applicable to a wider ranger of equations. In particular it works for the equations of the type
    $\displaystyle y''(x)+p(x)y'(x)+q(x)y(x)=f(x).$
    In this case $y_1(x)$ and $y_2(x)$ are linearly independent solutions of the associated homogeneous equation
    $\displaystyle y''(x)+p(x)y'(x)+q(x)y(x)=0.$
    Find the general solution of