Question:medium

The solution for the differential equation \(\dfrac{d^2y}{dx^2}=3x-2\) with boundary conditions \(y(0)=2\) and \(y'(1)=-3\) is

Show Hint

When \(y''\) is given, integrate twice and use the given conditions to find the two constants.
  • \(y=\dfrac{x^3}{3}-\dfrac{x^2}{2}-3x-2\)
  • \(y=3x^3-\dfrac{x^2}{2}+5x+\dfrac{3}{2}\)
  • \(y=3x^3-\dfrac{x^2}{2}-5x+2\)
  • \(y=\dfrac{x^3}{2}-x^2-\dfrac{5x}{2}+2\)
Show Solution

The Correct Option is D

Solution and Explanation

Step 1: Understanding the Concept:
This is a second-order non-homogeneous differential equation where the right-hand side is a function of \(x\) only. We can solve this by direct integration twice. The boundary conditions are used to find the values of the constants of integration.

Step 2: Key Formula or Approach:

Integrate the given equation with respect to \(x\) to find \(\frac{dy}{dx}\). Integrate \(\frac{dy}{dx}\) with respect to \(x\) to find \(y\). Apply the boundary conditions to solve for the integration constants.

Step 3: Detailed Explanation:

The given differential equation is: \[ \frac{d^2y}{dx^2} = 3x - 2 \] Integrate both sides with respect to \(x\) to find the first derivative, \(\frac{dy}{dx}\): \[ \int \frac{d^2y}{dx^2} dx = \int (3x - 2) dx \] \[ \frac{dy}{dx} = \frac{3x^2}{2} - 2x + C_1 \] Here, \(C_1\) is the first constant of integration. We use the boundary condition \(y'(1) = -3\) to find \(C_1\). \[ y'(1) = \frac{3(1)^2}{2} - 2(1) + C_1 = -3 \] \[ \frac{3}{2} - 2 + C_1 = -3 \] \[ -\frac{1}{2} + C_1 = -3 \] \[ C_1 = -3 + \frac{1}{2} = -\frac{5}{2} \] So, the first derivative is: \[ \frac{dy}{dx} = \frac{3x^2}{2} - 2x - \frac{5}{2} \] Now, integrate again with respect to \(x\) to find \(y\): \[ y = \int \left( \frac{3x^2}{2} - 2x - \frac{5}{2} \right) dx \] \[ y = \frac{3}{2} \left( \frac{x^3}{3} \right) - 2 \left( \frac{x^2}{2} \right) - \frac{5}{2}x + C_2 \] \[ y = \frac{x^3}{2} - x^2 - \frac{5x}{2} + C_2 \] Here, \(C_2\) is the second constant of integration. We use the boundary condition \(y(0) = 2\) to find \(C_2\). \[ y(0) = \frac{(0)^3}{2} - (0)^2 - \frac{5(0)}{2} + C_2 = 2 \] \[ 0 - 0 - 0 + C_2 = 2 \] \[ C_2 = 2 \] Substituting the value of \(C_2\) back into the equation for \(y\), we get the final solution.

Step 4: Final Answer:

The solution to the differential equation with the given boundary conditions is: \[ y = \frac{x^3}{2} - x^2 - \frac{5x}{2} + 2 \] This matches option (D).
Was this answer helpful?
0