Class 12 Maths, Worked in Full Past papersGet updates
Chapter 9 · Differential Equations

Example 8: Curve through (−2,3)(-2, 3) with slope 2xy2\frac{2x}{y^2}

ExamplesVariables separable, curve from its slope · Sections 9.3 and 9.4.1
The question

Find the equation of a curve passing through the point (−2,3)(-2, 3)⁠, given that the slope of the tangent to the curve at any point (x,y)(x, y) is 2xy2\dfrac{2x}{y^2}⁠.

Exam answer

The slope of the tangent is dydx\frac{dy}{dx}⁠, so

dydx=2xy2\frac{dy}{dx} = \frac{2x}{y^2}

Separating the variables,

y2 dy=2x dxy^2\,dy = 2x\,dx

Integrating both sides,

∫y2 dy=∫2x dxy33=x2+C…(i)\begin{aligned} \int y^2\,dy &= \int 2x\,dx \\ \frac{y^3}{3} &= x^2 + C\quad\ldots(\text{i}) \end{aligned}

Putting x=−2x = -2⁠, y=3y = 3 in (i): 9=4+C9 = 4 + C⁠, so C=5C = 5⁠.

∴\therefore The required curve is y33=x2+5\dfrac{y^3}{3} = x^2 + 5⁠, or y=(3x2+15)13y = (3x^2 + 15)^{\dfrac13}⁠.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

"The slope of the tangent at (x,y)(x, y)" is dydx\frac{dy}{dx}⁠. So the sentence in the question is a differential equation, dydx=2xy2\frac{dy}{dx} = \frac{2x}{y^2}⁠, and "passing through (−2,3)(-2, 3)" is the condition that fixes the constant. The equation is separable: multiply by y2y^2⁠.

Given, to find, and the plan
Given
At every point (x,y)(x, y) of the curve, the slope of the tangent is 2xy2\frac{2x}{y^2} (so y≠0y \ne 0 on the curve). The curve passes through (−2,3)(-2, 3)⁠.
To find
The equation of the curve.
Plan
(1) Write the slope condition as a differential equation. (2) Separate. (3) Integrate, with one constant. (4) Use (−2,3)(-2, 3) to find CC⁠. (5) Solve for yy⁠. (6) Check by substitution and look at the curve.

Basics you need

1Slope of the tangent

The slope of the tangent to a curve y=f(x)y = f(x) at a point is dydx\frac{dy}{dx} there; the book's solution of this example (Section 9.4.1, Example 8) starts from this fact. Basics: dy/dx = F(x, y) draws an arrow at every point

2Variables separable

dydx=g(x) h(y)\frac{dy}{dx} = g(x)\,h(y) with h(y)≠0h(y) \ne 0 gives ∫dyh(y)=∫g(x) dx\int\frac{dy}{h(y)} = \int g(x)\,dx (Section 9.4.1). Lesson: separate, then integrate

3Power rule

∫tn dt=tn+1n+1+C\int t^n\,dt = \frac{t^{n+1}}{n + 1} + C⁠, n≠−1n \ne -1 (Section 7.2, formula (i)). Basics: every method ends with an integral

4Cube roots

Every real number has exactly one real cube root, so y3=ay^3 = a gives y=a13y = a^{\frac13} with no ±\pm choice.

Solution

  1. Turn the words into a differential equation

    The slope of the tangent at (x,y)(x, y) is dydx\frac{dy}{dx}⁠, so

    dydx=2xy2,y≠0.\frac{dy}{dx} = \frac{2x}{y^2},\quad y \ne 0.
    This is the step that makes it a differential equation question. The slope formula has y2y^2 in the denominator, so it only makes sense where y≠0y \ne 0⁠; the curve cannot touch the xx-axis.
    Slope of the tangent = dydx\frac{dy}{dx}⁠, as the book's solution states (Section 9.4.1, Example 8). Basics: a rule for slopes
  2. Separate the variables

    The right side is 2x⋅1y22x\cdot\frac{1}{y^2}⁠, separable. Multiply both sides by y2 dxy^2\,dx⁠:

    y2 dy=2x dx.y^2\,dy = 2x\,dx.
    The left side now has only yy⁠, the right side only xx⁠. Here h(y)=1y2h(y) = \frac{1}{y^2} is never 0, so multiplying by y2y^2 loses nothing.
    Section 9.4.1: 1h(y) dy=g(x) dx\frac{1}{h(y)}\,dy = g(x)\,dx⁠, here with 1h(y)=y2\frac{1}{h(y)} = y^2⁠. Lesson: separate, then integrate
  3. Integrate both sides, with one constant

    ∫y2 dy=∫2x dxy33=x2+C…(1)\begin{aligned} \int y^2\,dy &= \int 2x\,dx \\ \frac{y^3}{3} &= x^2 + C\quad\ldots(1) \end{aligned}

    Check each integral by differentiating: ddyy33=y2\frac{d}{dy}\frac{y^3}{3} = y^2 and ddxx2=2x\frac{d}{dx}x^2 = 2x⁠.

    Power rule on each side; the two constants combine into one CC⁠. Equation (1) is the general solution: the family of all curves with the given slope.
  4. Use the point (−2,3)(-2, 3) to find CC

    Put x=−2x = -2⁠, y=3y = 3 in (1):

    333=(−2)2+C⇒ 9=4+C  ⇒  C=5.\begin{aligned} \frac{3^3}{3} &= (-2)^2 + C \\ \Rightarrow\ 9 &= 4 + C \;\Rightarrow\; C = 5. \end{aligned}

    So the curve is

    y33=x2+5.\frac{y^3}{3} = x^2 + 5.
    "Passing through (−2,3)(-2, 3)" means y=3y = 3 when x=−2x = -2⁠. Note (−2)2=4(-2)^2 = 4⁠: the minus sign disappears when squared.
    Section 9.3: a particular solution from a given point. Lesson: general and particular solutions
  5. Solve for yy

    Multiply by 3: y3=3x2+15y^3 = 3x^2 + 15⁠. Taking the real cube root,

    y=(3x2+15)13.y = (3x^2 + 15)^{\frac13}.

    Since 3x2+15≥153x^2 + 15 \ge 15⁠, we get y≥1513≈2.466y \ge 15^{\frac13} \approx 2.466 for every real xx⁠. So the curve is defined for all xx⁠, lies above the xx-axis, and never meets y=0y = 0⁠, where the slope would be undefined.

    A cube root has no sign choice, so this formula is the whole curve. It agrees with the given point: (12+15)13=2713=3(12 + 15)^{\frac13} = 27^{\frac13} = 3⁠.
    Every real number has one real cube root; the curve must keep y≠0y \ne 0 (Step 1).
  6. Check: substitute back, and see the curve

    Differentiate y3=3x2+15y^3 = 3x^2 + 15 implicitly:

    3y2dydx=6x  ⇒  dydx=2xy2,3y^2\frac{dy}{dx} = 6x \;\Rightarrow\; \frac{dy}{dx} = \frac{2x}{y^2},

    the given slope; and y=3y = 3 at x=−2x = -2⁠.

    X Y X′ Y′ (−2, 3) (0, ∛15) y³ = 3x² + 15 O
    Slope field of dydx=2xy2\frac{dy}{dx} = \frac{2x}{y^2} with equal scales (no marks on y=0y = 0⁠, where the slope is undefined). The curve y3=3x2+15y^3 = 3x^2 + 15 through (−2,3)(-2, 3) follows the marks; its lowest point is (0,151/3)(0, 15^{1/3})⁠, where the slope 2x/y22x/y^2 is 0.
    The derivative of the answer reproduces the slope rule, and the point fits, so the curve is right. The picture shows why the curve is lowest at x=0x = 0⁠: the slope 2xy2\frac{2x}{y^2} is negative for x<0x < 0 and positive for x>0x > 0⁠.
    Implicit differentiation (Section 5.3.2). Basics: y′ is the slope
Result

The general solution is y33=x2+C\frac{y^3}{3} = x^2 + C⁠; the point (−2,3)(-2, 3) gives C=5C = 5⁠. The required curve is y33=x2+5\frac{y^3}{3} = x^2 + 5⁠, that is y=(3x2+15)13y = (3x^2 + 15)^{\frac13}⁠. (Textbook answer: y33=x2+5\frac{y^3}{3} = x^2 + 5 or y=(3x2+15)13y = (3x^2 + 15)^{\frac13}⁠.)

Check it with numbers

At x=1x = 1⁠: y=1813≈2.6207414y = 18^{\frac13} \approx 2.6207414⁠, and the slope rule gives 2(1)2.62074142≈0.29119\frac{2(1)}{2.6207414^2} \approx 0.29119⁠.

The curve itself: y(1.001)≈2.6210327009y(1.001) \approx 2.6210327009 and y(0.999)≈2.6204503140y(0.999) \approx 2.6204503140⁠, so

2.6210327009−2.62045031400.002≈0.29119.\begin{aligned} &\frac{2.6210327009 - 2.6204503140}{0.002} \\ &\approx 0.29119. \end{aligned}
Common mistakes
  1. Using dxdy\frac{dx}{dy} for the slope of the tangent. The slope is dydx\frac{dy}{dx}⁠.
  2. (−2)2=−4(-2)^2 = -4⁠. It is +4+4⁠, so C=9−4=5C = 9 - 4 = 5⁠.
  3. Forgetting the 3: ∫y2 dy=y33\int y^2\,dy = \frac{y^3}{3}⁠, not y3y^3⁠.
  4. Writing y=±(3x2+15)13y = \pm(3x^2 + 15)^{\frac13}⁠. A cube root has no ±\pm⁠; the minus version would not pass through (−2,3)(-2, 3)⁠.
What to take away
  1. "Slope of the tangent at (x,y)(x, y) is …" means dydx=…\frac{dy}{dx} = \ldots⁠.
  2. Particular solution: integrate with CC⁠, then substitute the point.
  3. Check the domain of the answer: here y≥1513>0y \ge 15^{\frac13} > 0⁠, so the curve never reaches y=0y = 0⁠.

Every fact used, and where it comes from

FactUsed inSource
Slope of the tangent =dydx= \frac{dy}{dx}Step 1Section 9.4.1, Example 8 (the book's solution) (Basics)
Variables separableSteps 2, 3Section 9.4.1 (Lesson)
∫tn dt=tn+1n+1+C\int t^n\,dt = \frac{t^{n+1}}{n + 1} + CStep 3Section 7.2, formula (i) (Basics)
A particular solution from a given pointStep 4Section 9.3 (Lesson)
Every real number has exactly one real cube rootStep 5Class XI
Implicit differentiationStep 6Chapter 5, Section 5.3.2 (Basics)
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →