All Exams Test series for 1 year @ ₹349 only
Question

What is the solution of the differential equation \(\cos \left( \frac{dy}{dx} \right) = p\) when \(y(0) = q\) ?

This question was previously asked in
NDA 2 2026 GAT Question Paper (13-Sep-2026)
The correct answer is
\(\cos\left(\frac{y-q}{x}\right) = p\)

Differential Equation Problem

We need to solve the differential equation \(\cos \left( \frac{dy}{dx} \right) = p\) with the initial condition \(y(0) = q\).

Derivation Steps

  1. Isolate the derivative term:

    From \(\cos \left( \frac{dy}{dx} \right) = p\), we get:

    \( \frac{dy}{dx} = \cos^{-1}(p) \)

    Since \(p\) is a constant, \(\cos^{-1}(p)\) is also a constant. Let \(C = \cos^{-1}(p)\).

    \( \frac{dy}{dx} = C \)
  2. Separate variables:

    \( dy = C \, dx \)
  3. Integrate both sides:

    \( \int dy = \int C \, dx \) \( y = C x + K \)

    where \(K\) is the constant of integration.

  4. Substitute back \(C = \cos^{-1}(p)\):

    \( y = \left( \cos^{-1}(p) \right) x + K \)
  5. Apply the initial condition \(y(0) = q\):

    Substitute \(x=0\) and \(y=q\) into the equation:

    \( q = \left( \cos^{-1}(p) \right) (0) + K \) \( q = K \)
  6. Substitute the value of \(K\) back:

    \( y = \left( \cos^{-1}(p) \right) x + q \)
  7. Rearrange the equation to match the option format:

    \( y - q = \left( \cos^{-1}(p) \right) x \)

    Assuming \(x \neq 0\), divide by \(x\):

    \( \frac{y - q}{x} = \cos^{-1}(p) \)

    Apply the cosine function to both sides:

    \( \cos \left( \frac{y - q}{x} \right) = p \)

Final Answer Verification

The derived solution is \(\cos \left( \frac{y - q}{x} \right) = p\), which matches Option 1.

Was this answer helpful?

Similar Questions

  1. If \(\frac{dy}{dx} = 2e^x y^3\), \(y(0) = \frac{1}{2}\) then what is \(4y^2(2-e^x)\) equal to ?
  2. What are the order and degree respectively of the differential equation?
  3. What is the solution of the differential equation?
  4. Let \(y_1(x)\) and \(y_2(x)\) be two solutions of the differential equation \(\frac{dy}{dx} = x\). If \(y_1(0) = 0\) and \(y_2(0) = 4\), then what is the number of points of intersection of the curves \(y_1(x)\) and \(y_2(x)\) ?
  5. The differential equation, representing the curve \(y = e^x(a \cos x + b \sin x)\) where \(a\) and \(b\) are arbitrary constants, is
  6. What are the order and degree respectively of the differential equation
    \(\left\{2 - \left(\frac{dy}{dx}\right)^2\right\}^{0.6} = \frac{d^2y}{dx^2}\) ?
  7. What is the degree of the differential equation \(\left(\frac{d^2y}{dx^2}\right)^2 - \left(\frac{dy}{dx}\right)^\frac{5}{2} = 0\)?
  8. Consider the following statements :

    I. \(y = xe^{2x}\) is the solution of \(\frac{dy}{dx} = y\left(2+\frac{1}{x}\right)\)
    II. \(y = x\ln|x|+cx\) is the solution of \(\frac{dy}{dx} = \frac{x + y}{x}\)

    Which of the statements given above is/are correct?

  9. If $k$ is an arbitrary constant, then what is the general solution of the equation $(x + y)^2 \frac{dy}{dx} = k^2$?
  10. What is the solution of the differential equation with \(y(0) = 0\) ?

Important Questions from Differential Equations

  1. Given a differential equation $\frac{d^2x}{dt^2} + x = 0$ with $x(0) \neq 0$. 

    Which of the following statements is/are true?

  2. An ordinary differential equation is given below.
    $$x^2 \frac{d^2 y}{dx^2} = 6y$$
    Considering $a$ and $b$ as arbitrary constants, the general solution of the equation is
  3. If x dy = y dx + y 2dy, y > 0 and y (1) = 1, then what is y (-3) equal to?

  4. The degree of the differential equation $\frac{d^2x}{dt^2} + 2x^3 = 0$ is _______________  .

  5. If \(\frac{dy}{dx} = 2e^x y^3\), \(y(0) = \frac{1}{2}\) then what is \(4y^2(2-e^x)\) equal to ?
Need Expert Advice?
Test Series
NDA img
Defence
NDA 2026 Mock Test Series (Latest Pattern)
526 Tests 1 Tests Free
1202 Attempts
4.7(163)
English, Hindi

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App