Access this content offline
Omniguides
Skip to the reading

Chapter 8 Solutions

Worked solutions to all thirty problems, with the reason for each step. These explanations were added for this edition; the chapter answer key and original worked examples follow below.

Chapter problems →

Problem 1

Original problem · added worked solution

Implicitly derive the following functions.

  1. Original source equation or figure
  2. Original source equation or figure
  3. Original source equation or figure

(a)

  1. The real logarithm requires y>0y>0. Differentiate both sides of (x+y)2=lny(x+y)^2=ln y with respect to x, treating y as a function of x.
  2. The chain rule gives 2(x+y)(1+y′)=y′/y2(x+y)(1+y′)=y′/y.
  3. Multiply by y and collect y′ terms: 2y(x+y)=y′(1-2y(x+y))2y(x+y)=y′(1-2y(x+y)).
  4. Thus y′=2y(x+y)/(1-2y(x+y))y′=2y(x+y)/(1-2y(x+y)) wherever the denominator is nonzero. At a zero denominator the relation does not define a finite derivative by this formula.

(b)

  1. Differentiate sinx+sin2y-y=0sin x+sin^2y-y=0. The chain rule gives cosx+2sinycosy·y′-y′=0cos x+2sin y cos y·y′-y′=0.
  2. Collect terms and use 2sinycosy=sin(2y)2sin y cos y=sin(2y).
  3. The result is y′=cosx/(1-sin(2y))y′=cos x/(1-sin(2y)) where the denominator is nonzero.

(c)

  1. Differentiate ey+x=0e^y+x=0 to obtain eyy′+1=0e^y y′+1=0.
  2. Therefore y′=-e-yy′=-e^{-y}. Since ey=-x>0e^y=-x>0, the real curve has x<0 and this is also y′=1/xy′=1/x.

Final answer

(a) 2y(x+y)/(1-2y(x+y))2y(x+y)/(1-2y(x+y)); (b) cosx/(1-sin(2y))cos x/(1-sin(2y)); (c) 1/x1/x for x<0, with the stated denominator restrictions.

Problem 2

Original problem · clarified · added worked solution

Determine if the given differential equation is linear and state its order.

  1. xy″+y′+y2=0xy″+y′+y^2=0
  2. y′-y=x2y′-y=x^2
  3. y(5)-yy′+(x+1)y=0y^{(5)}-yy′+(x+1)y=0

Clarified version of part (c): the displayed differential expression is set equal to zero. This supplies a complete equation for classification.

(a)

  1. The highest derivative in xy″+y′+y2=0xy″+y′+y^2=0 is y″, so the equation is second order.
  2. The y² term is nonlinear in the dependent variable, so the equation is nonlinear.

(b)

  1. The highest derivative in y′-y=x2y′-y=x^2 is y′, so the equation is first order.
  2. The dependent variable and its derivative occur only to the first power, with coefficients depending on x. This is a linear equation.

(c)

  1. The highest derivative in y(5)-yy′+(x+1)y=0y^{(5)}-yy′+(x+1)y=0 is the fifth derivative, so the equation is fifth order.
  2. The product yy′ is nonlinear in the dependent variable and its derivative. Therefore the equation is nonlinear.

Final answer

(a) Nonlinear, order 2. (b) Linear, order 1. (c) Nonlinear, order 5.

Problem 3

Original problem · added worked solution

Determine if the given function is a solution to the given differential equations.

  1. Original source equation or figure
  2. Original source equation or figure
  3. Original source equation or figure
  4. Original source equation or figure

(a)

  1. For y=Asinxy=A sin x, differentiation gives y′=Acosxy′=A cos x and y″=-Asinxy″=-A sin x.
  2. Since -Asinx=-y-A sin x=-y, the equation y″=-yy″=-y holds for every real x and every constant A.

(b)

  1. For y=Bcosxy=B cos x, differentiation gives y′=-Bsinxy′=-B sin x and y″=-Bcosxy″=-B cos x.
  2. Thus y″=-yy″=-y holds for every real x and every constant B.

(c)

  1. For y=exy=e^x, both the first and second derivatives are exe^x.
  2. The requested equation would require ex=-exe^x=-e^x, impossible for real x because ex>0e^x>0. Therefore this function is not a solution.

(d)

  1. For y=x2y=x^2, y′=2xy′=2x and y″=2y″=2.
  2. Substitute: x2y″-xy′=2x2-2x2=0x^2y″-xy′=2x^2-2x^2=0. Thus the function is a solution for every real x.

Final answer

(a) Yes. (b) Yes. (c) No. (d) Yes.

Problem 4

Original problem · added worked solution

Use separation of variables to solve the following differential equations.

  1. Original source equation or figure
  2. Original source equation or figure
  3. Original source equation or figure

(a)

  1. The equation dy/dx=lnxdy/dx=ln x is real only for x>0x>0. Write dy=lnxdxdy=ln x dx.
  2. Integrate by parts on the right: ∫lnxdx=xlnx-x∫ln x dx=x ln x-x.
  3. Thus y=xlnx-x+Cy=x ln x-x+C on x>0. Differentiation returns ln x.

(b)

  1. Work on an interval where sinx≠0sin x≠0, since the original right-hand side is y/sinxy/sin x.
  2. For y≠0, separate dy/y=dx/sinxdy/y=dx/sin x and integrate: ln|y|=ln|tan(x/2)|+Cln|y|=ln|tan(x/2)|+C.
  3. Exponentiating and absorbing the sign into a real constant gives y=Ctan(x/2)y=C tan(x/2). The constant C=0 also gives the equilibrium solution. The formula is used separately on each interval between consecutive multiples of π.

(c)

  1. The original equation contains 1/y1/y, so y=0 is excluded. Separate dy/y=(cos2x-x)dxdy/y=(cos^2x-x)dx.
  2. Use cos2x=(1+cos2x)/2cos^2x=(1+cos2x)/2 to integrate: ln|y|=x/2+sin(2x)/4-x2/2+Cln|y|=x/2+sin(2x)/4-x^2/2+C.
  3. Therefore y=Cexp(x/2+sin(2x)/4-x2/2)y=C exp(x/2+sin(2x)/4-x^2/2), with C≠0C≠0 because the printed equation excludes y=0.

Final answer

(a) xlnx-x+Cx ln x-x+C, x>0. (b) Ctan(x/2)C tan(x/2), on intervals avoiding sin x=0. (c) Cexp(x/2+sin(2x)/4-x2/2)C exp(x/2+sin(2x)/4-x^2/2), C≠0.

Problem 5

Original problem · added worked solution

Compute the given partial derivatives.

  1. Original source equation or figure
  2. Original source equation or figure
  3. Original source equation or figure
  4. Original source equation or figure

(a)

  1. Treat y and z as constants. Let N=sinxcos(xy)N=sin x cos(xy) and D=ln(xz)D=ln(xz). The real domain requires xz>0xz>0 and xz≠1xz≠1.
  2. The product and chain rules give Nx=cosxcos(xy)-ysinxsin(xy)N_x=cos x cos(xy)-y sin x sin(xy); the denominator derivative is Dx=1/xD_x=1/x.
  3. The quotient rule gives ((cosxcos(xy)-ysinxsin(xy))ln(xz)-sinxcos(xy)/x)/(ln(xz))2((cos x cos(xy)-y sin x sin(xy))ln(xz)-sin x cos(xy)/x)/(ln(xz))^2.

(b)

  1. The logarithmic term ln(z/(2z+y))ln(z/(2z+y)) has no x dependence. Therefore any mixed derivative containing an x derivative annihilates it, on its real domain z/(2z+y)>0z/(2z+y)>0.
  2. Differentiate x3y2zx^3y^2z first in z to get x3y2x^3y^2, then in y to get 2x3y2x^3y, then in x to get 6x2y6x^2y.
  3. Thus the requested mixed derivative is 6x2y6x^2y. The functions are smooth on their domain, so other derivative orders give the same result.

(c)

  1. The real domain requires xz>0xz>0 and yz>0yz>0. Treat x and y as constants and use the product rule.
  2. Because ∂ln(xz)/∂z=1/z∂ln(xz)/∂z=1/z and ∂ln(yz)/∂z=1/z∂ln(yz)/∂z=1/z, the answer is (ln(yz)+ln(xz))/z(ln(yz)+ln(xz))/z.

(d)

  1. Set u=z2+yu=z^2+y, requiring u>0u>0. The first z derivative is 4z3lnu+2z5/u+xsin(zx)4z^3ln u+2z^5/u+x sin(zx).
  2. Differentiate again: the first term gives 12z2lnu+8z4/u12z^2ln u+8z^4/u, the second gives 10z4/u-4z6/u210z^4/u-4z^6/u^2, and the last gives x2cos(zx)x^2cos(zx).
  3. Collect the terms to obtain 12z2ln(z2+y)+18z4/(z2+y)-4z6/(z2+y)2+x2cos(zx)12z^2ln(z^2+y)+18z^4/(z^2+y)-4z^6/(z^2+y)^2+x^2cos(zx).

Final answer

(a) Quotient-rule expression shown. (b) 6x2y6x^2y. (c) (ln(yz)+ln(xz))/z(ln(yz)+ln(xz))/z. (d) 12z2ln(z2+y)+18z4/(z2+y)-4z6/(z2+y)2+x2cos(zx)12z^2ln(z^2+y)+18z^4/(z^2+y)-4z^6/(z^2+y)^2+x^2cos(zx).

Problem 6

Added problem and worked solution

Find dy/dxdy/dx implicitly for x2+y2=25x^2+y^2=25. State where your formula applies.

  1. Differentiate x2+y2=25x^2+y^2=25 with respect to x: 2x+2yy′=02x+2y y′=0.
  2. Solve for the derivative to obtain y′=-x/yy′=-x/y, valid where y≠0. At y=0 the circle has a vertical tangent.

Final answer

y′=-x/yy′=-x/y, for y≠0.

Problem 7

Added problem and worked solution

Find dy/dxdy/dx implicitly for xy=1xy=1.

  1. Differentiate xy=1xy=1 using the product rule: y+xy′=0y+xy′=0.
  2. Since the original relation excludes x=0, divide by x to get y′=-y/x=-1/x2y′=-y/x=-1/x^2.

Final answer

y′=-y/x=-1/x2y′=-y/x=-1/x^2, x≠0.

Problem 8

Added problem and worked solution

Implicitly differentiate x3+y3=6xyx^3+y^3=6xy.

  1. Differentiate x3+y3=6xyx^3+y^3=6xy: 3x2+3y2y′=6y+6xy′3x^2+3y^2y′=6y+6xy′.
  2. Collect y′ terms: (3y2-6x)y′=6y-3x2(3y^2-6x)y′=6y-3x^2.
  3. Divide where y2-2x≠0y^2-2x≠0 to obtain y′=(2y-x2)/(y2-2x)y′=(2y-x^2)/(y^2-2x).

Final answer

y′=(2y-x2)/(y2-2x)y′=(2y-x^2)/(y^2-2x), where the denominator is nonzero.

Problem 9

Added problem and worked solution

Find dy/dxdy/dx implicitly for ln(xy)=xln(xy)=x.

  1. The real domain of ln(xy)=xln(xy)=x requires xy>0xy>0, hence x and y are nonzero.
  2. Differentiate to get (y+xy′)/(xy)=1(y+xy′)/(xy)=1.
  3. Multiplying by xy gives y+xy′=xyy+xy′=xy, hence y′=y(x-1)/xy′=y(x-1)/x.

Final answer

y′=y(x-1)/xy′=y(x-1)/x, on the curve where xy>0.

Problem 10

Added problem and worked solution

Find dy/dxdy/dx implicitly for siny=x2sin y=x^2.

  1. Differentiate siny=x2sin y=x^2: cosy·y′=2xcos y·y′=2x.
  2. Divide by cos y where it is nonzero. The real relation itself requires |x|≤1|x|≤1.

Final answer

y′=2x/cosyy′=2x/cos y, where cos y≠0.

Problem 11

Added problem and worked solution

State the order and decide whether y″+xy′+y=sinxy″+xy′+y=sin x is linear.

  1. The highest derivative in y″+xy′+y=sinxy″+xy′+y=sin x is y″, so the order is 2.
  2. Each dependent-variable term is linear in y or a derivative, and the coefficients depend only on x.

Final answer

Linear, second order.

Problem 12

Added problem and worked solution

State the order and decide whether (y′)2+y=0(y′)^2+y=0 is linear.

  1. The highest derivative is y′, so the order is 1.
  2. The square (y′)2(y′)^2 violates linearity, even though the derivative order remains one.

Final answer

Nonlinear, first order.

Problem 13

Added problem and worked solution

State the order and decide whether y‴+y2=0y‴+y^2=0 is linear.

  1. The highest derivative is y‴y‴, so the order is 3.
  2. The dependent variable appears as y², which makes the equation nonlinear.

Final answer

Nonlinear, third order.

Problem 14

Added problem and worked solution

Is y=Ce-2xy=Ce^{-2x} a solution of y′+2y=0y′+2y=0? Verify by substitution.

  1. For y=Ce-2xy=Ce^{-2x}, the derivative is y′=-2Ce-2xy′=-2Ce^{-2x}.
  2. Substitute into y′+2yy′+2y: -2Ce-2x+2Ce-2x=0-2Ce^{-2x}+2Ce^{-2x}=0. This holds for every constant C and every real x.

Final answer

Yes, for every real constant C.

Problem 15

Added problem and worked solution

Solve y″=6xy″=6x by direct integration. Include all integration constants.

  1. Integrate y″=6xy″=6x once to obtain y′=3x2+C1y′=3x^2+C_1.
  2. Integrate again to obtain y=x3+C1x+C2y=x^3+C_1x+C_2. Two independent constants are needed for the second-order equation.
  3. Differentiate twice to check that every member of this family has second derivative 6x.

Final answer

y=x3+C1x+C2y=x^3+C_1x+C_2.

Problem 16

Added problem and worked solution

Solve dy/dx=3ydy/dx=3y by separation of variables.

  1. For y≠0, separate dy/y=3dxdy/y=3dx.
  2. Integration gives ln|y|=3x+Cln|y|=3x+C, so y=Ce3xy=Ce^{3x}.
  3. The equilibrium solution y=0 is also included by C=0; these solutions exist for all real x.

Final answer

y=Ce3xy=Ce^{3x}, C any real constant.

Problem 17

Added problem and worked solution

Solve dy/dx=x/ydy/dx=x/y and state the restrictions on the solution.

  1. The original y′=x/yy′=x/y requires y≠0. Multiply by y and separate: ydy=xdxy dy=x dx.
  2. Integrating gives y2/2=x2/2+Cy^2/2=x^2/2+C, or y2=x2+Cy^2=x^2+C.
  3. Thus y=±sqrt(x2+C)y=±sqrt(x^2+C), with a fixed sign on any interval where x2+C>0x^2+C>0. The zero endpoints are excluded from the original equation.

Final answer

y=±sqrt(x2+C)y=±sqrt(x^2+C), on intervals where x²+C>0.

Problem 18

Added problem and worked solution

Solve dy/dx=2xy/(1+x2)dy/dx=2xy/(1+x^2).

  1. For y≠0, separate dy/y=2xdx/(1+x2)dy/y=2x dx/(1+x^2).
  2. The substitution u=1+x2u=1+x^2 gives ln|y|=ln(1+x2)+Cln|y|=ln(1+x^2)+C.
  3. Hence y=C(1+x2)y=C(1+x^2). Including C=0 restores the equilibrium solution, and 1+x² is positive for all real x.

Final answer

y=C(1+x2)y=C(1+x^2), all real x.

Problem 19

Added problem and worked solution

Solve dy/dx=y(1-y)dy/dx=y(1-y). Include equilibrium solutions and domain restrictions.

  1. The equilibrium solutions are y=0 and y=1. For other solutions, separate dy/(y(1-y))=dxdy/(y(1-y))=dx.
  2. Use 1/(y(1-y))=1/y+1/(1-y)1/(y(1-y))=1/y+1/(1-y). Integration gives ln|y/(1-y)|=x+Cln|y/(1-y)|=x+C.
  3. Solving for y yields y=1/(1+Ce-x)y=1/(1+Ce^{-x}), on any interval where the denominator is nonzero. This family includes y=1 when C=0; add y=0 separately.

Final answer

y=1/(1+Ce-x)y=1/(1+Ce^{-x}) wherever the denominator is nonzero, plus y=0.

Problem 20

Added problem and worked solution

Solve dy/dx=y2dy/dx=y^2 and include all equilibrium solutions.

  1. The equilibrium y=0 solves the equation. For y≠0, separate y-2dy=dxy^{-2}dy=dx.
  2. Integration gives -1/y=x+C-1/y=x+C, hence y=-1/(x+C)y=-1/(x+C).
  3. This nonzero family is valid on intervals excluding x=-Cx=-C. Restore the equilibrium y=0 separately.

Final answer

y=-1/(x+C)y=-1/(x+C), x≠−C, plus y=0.

Problem 21

Added problem and worked solution

Solve dy/dx=xydy/dx=xy with y(0)=2y(0)=2.

  1. Separate dy/y=xdxdy/y=x dx for nonzero y and integrate: ln|y|=x2/2+Cln|y|=x^2/2+C.
  2. Thus y=Cex2/2y=Ce^{x^2/2}. The initial condition y(0)=2y(0)=2 gives C=2.
  3. The resulting positive function is defined for all real x, and its derivative is xy.

Final answer

y=2ex2/2y=2e^{x^2/2}.

Problem 22

Added problem and worked solution

Solve dy/dx=(1+y2)cosxdy/dx=(1+y^2)cos x. State the interval restriction.

  1. Divide by the always-positive 1+y21+y^2 to separate dy/(1+y2)=cosxdxdy/(1+y^2)=cos x dx.
  2. Integrate to obtain arctany=sinx+Carctan y=sin x+C.
  3. Locally, y=tan(sinx+C)y=tan(sin x+C), on intervals where cosine of the angle is nonzero. The constant can be chosen so the integrated arctangent stays on its principal branch; equivalent constants differ by multiples of π.

Final answer

y=tan(sinx+C)y=tan(sin x+C), on intervals avoiding its poles.

Problem 23

Added problem and worked solution

Solve dy/dx=x3/(1+y2)dy/dx=x^3/(1+y^2). An implicit solution is acceptable.

  1. Multiply through by 1+y21+y^2 to separate (1+y2)dy=x3dx(1+y^2)dy=x^3dx.
  2. Integrate to get y+y3/3=x4/4+Cy+y^3/3=x^4/4+C.
  3. The left-hand side has derivative 1+y2>01+y^2>0 with respect to y and ranges over all real values. It therefore defines a unique real y for each x and each C, with no division-by-zero restriction.

Final answer

y+y3/3=x4/4+Cy+y^3/3=x^4/4+C.

Problem 24

Added problem and worked solution

For f(x,y)=x2y+3y2f(x,y)=x^2y+3y^2, find both first partial derivatives.

  1. For f=x2y+3y2f=x^2y+3y^2, treat y as constant when differentiating in x. This gives fx=2xyf_x=2xy.
  2. Treat x as constant when differentiating in y. This gives fy=x2+6yf_y=x^2+6y.

Final answer

fx=2xyf_x=2xy, fy=x2+6yf_y=x^2+6y.

Problem 25

Added problem and worked solution

Find both first partial derivatives of f(x,y)=sin(xy)f(x,y)=sin(xy).

  1. When differentiating sin(xy)sin(xy) in x, treat y as constant. The inner derivative is y, giving fx=ycos(xy)f_x=y cos(xy).
  2. In the y derivative, x is constant. The inner derivative is x, giving fy=xcos(xy)f_y=x cos(xy).

Final answer

fx=ycos(xy)f_x=y cos(xy), fy=xcos(xy)f_y=x cos(xy).

Problem 26

Added problem and worked solution

Compute both mixed second partial derivatives of f(x,y)=x2y3f(x,y)=x^2y^3.

  1. Differentiate f=x2y3f=x^2y^3 in x to get fx=2xy3f_x=2xy^3, then in y to get fxy=6xy2f_{xy}=6xy^2.
  2. Reverse the order: fy=3x2y2f_y=3x^2y^2, then fyx=6xy2f_{yx}=6xy^2.
  3. The equality is consistent with the polynomial’s continuous second derivatives.

Final answer

fxy=fyx=6xy2f_{xy}=f_{yx}=6xy^2.

Problem 27

Added problem and worked solution

Find the first partial derivatives of f(x,y)=x/(x+y)f(x,y)=x/(x+y).

  1. For f=x/(x+y)f=x/(x+y), the domain excludes x+y=0x+y=0. In the x derivative, the quotient rule gives ((x+y)-x)/(x+y)2=y/(x+y)2((x+y)-x)/(x+y)^2=y/(x+y)^2.
  2. In the y derivative, the numerator is constant, so fy=-x/(x+y)2f_y=-x/(x+y)^2.

Final answer

fx=y/(x+y)2f_x=y/(x+y)^2, fy=-x/(x+y)2f_y=-x/(x+y)^2, for x+y≠0.

Problem 28

Added problem and worked solution

For f(x,y)=exyf(x,y)=e^{xy}, find fxxf_{xx} and fxyf_{xy}.

  1. For f=exyf=e^{xy}, differentiation in x gives fx=yexyf_x=ye^{xy}.
  2. Differentiate this in x again, keeping y constant: fxx=y2exyf_{xx}=y^2e^{xy}.
  3. For the mixed derivative, differentiate yexyye^{xy} in y using the product rule: fxy=exy+xyexy=(1+xy)exyf_{xy}=e^{xy}+xye^{xy}=(1+xy)e^{xy}.

Final answer

fxx=y2exyf_{xx}=y^2e^{xy}, fxy=(1+xy)exyf_{xy}=(1+xy)e^{xy}.

Problem 29

Added problem and worked solution

Find the first partial derivatives and domain of f(x,y)=ln(x2+y2)f(x,y)=ln(x^2+y^2).

  1. The real domain of ln(x2+y2)ln(x^2+y^2) excludes (x,y)=(0,0)(x,y)=(0,0).
  2. Using the chain rule gives fx=2x/(x2+y2)f_x=2x/(x^2+y^2) and fy=2y/(x2+y2)f_y=2y/(x^2+y^2).

Final answer

fx=2x/(x2+y2)f_x=2x/(x^2+y^2), fy=2y/(x2+y2)f_y=2y/(x^2+y^2), away from the origin.

Problem 30

Added problem and worked solution

For f(x,y,z)=x2yz3f(x,y,z)=x^2yz^3, compute the mixed derivative taking one derivative in each of z, y, and x.

  1. Differentiate f=x2yz3f=x^2yz^3 in z to get fz=3x2yz2f_z=3x^2yz^2.
  2. Differentiate this in y to get fzy=3x2z2f_{zy}=3x^2z^2.
  3. Finally differentiate in x to obtain fzyx=6xz2f_{zyx}=6xz^2. This polynomial is smooth, so any ordering of one derivative in each variable gives the same result.

Final answer

6xz26xz^2.

Search lessons, terms and problems