Differential Equations and Their Formation

RS Aggarwal Class 12 Maths Solutions Exercise 18B — Differential Equations and Their Formation

RS Aggarwal, Class 12 Mathematics — Differential Equations and Their Formation, Exercise 18B. All 17 questions solved.

Independent solutions by Shiwam’s Classes. Not affiliated with or endorsed by the author or publisher of the book.

Every question in Exercise 18B gives a function (sometimes with arbitrary constants) and a differential equation, and asks you to confirm that the function satisfies it. There is nothing to solve: you differentiate the function as many times as the equation needs, substitute, and check that the two sides agree. When constants such as $a$, $b$, $A$, $B$ are present, they must disappear or cancel, because the claim is for every value of them.

Key insight. Differentiate only as far as the order of the equation, then either substitute directly or, when the constants are awkward, use the derivatives to eliminate them. For an exponential-type function $y = e^{mx}$ the substitution reduces to a polynomial in $m$ (the auxiliary equation), which makes the second-order checks quick.

Question 1

Check that $x^2 = 2y^2\log y$ satisfies $(x^2+y^2)\dfrac{dy}{dx} – xy = 0$.

Solution. Differentiate $x^2 = 2y^2\log y$ with respect to $x$:

$$2x = 4y\log y\cdot\frac{dy}{dx} + 2y\frac{dy}{dx} \;\Rightarrow\; x = y(2\log y + 1)\frac{dy}{dx}.$$

Now rewrite $x^2 + y^2 = 2y^2\log y + y^2 = y^2(2\log y + 1)$. Then

$$(x^2+y^2)\frac{dy}{dx} = y\cdot\big[y(2\log y+1)\frac{dy}{dx}\big] = y\cdot x = xy.$$

So $(x^2+y^2)\dfrac{dy}{dx} – xy = 0$.

Verified: the relation satisfies the equation.

Question 2

Check that $y = e^x\cos bx$ satisfies $\dfrac{d^2y}{dx^2} – 2\dfrac{dy}{dx} + 2y = 0$.

Solution. Differentiate twice:

$$\frac{dy}{dx} = e^x(\cos bx – b\sin bx),\qquad \frac{d^2y}{dx^2} = e^x\big[(1-b^2)\cos bx – 2b\sin bx\big].$$

Substituting,

$$\frac{d^2y}{dx^2} – 2\frac{dy}{dx} + 2y = e^x\big[(1-b^2-2+2)\cos bx + (-2b+2b)\sin bx\big] = (1-b^2)\,e^x\cos bx.$$

The sine terms cancel for every $b$, but the cosine term vanishes only when $b^2 = 1$. So the function satisfies the equation exactly for $b = \pm1$, that is $y = e^x\cos x$ (and it then reduces to $0$ identically).

Verified for $b = \pm 1$, i.e. $y = e^x\cos x$: the left side equals $(1-b^2)e^x\cos bx = 0$.

Question 3

Check that $y = e^{m\cos^{-1}x}$ satisfies $(1-x^2)\dfrac{d^2y}{dx^2} – x\dfrac{dy}{dx} – m^2y = 0$.

Solution. Since $\dfrac{d}{dx}\cos^{-1}x = -\dfrac{1}{\sqrt{1-x^2}}$,

$$\frac{dy}{dx} = -\frac{m\,y}{\sqrt{1-x^2}} \;\Rightarrow\; \sqrt{1-x^2}\,\frac{dy}{dx} = -my.$$

Differentiate this again:

$$\sqrt{1-x^2}\,\frac{d^2y}{dx^2} – \frac{x}{\sqrt{1-x^2}}\frac{dy}{dx} = -m\frac{dy}{dx}.$$

Multiply through by $\sqrt{1-x^2}$:

$$(1-x^2)\frac{d^2y}{dx^2} – x\frac{dy}{dx} = -m\sqrt{1-x^2}\,\frac{dy}{dx} = -m(-my) = m^2y.$$

Hence $(1-x^2)y” – xy’ – m^2y = 0$.

Verified: the function satisfies the equation.

Question 4

Show that $y = (a+bx)e^{2x}$ is the general solution of $\dfrac{d^2y}{dx^2} – 4\dfrac{dy}{dx} + 4y = 0$.

Solution. Differentiate:

$$y’ = be^{2x} + 2(a+bx)e^{2x} = (2a + b + 2bx)e^{2x},$$ $$y” = 2be^{2x} + 2(2a+b+2bx)e^{2x} = (4a + 4b + 4bx)e^{2x}.$$

Then

$$y” – 4y’ + 4y = e^{2x}\big[(4a+4b+4bx) – (8a+4b+8bx) + (4a+4bx)\big] = e^{2x}\cdot 0 = 0.$$

The equation is of second order and the function carries two independent arbitrary constants $a$ and $b$, so it is the general solution.

Verified: $y” – 4y’ + 4y = 0$, and with two arbitrary constants $y$ is the general solution.

Question 5

Show that $y = e^x(A\cos x + B\sin x)$ is the general solution of $\dfrac{d^2y}{dx^2} – 2\dfrac{dy}{dx} + 2y = 0$.

Solution. Write $y = e^x u$ with $u = A\cos x + B\sin x$, so $u’ = -A\sin x + B\cos x$ and $u” = -u$. Then

$$y’ = e^x(u + u’),\qquad y” = e^x(u + 2u’ + u”) = e^x(2u’).$$

Therefore

$$y” – 2y’ + 2y = e^x\big[2u’ – 2u – 2u’ + 2u\big] = 0.$$

There are two independent constants $A$, $B$ and the equation is of order two, so this is the general solution.

Verified: $y” – 2y’ + 2y = 0$, with two arbitrary constants, so $y$ is the general solution.

Question 6

Show that $y = A\cos 2x – B\sin 2x$ is the general solution of $\dfrac{d^2y}{dx^2} + 4y = 0$.

Solution. Differentiate:

$$y’ = -2A\sin 2x – 2B\cos 2x,\qquad y” = -4A\cos 2x + 4B\sin 2x = -4(A\cos 2x – B\sin 2x) = -4y.$$

So $y” + 4y = 0$. The two constants $A$ and $B$ are independent and the order is two, so the function is the general solution.

Verified: $y” = -4y$, so $y” + 4y = 0$ and $y$ is the general solution.

Question 7

Show that $y = ae^{2x} + be^{-x}$ is the general solution of $\dfrac{d^2y}{dx^2} – \dfrac{dy}{dx} – 2y = 0$.

Solution. Differentiate:

$$y’ = 2ae^{2x} – be^{-x},\qquad y” = 4ae^{2x} + be^{-x}.$$

Then

$$y” – y’ – 2y = (4a – 2a – 2a)e^{2x} + (b + b – 2b)e^{-x} = 0.$$

Two independent constants in a second-order equation: the function is the general solution.

Verified: $y” – y’ – 2y = 0$, with two arbitrary constants, so $y$ is the general solution.

Question 8

Show that $y = e^x(A\cos x + B\sin x)$ is a solution of $\dfrac{d^2y}{dx^2} – 2\dfrac{dy}{dx} + 2y = 0$.

Solution. Expand the derivatives directly:

$$y’ = e^x\big[(A+B)\cos x + (B-A)\sin x\big],$$ $$y” = e^x\big[(A+B+B-A)\cos x + (B-A-A-B)\sin x\big] = e^x\big[2B\cos x – 2A\sin x\big].$$

Now

$$y” – 2y’ + 2y = e^x\big[(2B – 2A – 2B + 2A)\cos x + (-2A – 2B + 2A + 2B)\sin x\big] = 0.$$

Verified: the function satisfies the equation.

Question 9

Check that $y^2 = 4a(x+a)$ satisfies $y\left\{1 – \left(\dfrac{dy}{dx}\right)^2\right\} = 2x\dfrac{dy}{dx}$.

Solution. Differentiate $y^2 = 4ax + 4a^2$: $2y\,y’ = 4a$, so $a = \dfrac{y\,y’}{2}$. Substitute this back into the relation to remove $a$:

$$y^2 = 4a x + 4a^2 = 2xy\,y’ + y^2(y’)^2.$$

Move the last term across: $y^2 – y^2(y’)^2 = 2xy\,y’$. Dividing by $y$ (for $y \neq 0$),

$$y\big\{1 – (y’)^2\big\} = 2x\,y’.$$

Verified: eliminating $a$ gives $y\{1-(y’)^2\} = 2xy’$.

Question 10

Check that $y = ce^{\tan^{-1}x}$ satisfies $(1+x^2)\dfrac{d^2y}{dx^2} + (2x-1)\dfrac{dy}{dx} = 0$.

Solution. Since $\dfrac{d}{dx}\tan^{-1}x = \dfrac{1}{1+x^2}$,

$$y’ = \frac{y}{1+x^2} \;\Rightarrow\; (1+x^2)y’ = y.$$

Differentiate this relation: $(1+x^2)y” + 2x\,y’ = y’$. Bringing $y’$ to the left,

$$(1+x^2)y” + (2x-1)y’ = 0.$$

Verified: the function satisfies the equation.

Question 11

Check that $y = ae^{bx}$ satisfies $\dfrac{d^2y}{dx^2} = \dfrac{1}{y}\left(\dfrac{dy}{dx}\right)^2$.

Solution. We have $y’ = abe^{bx}$ and $y” = ab^2e^{bx}$. Then

$$\frac{(y’)^2}{y} = \frac{a^2b^2e^{2bx}}{ae^{bx}} = ab^2e^{bx} = y”.$$

Verified: $y” = \dfrac{(y’)^2}{y}$ for all $a$, $b$.

Question 12

Check that $y = \dfrac{a}{x} + b$ satisfies $\dfrac{d^2y}{dx^2} + \dfrac{2}{x}\dfrac{dy}{dx} = 0$.

Solution. The constant $b$ vanishes on differentiation: $y’ = -\dfrac{a}{x^2}$ and $y” = \dfrac{2a}{x^3}$. Then

$$y” + \frac{2}{x}y’ = \frac{2a}{x^3} – \frac{2a}{x^3} = 0.$$

Verified: the function satisfies the equation.

Question 13

Check that $y = e^{-x} + Ax + B$ satisfies $e^x\dfrac{d^2y}{dx^2} = 1$.

Solution. Differentiating, $y’ = -e^{-x} + A$ and $y” = e^{-x}$ (the constants $A$, $B$ drop out). So

$$e^x\,y” = e^x\cdot e^{-x} = 1.$$

Verified: $e^x y” = 1$.

Question 14

Check that $Ax^2 + By^2 = 1$ satisfies $x\left\{y\dfrac{d^2y}{dx^2} + \left(\dfrac{dy}{dx}\right)^2\right\} = y\dfrac{dy}{dx}$.

Solution. Two constants, so differentiate twice. First, $2Ax + 2By\,y’ = 0$, i.e. $A x + B y y’ = 0$. Second,

$$A + B\big[(y’)^2 + y\,y”\big] = 0.$$

From the first, $A = -\dfrac{B\,y\,y’}{x}$. Substituting in the second and cancelling $B$ (taken non-zero):

$$-\frac{y\,y’}{x} + (y’)^2 + y\,y” = 0 \;\Rightarrow\; x\big\{y\,y” + (y’)^2\big\} = y\,y’.$$

Verified: eliminating $A$ and $B$ gives $x\{yy” + (y’)^2\} = yy’$.

Question 15

Check that $y = \dfrac{c-x}{1+cx}$ satisfies $(1+x^2)\dfrac{dy}{dx} + (1+y^2) = 0$.

Solution. By the quotient rule,

$$\frac{dy}{dx} = \frac{-(1+cx) – c(c-x)}{(1+cx)^2} = -\frac{1+c^2}{(1+cx)^2}.$$

Next,

$$1 + y^2 = \frac{(1+cx)^2 + (c-x)^2}{(1+cx)^2} = \frac{1 + c^2 + c^2x^2 + x^2}{(1+cx)^2} = \frac{(1+c^2)(1+x^2)}{(1+cx)^2}.$$

Therefore

$$(1+x^2)\frac{dy}{dx} = -\frac{(1+c^2)(1+x^2)}{(1+cx)^2} = -(1+y^2),$$

which is the stated equation.

Verified: $(1+x^2)y’ + (1+y^2) = 0$.

Question 16

Show that $y = \log\left(x + \sqrt{x^2+a^2}\right)$ satisfies the differential equation $\dfrac{d^2y}{dx^2} + x\dfrac{dy}{dx} = 0$.

Solution. Differentiate the logarithm:

$$y’ = \frac{1 + \dfrac{x}{\sqrt{x^2+a^2}}}{x + \sqrt{x^2+a^2}} = \frac{1}{\sqrt{x^2+a^2}} = (x^2+a^2)^{-1/2}.$$

Then

$$y” = -\tfrac12(x^2+a^2)^{-3/2}\cdot 2x = -\frac{x}{(x^2+a^2)^{3/2}}.$$

Multiply by $x^2+a^2$:

$$(x^2+a^2)y” = -\frac{x}{\sqrt{x^2+a^2}} = -x\,y’,$$

so $(x^2+a^2)y” + x\,y’ = 0$.

This is the equation the function really satisfies. The equation as stated has no factor $x^2+a^2$ on $y”$, and substituting gives $y” + xy’ = \dfrac{x}{\sqrt{x^2+a^2}}\left(1 – \dfrac{1}{x^2+a^2}\right)$, which vanishes only when $x = 0$ or $x^2+a^2 = 1$. So the stated equation does not hold for general $x$ and $a$.

$y$ satisfies $(x^2+a^2)y” + xy’ = 0$; the equation as stated holds only where $x = 0$ or $x^2+a^2 = 1$.

Question 17

Check that $y = e^{-3x}$ satisfies $\dfrac{d^2y}{dx^2} + \dfrac{dy}{dx} – 6y = 0$.

Solution. $y’ = -3e^{-3x}$ and $y” = 9e^{-3x}$. Then

$$y” + y’ – 6y = (9 – 3 – 6)e^{-3x} = 0.$$

Verified: the function satisfies the equation.

Common mistakes

  • Treating the constants as variables. In $y = \dfrac{a}{x} + b$ or $y = e^{-x} + Ax + B$, the constants drop out on the first or second differentiation; students sometimes differentiate them with a product rule.
  • Stopping at the wrong order. A relation with two arbitrary constants (Questions 4 to 8, 14) needs a second derivative before the constants can be removed.
  • Forgetting the chain rule when the exponent is an inverse trigonometric function, as in Questions 3 and 10; the factor $\mp\dfrac{1}{\sqrt{1-x^2}}$ or $\dfrac{1}{1+x^2}$ is easy to drop.
  • Sign slips in the cancellation of Question 15: the numerator $-(1+cx) – c(c-x)$ collapses to $-(1+c^2)$ only if the $cx$ terms are handled carefully.
  • Claiming a verification without checking all parameters. In Question 2 the sine terms cancel for any $b$, but the cosine term needs $b^2 = 1$.

Practise next

Continue with Exercise 18C, where the task reverses: you are given a family of curves and must form the differential equation by eliminating the arbitrary constants.

Shiwam's Classes: IIT JEEJEE Main and Advanced, worked in full

Subscribe