Skip to main content

Maxima & Minima MCQ: If y = y(x) is the solution of the differential…

JEE · Mathematics · Maxima & Minima

1 Easy +4 | -1 Analyzing
If y=y(x)y = y\left( x \right) is the solution of the differential equation xdydx+2y=xex,  y(1)=0x\frac{{dy}}{{dx}} + 2y = x{e^x},\,\,y\left( 1 \right) = 0 then the local maximum value of the function z(x)=x2y(x)−ex, x∈Rz\left( x \right) = {x^2}y\left( x \right) - {e^x},\,x \in R is
View answer and explanation
Correct option: D
4e−e\frac{4}{e} - e
Option D (4e−e\frac{4}{e} - e) is correct because it represents the local maximum value of the function z(x)z(x) obtained by solving the differential equation and finding the critical point.
Solution approach
  1. Correct Answer + Core Reason: 4e−e\frac{4}{e} - e. The local maximum is found by solving the differential equation, finding the critical points of z(x), and evaluating z(x) at the critical point.

    Step-by-Step Solution:

    Step 1: Solve the given differential equation xdydx+2y=xexx\frac{dy}{dx} + 2y = xe^x with the initial condition y(1)=0y(1) = 0.\nRewrite the equation as dydx+2xy=ex\frac{dy}{dx} + \frac{2}{x}y = e^x.

    Step 2: Find the integrating factor (IF): IF=e∫2xdx=e2ln⁡x=x2IF = e^{\int \frac{2}{x} dx} = e^{2 \ln x} = x^2.

    Step 3: Multiply the differential equation by the integrating factor: x2dydx+2xy=x2exx^2 \frac{dy}{dx} + 2xy = x^2e^x.\nThis can be written as ddx(x2y)=x2ex\frac{d}{dx}(x^2y) = x^2e^x.

    Step 4: Integrate both sides with respect to xx: ∫ddx(x2y)dx=∫x2exdx\int \frac{d}{dx}(x^2y) dx = \int x^2e^x dx.
    x2y=x2ex−2xex+2ex+cx^2y = x^2e^x - 2xe^x + 2e^x + c.

    Step 5: Apply the initial condition y(1)=0y(1) = 0: (1)2(0)=(1)2e1−2(1)e1+2e1+c⇒0=e−2e+2e+c⇒c=−e(1)^2(0) = (1)^2e^1 - 2(1)e^1 + 2e^1 + c \Rightarrow 0 = e - 2e + 2e + c \Rightarrow c = -e.

    Step 6: Substitute cc back into the equation: x2y=x2ex−2xex+2ex−ex^2y = x^2e^x - 2xe^x + 2e^x - e.
    y(x)=x2ex−2xex+2ex−ex2=(x2−2x+2)ex−ex2y(x) = \frac{x^2e^x - 2xe^x + 2e^x - e}{x^2} = \frac{(x^2 - 2x + 2)e^x - e}{x^2}.

    Step 7: Define the function z(x)=x2y(x)−exz(x) = x^2y(x) - e^x: z(x)=(x2−2x+2)ex−e−ex=(x2−2x+1)ex−e=(x−1)2ex−ez(x) = (x^2 - 2x + 2)e^x - e - e^x = (x^2 - 2x + 1)e^x - e = (x - 1)^2e^x - e.

    Step 8: Find the derivative of z(x)z(x): z′(x)=2(x−1)ex+(x−1)2ex=(x−1)ex(2+x−1)=(x−1)(x+1)exz'(x) = 2(x - 1)e^x + (x - 1)^2e^x = (x - 1)e^x(2 + x - 1) = (x - 1)(x + 1)e^x.

    Step 9: Find the critical points by setting z′(x)=0z'(x) = 0: (x−1)(x+1)ex=0⇒x=1,x=−1(x - 1)(x + 1)e^x = 0 \Rightarrow x = 1, x = -1.

    Step 10: Determine the local maximum. Since z(x)=(x−1)2ex−ez(x) = (x-1)^2 e^x - e, z(1)=−ez(1) = -e. z(−1)=(−1−1)2e−1−e=4e−1−e=4e−ez(-1) = (-1-1)^2e^{-1} - e = 4e^{-1} - e = \frac{4}{e} - e.\nSince z(1)=−ez(1) = -e and z(−1)=4e−ez(-1) = \frac{4}{e} - e, and 4e−e>−e\frac{4}{e} - e > -e, the local maximum occurs at x=−1x = -1, and the local maximum value is 4e−e\frac{4}{e} - e.

    Why other options are wrong:
    - **Option A (1−e1 - e):** This value is not the local maximum value of the function z(x)z(x).
    - Option B (0): This value is not the local maximum value of the function z(x)z(x).
    - **Option C (12\frac{1}{2}):** This value is not the local maximum value of the function z(x)z(x).

    Key Concepts:
    - Differential equations
    - Integrating factor
    - Local maximum
    - Differentiation

    Memory Aids:
    - Remember the formula for the integrating factor: e∫P(x)dxe^{\int P(x) dx}.

    Quick Tips:
    - Always find the integrating factor correctly.
    - Remember to apply the initial condition to find the constant of integration.
    - Find the derivative of the function and set it to zero to find critical points.

More Questions from Maxima & Minima

Practice all chapter MCQs →
Type at least 2 characters or jump directly:

Save your learning progress

Sign in with a free account to save your practice answers and quiz results, then return to them when you revise.

Scan to install TopAll Pro

Point your Android or iPhone camera at this code to open TopAll Pro. Try 2 chapters and 25 AI credits free first.

Question image

Use + and − to zoom, arrow keys or drag to pan, Escape to close.