By using the substitution u=x−yu = x - y, solve the differential equation dydx+4(x−y)2cos⁡2x=sin⁡2x.\dfrac{dy}{dx} + 4(x - y)^2\cos^2 x = \sin^2 x. A new drug for the treatment of diabetes is administered to a patient at a constant rate of RR mg per day. The rate at which the drug is lost from the patient's body is proportional to the square of the amount xx (mg) of the drug present in his body at time tt (days). If the amount of drug in the patient remains constant at the instant when it is 2R2R (mg), show that dxdt=4R2−x24R.\dfrac{dx}{dt} = \dfrac{4R^2 - x^2}{4R}. Given that, when x=0x = 0 when t=0t = 0, find xx, in terms of RR and tt. Explain the significance of this result in the long run.

Work through it with AI →

It won't just hand you the answer — it asks where you're stuck.How the checker works

Worked solution

4(a)

1. Differentiate the substitution with respect to $x$ to express $\dfrac{dy}{dx}$ in terms of $\dfrac{du}{dx}$.

Given u=x−yu = x - y, differentiating with respect to xx gives:
dudx=1−dydx\frac{du}{dx} = 1 - \frac{dy}{dx}
dydx=1−dudx\frac{dy}{dx} = 1 - \frac{du}{dx}

2. Substitute $u$ and $\dfrac{dy}{dx}$ into the original differential equation and simplify to form a separable equation.

1−dudx+4u2cos⁡2x=sin⁡2x1 - \frac{du}{dx} + 4u^2\cos^2 x = \sin^2 x
dudx=1−sin⁡2x+4u2cos⁡2x\frac{du}{dx} = 1 - \sin^2 x + 4u^2\cos^2 x
Using the identity cos⁡2x=1−sin⁡2x\cos^2 x = 1 - \sin^2 x:
dudx=cos⁡2x+4u2cos⁡2x\frac{du}{dx} = \cos^2 x + 4u^2\cos^2 x
dudx=cos⁡2x(1+4u2)\frac{du}{dx} = \cos^2 x (1 + 4u^2)

3. Separate the variables and set up the integrals.

∫11+4u2 du=∫cos⁡2x dx\int \frac{1}{1 + 4u^2} \, du = \int \cos^2 x \, dx

4. Evaluate both integrals using standard techniques.

For the left side, we integrate to get an inverse tangent:
∫11+(2u)2 du=12tan⁡−1(2u)\int \frac{1}{1 + (2u)^2} \, du = \frac{1}{2}\tan^{-1}(2u)

For the right side, we use the double angle identity cos⁡2x=1+cos⁡2x2\cos^2 x = \frac{1 + \cos 2x}{2}:
∫1+cos⁡2x2 dx=12x+14sin⁡2x+C′\int \frac{1 + \cos 2x}{2} \, dx = \frac{1}{2}x + \frac{1}{4}\sin 2x + C'

Equating both sides:
12tan⁡−1(2u)=12x+14sin⁡2x+C′\frac{1}{2}\tan^{-1}(2u) = \frac{1}{2}x + \frac{1}{4}\sin 2x + C'
Multiplying through by 22 and letting C=2C′C = 2C':
tan⁡−1(2u)=x+12sin⁡2x+C\tan^{-1}(2u) = x + \frac{1}{2}\sin 2x + C

5. Substitute $u$ back in and make $y$ the subject to state the general solution.

2u=tan⁡(x+12sin⁡2x+C)2u = \tan\left(x + \frac{1}{2}\sin 2x + C\right)
2(x−y)=tan⁡(x+12sin⁡2x+C)2(x - y) = \tan\left(x + \frac{1}{2}\sin 2x + C\right)
x−y=12tan⁡(x+12sin⁡2x+C)x - y = \frac{1}{2}\tan\left(x + \frac{1}{2}\sin 2x + C\right)
y=x−12tan⁡(x+12sin⁡2x+C)y = x - \frac{1}{2}\tan\left(x + \frac{1}{2}\sin 2x + C\right)

Answer

y=x−12tan⁡(x+12sin⁡2x+C)y = x - \dfrac{1}{2}\tan\left(x + \dfrac{1}{2}\sin 2x + C\right)

4(b)(i)

1. Formulate the differential equation using the given rates

Let xx be the amount of drug in the body at time tt.
The rate of drug administered is RR, and the rate of loss is proportional to x2x^2.
dxdt=R−kx2\dfrac{dx}{dt} = R - kx^2

2. Determine the proportionality constant $k$ and show the given equation

When x=2Rx = 2R, the amount of drug remains constant, so dxdt=0\dfrac{dx}{dt} = 0.
0=R−k(2R)20 = R - k(2R)^2
4kR2=R  ⟹  k=14R4kR^2 = R \implies k = \dfrac{1}{4R}
Substituting kk back into the differential equation:
dxdt=R−x24R=4R2−x24R\dfrac{dx}{dt} = R - \dfrac{x^2}{4R} = \dfrac{4R^2 - x^2}{4R}

3. Separate variables and integrate

Separating variables:
∫14R2−x2 dx=∫14R dt\int \dfrac{1}{4R^2 - x^2} \, dx = \int \dfrac{1}{4R} \, dt
Using the standard integral ∫1a2−x2 dx=12aln⁡∣a+xa−x∣\int \dfrac{1}{a^2 - x^2} \, dx = \dfrac{1}{2a} \ln \left| \dfrac{a+x}{a-x} \right| with a=2Ra = 2R:
12(2R)ln⁡∣2R+x2R−x∣=t4R+C\dfrac{1}{2(2R)} \ln \left| \dfrac{2R + x}{2R - x} \right| = \dfrac{t}{4R} + C
14Rln⁡∣2R+x2R−x∣=t4R+C\dfrac{1}{4R} \ln \left| \dfrac{2R + x}{2R - x} \right| = \dfrac{t}{4R} + C

4. Use the initial condition to find the constant of integration

Given x=0x = 0 when t=0t = 0:
14Rln⁡∣2R+02R−0∣=0+C\dfrac{1}{4R} \ln \left| \dfrac{2R + 0}{2R - 0} \right| = 0 + C
C=14Rln⁡1=0C = \dfrac{1}{4R} \ln 1 = 0
So, 14Rln⁡∣2R+x2R−x∣=t4R\dfrac{1}{4R} \ln \left| \dfrac{2R + x}{2R - x} \right| = \dfrac{t}{4R}
Multiplying both sides by 4R4R:
ln⁡∣2R+x2R−x∣=t\ln \left| \dfrac{2R + x}{2R - x} \right| = t

5. Express $x$ in terms of $R$ and $t$

Since xx starts at 00 and increases (with dx/dt=0dx/dt = 0 at the asymptote x=2Rx = 2R), we have 0≤x<2R0 \le x < 2R, meaning 2R+x2R−x>0\dfrac{2R+x}{2R-x} > 0. We can remove the absolute value signs.
2R+x2R−x=et\dfrac{2R + x}{2R - x} = e^t
2R+x=(2R−x)et2R + x = (2R - x) e^t
2R+x=2Ret−xet2R + x = 2R e^t - x e^t
x+xet=2Ret−2Rx + x e^t = 2R e^t - 2R
x(et+1)=2R(et−1)x(e^t + 1) = 2R(e^t - 1)
x=2R(et−1)et+1x = \dfrac{2R(e^t - 1)}{e^t + 1}

Answer

x=2R(et−1)et+1x = \dfrac{2R(e^t - 1)}{e^t + 1}

4(b)(ii)

1. Concisely solve the differential equation from part (b)(i) to find the explicit formula for $x$ in terms of $t$ (as required to analyse its limit).

Separating variables and using partial fractions:
∫4R4R2−x2 dx=∫dt\int \frac{4R}{4R^2 - x^2} \, dx = \int dt
∫(12R−x+12R+x)dx=∫1 dt\int \left( \frac{1}{2R-x} + \frac{1}{2R+x} \right) dx = \int 1 \, dt
−ln⁡∣2R−x∣+ln⁡∣2R+x∣=t+C-\ln|2R-x| + \ln|2R+x| = t + C
ln⁡∣2R+x2R−x∣=t+C\ln\left|\frac{2R+x}{2R-x}\right| = t + C
Given x=0x = 0 when t=0t = 0, we find C=ln⁡1=0C = \ln 1 = 0. Since xx increases from 00, 2R−x>02R-x > 0:
2R+x2R−x=et\frac{2R+x}{2R-x} = e^t
2R+x=2Ret−xet2R+x = 2Re^t - xe^t
x(et+1)=2R(et−1)  ⟹  x=2Ret−1et+1x(e^t+1) = 2R(e^t-1) \implies x = 2R\frac{e^t-1}{e^t+1}

2. Determine the mathematical behaviour of $x$ as $t \to \infty$.

Divide the numerator and the denominator by ete^t:
x=2R1−e−t1+e−tx = 2R\frac{1 - e^{-t}}{1 + e^{-t}}
As t→∞t \to \infty, e−t→0e^{-t} \to 0. Therefore:
x→2R(1−01+0)=2Rx \to 2R\left(\frac{1-0}{1+0}\right) = 2R

3. Interpret the mathematical limit in the context of the problem.

The mathematical limit x→2Rx \to 2R means that over a long period of time, the amount of the drug in the patient's body approaches and stabilizes at a constant level of 2R mg2R\text{ mg}.

Answer

In the long run, the amount of the drug in the patient's body will approach and stabilize at 2R mg2R\text{ mg}.

AI analysis — may contain mistakes.

Worked this one out on paper? Snap your steps and Gigle's AI math checker will circle the step where it went wrong.

More questions on this topic

  1. 1The points (x,y)(x,y) on a curve satisfy the equations x=12t2−2tx = \tfrac{1}{2}t^2 - 2t and dydx=12t−1\dfrac{dy}{dx} = \dfrac{1}{2t - 1}…
  2. 2In a large town, the number of people infected by a particular virus tt days after the virus was first discovered is xx…
  3. 3Consider the second order differential equation d2xdt2+adxdt=b,\frac{d^{2}x}{dt^{2}} + a\frac{dx}{dt} = b, where aa and bb are no…
  4. 4A freshly brewed cup of tea, initially at a temperature of 85∘C85^\circ\text{C}, is left out to cool in a room with a room…
  5. 5In a large town, the number of people infected by a particular virus tt days after the virus was first discovered is xx…