Skip to main content
Back to Differential Equations
JEE Main 2024
Differential Equations
Differential Equations
Hard

Question

Let g:(0,)Rg:(0,\infty ) \to R be a differentiable function such that (x(cosxsinx)ex+1+g(x)(ex+1xex)(ex+1)2)dx=xg(x)ex+1+c\int {\left( {{{x(\cos x - \sin x)} \over {{e^x} + 1}} + {{g(x)\left( {{e^x} + 1 - x{e^x}} \right)} \over {{{({e^x} + 1)}^2}}}} \right)dx = {{x\,g(x)} \over {{e^x} + 1}} + c} , for all x > 0, where c is an arbitrary constant. Then :

Options

Solution

Key Concepts and Formulas

  • Fundamental Theorem of Calculus (FTC): If F(x)=f(x)dxF(x) = \int f(x) dx, then F(x)=f(x)F'(x) = f(x).
  • Product Rule: (uv)=uv+uv(uv)' = u'v + uv'
  • Quotient Rule: (uv)=uvuvv2\left(\frac{u}{v}\right)' = \frac{u'v - uv'}{v^2}
  • Monotonicity: A function f(x)f(x) is increasing if f(x)>0f'(x) > 0 and decreasing if f(x)<0f'(x) < 0.

Step-by-Step Solution

Step 1: Differentiate both sides with respect to xx

We are given the integral equation: (x(cosxsinx)ex+1+g(x)(ex+1xex)(ex+1)2)dx=xg(x)ex+1+c\int {\left( {{{x(\cos x - \sin x)} \over {{e^x} + 1}} + {{g(x)\left( {{e^x} + 1 - x{e^x}} \right)} \over {{{({e^x} + 1)}^2}}}} \right)dx = {{x\,g(x)} \over {{e^x} + 1}} + c} We differentiate both sides with respect to xx to eliminate the integral.

Applying the Fundamental Theorem of Calculus to the left-hand side (LHS): ddx[(x(cosxsinx)ex+1+g(x)(ex+1xex)(ex+1)2)dx]=x(cosxsinx)ex+1+g(x)(ex+1xex)(ex+1)2\frac{d}{dx} \left[ \int {\left( {{{x(\cos x - \sin x)} \over {{e^x} + 1}} + {{g(x)\left( {{e^x} + 1 - x{e^x}} \right)} \over {{{({e^x} + 1)}^2}}}} \right)dx} \right] = \frac{x(\cos x - \sin x)}{e^x + 1} + \frac{g(x)(e^x + 1 - xe^x)}{(e^x + 1)^2}

Differentiating the right-hand side (RHS) using the quotient rule: Let u=xg(x)u = xg(x) and v=ex+1v = e^x + 1. Then u=g(x)+xg(x)u' = g(x) + xg'(x) (using the product rule) and v=exv' = e^x. ddx(xg(x)ex+1+c)=(g(x)+xg(x))(ex+1)xg(x)ex(ex+1)2\frac{d}{dx} \left( \frac{xg(x)}{e^x + 1} + c \right) = \frac{(g(x) + xg'(x))(e^x + 1) - xg(x)e^x}{(e^x + 1)^2}

Equating the differentiated LHS and RHS: x(cosxsinx)ex+1+g(x)(ex+1xex)(ex+1)2=(g(x)+xg(x))(ex+1)xg(x)ex(ex+1)2\frac{x(\cos x - \sin x)}{e^x + 1} + \frac{g(x)(e^x + 1 - xe^x)}{(e^x + 1)^2} = \frac{(g(x) + xg'(x))(e^x + 1) - xg(x)e^x}{(e^x + 1)^2}

Step 2: Simplify the equation and solve for g(x)g'(x)

Multiply both sides by (ex+1)2(e^x + 1)^2 to eliminate the denominators: x(cosxsinx)(ex+1)+g(x)(ex+1xex)=(g(x)+xg(x))(ex+1)xg(x)exx(\cos x - \sin x)(e^x + 1) + g(x)(e^x + 1 - xe^x) = (g(x) + xg'(x))(e^x + 1) - xg(x)e^x

Expand the terms: x(cosxsinx)(ex+1)+g(x)ex+g(x)xg(x)ex=g(x)ex+g(x)+xg(x)ex+xg(x)xg(x)exx(\cos x - \sin x)(e^x + 1) + g(x)e^x + g(x) - xg(x)e^x = g(x)e^x + g(x) + xg'(x)e^x + xg'(x) - xg(x)e^x

Notice that g(x)exg(x)e^x, g(x)g(x), and xg(x)ex-xg(x)e^x appear on both sides. Cancel these terms: x(cosxsinx)(ex+1)=xg(x)(ex+1)x(\cos x - \sin x)(e^x + 1) = xg'(x)(e^x + 1)

Since x>0x > 0 and ex+1>0e^x + 1 > 0, we can divide both sides by x(ex+1)x(e^x + 1): g(x)=cosxsinxg'(x) = \cos x - \sin x

Step 3: Find g(x)g(x) by integrating g(x)g'(x)

Integrate g(x)g'(x) to find g(x)g(x): g(x)=(cosxsinx)dx=sinx+cosx+C1g(x) = \int (\cos x - \sin x) dx = \sin x + \cos x + C_1 where C1C_1 is the constant of integration.

Step 4: Analyze the monotonicity of the options

We have:

  • g(x)=sinx+cosx+C1g(x) = \sin x + \cos x + C_1
  • g(x)=cosxsinxg'(x) = \cos x - \sin x
  • g(x)=sinxcosxg''(x) = -\sin x - \cos x

Now, analyze each option:

Option (A): gg is decreasing in (0,π4)\left(0, {\pi \over 4}\right) Since g(x)=cosxsinx>0g'(x) = \cos x - \sin x > 0 in (0,π4)\left(0, {\pi \over 4}\right), g(x)g(x) is increasing. This option is incorrect.

Option (B): gg' is increasing in (0,π4)\left(0, {\pi \over 4}\right) Since g(x)=(sinx+cosx)<0g''(x) = -(\sin x + \cos x) < 0 in (0,π4)\left(0, {\pi \over 4}\right), g(x)g'(x) is decreasing. This option is incorrect.

Option (C): g+gg + g' is increasing in (0,π2)\left(0, {\pi \over 2}\right) Let h(x)=g(x)+g(x)=(sinx+cosx+C1)+(cosxsinx)=2cosx+C1h(x) = g(x) + g'(x) = (\sin x + \cos x + C_1) + (\cos x - \sin x) = 2\cos x + C_1. Then h(x)=2sinxh'(x) = -2\sin x. In (0,π2)\left(0, {\pi \over 2}\right), sinx>0\sin x > 0, so h(x)<0h'(x) < 0. Thus, g+gg + g' is decreasing. This option is incorrect.

Option (D): ggg - g' is increasing in (0,π2)\left(0, {\pi \over 2}\right) Let k(x)=g(x)g(x)=(sinx+cosx+C1)(cosxsinx)=2sinx+C1k(x) = g(x) - g'(x) = (\sin x + \cos x + C_1) - (\cos x - \sin x) = 2\sin x + C_1. Then k(x)=2cosxk'(x) = 2\cos x. In (0,π2)\left(0, {\pi \over 2}\right), cosx>0\cos x > 0, so k(x)>0k'(x) > 0. Thus, ggg - g' is increasing. This option is correct.

Common Mistakes & Tips

  • Sign Errors: Be extremely careful with signs when differentiating and integrating.
  • Quotient Rule: Double-check the application of the quotient rule, especially the order of terms in the numerator.
  • Monotonicity: Remember that f(x)f(x) is increasing when f(x)>0f'(x) > 0 and decreasing when f(x)<0f'(x) < 0.

Summary

We used the Fundamental Theorem of Calculus to differentiate both sides of the given integral equation. This allowed us to simplify the equation and solve for g(x)g'(x). We then integrated g(x)g'(x) to find g(x)g(x). Finally, we analyzed the monotonicity of the functions in each option by examining the signs of their derivatives. We found that ggg - g' is increasing in (0,π2)\left(0, {\pi \over 2}\right), which corresponds to option (D).

Final Answer The final answer is \boxed{D}.

Practice More Differential Equations Questions

View All Questions