Unit 7 · Topic 7.7 Beta

Particular Solutions from Initial Conditions

A particular solution satisfies the differential equation and an initial condition.

Practice 1: Implementing Mathematical ProcessesPractice 3: Justification

Question set for this topic

Part 1 · Hook

Why this matters

Separation of variables gives a family of curves, one for each constant. A real problem wants one curve: the temperature of this coffee, which was 90 °C at noon. That one fact, an initial condition, picks out a single member of the family. Use it the moment the constant appears, and watch the domain: some solutions shoot off to infinity and simply stop.

Part 2 · Before you start

What this builds on

Part 3 · Prerequisite check

Quick check before you start

1. The general solution of dydx=xy\frac{dy}{dx} = xy is

  1. y=Aex2/2y = Ae^{x^2/2}
  2. y=ex2/2+Cy = e^{x^2/2} + C
  3. y=x22+Cy = \frac{x^2}{2} + C
  4. y=Aexy = Ae^{x}
Show the answer

ln⁡|y|=x22+C\ln|y| = \frac{x^2}{2} + C, so y=Aex2/2y = Ae^{x^2/2}.

  • Correct: y=Aex2/2y = Ae^{x^2/2}:
  • y=ex2/2+Cy = e^{x^2/2} + C:
  • y=x22+Cy = \frac{x^2}{2} + C:
  • y=Aexy = Ae^{x}:

2. ∫3x2dx=\int 3x^2\,dx =

  1. x3+Cx^3 + C
  2. 6x+C6x + C
  3. x3x^3
  4. 3x3+C3x^3 + C
Show the answer

Raise the power by one and divide by the new power; add C.

  • Correct: x3+Cx^3 + C:
  • 6x+C6x + C:
  • x3x^3:
  • 3x3+C3x^3 + C:

Part 4 · See it

See it first

The slope field of dy/dx = y² with the curve y = 1/(1 − x). The crimson branch through the closed point (0, 1) rises without bound as x approaches the dashed vertical asymptote x = 1; it is the solution, with domain x < 1. The gray dashed branch for x > 1, below the x-axis, also fits the equation but is not connected to (0, 1), so it is not part of this solution.
dydx=y2\frac{dy}{dx} = y^2 with y(0)=1y(0) = 1 gives y=11−xy = \frac{1}{1 - x}. The particular solution is the crimson branch, on x<1x < 1; the other branch is not connected to (0,1)(0, 1). LevlPrep original diagram.

Part 5 · Step by step

How it works, step by step

  1. Separate and integratean equation with one constant CC
  2. Substitute the initial condition right awaya number for CC, before any rearranging
  3. Solve for yy, choosing the sign or branch that passes through the given pointone function, the particular solution
  4. The formula breaks somewhere (division by 0, a negative under a root, a log of 0)the domain is the largest open interval around the initial x where the solution is defined and differentiable

Part 6 · Key ideas

Key ideas

  • An initial condition y(x0)=y0y(x_0) = y_0 says the solution passes through (x0,y0)(x_0, y_0). Put x0x_0 in for xx and y0y_0 in for yy.
  • Use it as soon as CC appears. Solving for yy first invites algebra slips and wrong constants.
  • After a square root, keep the sign that matches y0y_0: y(1)=−3y(1) = -3 needs the negative root.
  • State the domain: an open interval containing x0x_0 on which the formula is defined and its derivative exists.

Part 7 · Misconception

A common mistake

The wrong idea: From ln⁡|y|=sin⁡x+C\ln|y| = \sin x + C: y=esin⁡x+Cy = e^{\sin x} + C, and y(0)=2y(0) = 2 gives C=1C = 1, so y=esin⁡x+1y = e^{\sin x} + 1.

What actually happens: Exponentiating gives y=Aesin⁡xy = Ae^{\sin x}, not esin⁡x+Ce^{\sin x} + C. Better, use the condition first: ln⁡2=sin⁡0+C\ln 2 = \sin 0 + C, so C=ln⁡2C = \ln 2 and yy=esin⁡x+ln⁡2= e^{\sin x + \ln 2}=2esin⁡x= 2e^{\sin x}.

Part 8 · Check yourself

Check yourself

Exam-style questions. Anything you miss goes into your review queue.

Table

A student solves an initial value problem

A student's four steps for dydx=2xy\frac{dy}{dx} = \frac{2x}{y} with y(1)=−3y(1) = -3
Step1234
Workydy=2xdxy\,dy = 2x\,dxy22=x2+C\frac{y^2}{2} = x^2 + C92=1+C\frac{9}{2} = 1 + C, so C=72C = \frac{7}{2}y=2x2+7y = \sqrt{2x^2 + 7}

1. Which step contains an error?

  1. Step 4: since y(1)=−3y(1) = -3, the root must be negative.
  2. Step 3: (−3)2(-3)^2 should be −9-9.
  3. Step 2: the constant belongs on the left side.
  4. Step 1: yy should be in the denominator.
Show the answer

y2=2x2+7y^2 = 2x^2 + 7 has two roots. The initial condition y(1)=−3y(1) = -3 picks the negative one: y=−2x2+7y = -\sqrt{2x^2 + 7}.

  • Correct: Step 4: since y(1)=−3y(1) = -3, the root must be negative.: y=2x2+7y = \sqrt{2x^2 + 7} gives y(1)=3y(1) = 3, not −3-3.
  • Step 3: (−3)2(-3)^2 should be −9-9.: (−3)2=9(-3)^2 = 9; step 3 is right.
  • Step 2: the constant belongs on the left side.: One constant on either side is fine.
  • Step 1: yy should be in the denominator.: Multiplying by ydxy\,dx gives ydy=2xdxy\,dy = 2x\,dx; step 1 is right.

2. Write the correct particular solution for dydx=2xy\frac{dy}{dx} = \frac{2x}{y} with y(1)=−3y(1) = -3.

Type an expression for y=y =.

Show the answer

y22=x2+72\frac{y^2}{2} = x^2 + \frac{7}{2}, so y2=2x2+7y^2 = 2x^2 + 7 and, since y(1)<0y(1) < 0, y=−2x2+7y = -\sqrt{2x^2 + 7}.

  • Answer: y=y = −2x2+7-\sqrt{2x^{2} + 7}

3. What is the domain of the particular solution y=−2x2+7y = -\sqrt{2x^2 + 7}?

  1. x≥1x \ge 1
  2. All real numbers
  3. x>−72x > -\frac{7}{2}
  4. |x|≤72|x| \le \sqrt{\frac{7}{2}}
Show the answer

2x2+72x^2 + 7 is never below 7, so yy is defined and never 0, and dydx=2xy\frac{dy}{dx} = \frac{2x}{y} exists for every real xx.

  • x≥1x \ge 1: The initial point is inside the domain; the domain is not cut off there.
  • Correct: All real numbers: 2x2+7≥7>02x^2 + 7 \ge 7 > 0, so the root is defined and y≠0y \ne 0 for every xx.
  • x>−72x > -\frac{7}{2}: 2x2+72x^2 + 7 is positive for every xx, so nothing is cut off.
  • |x|≤72|x| \le \sqrt{\frac{7}{2}}: That would need 7−2x2≥07 - 2x^2 \ge 0; here the sign is ++.

4. When is the best moment to use the initial condition in separation of variables?

  1. Before integrating, to choose which antiderivative to use.
  2. At the end, after solving for yy and then adding CC.
  3. It is not needed for a separable equation.
  4. As soon as CC appears: substitute the point, find CC, then solve for yy.
Show the answer

Substituting right after integrating finds CC in the simplest form and avoids sign and algebra slips.

  • Before integrating, to choose which antiderivative to use.: You cannot find C before it exists.
  • At the end, after solving for yy and then adding CC.: A CC added after solving gives the wrong family.
  • It is not needed for a separable equation.: Without it you have a family, not one solution.
  • Correct: As soon as CC appears: substitute the point, find CC, then solve for yy.: CC is found in the simplest equation, before rearranging.

5. Find the particular solution of dydx=ycos⁡x\frac{dy}{dx} = y\cos x with y(0)=2y(0) = 2.

Type an expression for y=y =.

Show the answer

ln⁡|y|=sin⁡x+C\ln|y| = \sin x + C; at (0,2)(0, 2), C=ln⁡2C = \ln 2. So yy=esin⁡x+ln⁡2= e^{\sin x + \ln 2}=2esin⁡x= 2e^{\sin x}.

  • Answer: y=y = 2esin⁡(x)2e^{\sin(x)}

6. The particular solution of dydx=−xy\frac{dy}{dx} = -\frac{x}{y} with y(0)=3y(0) = 3 is y=9−x2y = \sqrt{9 - x^2}. What is its domain?

  1. −3<x<3-3 < x < 3
  2. −3≤x≤3-3 \le x \le 3
  3. x≥0x \ge 0
  4. (−∞,∞)(-\infty, \infty)
Show the answer

9−x2>09 - x^2 > 0 and y≠0y \ne 0 require −3<x<3-3 < x < 3, an open interval containing x=0x = 0.

  • Correct: −3<x<3-3 < x < 3: At x=±3x = \pm 3, y=0y = 0 and −xy-\frac{x}{y} is undefined, so the endpoints are out.
  • −3≤x≤3-3 \le x \le 3: At x=±3x = \pm 3, y=0y = 0 and the differential equation divides by 0.
  • x≥0x \ge 0: The solution is defined for negative xx too, back to −3-3.
  • (−∞,∞)(-\infty, \infty): For |x|>3|x| > 3 the root is not real.

Part 9 · Summary

Summary

A particular solution satisfies the differential equation and an initial condition. Separate, integrate, add CC, substitute the initial point immediately, then solve for yy with the sign that fits. Give its domain: the open interval around the initial xx where it is defined and differentiable.

Part 10 · Up next

What comes next

Part 11 · Connections

Connections