# Ordinary Differential Equation

 Question 1
Consider the differential equation
$\frac{dy}{dx}=4(x+2)-y$
For the initial condition $y = 3$ at $x = 1$, the value of $y$ at $x = 1.4$ obtained using Euler's method with a step-size of 0.2 is _________. (round off to one decimal place)
 A 5.4 B 6.4 C 2.8 D 4.2
GATE CE 2022 SET-1   Engineering Mathematics
Question 1 Explanation:
\begin{aligned} x_0&=1\rightarrow y_0=3\\ x_1&=1.2\rightarrow y_1=?\\ x_2&=1.4\rightarrow y_2=?\\ \end{aligned}
Using Euler's forward methods
\begin{aligned} y_n&=y_n+hf(x_n,y_n)\\ y_1&=y_0+hf(x_0,y_0)\\ &=3+0.2 \times (4(1+2)-3)\\ &=4.8\\ y_2&=y_1+hf(x_1,y_1)\\ &=4.8+0.2 \times (4(1.2+2)-4.8)\\ &=6.4\\ \end{aligned}
 Question 2
For the equation
$\frac{d^3y}{dx^3}+x\left ( \frac{dy}{dx} \right )^{\frac{3}{2}}+x^2y=0$
the correct description is
 A an ordinary differential equation of order 3 and degree 2. B an ordinary differential equation of order 3 and degree 3. C an ordinary differential equation of order 2 and degree 3. D an ordinary differential equation of order 3 and degree 3/2.
GATE CE 2022 SET-1   Engineering Mathematics
Question 2 Explanation:
$\frac{d^3y}{dx^3}+x\left ( \frac{dy}{dx} \right )^{3/2}+x^2y=0$
Power of $\left ( \frac{dy}{dx} \right )$ is fractional, make it integer.
$\frac{d^3y}{dx^3}+x^2y=-x\left ( \frac{dy}{dx} \right )^{3/2}$
$\left (\frac{d^3y}{dx^3}+x^2y \right )^2=x^2\left ( \frac{dy}{dx} \right )^{3}$
Now order = 3 and degree = 2
 Question 3
If k is a constant, the general solution of $\frac{d y}{d x}-\frac{y}{x}=1$ will be in the form of
 A y=x ln(kx) B y=k ln(kx) C y=x ln(x) D y=xk ln(k)
GATE CE 2021 SET-2   Engineering Mathematics
Question 3 Explanation:
\begin{aligned} \frac{d y}{d x}-\frac{y}{x} &=1 \\ \frac{d y}{d x}+P y &=Q \\ P &=-\frac{1}{x}, Q=1 \\ I F &=e^{\int P d x}=e^{\int \frac{-1}{x} d x}=\frac{1}{x} \\ y(I F) &=\int Q(I F) d x+c \\ y\left(\frac{1}{x}\right) &=\int 1 \cdot \frac{1}{x} d x+\ln k \\ y &=x \ln (x k) \end{aligned}
 Question 4
The solution of the second-order differential equation $\frac{d^{2} y}{d x^{2}}+2 \frac{d y}{d x}+y=0$ with boundary conditions y(0)=1 and y(1)=3 is
 A $e^{-x}+(3 e-1) x e^{-x}$ B $e^{-x}-(3 e-1) x e^{-x}$ C $e^{-x}+\left[3 e \sin \left(\frac{\pi x}{2}\right)-1\right] x e^{-x}$ D $e^{-x}-\left[3 e \sin \left(\frac{\pi x}{2}\right)-1\right] x e^{-x}$
GATE CE 2021 SET-1   Engineering Mathematics
Question 4 Explanation:
Given \begin{aligned} \left(D^{2}+2 D+1\right) & y=0 \\ & y(0)=1 \\ & y(1)=3 \end{aligned}
Auxiliary equation in $m^{2}+2 m+1=0$
\begin{aligned} \Rightarrow \qquad \qquad \qquad \qquad \quad &m=-1,-1\\ \mathrm{CF}&=\left(C_{1}+C_{2} x\right) e^{-x}\\ \text { And } \qquad \qquad \qquad \quad \mathrm{PI}&=0\\ C_{1} \text { solution is } \qquad \quad u y &=C F+P I \\ y &=\left(C_{1}+C_{2} x\right) e^{-x} \\ \text { Using } y(0)=1, \qquad C_{1} &=1 \\ \text { Using } y(1)=3, \qquad C_{2} &=3 e-1 \\ \text { Hence by eq. (i), } \qquad y &=[1+(3 e-1) x] e^{-x} \\ y &=e^{-x}+(3 e-1) x e^{-x} \end{aligned}
 Question 5
An ordinary differential equation is given below

$6\frac{d^2y}{dx^2}+\frac{dy}{dx}-y=0$

The general solution of the above equation (with constant $C_1 \; and \; C_2$), is
 A $y(x)=C_1 e^{-\frac{x}{3}}+C_2 e^{\frac{x}{2}}$ B $y(x)=C_1 e^{\frac{x}{3}}+C_2 e^{-\frac{x}{2}}$ C $y(x)=C_1 xe^{-\frac{x}{3}}+C_2 e^{\frac{x}{2}}$ D $y(x)=C_1 e^{-\frac{x}{3}}+C_2 xe^{\frac{x}{2}}$
GATE CE 2020 SET-2   Engineering Mathematics
Question 5 Explanation:
\begin{aligned} \frac{6d^2y}{dx^2}+\frac{dy}{dx}-y &=0 \\ (6D^2+D-1)y&=0 \\ 6D^2+3D-2D-1 &=0 \\ (2D+1)(3D-1)&=0 \\ D&=\frac{-1}{2}, D=\frac{1}{3} \\ y&=C_1e^{x/3}+C_2e^{-x/2} \end{aligned}
 Question 6
The following partial differential equation is defined for $u:u(x,y)$

$\frac{\partial u}{\partial y}=\frac{\partial^2 u}{\partial x^2}; \; \; y\geq 0;\;x_1\leq x\leq x_2$

The set of auxiliary conditions necessary to solve the equation uniquely, is
 A three initial conditions B three boundary conditions C two initial conditions and one boundary condition D one initial condition and two boundary conditions
GATE CE 2020 SET-2   Engineering Mathematics
Question 6 Explanation:
Given: DE is $\frac{\partial u}{\partial y}=\frac{\partial^2 u}{\partial x^2}; \; y\geq 0;\; x_1 \leq x\leq x_2$
$\because$ y is given as $\geq 0$ so we take it as time. Hence, above equation is nothing but one-D heat equation which requires one initial condition and two boundary condition.
 Question 7
The ordinary differential equation $\frac{d^2u}{dx^2}-2x^2u+\sin x=0$ is
 A linear and homogeneous B linear and nonhomogeneous C nonlinear and homogeneous D nonlinear and nonhomogeneous
GATE CE 2020 SET-2   Engineering Mathematics
Question 7 Explanation:
Its solution is of the type u=f(x), i.e., dependent variable is u.
Hence, given equation is Linear and Non-Homogeneous.
 Question 8
A continuous function $f(x)$ is defined. If the third derivative at $x_i$ is to be computed by using the fourth order central finite-divided-difference scheme (the step length = h), the correct formula is
 A A B B C C D D
GATE CE 2020 SET-1   Engineering Mathematics
Question 8 Explanation:
$\left. \begin{matrix}\frac{\partial^3 u }{\partial x^3} \end{matrix}\right|_{x_i}=\frac{-u_{i+3} +8u_{i+2}-13u_{i+1}+13u_{i-1}-8u_{i-2}+u_{i-3}}{8\Delta h^3}$
$f''(x_i)=\frac{-f(x_{i+3})+8f(x_{i+2}-13f(x_{i+1}+13f(x_{i-1}-8f(x_{i-2}+f(x_{i-3}}{8h^3}$
 Question 9
For the Ordinary Differential Equation $\frac{d^2x}{dt^2}-5\frac{dx}{dt}+6x=0$, with initial condition $x(0)=0$ and $\frac{dx}{dt}(0)=10$, the solution is
 A $-5e^{2t}+6e^{3t}$ B $5e^{2t}+6e^{3t}$ C $-10e^{2t}+10e^{3t}$ D $10e^{2t}+10e^{3t}$
GATE CE 2020 SET-1   Engineering Mathematics
Question 9 Explanation:
A.E. is $m^2-5m+6=0\Rightarrow m=2,3$
So $C_f=C_1e^{2t}+C_2e^{3t}$
PI =0 and G. Solution is $x=CF+PI=C_1e^{2t}+C_2e^{3t}$
and $\frac{dx}{dt}=2C_1e^{2t}+3C_2e^{3t}$
Now, using initial condition we get $C_1=-10, C_2=10$
$x=-10e^{2t}+10e^{3t}$
 Question 10
The area of an ellipse represented by an equation $\frac{x^2}{a^2}+\frac{y^2}{b^2}=1$ is
 A $\frac{\pi a b}{4}$ B $\frac{\pi a b}{2}$ C $\pi a b$ D $\frac{4 \pi a b}{3}$
GATE CE 2020 SET-1   Engineering Mathematics
Question 10 Explanation:

\begin{aligned} \text{Area} &=\int \int (1)dydx \\ &=\int_{x=-a}^{a}\int_{y=-\frac{b}{a}}^{+\frac{b}{a}}(1)dydx \\ &=4\int_{x=0}^{a} \int_{y=0}^{\frac{b}{a}\sqrt{a^2-x^2}}(1)dydx\\ &= 4 \int_{x=0}^{a}\int_{y=0}^{\frac{b}{a}\sqrt{a^2-x^2}} dx\\ &= \pi ab \end{aligned}
There are 10 questions to complete.