AP Course

AP Calculus AB/BC

Study the complete College Board sequence for AP Calculus AB and BC, from limits through infinite series.

Choose an official unit and topic to open its lecture, concept check, or focused practice.

Lessons
1.1 Introducing Calculus: Can Change Occur at an Instant?1.2 Defining Limits and Using Limit Notation1.3 Estimating Limit Values from Graphs1.4 Estimating Limit Values from Tables1.5 Determining Limits Using Algebraic Properties of Limits1.6 Determining Limits Using Algebraic Manipulation1.7 Selecting Procedures for Determining Limits1.8 Determining Limits Using the Squeeze Theorem1.9 Connecting Multiple Representations of Limits1.10 Exploring Types of Discontinuities1.11 Defining Continuity at a Point1.12 Confirming Continuity over an Interval1.13 Removing Discontinuities1.14 Connecting Infinite Limits and Vertical Asymptotes1.15 Connecting Limits at Infinity and Horizontal Asymptotes1.16 Working with the Intermediate Value Theorem (IVT)2.1 Defining Average and Instantaneous Rates of Change at a Point2.2 Defining the Derivative of a Function and Using Derivative Notation2.3 Estimating Derivatives of a Function at a Point2.4 Connecting Differentiability and Continuity: Determining When Derivatives Do and Do Not Exist2.5 Applying the Power Rule2.6 Derivative Rules: Constant, Sum, Difference, and Constant Multiple2.7 Derivatives of cos x, sin x, e^x, and ln x2.8 The Product Rule2.9 The Quotient Rule2.10 Finding the Derivatives of Tangent, Cotangent, Secant, and/or Cosecant Functions3.1 The Chain Rule3.2 Implicit Differentiation3.3 Differentiating Inverse Functions3.4 Differentiating Inverse Trigonometric Functions3.5 Selecting Procedures for Calculating Derivatives3.6 Calculating Higher-Order Derivatives4.1 Interpreting the Meaning of the Derivative in Context4.2 Straight-Line Motion: Connecting Position, Velocity, and Acceleration4.3 Rates of Change in Applied Contexts Other Than Motion4.4 Introduction to Related Rates4.5 Solving Related Rates Problems4.6 Approximating Values of a Function Using Local Linearity and Linearization4.7 Using L’Hospital’s Rule for Determining Limits of Indeterminate Forms5.1 Using the Mean Value Theorem5.2 Extreme Value Theorem, Global Versus Local Extrema, and Critical Points5.3 Determining Intervals on Which a Function Is Increasing or Decreasing5.4 Using the First Derivative Test to Determine Relative (Local) Extrema5.5 Using the Candidates Test to Determine Absolute (Global) Extrema5.6 Determining Concavity of Functions over Their Domains5.7 Using the Second Derivative Test to Determine Extrema5.8 Sketching Graphs of Functions and Their Derivatives5.9 Connecting a Function, Its First Derivative, and Its Second Derivative5.10 Introduction to Optimization Problems5.11 Solving Optimization Problems5.12 Exploring Behaviors of Implicit Relations6.1 Exploring Accumulations of Change6.2 Approximating Areas with Riemann Sums6.3 Riemann Sums, Summation Notation, and Definite Integral Notation6.4 The Fundamental Theorem of Calculus and Accumulation Functions6.5 Interpreting the Behavior of Accumulation Functions Involving Area6.6 Applying Properties of Definite Integrals6.7 The Fundamental Theorem of Calculus and Definite Integrals6.8 Finding Antiderivatives and Indefinite Integrals: Basic Rules and Notation6.9 Integrating Using Substitution6.10 Integrating Functions Using Long Division and Completing the Square6.11 Integrating Using Integration by Parts6.12 Using Linear Partial Fractions6.13 Evaluating Improper Integrals6.14 Selecting Techniques for Antidifferentiation7.1 Modeling Situations with Differential Equations7.2 Verifying Solutions for Differential Equations7.3 Sketching Slope Fields7.4 Reasoning Using Slope Fields7.5 Approximating Solutions Using Euler’s Method7.6 Finding General Solutions Using Separation of Variables7.7 Finding Particular Solutions Using Initial Conditions and Separation of Variables7.8 Exponential Models with Differential Equations7.9 Logistic Models with Differential Equations8.1 Finding the Average Value of a Function on an Interval8.2 Connecting Position, Velocity, and Acceleration of Functions Using Integrals8.3 Using Accumulation Functions and Definite Integrals in Applied Contexts8.4 Finding the Area Between Curves Expressed as Functions of x8.5 Finding the Area Between Curves Expressed as Functions of y8.6 Finding the Area Between Curves That Intersect at More Than Two Points8.7 Volumes with Cross Sections: Squares and Rectangles8.8 Volumes with Cross Sections: Triangles and Semicircles8.9 Volume with Disc Method: Revolving Around the x- or y-Axis8.10 Volume with Disc Method: Revolving Around Other Axes8.11 Volume with Washer Method: Revolving Around the x- or y-Axis8.12 Volume with Washer Method: Revolving Around Other Axes8.13 The Arc Length of a Smooth, Planar Curve and Distance Traveled9.1 Defining and Differentiating Parametric Equations9.2 Second Derivatives of Parametric Equations9.3 Finding Arc Lengths of Curves Given by Parametric Equations9.4 Defining and Differentiating Vector-Valued Functions9.5 Integrating Vector-Valued Functions9.6 Solving Motion Problems Using Parametric and Vector-Valued Functions9.7 Defining Polar Coordinates and Differentiating in Polar Form9.8 Find the Area of a Polar Region or the Area Bounded by a Single Polar Curve9.9 Finding the Area of the Region Bounded by Two Polar Curves10.1 Defining Convergent and Divergent Infinite Series10.2 Working with Geometric Series10.3 The nth Term Test for Divergence10.4 Integral Test for Convergence10.5 Harmonic Series and p-Series10.6 Comparison Tests for Convergence10.7 Alternating Series Test for Convergence10.8 Ratio Test for Convergence10.9 Determining Absolute or Conditional Convergence10.10 Alternating Series Error Bound10.11 Finding Taylor Polynomial Approximations of Functions10.12 Lagrange Error Bound10.13 Radius and Interval of Convergence of Power Series10.14 Finding Taylor or Maclaurin Series for a Function10.15 Representing Functions as Power Series
Quizzes
Practice Problems AP formula notes, graph references, and practice sets will be added here.

AP Calculus AB/BC · Unit 7 · Topic 7.6

Finding General Solutions Using Separation of Variables

Separate x- and y-factors, integrate both sides, and include a constant.

1. Topic Focus

Model rates with differential equations, read slope fields, approximate solutions, solve separable equations, and interpret exponential or logistic models.

This topic: Separate x- and y-factors, integrate both sides, and include a constant.

2. Key Relationship

\(\frac{1}{g(y)}dy=f(x)dx\)

Read every symbol with its domain, direction, units, and hypotheses before applying the relationship.

3. Visual Connection

splity and xintegrate+ Cinitialbranch
Separation workflowPreserve equilibrium solutions, integrate both variables, and let the initial value determine the constant and branch.

4. Worked Example

For y′=xy, integrate dy/y=x dx to obtain y=Ce^(x²/2).

Write the governing relationship first, carry out the algebra cleanly, and finish with a sentence that answers the mathematical question.

5. Concept Development

A first-order differential equation is separable when algebra can express it as a product of a function of \(x\) and a function of \(y\):

\(\frac{dy}{dx}=f(x)g(y).\)

On a region where \(g(y)\ne0\), move the \(y\)-expression with \(dy\) and the \(x\)-expression with \(dx\), then antidifferentiate:

\(\frac{1}{g(y)}\,dy=f(x)\,dx\quad\Longrightarrow\quad \int\frac{1}{g(y)}\,dy=\int f(x)\,dx.\)

The resulting one-parameter family is a general solution. Topic 7.6 stops before an initial condition selects one particular member; that step is developed in Topic 7.7.

Recognizing a separable equation

EquationDecisionUseful rewrite
\(y'=x(y+1)\)separable\(dy/(y+1)=x\,dx\)
\(y'=6x^2+4x\)separabletake \(g(y)=1\)
\(y'=xy+3x-2y-6\)separable after factoring\(y'=(x-2)(y+3)\)
\(y'=x+y\)not separable by ordinary factoringthe sum cannot become \(f(x)g(y)\)

Always simplify and factor before deciding. An autonomous equation \(y'=g(y)\) is separable with \(f(x)=1\), and an equation \(y'=f(x)\) is separable with \(g(y)=1\).

The complete separation workflow

  1. Factor and classify. Put the equation in the form \(y'=f(x)g(y)\).
  2. Preserve equilibrium solutions. Solve \(g(y)=0\) before dividing by \(g(y)\).
  3. Separate variables. Write all \(y\)-factors with \(dy\) and all \(x\)-factors with \(dx\).
  4. Integrate both sides. Use one arbitrary constant, usually on the right.
  5. Simplify the constant. Absorb nonzero multipliers and signs into a renamed arbitrary constant.
  6. Solve for \(y\) when practical. An implicit relation is acceptable when isolation is difficult or creates unnecessary branches.
  7. Restore omitted solutions and state restrictions. Include equilibria lost during division and note singularities or branch intervals.
  8. Verify. Differentiate the final family and substitute it into the original equation.

Why equilibrium solutions can disappear

Dividing by \(g(y)\) assumes \(g(y)\ne0\). If \(g(c)=0\), then the constant function \(y=c\) may solve the original equation but is excluded from the separated algebra. Record these values first. Sometimes the explicit family later includes an equilibrium through \(C=0\); sometimes it does not, so each equilibrium must be listed separately.

Managing logarithms and constants

Keep absolute values when integrating \(1/u\):

\(\int\frac{du}{u}=\ln|u|+C.\)

If \(\ln|u|=H(x)+C\), exponentiation gives \(|u|=e^Ce^{H(x)}\). The positive factor \(e^C\) and the possible sign combine into one nonzero constant \(K\), so \(u=Ke^{H(x)}\). If \(K=0\) also produces a valid solution of the original equation, it can be admitted afterward.

There is no need to write \(C_1\) on one side and \(C_2\) on the other: their difference is another arbitrary constant.

Explicit and implicit general solutions

An explicit family has the form \(y=G(x,C)\). An implicit family such as \(y^2-x^2=C\) is also a valid general solution when differentiation recovers the differential equation. Solving an implicit relation may create separate branches, and each branch must be restricted to intervals where it is differentiable and the original equation is defined.

Domain and interval checks

Separation can introduce logarithms, roots, inverse trigonometric functions, or denominators. Final solutions are valid only on intervals that avoid forbidden inputs and singularities. For example, a family containing \(1/(C+\cos x)\) must be restricted to intervals where its denominator is nonzero.

AP writing habit: Show the separated differential form and the antiderivatives before presenting the general solution. List lost equilibria explicitly rather than relying on the reader to infer them.

6. Detailed Worked Example and Error Check

Example 1: Exponential-type family

Solve \(y'=2xy\). First, \(y=0\) is an equilibrium. For \(y\ne0\),

\(\frac{dy}{y}=2x\,dx\quad\Longrightarrow\quad\ln|y|=x^2+C.\)

Exponentiating and absorbing the sign gives

\(y=Ce^{x^2}.\)

Allowing \(C=0\) includes the equilibrium, so this one family gives all solutions on real intervals.

Example 2: Factor before separating

Consider \(y'=xy+3x-2y-6\). Factor by grouping:

\(xy+3x-2y-6=(x-2)(y+3).\)

The equilibrium is \(y=-3\). For other solutions,

\(\frac{dy}{y+3}=(x-2)\,dx\Rightarrow\ln|y+3|=\frac{x^2}{2}-2x+C.\)

Thus

\(y=-3+Ce^{x^2/2-2x}.\)

The choice \(C=0\) restores the equilibrium.

Example 3: An implicit family with branches

For \(y'=x/y\), the differential equation is undefined when \(y=0\). Separate without dividing by a possible solution:

\(y\,dy=x\,dx\Rightarrow\frac{y^2}{2}=\frac{x^2}{2}+C\Rightarrow y^2-x^2=C.\)

This implicit family may be written \(y=\pm\sqrt{x^2+C}\) on intervals where the chosen branch is real, nonzero, and differentiable. The two signs are different branches, not one function switching signs freely.

Example 4: Inverse tangent appears

Solve \(y'=x(1+y^2)\). Since \(1+y^2\) never vanishes, there are no equilibrium solutions.

\(\frac{dy}{1+y^2}=x\,dx\Rightarrow\arctan y=\frac{x^2}{2}+C.\)

Therefore

\(y=\tan\left(\frac{x^2}{2}+C\right),\)

on intervals that avoid the vertical asymptotes of the tangent expression.

Example 5: Exponential expressions on both variables

For \(y'=e^{x-y}=e^xe^{-y}\), multiply by \(e^y\):

\(e^y\,dy=e^x\,dx\Rightarrow e^y=e^x+C.\)

An explicit form is

\(y=\ln(e^x+C),\)

valid on any interval where \(e^x+C>0\).

Example 6: A logistic-type equation

For \(y'=y(1-y)\), the equilibria \(y=0\) and \(y=1\) must be recorded first. For \(y\ne0,1\), partial fractions give

\(\int\frac{dy}{y(1-y)}=\int dx\Rightarrow\ln|y|-\ln|1-y|=x+C.\)

After exponentiating and solving,

\(y=\frac{Ce^x}{1+Ce^x}.\)

The choice \(C=0\) includes \(y=0\), but no finite \(C\) produces \(y=1\), so \(y=1\) must be listed separately. Also exclude inputs where \(1+Ce^x=0\).

Example 7: Leaving the answer implicit

For \(\sin y\,y'=x\), write

\(\sin y\,dy=x\,dx\Rightarrow-\cos y=\frac{x^2}{2}+C.\)

This implicit relation is a complete general-solution form. Solving with an inverse cosine would require multiple branches and additional interval restrictions without improving the answer.

Example 8: A rational power

Solve \(y'=y^2\sin x\). The equilibrium \(y=0\) is set aside. For \(y\ne0\),

\(y^{-2}\,dy=\sin x\,dx\Rightarrow-\frac1y=-\cos x+C.\)

Renaming the constant yields

\(y=\frac{1}{C+\cos x},\)

together with \(y=0\). Each nonzero solution is restricted to intervals where \(C+\cos x\ne0\).

Common separation errors

  • Declaring an equation separable before simplifying or factoring it.
  • Dividing by a \(y\)-factor without recording its zeros as possible equilibria.
  • Writing \(dy/g(y)=f(x)\) and omitting \(dx\).
  • Forgetting the absolute value in a logarithmic antiderivative.
  • Keeping two independent integration constants instead of combining them.
  • Forcing an implicit relation into an invalid single explicit branch.
  • Ignoring denominator, radical, logarithm, or tangent restrictions.

7. AP Reasoning Routine

Translate the context into a rate equation, verify candidate solutions by substitution, carry constants through integration, and apply initial conditions last.

  • Identify the representation and requested quantity.
  • State the rule or theorem and verify its conditions.
  • Keep exact values until the final requested approximation.
  • Interpret sign, units, interval, and context.
AP Checkpoint

Find each general solution. Include equilibrium solutions and interval restrictions when needed.
(a) Decide whether \(y'=x(y-1)\) and \(y'=x+y\) are separable.
(b) \(y'=3xy\).
(c) \(y'=(x+1)(y-2)\).
(d) \(y'=x/y\).
(e) \(y'=x(1+y^2)\).
(f) \(y'=e^{x-y}\).
(g) \(y'=2x/(y+1)\).
(h) \(y'=y/x\).
(i) \(y'=y^2\sin x\).
(j) Factor and solve \(y'=xy+2x-y-2\).

Check the solution

(a) \(y'=x(y-1)\) is separable: \(dy/(y-1)=x\,dx\). The equation \(y'=x+y\) is not separable by writing its right side as \(f(x)g(y)\).
(b) Record \(y=0\). For \(y\ne0\), \(dy/y=3x\,dx\), so \(y=Ce^{3x^2/2}\). Allowing \(C=0\) includes the equilibrium.
(c) The equilibrium is \(y=2\). Integration gives \(\ln|y-2|=x^2/2+x+C\), hence \(y=2+Ce^{x^2/2+x}\); \(C=0\) includes the equilibrium.
(d) \(y\,dy=x\,dx\), so \(y^2-x^2=C\). Explicit branches are \(y=\pm\sqrt{x^2+C}\) on intervals where they are real, nonzero, and differentiable.
(e) \(dy/(1+y^2)=x\,dx\), giving \(\arctan y=x^2/2+C\), so \(y=\tan(x^2/2+C)\) between its vertical asymptotes.
(f) \(e^y dy=e^x dx\), so \(e^y=e^x+C\) and \(y=\ln(e^x+C)\), where \(e^x+C>0\).
(g) \((y+1)dy=2x\,dx\), so \((y+1)^2=2x^2+C\). Branches must avoid \(y=-1\), where the original equation is undefined.
(h) On an interval not containing \(x=0\), \(dy/y=dx/x\), giving \(\ln|y|=\ln|x|+C\), hence \(y=Cx\). The value \(C=0\) includes the equilibrium \(y=0\).
(i) The equilibrium is \(y=0\). For nonzero solutions, \(y^{-2}dy=\sin x\,dx\), so \(y=1/(C+\cos x)\) on intervals where the denominator is nonzero.
(j) \(xy+2x-y-2=(x-1)(y+2)\). Thus \(dy/(y+2)=(x-1)dx\), so \(y=-2+Ce^{x^2/2-x}\). The choice \(C=0\) includes \(y=-2\).