Question:

If y = y(x) is the solution of the differential equation
\(x\) \(\frac{dy}{dx}\) \(+ 2y =\) \(xe^x , y(1) = 0\)
then the local maximum value of the function
\(z(x) = x²y(x) - e^x , x ∈ R\)
is

Updated On: Aug 15, 2024
  • 1 – e
  • 0

  • \(\frac{1}{2}\)

  • \(\frac{4}{e} - e\)

Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

The correct answer is (D) : \(\frac{4}{e} - e\)
\(x \frac{dy}{dx} + 2y = xe^x , y(1) = 0\)
\(\frac{dy}{dx} + \frac{2}{x} y = e^x , then\)\(e^{\int\frac{2}{x} dx} dx = x²\)
\(y.x² = ∫ x²exdx\)
\(yx² = x²e^x - ∫ 2xe^xdx\)
\(= x²e^x - 2(xe^x - e^x ) + c\)
\(yx² = x²e^x - 2xe^x + 2e^x + c\)
\(yx² = (x² - 2x + 2)e^x + c\)
\(0 = e + c ⇒ c = -e\)
\(y(x).x² - e^x = (x - 1)²e^x - e\)
\(z(x) = (x - 1)^2e^x - e\)

For local maximum z′(x) = 0
∴ \(2(x - 1)e^x + (x - 1)^2e^x = 0\)
\(x = -1\)
And local maximum value = z(-1)
\(\frac{4}{e} - e\)

Was this answer helpful?
0
0

Top Questions on Differential equations

View More Questions

Concepts Used:

Differential Equations

A differential equation is an equation that contains one or more functions with its derivatives. The derivatives of the function define the rate of change of a function at a point. It is mainly used in fields such as physics, engineering, biology and so on.

Orders of a Differential Equation

First Order Differential Equation

The first-order differential equation has a degree equal to 1. All the linear equations in the form of derivatives are in the first order. It has only the first derivative such as dy/dx, where x and y are the two variables and is represented as: dy/dx = f(x, y) = y’

Second-Order Differential Equation

The equation which includes second-order derivative is the second-order differential equation. It is represented as; d/dx(dy/dx) = d2y/dx2 = f”(x) = y”.

Types of Differential Equations

Differential equations can be divided into several types namely

  • Ordinary Differential Equations
  • Partial Differential Equations
  • Linear Differential Equations
  • Nonlinear differential equations
  • Homogeneous Differential Equations
  • Nonhomogeneous Differential Equations