Chalk−1

Math · Calculus II · Worked example

Find an implicit solution of dy/dx = −x/y

Solve d⁢y⁢/⁢d⁢x=−x⁢/⁢y with y⁢(0)=4, and give the interval on which the solution is valid.

d⁢yd⁢x=−xy,y⁢(0)=4

Try one — Chalk checks each line

Write down the condition

The equation gives the slope at every point, and the condition says the solution passes through (0,4). In a Math box the condition goes on its own row, under the equation.

y⁢(0)=4

Separate

The right side is −x times 1⁢/⁢y, so the equation is separable. Multiply both sides by y d⁢x, which is allowed where y≠0.

yd⁢y=−xd⁢x

Integrate

∫y d⁢y=y2/2 and ∫−x d⁢x=−x2/2. One constant goes on the right.

y22=−x22+C

Find C

Put x=0 and y=4 into the integrated equation. Then 16⁢/2=0+C, so C=8.

C=022+422=8

Write the implicit solution

Multiplying y2/2=−x2/2+8 by 2 gives x2+y2=16, a circle of radius 4 centered at the origin. A relation like this, not yet solved for y, is called an implicit solution.

x2+y2=16

Solve for y

Solving gives y=±16−x2. The condition y⁢(0)=4 is positive, so the solution is the upper half of the circle.

y=16−x2

Find the interval of validity

The equation divides by y, so the solution cannot reach y=0. On the upper half of the circle that happens at x=±4, where the tangent is vertical and the slope −x⁢/⁢y is undefined. The solution is valid on −4<x<4.

Check

The derivative of 16−x2 is −x⁢/16−x2, which is −x⁢/⁢y, and y⁢(0)=16=4.

y⁢(x)=16−x2y⁢(0)=4

Result

x2+y2=16, with the explicit solution y=16−x2 valid on −4<x<4.

y=16−x2,−4<x<4

Your turn

1. One like the example

Solve d⁢y⁢/⁢d⁢x=x⁢/⁢y with y⁢(0)=3.

Show the answer and explanation

y2−x2=9, so y=x2+9 for every x.

Separating gives y d⁢y=x d⁢x, and integrating gives y2/2=x2/2+C. At (0,3), C=9⁢/2, so y2=x2+9. The condition is positive, so y=x2+9. Because x2+9 is never 0, the solution is valid for all x.

d⁢yd⁢x=xyy⁢(0)=3yd⁢y=xd⁢xy22=x22+Cy2=x2+9y=x2+9

2. A variation

Solve d⁢y⁢/⁢d⁢x=−4⁢x⁢/⁢y with y⁢(0)=2. What curve is the solution on, and where is it valid?

Show the answer and explanation

4x2+y2=4, an ellipse, so y=21−x2 on −1<x<1.

Separating gives y d⁢y=−4⁢x d⁢x, and integrating gives y2/2=−2x2+C. At (0,2), C=2, so y2+4x2=4, an ellipse. The upper half is y=21−x2. It reaches y=0 at x=±1, so it is valid on −1<x<1.

d⁢yd⁢x=−4⁢xyy⁢(0)=2yd⁢y=−4⁢xd⁢xy22=−2x2+CC=2y2+4x2=4y=21−x2

3. Somewhere new

Solve d⁢y⁢/⁢d⁢x=y2 with y⁢(0)=1. The right side is defined everywhere, so where does the solution stop?

Show the answer and explanation

y=1⁢/⁢(1−x), valid for x<1. It grows without bound as x approaches 1.

Separating gives d⁢y⁢/y2=d⁢x, and integrating gives −1⁢/⁢y=x+C. At (0,1), C=−1, so −1⁢/⁢y=x−1 and y=1⁢/⁢(1−x). The solution blows up at x=1, so the interval that contains the starting point is x<1, even though the equation itself is defined everywhere.

d⁢yd⁢x=y2y⁢(0)=1d⁢yy2=d⁢x−1y=x+CC=−1y=11−x

Keep exploring

Check the derivative in Math: 16−x2 has derivative −x⁢/16−x2 for −4<x<4.

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

Solve it step by step in Math Check the derivative in Math Graph the solution Study the 6 key terms Open worked example on a board Integral of 1⁢/⁢x in Math Reference

Your existing work stays on this device. Examples open as editable copies.