AP Calculus AB and BC · Unit 7 · Topic 7.7

    7.7 Finding Particular Solutions Using Initial Conditions and Separation of Variables

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    In short

    A particular solution is the one curve in the family that passes through a given point. Separate and integrate as before, substitute the initial condition immediately to find CC, then solve for yy. Choose the sign or branch that matches the initial condition, and state the domain if the solution breaks down somewhere.

    What you need to know

    • Find a particular solution of a separable differential equation.
    • Use the initial condition to determine the constant.
    • Choose the correct branch, such as a sign of a square root.
    • State a domain on which the particular solution is valid.

    A full worked example

    Solve dydx=2x(1+y)\frac{dy}{dx} = 2x(1 + y) with y(0)=1y(0) = 1.

    • Separate: 11+y dy=2x dx\frac{1}{1 + y}\,dy = 2x\,dx.
    • Integrate: ln⁡∣1+y∣=x2+C\ln|1 + y| = x^2 + C.
    • Use y(0)=1y(0) = 1: ln⁡2=0+C\ln 2 = 0 + C, so C=ln⁡2C = \ln 2.
    • Solve: ∣1+y∣=ex2+ln⁡2=2ex2|1 + y| = e^{x^2 + \ln 2} = 2e^{x^2}. Since 1+y=2>01 + y = 2 > 0 at the start, 1+y=2ex21 + y = 2e^{x^2}, so y=2ex2−1y = 2e^{x^2} - 1.

    Check: y(0)=2−1=1y(0) = 2 - 1 = 1, and dydx=4xex2=2x(2ex2)=2x(1+y)\frac{dy}{dx} = 4xe^{x^2} = 2x(2e^{x^2}) = 2x(1 + y). Both conditions hold.

    Choosing the right branch

    For dydx=xy\frac{dy}{dx} = \frac{x}{y} with y(0)=−2y(0) = -2: y2=x2+Cy^2 = x^2 + C, and 4=0+C4 = 0 + C, so y2=x2+4y^2 = x^2 + 4. Both ±x2+4\pm\sqrt{x^2 + 4} satisfy this, but only the negative one passes through (0,−2)(0, -2). The particular solution is y=−x2+4y = -\sqrt{x^2 + 4}.

    For dydx=xy\frac{dy}{dx} = xy with y(0)=3y(0) = 3, the general solution y=Aex2/2y = Ae^{x^2/2} gives A=3A = 3, so y=3ex2/2y = 3e^{x^2/2}.

    Domain of a particular solution

    Solve dydx=y2\frac{dy}{dx} = y^2 with y(0)=1y(0) = 1: −1y=x+C-\frac{1}{y} = x + C, and −1=C-1 = C, so y=11−xy = \frac{1}{1 - x}. This formula is undefined at x=1x = 1, so the particular solution is valid on x<1x < 1, the interval containing the initial point. The solution 'blows up' as xx approaches 1.

    In context

    Particular solutions are what models produce: the temperature of a specific cup of coffee, the population of a specific colony. The initial condition is the measurement you start with. Once you have the formula, you can predict values at any time, find when a level is reached, or describe the long-run behaviour, as topic 7.8 shows for exponential models.

    A typical free-response question asks first for a tangent-line estimate or a slope field sketch, then for the particular solution, and finally for a value or limit from it. The particular solution part is usually worth five points, so it is worth setting out with care: separation on one line, the two antiderivatives on the next, the constant found from the initial condition, and the solution for yy at the end. Each line is a step a grader can credit independently.

    Finally, always substitute your answer back. If y(x0)y(x_0) does not equal the given value, or the derivative does not match the equation, the error is almost always in the constant or the absolute value step.

    Key terms

    Particular solution
    The solution satisfying a given initial condition.
    Initial condition
    A point (x₀, y₀) the solution must pass through.
    Branch
    One of several algebraic solutions, chosen to match the initial condition.
    Interval of validity
    The interval containing the initial point on which the solution is defined.

    Common mistakes

    • Solving for y with C still general, then making errors with exponentials.

      Substitute the initial condition straight after integrating.

    • Keeping ± in a square-root answer.

      Choose the sign that matches the initial value.

    • Ignoring where the solution is undefined.

      State the interval containing the initial point.

    How this topic is tested

    • Write separation, integration, constant and solution as separate lines.
    • Check the solution satisfies the initial condition.
    • Give the domain if the formula has a break.

    Practice questions

    Original AP-style multiple-choice questions. Pick an answer to see the explanation.

    1. Question 1 · MP 1 · Implementing Mathematical Processes

      What is the particular solution of dydx=xy\frac{dy}{dx} = xy with y(0)=3y(0) = 3?

    2. Question 2 · MP 3 · Justification

      For dydx=xy\frac{dy}{dx} = \frac{x}{y}, y(0)=−2y(0) = -2, which is the particular solution?

    3. Question 3 · MP 1 · Implementing Mathematical Processes

      What is the particular solution of dydx=y2\frac{dy}{dx} = y^2, y(0)=1y(0) = 1?

    4. Question 4 · MP 3 · Justification

      On what interval is y=11−xy = \frac{1}{1 - x} the solution through (0,1)(0, 1)?

    5. Question 5 · MP 1 · Implementing Mathematical Processes

      Solving dydx=2x(1+y)\frac{dy}{dx} = 2x(1 + y), y(0)=1y(0) = 1, which value of CC appears in ln⁡∣1+y∣=x2+C\ln|1 + y| = x^2 + C?

    Free-response practice

    Write your answer first, then mark it against the scoring guide.

    Free response (no calculator) · 5 points

    Find the particular solution y=f(x)y = f(x) of dydx=(y−1)cos⁡x\frac{dy}{dx} = (y - 1)\cos x with f(0)=3f(0) = 3.

    1. (a) Separate the variables and integrate.
    2. (b) Use the initial condition and solve for y.

    Connected topics

    Frequently asked questions

    Is it OK to find C at the end?

    It can work, but substituting straight after integrating is safer and simpler.

    Why does the absolute value disappear?

    The initial condition tells you the sign of the expression, so you can drop the bars correctly.

    Must I state the domain?

    When the formula is undefined somewhere, yes; otherwise it is all real numbers.

    How this shows up on the exam42 multiple-choice and 6 free-response questions, with and without a calculator. See how the exam is laid out.

    Free Unit 7 cheat sheet

    Every topic in Unit 7: Differential Equations on a few printable pages: the core idea, key terms, the two traps students fall into and what the exam asks.

    We'll use your email to tell you when new AP Calculus AB practice material is ready. No spam, and we'll delete it if you ask.

    Full-length AP Calculus AB practice examsUnit 7 is one of 8 units on the exam. Two timed exams in the 2027 format (42 MCQ + 6 FRQ, with calculator and no-calculator parts), worked explanations, scoring guides and an estimated 1–5 score. $14.99 · try 5 questions free.

    Related lessons in other AP courses

    All topics in Unit 7: Differential Equations

    1. 7.1 Modeling Situations with Differential Equations
    2. 7.2 Verifying Solutions for Differential Equations
    3. 7.3 Sketching Slope Fields
    4. 7.4 Reasoning Using Slope Fields
    5. 7.6 Finding General Solutions Using Separation of Variables
    6. 7.7 Finding Particular Solutions Using Initial Conditions and Separation of Variables
    7. 7.8 Exponential Models with Differential Equations

    Other units in AP Calculus AB

    AP® is a trademark registered by College Board, which is not affiliated with, and does not endorse, this website.