Chapter 4 Review

Answer each question to the best of your ability before reading the solution.

  1. What is a differential equation, and what does its order tell us? How can we check whether a function is a solution?

    Solution

    A differential equation relates an unknown function to one or more of its derivatives. Its order is the highest derivative that appears: an equation involving \( y' \) but no higher derivatives is first order, while one involving \( y'' \) but no higher derivatives is second order.

    A solution is a function that makes the equation true at every input in an interval. To check one, we differentiate the proposed function and substitute its values and derivatives into the equation. The two sides should agree across that interval.

    For example, to check whether \( y=\sqrt{x^2+1} \) solves \( \displaystyle \frac{\dd{y}}{\dd{x}}=\frac{x}{y} \), we first differentiate:

    \[\begin{aligned}\frac{\dd{y}}{\dd{x}}&=\frac12(x^2+1)^{-1/2}(2x)\\ &=\frac{x}{\sqrt{x^2+1}}.\end{aligned}\]

    Substituting the proposed function into the right side gives \( \displaystyle \frac{x}{y}=\frac{x}{\sqrt{x^2+1}} \) as well. The two sides agree for every real \( x \), so the function is a solution.

  2. What is an initial value problem? Explain how initial conditions help us find a particular solution, using position and acceleration as an example.

    Solution

    An initial value problem combines a differential equation with a starting value for the function, and sometimes for its derivatives. The equation may describe a family of functions; the starting information helps us find the one we need. The input where this information is given doesn't have to be zero.

    For example, to recover position \( s(t) \) from a constant acceleration \( a \), we integrate twice:

    \[\begin{aligned}v(t)&=at+C_1,\\ s(t)&=\frac12at^2+C_1t+C_2.\end{aligned}\]

    The starting velocity \( v(0)=v_0 \) gives \( C_1=v_0 \), and the starting position \( s(0)=s_0 \) gives \( C_2=s_0 \). Thus

    \[s(t)=s_0+v_0t+\frac12at^2.\]

    Knowing acceleration alone leaves both constants undetermined. To check the particular motion, we check its acceleration and both starting values.

  3. What does a slope field show? How can we use it and an initial condition to sketch a solution?

    Solution

    For an equation \( y'=f(x,y) \), we substitute the coordinates of a point into \( f \) to find the slope a solution must have there. Drawing short segments with these slopes at many points gives a slope field.

    An initial condition tells us a point the solution passes through. From there, we sketch a smooth curve that follows the nearby segments. Positive slopes make the curve rise; negative slopes make it fall. Following how the slopes change also helps us see how the curve bends.

    The red solution of \( y'=x-y+1 \) follows the blue segments through \( (0,1) \). It has a horizontal tangent there, then rises to the right.
  4. How is the exponential function defined? Explain its multiplication law and its differentiation and integration rules.

    Solution

    The exponential function \( \exp(x) \) is the unique solution of

    \[y'=y,\qquad y(0)=1.\]

    We accept the existence and uniqueness of this solution as a fact in this chapter. Its value at 1 is the number \( \ee \), and we write \( \displaystyle \exp(x)=\ee^x \). The function is its own derivative, so it is also an antiderivative of itself:

    \[\dv{x}\ee^x=\ee^x,\qquad\int\ee^x\dd{x}=\ee^x+C.\]

    Its multiplication law is \( \exp(a+x)=\exp(a)\exp(x) \). For a fixed \( a \), both sides, viewed as functions of \( x \), solve \( y'=y \) and have value \( \exp(a) \) at \( x=0 \). Since that initial value problem has just one solution, the two functions agree. In exponent notation, this gives \( \displaystyle \ee^{a+x}=\ee^a\ee^x \).

    For a constant \( k \), the Chain Rule introduces a factor of \( k \) when we differentiate. To integrate, we undo that factor:

    \[\dv{x}\ee^{kx}=k\ee^{kx},\qquad\int\ee^{kx}\dd{x}=\frac1k\ee^{kx}+C\quad(k\ne0).\]

    For example, the derivative of \( \displaystyle \ee^{3x} \) is \( \displaystyle 3\ee^{3x} \), so an antiderivative of \( \displaystyle \ee^{3x} \) is \( \displaystyle \frac13\ee^{3x} \). If \( k=0 \), the integrand is 1 and its integral is \( x+C \).

  5. What differential equation describes proportional growth or decay, and how do we solve it? What does the proportionality constant mean?

    Solution

    If a quantity changes at a rate proportional to how much is present, we write

    \[y'=ky.\]

    With starting value \( y(0)=y_0 \), the solution is

    \[y(t)=y_0\ee^{kt}.\]

    At time zero this gives \( y_0 \), and differentiating gives \( y'=ky \). For a positive starting amount, \( k>0 \) gives growth, \( k<0 \) gives decay, and \( k=0 \) leaves the amount unchanged. If the starting amount is zero, it stays zero.

    For a nonzero amount, \( \displaystyle k=\frac{y'}y \) is the relative rate of change. Its units are inverse time. For example, \( k=0.1\,\text{h}^{-1} \) means an instantaneous growth rate of \( 10\% \) per hour. Over a whole hour the amount is multiplied by \( \displaystyle \ee^{0.1}\approx1.1052 \), an increase of about \( 10.52\% \), because the rate grows along with the amount.

  6. How are sine and cosine defined using a differential equation? How do these definitions lead to their derivatives?

    Solution

    Both functions solve \( y''=-y \), but they have different starting values:

    \[\begin{aligned}\sin0&=0,&\sin'(0)&=1,\\ \cos0&=1,&\cos'(0)&=0.\end{aligned}\]

    As with the exponential function, we accept that the equation and these starting conditions determine unique solutions. To find the derivative of sine, let \( v=y' \) for the sine solution. Differentiating \( y''=-y \) gives \( v''=-v \). Also, \( v(0)=1 \) and \( v'(0)=y''(0)=0 \). These are the starting conditions for cosine, so uniqueness tells us that the derivative of sine is cosine.

    Differentiating that relationship and using \( y''=-y \) gives

    \[\dv{x}\sin x=\cos x,\qquad\dv{x}\cos x=-\sin x.\]

    These are the familiar unit-circle functions with inputs measured in radians. One cycle corresponds to an input change of \( 2\pi \).

  7. How do amplitude, period, and initial conditions describe an oscillation? How does damping change the motion?

    Solution

    The amplitude is the greatest distance from equilibrium, and the period is the time for one complete cycle. In \( y(t)=A\cos(\omega t) \) with \( \omega>0 \), the amplitude is \( |A| \) and the period is \( \displaystyle \frac{2\pi}{\omega} \). A larger input factor makes the motion cycle more quickly.

    For the equation \( y''=-\omega^2y \), we use both sine and cosine to match a starting position \( y_0 \) and velocity \( v_0 \):

    \[y(t)=y_0\cos(\omega t)+\frac{v_0}{\omega}\sin(\omega t).\]

    At time zero, cosine is 1 and sine is zero, so the position is \( y_0 \). Differentiating the sine term brings out a factor of \( \omega \), giving starting velocity \( v_0 \). The acceleration points toward equilibrium; the velocity tells us which way the object is moving. It can pass through equilibrium with nonzero velocity even though its acceleration is zero there.

    Damping adds a force that opposes the motion. In a model such as \( y''=-my'-ky \) with positive constants \( m \) and \( k \), the term \( -my' \) opposes velocity. An oscillating object then loses energy and its swings become smaller. For example, \( \displaystyle y(t)=\ee^{-t}\cos(2t) \) stays between the shrinking bounds \( \displaystyle \pm\ee^{-t} \).

    The blue position curve oscillates inside the shrinking exponential bounds, traveling a shorter distance from equilibrium with each bounce.
  8. State the trigonometric derivative rules. How do they give us antiderivatives, and how do we handle a constant multiplying the input?

    Solution

    The six derivative rules are

    \[\begin{aligned}\dv{x}\sin x&=\cos x,&\dv{x}\cos x&=-\sin x,\\ \dv{x}\tan x&=\sec^2x,&\dv{x}\cot x&=-\csc^2x,\\ \dv{x}\sec x&=\sec x\tan x,&\dv{x}\csc x&=-\csc x\cot x.\end{aligned}\]

    Reading these backward gives antiderivatives. We keep the signs and include the constant:

    \[\begin{aligned}\int\cos x\dd{x}&=\sin x+C,\\ \int\sin x\dd{x}&=-\cos x+C,\\ \int\sec^2x\dd{x}&=\tan x+C,\\ \int\csc^2x\dd{x}&=-\cot x+C,\\ \int\sec x\tan x\dd{x}&=\sec x+C,\\ \int\csc x\cot x\dd{x}&=-\csc x+C.\end{aligned}\]

    When the input has a constant factor, differentiating multiplies by that factor and integrating divides by it. For example,

    \[\dv{x}\sin(3x)=3\cos(3x),\qquad\int\cos(3x)\dd{x}=\frac13\sin(3x)+C.\]

    We use these rules on intervals where the functions are defined. For tangent and secant, cosine can't be zero; for cotangent and cosecant, sine can't be zero.

  9. What is the natural logarithm? How do we find its derivative, and how does it describe relative change?

    Solution

    The natural logarithm undoes the exponential function: \( \ln x \) asks which power of \( \ee \) gives \( x \). Thus

    \[y=\ln x\quad\Longleftrightarrow\quad\ee^y=x,\qquad x>0.\]

    The input must be positive because exponential outputs are positive. The logarithm itself can be negative: inputs between 0 and 1 need negative exponents. In particular, \( \ln1=0 \) and \( \ln\ee=1 \).

    Multiplying a positive input by a fixed positive factor \( r \) adds \( \ln r \) to its logarithm: \( \ln(rx)=\ln r+\ln x \). For example, each doubling adds \( \ln2 \), whatever the starting input. This is why a logarithmic scale gives equal steps to equal multiplication factors.

    To find the derivative, take differentials of \( \displaystyle \ee^y=x \):

    \[\begin{aligned}\ee^y\dd{y}&=\dd{x},\\ x\dd{y}&=\dd{x},\\ \frac{\dd{y}}{\dd{x}}&=\frac1x.\end{aligned}\]

    So \( \displaystyle \dv{x}\ln x=\frac1x \) for \( x>0 \). The differential form \( \displaystyle \dd{(\ln x)}=\frac{\dd{x}}x \) says that a change in the logarithm measures a relative change in its input.

  10. How can we use natural logarithms to differentiate exponentials and logarithms with other bases?

    Solution

    For a positive constant base \( b \), we can write \( \displaystyle b^x=\ee^{x\ln b} \). The Chain Rule then gives

    \[\dv{x}b^x=b^x\ln b.\]

    For logarithms, the change-of-base formula gives

    \[\log_bx=\frac{\ln x}{\ln b},\qquad\dv{x}\log_bx=\frac1{x\ln b},\]

    where \( b>0 \), \( b\ne1 \), and \( x>0 \). Since \( \ln b \) is constant, it stays in the denominator when we differentiate.

    For example, the derivative of \( 2^x \) is \( 2^x\ln2 \), and the derivative of \( \log_2x \) is \( \displaystyle \frac1{x\ln2} \).

  11. What is logarithmic differentiation, and when is it useful? How is it connected to a function’s relative rate of change?

    Solution

    For a positive function \( y=f(x) \), we can take logarithms before differentiating. Logarithm laws turn products into sums, quotients into differences, and powers into factors. This can make the differentiation easier, especially when both the base and exponent vary.

    Differentiating the logarithm gives

    \[\dv{x}\ln y=\frac{y'}y.\]

    This is the relative rate of change: we compare the rate of change with the amount already present. After finding it, we multiply by \( y \) to recover \( y' \).

    For example, let \( y=x^x \) with \( x>0 \). Taking logarithms gives \( \ln y=x\ln x \). We take differentials of both sides, using the Product Rule on the right:

    \[\begin{aligned}\frac{\dd{y}}y&=\ln x\dd{x}+x\frac{\dd{x}}x\\ &=(\ln x+1)\dd{x}.\end{aligned}\]

    Now multiply by \( y=x^x \) to find \( \dd{y} \):

    \[\dd{y}=x^x(\ln x+1)\dd{x}.\]

    Dividing by \( \dd{x} \) gives the derivative:

    \[\frac{\dd{y}}{\dd{x}}=x^x(\ln x+1).\]

    Taking the logarithm lets us use the Product Rule on \( x\ln x \), even though both the base and exponent in the original expression change.

  12. When can we use separation of variables to solve a differential equation? Describe the method and the checks we need along the way.

    Solution

    An equation is separable when we can rearrange it so that each variable is beside its own differential:

    \[f(x)\dd{x}=g(y)\dd{y}.\]

    We then integrate both sides:

    \[\int f(x)\dd{x}=\int g(y)\dd{y}.\]

    We combine the constants into one and use the initial condition to find it. If solving for \( y \) gives more than one branch, we choose the one that fits the starting value. This is implicit differentiation in reverse: we start with a relationship between differentials and recover a relationship between the variables.

    If rearranging requires division by an expression involving \( y \), we check what happens where that expression is zero. For example, dividing \( y'=3y \) by \( y \) leaves out the valid constant solution \( y=0 \). We keep such equilibrium solutions separately.

    Finally, we check the formula in the original equation and the initial condition. We use an interval containing the starting input where the formula and the equation are both defined.

  13. How do we integrate \( \displaystyle \frac1x \)? Explain the absolute value in the answer and how we use it when solving a differential equation.

    Solution

    The logarithm gives the antiderivative that the Anti-Power Rule couldn't supply:

    \[\int\frac1x\dd{x}=\ln|x|+C.\]

    For \( x>0 \), this is \( \ln x+C \). For \( x<0 \), it is \( \ln(-x)+C \); differentiating gives \( \displaystyle \frac{-1}{-x}=\frac1x \) again. The absolute value lets us write both cases together. We still work on one side of zero at a time, since the reciprocal is undefined at zero.

    In a separated equation, we might reach \( \ln|y|=G(x)+C \). Exponentiating gives

    \[|y|=\ee^C\ee^{G(x)}.\]

    This tells us the size of \( y \). The initial condition tells us whether to take the positive or negative sign. If we divided by \( y \), we also check \( y=0 \) separately in the original equation.

  14. What does Newton’s law of cooling say? How does its solution describe both cooling and warming?

    Solution

    The model says that an object's temperature changes at a rate proportional to its difference from the surrounding temperature. Let \( T(t) \) be the object's temperature, \( T_a \) the fixed surrounding temperature, and \( k>0 \) a constant:

    \[T'=-k(T-T_a).\]

    With \( T(0)=T_0 \), separating and integrating gives

    \[T(t)=T_a+(T_0-T_a)\ee^{-kt},\qquad t\ge0.\]

    The size of the temperature difference \( T-T_a \) shrinks as the exponential factor shrinks. An object above the surrounding temperature cools; one below it warms. If it starts at \( T_a \), it stays there. The difference approaches zero without changing sign, so the model doesn't predict overshooting the surrounding temperature.

    Both objects approach the same room temperature. Their rates slow as their temperature differences become smaller.

    The model uses a fixed surrounding temperature, a constant \( k \), and one temperature to represent the object. Its predictions depend on how well those assumptions describe the situation.

  15. What is elasticity? How can we recover a function when its elasticity is constant?

    Solution

    Elasticity compares a relative output change with a relative input change. For positive quantities \( x \) and \( y \),

    \[E=\frac{\dd{y}/y}{\dd{x}/x}=\frac{x}{y}\frac{\dd{y}}{\dd{x}}.\]

    For a small \( 1\% \) increase in \( x \), an elasticity of \( E \) predicts approximately an \( E\% \) change in \( y \). The sign tells us whether the output rises or falls. Since both changes are relative, elasticity has no units.

    If elasticity is the constant \( a \), we separate and integrate:

    \[\begin{aligned}\frac{\dd{y}}y&=a\frac{\dd{x}}x,\\ \ln y&=a\ln x+C,\\ y&=Ax^a,\qquad A=\ee^C>0.\end{aligned}\]

    A known input and output let us find \( A \). For demand \( q \) as a function of price \( p \), elasticity \( -2 \) gives \( q=Ap^{-2} \). A small \( 1\% \) price increase then corresponds to approximately a \( 2\% \) drop in demand. The exponent describes the relative response, while \( A \) sets the scale.