# FRQ 32: a slope field and an initial-value domain

Source: https://cca.twango.dev/AP-Calculus-AB/exams/free-response/FRQ32

# FRQ 32: a slope field and an initial-value domain

Reviewed against the single page of [[../../assets/FRQ32.pdf|the original worksheet]].

Given

$$\frac{dy}{dx}=\frac{1+y}{x},\qquad x\ne0.$$

## (a) Sketch the slope field at the eight indicated points.

**Regenerated slope field at the indicated points:**

![[../../assets/diagrams/ab-exam-2-slope-field.svg|Eight slope-field segments for the given differential equation]]

Generated at exactly the eight indicated points, using $m=(1+y)/x$. The two segments on $y=-1$ are horizontal, as in the original sketch.

**Review of the plotted slopes:** The indicated points and their slopes are:

| Point | Slope $(1+y)/x$ |
| --- | --- |
| $(-1,1)$ | −2 |
| $(1,1)$ | 2 |
| $(-2,0)$ | $-1/2$ |
| $(-1,0)$ | −1 |
| $(1,0)$ | 1 |
| $(2,0)$ | $1/2$ |
| $(-1,-1)$ | 0 |
| $(1,-1)$ | 0 |

## (b) Find the particular solution with $f(-1)=1$ and state its domain.

**Original work:**

$$
x\,dy=(1+y)\,dx,
\qquad \frac{dy}{1+y}=\frac{dx}{x},
\qquad \ln|y+1|=\ln|x|+C.
$$

The work exponentiates, absorbs the constant and sign, and obtains $y+1=k|x|$. Substituting the initial condition,

$$1+1=k|-1|\implies k=2.$$

The original boxed expression is

$$\boxed{y=2|x|-1}.$$

The source does not clearly state a final domain.

> [!warning] Correction: specify the initial-value interval
> The solution interval containing $x=-1$ is $(-\infty,0)$, because the differential equation is undefined at $0$. On that interval $|x|=-x$, so the particular solution is
> $$\boxed{f(x)=-2x-1,\qquad x<0}.$$
> The absolute-value expression also describes a separate solution on $x>0$, but the initial condition does not determine that disconnected positive interval.

Related: [[FRQ31|separation of variables]], [[FRQ33|another slope field and initial condition]].
