Kim’s Math NotesCourse index

Particular Solutions by Separation and Initial Conditions

How does an initial condition pick out one particular solution?

Find a particular solution from an initial condition, choose the sign and the interval that the point picks, and write a solution as the start plus an integral.

+ C at the end

Common mistake y2=2ex, so y=2ex+C.

Correction y22=ex+C first, then the point, then solve for y.

The point picks the sign

Common mistake y2=x2+9 with y(0)=−3: y=x2+9.

Correction y(0)=−3<0: y=−x2+9.

One interval

Common mistake y=tanx with y(0)=0: all x≠π2+nπ.

Correction The interval that holds 0: −π2<x<π2.

Idea 1: + C, then the point

Last time, separating gave a whole family of solutions. Now add one clue: a single point. Which curve in that crowd is ours? One point is all it takes. One. Write plus C first, then use the point.

Take d y d x equals e to the x over y, with y of zero equals negative two.

Watch this part of the concept lesson

Read the rest of this scene

Separate: multiply by y and by d x, and y d y equals e to the x d x. Integrating gives y squared over two equals e to the x, plus C. Write that plus C now, on the same line, the moment the integral signs go away. Then plug in the point right away, while it's easy: zero for x, negative two for y. Negative two squared over two is two, and e to the zero is one.

So two equals one plus C, and C is one. Here's part of the family, one curve for each C. The pink one goes right through our point. On one 2023 AP free-response part worth four points, an answer with no constant of integration could earn at most two of the four.

Idea 2: the point picks the sign

Taking a square root brings in a plus or minus, and the starting point decides which branch is ours. Finish solving for y. Multiply by two: y squared equals two e to the x plus two. Take the square root, and algebra hands you plus or minus. A function can't be both.

The plus sign draws the top branch. The minus sign draws the bottom branch. Our point, zero, negative two, sits on the bottom one, because its y is negative. So keep only the minus: y equals negative the square root of two e to the x plus two.

Watch this part of the concept lesson

Read the rest of this scene

One point, one sign.

Absolute value: same move

Here's the same move, with an absolute value. Hot cocoa cools in a seventy degree Fahrenheit room: d T d t equals negative one half, times the quantity T minus seventy. It starts at one hundred fifty degrees. Separate: d T over the quantity T minus seventy equals negative one half, d t. Integrate, with plus C right away: the natural log of the absolute value of T minus seventy equals negative t over two, plus C.

Plug in the point: one fifty minus seventy is eighty, so C is the natural log of eighty.

Watch this part of the concept lesson

Read the rest of this scene

Raise e to both sides: the absolute value of T minus seventy is eighty e to the negative t over two. At the start, one fifty is above seventy, so T minus seventy is positive. The point picks the plus. So T equals seventy plus eighty e to the negative t over two. It starts at one fifty, and cools toward the room's seventy, never below.

Idea 3: where it lives

Next, three, the sneaky one: where the solution lives. Take d y d x equals one plus y squared, with y of zero equals zero. Divide by one plus y squared: d y over one plus y squared equals d x. That integral is arctangent: arctangent y equals x plus C. The point zero, zero gives arctangent of zero equals zero, so C is zero, and y equals tangent x.

Easy? Not so fast. Tangent x comes in many pieces. They're cut apart at negative pi over two, pi over two, and so on. Our point, zero, zero, sits on the middle piece. So the solution lives on negative pi over two to pi over two: the one unbroken piece that holds the point.

A solution has to be differentiable all the way, so it can't jump across a break.

Watch this part of the concept lesson

Read the rest of this scene

One curve, on one interval, through the given point: that's called a particular solution. The given point is the initial condition, and the whole question is an initial value problem.

Idea 4: only x? start + integral

Four. Sometimes d y d x has only x, like sine of x squared, and nobody can write its antiderivative. Say y of one is three. Then y equals three, plus the integral from one to x of sine of t squared, d t. Check the point: at x equals one, the integral from one to one is zero, so y is three. And by the Fundamental Theorem, the derivative of that integral is sine of x squared.

Starting value plus the change: that's a particular solution too.

Watch this part of the concept lesson

Example 1: a particular solution

Example one. Find the particular solution y equals f of x to the differential equation d y d x equals the quantity two x plus one, times the square root of y, with the initial condition f of zero equals four. Here we go. The plan: separate, integrate with plus C right away, plug in the point, and save solving for y for the end. Divide by the square root of y, multiply by d x. Writing root y as a power makes it easier: y to the negative one half d y equals two x plus one, d x. Integrating gives two root y equals x squared plus x, plus C, right on this line.

Plug in the point zero comma four.

Watch this part of the concept lesson

Read the rest of this scene

Two times the square root of four is four, and the right side is just C, so C equals four. Right. Next, we solve that line for y, and check it against the point. Out of the whole family, exactly one curve passes through zero comma four. Now solve for y, then plug x equals zero back in to make sure the curve lands on four. Next, divide by two: root y equals the quantity x squared plus x plus four, all over two.

Square both sides. f of x equals the quantity x squared plus x plus four over two, squared. At zero, it's two squared, or four, which matches the point. Okay. Practice this one in your workbook: plus C first, then the point.

Common mistake: + C at the end

Here's a common mistake: integrating with no constant, solving for y, and then tacking on a number at the end to force the point to fit. This answer integrates with no plus C anywhere. Then, to force the point to work, it tacks four on at the very end. Take the derivative: that curve doesn't even solve the equation. Do this instead: write plus C on the integration line, plug in the point right there to find C, and only then solve for y.

Watch this part of the concept lesson

Example 2: solution and domain

Example two. Suppose d y d x equals two x y squared, with y of zero equals one fourth. Which is the particular solution, with its domain? Three moves here: separate and integrate with plus C, use the starting value to fix C, and keep the one interval of x that contains the starting point. Separate and integrate: y to the negative two d y equals two x d x, so negative one over y equals x squared plus C. The point gives negative one over one fourth, which is negative four, and the right side is zero plus C.

So C is negative four. From negative one over y equals x squared minus four, multiply by negative one and flip both sides: y equals one over four minus x squared. The denominator is zero where four minus x squared is zero, at x equals plus or minus two. Those two breaks cut the x-axis into three pieces. The point zero, one fourth sits on the middle piece, and the solution can't jump the breaks.

So the domain is negative two to two. So, the answer is B.

Watch this part of the concept lesson

Read the rest of this scene

A takes all three pieces, but only the middle one is ours. Now, some workbook problems ask for the domain too. Each time, find the piece that holds the point.

Worked examples

Example 1

Find the particular solution y=f(x) to dydx=(2x+1)y with the initial condition f(0)=4.
Hint

+C right after you integrate, then the point.

Answer and solution

Answer f(x)=(x2+x+42)2

  1. y−1/2dy=(2x+1)dx→2y=x2+x+C
  2. (0,4):24=0+0+C→C=4
  3. f(x)=(x2+x+42)2

Example 2

dydx=2xy2, y(0)=14. The particular solution and its domain?
  1. 14−x2, x≠±2
  2. 14−x2, −2<x<2
  3. 1x2+4, all x
  4. 4−x2, all x
Hint

Find the solution, then the one interval that holds x=0.

Answer and solution

Answer B. 14−x2, −2<x<2

  1. y−2dy=2xdx→−1y=x2+C,(0,14)→C=−4
  2. y=14−x2;breaks at x=±2
  3. The interval that holds x = 0: -2 < x < 2. Answer B.

Workbook

Problem 1

Find the particular solution of dydx=xy with the initial condition y(0)=−3.
Hint

Put the point in right after you integrate. The point has y<0: which square root?

Answer and solution

Answer y=−x2+9

  1. ydy=xdx→y22=x22+C,(0,−3)→C=92
  2. y2=x2+9→y=−x2+9
  3. y(0) = -3 < 0 picks the minus square root.

Common mistake Taking the plus square root.

Watch the worked solution to Problem 1

Problem 2

Which is the solution of dydx=3yx, x>0, with y(1)=2?
  1. y=2x3
  2. y=x3+1
  3. y=e2x3
  4. y=3lnx+2
Hint

Divide by y. After you put the point in, e3lnx+ln2=e3lnx⋅eln2.

Answer and solution

Answer A. y=2x3

  1. 1ydy=3xdx→ln|y|=3lnx+C,(1,2)→C=ln2
  2. y=e3lnx+ln2=eln2e3lnx=2x3
  3. Answer A.

Common mistake Writing y = x^3 + C (the exponent split as a sum).

Watch the worked solution to Problem 2

Problem 3

Find the particular solution y=f(x) of dydx=2x+23y2 with f(1)=2.
Hint

Separate: 3y2dy=(2x+2)dx. Put (1,2) in right after you integrate.

Answer and solution

Answer y=x2+2x+53

  1. 3y2dy=(2x+2)dx→y3=x2+2x+C,8=3+C→C=5
  2. y=x2+2x+53

Common mistake Putting the point in after solving for y and losing the constant.

Watch the worked solution to Problem 3

Problem 4

Which of the following is the particular solution of dydx=y2 with y(0)=12, and its domain?
  1. y=12−x, x<2
  2. y=12−x, x≠2
  3. y=12+x, x>−2
  4. y=2−x, all x
Hint

Find where the formula breaks. Keep only the interval that holds x=0.

Answer and solution

Answer A. y=12−x, x<2

  1. −1y=x+C,(0,12)→C=−2→y=12−x;break at x=2,0<2
  2. The domain is the one interval that holds x = 0: x < 2. Answer A.

Common mistake Writing the domain as x ≠ 2 instead of one interval.

Watch the worked solution to Problem 4

Problem 5

Consider dydx=yx2 with y(1)=e.
  1. Find the particular solution.
  2. State its domain. Explain your reasoning.
Hint

After the log, raise e to both sides. For the domain: where does 1x break?

Answer and solution
  1. y=e2−1x
  2. x>0: 1x breaks at x=0, and the point has x=1>0
  1. ln|y|=−1x+C,(1,e)→1=−1+C→C=2→y=e2−1x
  2. break at x=0;x=1>0→x>0

Common mistake Forgetting that 1/x breaks at 0.

Watch the worked solution to Problem 5

Problem 6

Consider dydx=x(1+y2) with y(0)=1.
  1. Find the particular solution.
  2. Find its domain.
Hint

∫11+y2dy=arctany. The tangent breaks at ±π2.

Answer and solution
  1. y=tan(x22+π4)
  2. −π2<x<π2
  1. arctany=x22+C,(0,1)→C=π4→y=tan(x22+π4)
  2. x22+π4<π2→x2<π2→−π2<x<π2

Common mistake Not finding where the tangent breaks.

Watch the worked solution to Problem 6

Problem 7

A roast is taken out of an oven at 350∘F and placed in a room at 70∘F. Its temperature T, in degrees Fahrenheit, t minutes later satisfies dTdt=−15(T−70), with T(0)=350. Find T(t).
Hint

Keep T−70 together: divide by it. The starting point T(0)=350 also tells you that T−70>0.

Answer and solution

Answer T(t)=70+280e−t/5

  1. 1T−70dT=−15dt→ln|T−70|=−t5+C
  2. (0,350):ln280=C;350>70→T−70>0
  3. T−70=eln280e−t/5→T(t)=70+280e−t/5

Common mistake Using T = T0 e^{kt} directly, or dropping the 70.

Watch the worked solution to Problem 7

Problem 8

Let y=f(x) be the solution of the differential equation dydx=cos(x3) with the initial condition f(0)=2. Which of the following is f(x)?
  1. 2+∫0xcos(t3)dt
  2. ∫0xcos(t3)dt
  3. 2+∫2xcos(t3)dt
  4. 2+sin(x3)
Hint

Start value plus the change: the integral starts at the x of the initial condition.

Answer and solution

Answer A. 2+∫0xcos(t3)dt

  1. f(x)=f(0)+∫0xcos(t3)dt=2+∫0xcos(t3)dt
  2. x=0:2+∫00cos(t3)dt=2,f′(x)=cos(x3)
  3. Answer A. In (C) the integral starts at 2, but the initial condition is at x = 0.

Common mistake Starting the integral at 2 instead of at 0.

Watch the worked solution to Problem 8

Problem 9

A student solves dydx=2xy with y(0)=5.
Line 1: 1ydy=2xdx
Line 2: ln|y|=x2+C
Line 3: y=ex2+eC
Line 4: 5=1+eC, so eC=4 and y=ex2+4
  1. Which line has the first error? Explain your reasoning.
  2. Find the correct particular solution.
Hint

Check each line by itself. What is e to a sum?

Answer and solution
  1. Line 3: ex2+C=eC⋅ex2, not ex2+eC
  2. y=5ex2
  1. Lines 1 and 2 are correct. Line 3 is wrong: e^{x^2 + C} = e^C · e^{x^2}, a product.
  2. |y|=eCex2→y=Aex2,(0,5):5=Ae0→A=5
  3. y=5ex2

Common mistake Writing e^{x^2 + C} = e^{x^2} + e^C.

Watch the worked solution to Problem 9