Differential-Equations · Unit 4 · Video 6 · Interactive Practice

Solved but Not Morally: The Boat's Path Is the Spiral r=Ceθr = Ce^{\theta}

IKey Formulas

FormulaStepRemark
x dzdx=1+z1−z−z=1+z21−zx\,\dfrac{dz}{dx} = \dfrac{1 + z}{1 - z} - z = \dfrac{1 + z^2}{1 - z}Substitute y=zxy = zx, so y′=z′x+zy' = z'x + zCombine into one fraction before flipping
1−z1+z2 dz=dxx  ⇒  arctan⁡z−12ln⁡(1+z2)=ln⁡x+c\dfrac{1 - z}{1 + z^2}\,dz = \dfrac{dx}{x} \;\Rightarrow\; \arctan z - \tfrac{1}{2}\ln(1 + z^2) = \ln x + cSeparate, integrate (x>0x > 0)1+z2≠01 + z^2 \neq 0, so dividing loses no solution
arctan⁡yx=ln⁡x2+y2+c\arctan\dfrac{y}{x} = \ln\sqrt{x^2 + y^2} + cPut back z=yxz = \dfrac{y}{x}Correct, but it hides the shape
θ=ln⁡r+c  ⇒  r=Ceθ\theta = \ln r + c \;\Rightarrow\; r = Ce^{\theta}Polar coordinatesC=e−c>0C = e^{-c} > 0; drdθ=r\dfrac{dr}{d\theta} = r is the 45° condition

Key Insight: In polar coordinates the 45° heading says the outward step drdr equals the sideways step r dθr\,d\theta, so drdθ=r\dfrac{dr}{d\theta} = r and r=Ceθr = Ce^{\theta} in one line. Each half-turn of the beam multiplies the boat's distance by eπ≈23.1e^{\pi} \approx 23.1.

IIThe Solution, Line by Line, in the Picture

Every line of the solution says something about the beam from the lighthouse OO to the boat PP.

Step 1 — Substitute
y′=z′x+z,x+zxx−zx=1+z1−zy' = z'x + z, \qquad \frac{x + zx}{x - zx} = \frac{1 + z}{1 - z}
x dzdx=1+z1−z−zx\,\frac{dz}{dx} = \frac{1 + z}{1 - z} - z
Step 2 — One fraction, then flip
x dzdx=z+1−z(1−z)1−z=1+z21−zx\,\frac{dz}{dx} = \frac{z + 1 - z(1 - z)}{1 - z} = \frac{1 + z^2}{1 - z}
1−z1+z2 dz=dxx\frac{1 - z}{1 + z^2}\,dz = \frac{dx}{x}
Step 3 — Integrate
∫dz1+z2−∫z dz1+z2=∫dxx\int \frac{dz}{1 + z^2} - \int \frac{z\,dz}{1 + z^2} = \int \frac{dx}{x}
arctan⁡z−12ln⁡(1+z2)=ln⁡x+c\arctan z - \tfrac{1}{2}\ln(1 + z^2) = \ln x + c
Step 4 — Undo the substitution
arctan⁡z=ln⁡(x1+z2 )+c\arctan z = \ln\big(x\sqrt{1 + z^2}\,\big) + c
x1+y2x2=x2+y2(x>0)x\sqrt{1 + \tfrac{y^2}{x^2}} = \sqrt{x^2 + y^2} \quad (x > 0)
arctan⁡yx=ln⁡x2+y2+c\arctan\frac{y}{x} = \ln\sqrt{x^2 + y^2} + c
Step 5 — Read it in polar
θ=ln⁡r+c  ⇒  r=eθ−c=Ceθ\theta = \ln r + c \;\Rightarrow\; r = e^{\theta - c} = Ce^{\theta}
At P=(1,3)P = (1, \sqrt{3}): r=2r = 2 and θ=π3\theta = \tfrac{\pi}{3}, so C=e−c=2e−π/3≈0.70C = e^{-c} = 2e^{-\pi/3} \approx 0.70.

IIIThe Spirals Are the Integral Curves

The spiral r=Ceθr = Ce^{\theta} through any boat position follows the direction field of y′=x+yx−yy' = \frac{x + y}{x - y}, for x<0x < 0 too.

IVThe 45° Check: dr=r dθdr = r\,d\theta

Turning the beam by Δθ\Delta\theta moves the boat out by Δr\Delta r and across by r Δθr\,\Delta\theta, legs that become equal as Δθ→0\Delta\theta \to 0.

VQuiz Questions

Problem 1 · Substitute and Simplify

Given: y′=x+yx−yy' = \dfrac{x + y}{x - y} and the substitution y=zxy = zx, so y′=z′x+zy' = z'x + z. Find the right side of x dzdx=  ?x\,\dfrac{dz}{dx} = \;?

✅ Correct! Moving zz across and writing everything over 1−z1 - z leaves the numerator z+1−z+z2=1+z2z + 1 - z + z^2 = 1 + z^2.
❌ The +z+z is still missing. That is the right side before the zz from the product rule moves across: x dzdx=1+z1−z−zx\,\dfrac{dz}{dx} = \dfrac{1 + z}{1 - z} - z, and the −z-z still has to be combined in.
❌ Check the sign of z2z^2. −z(1−z)=−z+z2-z(1 - z) = -z + z^2, not −z−z2-z - z^2. With the correct sign the zz terms cancel and +z2+z^2 survives.
❌ The product rule gives +z+z. (zx)′=z′x+z(zx)' = z'x + z. Writing z′x−zz'x - z makes you add zz instead of subtracting it, which produces 1+2z−z21 + 2z - z^2.
❌ Not quite. Substitute, cancel the xx's, move zz to the right, and combine over 1−z1 - z.
Show solution

With y=zxy = zx the left side is y′=z′x+zy' = z'x + z, and the right side is

x+zxx−zx=x(1+z)x(1−z)=1+z1−z.\frac{x + zx}{x - zx} = \frac{x(1 + z)}{x(1 - z)} = \frac{1 + z}{1 - z}.

So z′x+z=1+z1−zz'x + z = \dfrac{1 + z}{1 - z}. Move zz to the right and use the common denominator 1−z1 - z:

x dzdx=z+1−z(1−z)1−z=z+1−z+z21−z=1+z21−z.x\,\frac{dz}{dx} = \frac{z + 1 - z(1 - z)}{1 - z} = \frac{z + 1 - z + z^2}{1 - z} = \frac{1 + z^2}{1 - z}.

Problem 2 · Flip It the Right Way

Given: x dzdx=z+11−z−zx\,\dfrac{dz}{dx} = \dfrac{z + 1}{1 - z} - z. Separate the variables, and decide which constant solutions z=z0z = z_0 (rays y=z0xy = z_0 x from the lighthouse) the division could lose.

Which separated form is correct?

Which constant solutions does the division lose?

✅ Correct! One fraction first, 1+z21−z\dfrac{1 + z^2}{1 - z}, then flip it: 1−z1+z2 dz=dxx\dfrac{1 - z}{1 + z^2}\,dz = \dfrac{dx}{x}, and since 1+z2>01 + z^2 > 0 no ray is lost.
❌ The reciprocal of a difference is not the difference of the reciprocals. 1a−b≠1a−1b\dfrac{1}{a - b} \neq \dfrac{1}{a} - \dfrac{1}{b}: combine z+11−z−z\dfrac{z + 1}{1 - z} - z into one fraction first, then flip that single fraction.
❌ The fraction has to be flipped. From x dzdx=1+z21−zx\,\dfrac{dz}{dx} = \dfrac{1 + z^2}{1 - z}, dividing by the right side puts its reciprocal 1−z1+z2\dfrac{1 - z}{1 + z^2} next to dzdz.
❌ The xx goes into the denominator. x dzdx=g(z)x\,\dfrac{dz}{dx} = g(z) separates as dzg(z)=dxx\dfrac{dz}{g(z)} = \dfrac{dx}{x}: you divide by xx, you do not multiply by it.
❌ Where 1−z=01 - z = 0 the equation itself is undefined. z=1z = 1 is the line y=xy = x, where x+yx−y\dfrac{x + y}{x - y} divides by zero; a lost solution would be a zero of the numerator 1+z21 + z^2.
❌ That numerator comes from a sign slip. The numerator is 1+z21 + z^2, not 1−z21 - z^2, and 1+z2=01 + z^2 = 0 has no real roots.
❌ The xx-axis is not a path. On y=0y = 0 the equation asks for y′=xx=1y' = \dfrac{x}{x} = 1, but the line y=0y = 0 has slope 00.
❌ Not quite. Combine into one fraction, then divide both sides by it and by xx.
❌ Not quite. Dividing by g(z)g(z) can only lose constants z0z_0 with g(z0)=0g(z_0) = 0.
Show solution

One fraction first. Over the common denominator 1−z1 - z:

z+11−z−z=z+1−z(1−z)1−z=1+z21−z.\frac{z + 1}{1 - z} - z = \frac{z + 1 - z(1 - z)}{1 - z} = \frac{1 + z^2}{1 - z}.

Separate. Multiply both sides of x dzdx=1+z21−zx\,\dfrac{dz}{dx} = \dfrac{1 + z^2}{1 - z} by 1−z1+z2\dfrac{1 - z}{1 + z^2} and by dxx\dfrac{dx}{x}:

1−z1+z2 dz=dxx.\frac{1 - z}{1 + z^2}\,dz = \frac{dx}{x}.

Lost solutions. Dividing by 1+z21−z\dfrac{1 + z^2}{1 - z} could only lose constant solutions z=z0z = z_0 at which it is zero, that is 1+z02=01 + z_0^2 = 0. There is no real z0z_0, so nothing is lost. Geometrically, no ray y=z0xy = z_0 x is a path: the direction field crosses every ray from the lighthouse at 45°.

Problem 3 · Where Is the Boat Next?

Given: the boat passes through (3,1)(\sqrt{3}, 1) holding its 45° heading, so its path is r=Ceθr = Ce^{\theta}. Find its distance from the lighthouse when the beam next points straight up, θ=π2\theta = \tfrac{\pi}{2}.

✅ Correct! C=2e−π/6C = 2e^{-\pi/6}, so r(π2)=2e−π/6eπ/2=2eπ/3r\big(\tfrac{\pi}{2}\big) = 2e^{-\pi/6}e^{\pi/2} = 2e^{\pi/3}.
❌ CC is not the starting distance. CC is the distance at θ=0\theta = 0. The boat is at r=2r = 2 when θ=π6\theta = \tfrac{\pi}{6}, so C=2e−π/6C = 2e^{-\pi/6}.
❌ The angle adds to ln⁡r\ln r, not to rr. θ=ln⁡r+c\theta = \ln r + c means turning the beam by π3\tfrac{\pi}{3} raises ln⁡r\ln r by π3\tfrac{\pi}{3}, which multiplies rr by eπ/3e^{\pi/3}.
❌ Check the sign when you solve for CC. From 2=Ceπ/62 = Ce^{\pi/6}, C=2e−π/6C = 2e^{-\pi/6}, not 2e+π/62e^{+\pi/6}.
❌ Not quite. Find rr and θ\theta at the given point, solve for CC, then evaluate at θ=π2\theta = \tfrac{\pi}{2}.
Show solution

Polar coordinates of the point. r=3+1=2r = \sqrt{3 + 1} = 2, and since x>0x > 0, θ=arctan⁡13=π6\theta = \arctan\dfrac{1}{\sqrt{3}} = \dfrac{\pi}{6}.

The constant. 2=Ceπ/62 = Ce^{\pi/6} gives C=2e−π/6C = 2e^{-\pi/6}.

Evaluate. The beam turns counterclockwise from π6\tfrac{\pi}{6} and first reaches π2\tfrac{\pi}{2} after a turn of π3\tfrac{\pi}{3}:

r=2e−π/6 eπ/2=2eπ/3≈5.70.r = 2e^{-\pi/6}\,e^{\pi/2} = 2e^{\pi/3} \approx 5.70.

Problem 4 · A Different Heading

Given: the 45° check generalizes. If the heading makes angle β\beta with the outward beam, the sideways and outward legs satisfy tan⁡β=r dθdr\tan\beta = \dfrac{r\,d\theta}{dr}. A second boat holds β=60°\beta = 60\degree. Find its path.

✅ Correct! drdθ=rtan⁡60°=r3\dfrac{dr}{d\theta} = \dfrac{r}{\tan 60\degree} = \dfrac{r}{\sqrt{3}}, so r=Ceθ/3r = Ce^{\theta/\sqrt{3}}, a spiral that opens more slowly than the 45° one.
❌ The legs are swapped. tan⁡β\tan\beta is sideways over outward, r dθdr\dfrac{r\,d\theta}{dr}, so drdθ=rcot⁡β=r3\dfrac{dr}{d\theta} = r\cot\beta = \dfrac{r}{\sqrt{3}}, not 3 r\sqrt{3}\,r.
❌ The ratio of the legs is cot⁡β\cot\beta, not cos⁡β\cos\beta. drr dθ=cot⁡60°=13\dfrac{dr}{r\,d\theta} = \cot 60\degree = \dfrac{1}{\sqrt{3}}; cos⁡60°=12\cos 60\degree = \tfrac{1}{2} would compare a leg with the hypotenuse.
❌ The angle changes the spiral. r=Ceθr = Ce^{\theta} has drdθ=r\dfrac{dr}{d\theta} = r, equal legs, which is β=45°\beta = 45\degree only.
❌ Not quite. Solve tan⁡60°=r dθdr\tan 60\degree = \dfrac{r\,d\theta}{dr} for drdθ\dfrac{dr}{d\theta} and separate.
Show solution

The polar equation. With tan⁡60°=3\tan 60\degree = \sqrt{3}:

3=r dθdr⇒drdθ=r3.\sqrt{3} = \frac{r\,d\theta}{dr} \quad\Rightarrow\quad \frac{dr}{d\theta} = \frac{r}{\sqrt{3}}.

Separate and integrate. drr=dθ3\dfrac{dr}{r} = \dfrac{d\theta}{\sqrt{3}} gives ln⁡r=θ3+c\ln r = \dfrac{\theta}{\sqrt{3}} + c, so

r=Ceθ/3,C=ec>0.r = Ce^{\theta/\sqrt{3}}, \qquad C = e^{c} > 0.

Check. At β=45°\beta = 45\degree the same steps give drdθ=r\dfrac{dr}{d\theta} = r and r=Ceθr = Ce^{\theta}. At 60°60\degree each half-turn multiplies the distance by eπ/3≈6.13e^{\pi/\sqrt{3}} \approx 6.13 instead of eπ≈23.1e^{\pi} \approx 23.1.

Solved: 0 / 4